Authored by 陶雨

修改样式

... ... @@ -496,10 +496,4 @@ li.sortable-placeholder {
.modal-body ul {
-webkit-padding-start: 0px !important;
}
.hotCategory-info{
height: 158px;
width:100%;
background: url(../assets/images/hotCategory.png) no-repeat;
background-size: cover;
}
\ No newline at end of file
... ...
... ... @@ -215,9 +215,46 @@
</div>
</div>
[[else if module.contentData.template_name=='hotCategory']]
<div class="hotCategory">
<div class="row title">[[module.contentData.data.title.name]]</div>
<div class="hotCategory-info">
<div class="hotCategory-info">
<div style="width:100%;height:100%;background-color: #fff;padding-top:3px" ;="">
<div style="margin:0 auto;border:1px solid #000;width:40%;font-size:1px;text-align:center;margin-bottom:10px;">[[module.contentData.data.title.name]]</div>
<div style="margin-right:10px;float:right;width:40px;margin-top:-27px;font-size:1px;">[[module.contentData.data.title.more_name]]</div>
<div style="clear:both;"></div>
<div style="width:150px;float:right;">
[[each module.contentData.data.imgs as item index]]
[[if (index != 0 && module.contentData.data.imgs.length == 7) || (index % 4 != 0 && module.contentData.data.imgs.length == 8)]]
<img style="width:45px;height:90px;margin-left:5px;margin-bottom:10px;float:left;" src="[[item.src]]">
[[/if]]
[[/each]]
<div style="clear:both"></div>
</div>
<div style="width:5px;height:100%;float:right;">
</div>
<div style="width:100px;height:100%;float:right;">
[[each module.contentData.data.imgs as item index]]
[[if (index == 0 && module.contentData.data.imgs.length == 7) || (index % 4 == 0 && module.contentData.data.imgs.length == 8)]]
<img style="width:100px;height:100%;" src="[[module.contentData.data.imgs[index].src]]">
[[/if]]
[[/each]]
</div>
<div style="width:5px;height:100%;float:right;">
</div>
<div style="width:70px;float:left;">
<div style="height:70px;width:100%">
[[each module.contentData.data.blocks as item index]]
<img style="height:22px;width:100%;margin-bottom:2px;" src="[[item.src]]">
[[/each]]
</div>
<div style="height:70px;width:100%">
[[each module.contentData.data.list as item index]]
<div style="height:22px;width:50%;margin-bottom:2px;font-size:1px;float:left">[[item.name.length>2?item.name.substring(0,2):item.name]]</div>
[[/each]]
<div style="clear:both"></div>
</div>
</div>
<div style="clear:both"></div>
</div>
</div>
[[else if module.contentData.template_name=='debrisSlider']]
... ...