1
0
فهرست منبع

首页显示优化

qng 3 سال پیش
والد
کامیت
93ec672575
2فایلهای تغییر یافته به همراه25 افزوده شده و 6 حذف شده
  1. 3 3
      wx-mall/pages/index/index.wxml
  2. 22 3
      wx-mall/pages/index/index.wxss

+ 3 - 3
wx-mall/pages/index/index.wxml

@@ -195,10 +195,10 @@
                 <text class="name">{{item.name?item.name:""}}</text>
                 <text class="desc">{{item.goods_brief?item.goods_brief:""}}</text>
               </navigator>
-              <view class="goods-do">
+              <view class="goods-do" id="goods-do-new">
                 <navigator url="/pages/goods/goods?id={{item.id}}&&storeId={{item.storeId}}&&paramView=hotGoods">
-                  <text class="price">{{item.retail_price?"¥"+item.retail_price:"0"}}</text>
-                  <text class="org-price line-through">{{item.market_price?"¥"+item.market_price:""}}</text>
+                  <p  id="directionp"><text class="price">{{item.retail_price?"¥"+item.retail_price:"0"}}</text><span class="goods-do-font">(含税)</span></p>
+                  <p><span class="goods-do-font">零售价:</span><text class="org-price line-through">{{item.market_price?"¥"+item.market_price:""}}</text></p>
                 </navigator>
                 <!-- //数量加减 -->
                 <view class="number-item">

+ 22 - 3
wx-mall/pages/index/index.wxss

@@ -301,22 +301,41 @@
   display: inline;
 }
 
+#goods-do-new {
+  margin-top: 20%;
+}
+
+
+
+#directionp  {
+  margin-right: 9%;
+   
+}
+
+.goods-do-font {
+  font-size:23rpx;
+}
+
 .a-section .b .goods-do .price {
   /* width: 50rpx; */
   display: inline;
-  color: #b4282d;
+  color: #f00910;
   line-height: 50rpx;
-  font-size:35rpx;
+  font-size:41rpx;
   /* font-weight: bold; */
 }
 
+.bottomprice {
+margin-bottom:10%;
+}
+
 .a-section .b .goods-do .org-price {
   /* width: 40rpx; */
   display: inline;
   color: #333;
   line-height: 50rpx;
   font-size: 23rpx;
-  margin-left: 16rpx;
+  margin-left: 10rpx;
 }