Jelajahi Sumber

超级会员版本 订单划线价格修改

zhengjinyi 3 tahun lalu
induk
melakukan
cac7d88f4d

+ 13 - 1
components/cm-module/orderDetails/goodsList.vue

@@ -31,7 +31,7 @@
 								>规格:{{ pros.productUnit ? pros.productUnit : '' }}</view
 							>
 							<view class="product-view">
-								<view class="view-num red">¥{{ pros.price | NumFormat }}</view>
+								<view class="view-num red" :class="pros.svipPriceFlag == 1 ? 'none' : ''">¥{{ pros.price | NumFormat }}</view>
 							</view>
 							<view class="floor-item-act">
 								<template v-if="pros.productPromotion">
@@ -323,6 +323,10 @@ export default {
 					&.red {
 						color: #ff2000;
 						font-weight: bold;
+						&.none{
+							text-decoration: line-through;
+							color: #999999;
+						}
 					}
 				}
 			}
@@ -360,6 +364,14 @@ export default {
 					width: 48%;
 					color: #ff2a2a;
 					float: left;
+					.price {
+						line-height: 48rpx;
+						font-size: $font-size-28;
+						width: 48%;
+						color: #ff2a2a;
+						float: left;
+						font-weight: bold;
+					}
 				}
 				.count {
 					height: 100%;

+ 5 - 1
pages/search/search-order.vue

@@ -119,7 +119,7 @@
 												>规格:{{ pros.productUnit }}</view
 											>
 											<view class="productprice">
-												<view class="price tui-skeleton-fillet">
+												<view class="price tui-skeleton-fillet" :class="pros.svipPriceFlag == 1 ? 'none' : ''">
 													<text>¥{{ pros.price | NumFormat }}</text>
 												</view>
 												<view class="count tui-skeleton-fillet">
@@ -968,6 +968,10 @@ page {
 			color: #ff2a2a;
 			float: left;
 			font-weight: bold;
+			&.none{
+				text-decoration: line-through;
+				color: #999999;
+			}
 		}
 		.count {
 			height: 100%;

+ 5 - 1
pages/seller/order/order-historylist.vue

@@ -128,7 +128,7 @@
 													规格:{{ pros.productUnit ? pros.productUnit : '' }}
 												</view>
 												<view class="productprice">
-													<view class="price tui-skeleton-fillet">
+													<view class="price tui-skeleton-fillet" :class="pros.svipPriceFlag == 1 ? 'none' : ''">
 														<text>¥{{ pros.price | NumFormat }}</text>
 													</view>
 													<view class="count tui-skeleton-fillet">
@@ -963,6 +963,10 @@ page {
 			color: #ff2a2a;
 			float: left;
 			font-weight: bold;
+			&.none{
+				text-decoration: line-through;
+				color: #999999;
+			}
 		}
 		.count {
 			height: 100%;

+ 5 - 1
pages/seller/order/order-list.vue

@@ -139,7 +139,7 @@
 													规格:{{ pros.productUnit ? pros.productUnit : '' }}
 												</view>
 												<view class="productprice">
-													<view class="price tui-skeleton-fillet">
+													<view class="price tui-skeleton-fillet" :class="pros.svipPriceFlag == 1 ? 'none' : ''">
 														<text>¥{{ pros.price | NumFormat }}</text>
 													</view>
 													<view class="count tui-skeleton-fillet">
@@ -1023,6 +1023,10 @@ page {
 			color: #ff2a2a;
 			float: left;
 			font-weight: bold;
+			&.none{
+				text-decoration: line-through;
+				color: #999999;
+			}
 		}
 		.count {
 			height: 100%;

+ 5 - 1
pages/seller/search/search-order.vue

@@ -122,7 +122,7 @@
 												>规格:{{ pros.productUnit }}</view
 											>
 											<view class="productprice">
-												<view class="price tui-skeleton-fillet">
+												<view class="price tui-skeleton-fillet" :class="pros.svipPriceFlag == 1 ? 'none' : ''">
 													<text>¥{{ pros.price | NumFormat }}</text>
 												</view>
 												<view class="count tui-skeleton-fillet">
@@ -1018,6 +1018,10 @@ page {
 			color: #ff2a2a;
 			float: left;
 			font-weight: bold;
+			&.none{
+				text-decoration: line-through;
+				color: #999999;
+			}
 		}
 		.count {
 			height: 100%;

+ 11 - 2
pages/user/order/order-list.vue

@@ -124,7 +124,7 @@
 													>规格:{{ pros.productUnit }}</view
 												>
 												<view class="productprice">
-													<view class="price tui-skeleton-fillet">
+													<view class="price tui-skeleton-fillet" :class="pros.svipPriceFlag == 1 ? 'none' : ''">
 														<text>¥{{ pros.price | NumFormat }}</text>
 													</view>
 													<view class="count tui-skeleton-fillet">
@@ -139,7 +139,12 @@
 															@click.stop="clickPopupShow(pros.productPromotion)"
 														>
 															{{ pros.productPromotion.name }}
-															<text v-if="pros.productPromotion != null && pros.productPromotion.type != 3">
+															<text
+																v-if="
+																	pros.productPromotion != null &&
+																		pros.productPromotion.type != 3
+																"
+															>
 																:¥{{
 																	pros.productPromotion == null
 																		? '0.00'
@@ -1031,6 +1036,10 @@ page {
 			color: #ff2a2a;
 			float: left;
 			font-weight: bold;
+			&.none{
+				text-decoration: line-through;
+				color: #999999;
+			}
 		}
 		.count {
 			height: 100%;