|
@@ -63,8 +63,8 @@
|
|
|
<!--banner位置-->
|
|
|
<div class="index-banner" style="display: none;"></div>
|
|
|
</div>
|
|
|
- <div class="index-title">
|
|
|
- <strong>精选产品</strong><span class="mui-pull-right go_pro_list"><font>More</font><span class="mui-icon mui-icon-arrowright"></span></span>
|
|
|
+ <div class="index-title" style="margin-top: 20px;">
|
|
|
+ <strong style="font-size: 16px;">精选产品</strong><span class="mui-pull-right go_pro_list"><font>More</font><span class="mui-icon mui-icon-arrowright"></span></span>
|
|
|
</div>
|
|
|
<ul class="mui-table-view mui-grid-view my-view-no" id="index-pro-list" style="padding-bottom: 0;">
|
|
|
<!--<li class="mui-table-view-cell mui-media mui-col-xs-12">
|
|
@@ -97,8 +97,8 @@
|
|
|
</a>
|
|
|
</li>-->
|
|
|
</ul>
|
|
|
- <div class="index-title">
|
|
|
- <strong>产品配件</strong><span class="mui-pull-right go_pro_list" pos="bottom"><font>More</font><span class="mui-icon mui-icon-arrowright"></span></span>
|
|
|
+ <div class="index-title" style="margin-top: 20px;">
|
|
|
+ <strong style="font-size: 16px;">产品配件</strong><span class="mui-pull-right go_pro_list" pos="bottom"><font>More</font><span class="mui-icon mui-icon-arrowright"></span></span>
|
|
|
</div>
|
|
|
<div style="margin:8px 14px 30px 14px;">
|
|
|
<div id="index-pro-items" class="mui-segmented-control">
|
|
@@ -228,9 +228,10 @@
|
|
|
mui(jingxuan1).each(function(index) {
|
|
|
var li = document.createElement('li');
|
|
|
li.className = 'mui-table-view-cell mui-media mui-col-xs-12';
|
|
|
+ li.style.margin='0px 0px 7px 0px';
|
|
|
//console.log(this.productColorList[0].colorDiscount)
|
|
|
if(this.productColorList != null && this.productColorList.length > 0){
|
|
|
- li.innerHTML = '<a name="' + this.productId + '"><img class="mui-media-object" src="' + this.productChoicenessIm + '"><div class="index-pro-tit">' + this.productName + '</div><p class="mui-text-left">' + this.productColorDes + '<span class="f-price">¥' + accDiv(this.productColorList[0].colorDiscount , 100) + '</span></p></a>';
|
|
|
+ li.innerHTML = '<a name="' + this.productId + '"><img class="mui-media-object" src="' + this.productChoicenessIm + '"><div class="index-pro-tit" style="margin-top: 10px;" >' + this.productName + '</div><p class="mui-text-left">' + this.productColorDes + '<span class="f-price">¥' + accDiv(this.productColorList[0].colorDiscount , 100) + '</span></p></a>';
|
|
|
table.appendChild(li);
|
|
|
}
|
|
|
});
|
|
@@ -241,7 +242,7 @@
|
|
|
var li = document.createElement('li');
|
|
|
li.className = 'mui-table-view-cell mui-media mui-col-xs-6';
|
|
|
if(this.productColorList != null && this.productColorList.length > 0){
|
|
|
- li.innerHTML = '<a name="' + this.productId + '"><img class="mui-media-object" src="' + this.productChoicenessIm + '"><div class="index-pro-tit">' + this.productName + '</div><p class="mui-text-left">' + this.productColorDes + '</p><p class="l-price">¥' + accDiv(this.productColorList[0].colorDiscount , 100) + '</p></a>';
|
|
|
+ li.innerHTML = '<a name="' + this.productId + '"><img class="mui-media-object" style="background-color: #f9f7f8;border-radius: 5px;" src="' + this.productChoicenessIm + '"><div class="index-pro-tit" style="margin-top: 10px;">' + this.productName + '</div><p class="mui-text-left">' + this.productColorDes + '</p><p class="l-price" style="margin-top: 5px;">¥' + accDiv(this.productColorList[0].colorDiscount , 100) + '</p></a>';
|
|
|
table.appendChild(li);
|
|
|
}
|
|
|
});
|