Authored by 毕凯

Merge branch 'feature/homeFloor' into 'gray'

'首屏楼层数量'



See merge request !1222
@@ -40,7 +40,7 @@ let _channelPage = (req, res, data) => { @@ -40,7 +40,7 @@ let _channelPage = (req, res, data) => {
40 } 40 }
41 41
42 if (result && result.content && result.content.length) { 42 if (result && result.content && result.content.length) {
43 - result.content.length = 6; // 首屏先获取前6个楼层,其余用ajax获取 43 + result.content.length = 8; // 首屏先获取前8个楼层,其余用ajax获取
44 } 44 }
45 45
46 // result.content = [{ 46 // result.content = [{
@@ -82,7 +82,7 @@ exports.getResourceContent = (req, res, next) => { @@ -82,7 +82,7 @@ exports.getResourceContent = (req, res, next) => {
82 }).then(result => { 82 }).then(result => {
83 83
84 if (result.length) { 84 if (result.length) {
85 - result = result.slice(6); 85 + result = result.slice(8);
86 } 86 }
87 87
88 res.render('channel-resource', { 88 res.render('channel-resource', {