DaMowang 3 år sedan
förälder
incheckning
bbaa5849c5
2 ändrade filer med 23 tillägg och 13 borttagningar
  1. 6 6
      src/pages.json
  2. 17 7
      src/pages/product/productRetail.vue

+ 6 - 6
src/pages.json

@@ -301,12 +301,12 @@
 				"selectedIconPath": "static/nav/qiandao_select.png",
 				"text": "福利"
 			},
-			{
-				"pagePath": "pages/partner/index",
-				"iconPath": "static/nav/hehuoren.png",
-				"selectedIconPath": "static/nav/hehuoren_select.png",
-				"text": "联盟店"
-			},
+			// {
+			// 	"pagePath": "pages/partner/index",
+			// 	"iconPath": "static/nav/hehuoren.png",
+			// 	"selectedIconPath": "static/nav/hehuoren_select.png",
+			// 	"text": "联盟店"
+			// },
 			{
 				"pagePath": "pages/my/index",
 				"iconPath": "static/nav/wode.png",

+ 17 - 7
src/pages/product/productRetail.vue

@@ -9,9 +9,8 @@
                 <view class="content-view">
                     <view :class="['product-title', 'ellipsis2']">{{ i.goods_name }}</view>
                     <view class="product-price">
-                        <text class="product-price-favour" v-if="type==6">¥{{i.cost_price}}</text>
-                        <text class="product-price-original"><text class="product-unit">¥</text>{{ i.price }}</text>
-                        
+                        <text class="product-price-favour" v-if="type==6">{{(i.cost_price)}}</text>
+                        <text class="product-price-original">{{ (i.price) }}</text>
                         <!-- <text class="product-tip">{{i.tip}}</text> -->
                     </view>
                     <view class="product-txt" v-if="type != 6">赠送{{ i.give_integral ? i.give_integral + "批发积分" : i.give_cha_bao + "茶宝" }}</view>
@@ -183,13 +182,24 @@ page {
 
     .product-price-original {
         color: #18bb88;
-        font-size: 32rpx;
+        font-size: 28rpx;
+        &:before{
+            content:"¥";
+            font-size: 20rpx;
+        }
     }
 
     .product-price-favour {
-        color: #888888;
+        color: #888;
         text-decoration: line-through;
-        margin-left: 10upx;
+        font-size: 22rpx;
+        // margin-left: 10rpx;
+        margin-right: 10rpx;
+        &:before{
+            content:"¥";
+            font-size: 20rpx;
+            text-decoration: none;
+        }
     }
 
     .product-tip {
@@ -203,7 +213,7 @@ page {
 
     .product-unit {
         font-size: 24rpx;
-        color: #18bb88;
+        // color: #18bb88;
     }
 
     .green{