...
|
...
|
@@ -40,7 +40,7 @@ let _channelPage = (req, res, data) => { |
|
|
}
|
|
|
|
|
|
if (result && result.content && result.content.length) {
|
|
|
result.content.length = 6; // 首屏先获取前6个楼层,其余用ajax获取
|
|
|
result.content.length = 8; // 首屏先获取前8个楼层,其余用ajax获取
|
|
|
}
|
|
|
|
|
|
// result.content = [{
|
...
|
...
|
@@ -82,7 +82,7 @@ exports.getResourceContent = (req, res, next) => { |
|
|
}).then(result => {
|
|
|
|
|
|
if (result.length) {
|
|
|
result = result.slice(6);
|
|
|
result = result.slice(8);
|
|
|
}
|
|
|
|
|
|
res.render('channel-resource', {
|
...
|
...
|
|