Authored by 陶雨

资源管理热门品类楼层样式修改

@@ -217,7 +217,7 @@ @@ -217,7 +217,7 @@
217 <div style="clear:both;"></div> 217 <div style="clear:both;"></div>
218 <div style="width:150px;float:right;"> 218 <div style="width:150px;float:right;">
219 [[each module.contentData.data.imgs as item index]] 219 [[each module.contentData.data.imgs as item index]]
220 - [[if index!=0 && index <= 6]] 220 + [[if index>=module.contentData.data.imgs.length - 6]]
221 <img style="width:45px;height:90px;margin-left:5px;margin-bottom:10px;float:left;" src="[[item.src]]"> 221 <img style="width:45px;height:90px;margin-left:5px;margin-bottom:10px;float:left;" src="[[item.src]]">
222 [[/if]] 222 [[/if]]
223 [[/each]] 223 [[/each]]
@@ -227,9 +227,11 @@ @@ -227,9 +227,11 @@
227 227
228 </div> 228 </div>
229 <div style="width:100px;height:100%;float:right;"> 229 <div style="width:100px;height:100%;float:right;">
230 - [[if module.contentData.data.imgs.length]]  
231 - <img style="width:100px;height:100%;" src="[[module.contentData.data.imgs[0].src]]"> 230 + [[each module.contentData.data.imgs as item index]]
  231 + [[if index < module.contentData.data.imgs.length - 6]]
  232 + <img style="width:100px;height:100%;" src="[[module.contentData.data.imgs[index].src]]">
232 [[/if]] 233 [[/if]]
  234 + [[/each]]
233 </div> 235 </div>
234 <div style="width:5px;height:100%;float:right;"> 236 <div style="width:5px;height:100%;float:right;">
235 237