Просмотр исходного кода

优化商品价和划线价展示

lishanshan 8 месяцев назад
Родитель
Сommit
e0b6f78d56
4 измененных файлов с 8 добавлено и 8 удалено
  1. 2 2
      pages/coupon/activity.vue
  2. 2 2
      pages/order/details.vue
  3. 2 2
      pages/order/index.vue
  4. 2 2
      pages/product/creatStandard.vue

+ 2 - 2
pages/coupon/activity.vue

@@ -78,8 +78,8 @@
                         <view class="product-name">{{ item.productName }}</view>
                         <view class="product-date">{{ item.saleStartDate + '-' + item.saleEndDate }}</view>
                         <view class="product-price">
-                            <text class="actual-price">¥{{ item.soldPrice }}</text>
-                            <text class="original-price">¥{{ item.price }}</text>
+                            <text class="actual-price">¥{{ item.price }}</text>
+                            <text class="original-price">¥{{ item.soldPrice }}</text>
                         </view>
                     </view>
                 </view>

+ 2 - 2
pages/order/details.vue

@@ -74,8 +74,8 @@
 								</view>
 							</view>
 							<view class="right">
-								<span style="font-size: 22rpx;color: #FD4912;">¥{{specitem.soldPrice}}</span>
-								<span style="text-decoration: line-through;font-size: 18rpx;color: #999999;">¥{{specitem.price}}</span>
+								<span style="font-size: 22rpx;color: #FD4912;">¥{{specitem.price}}</span>
+								<span style="text-decoration: line-through;font-size: 18rpx;color: #999999;">¥{{specitem.soldPrice}}</span>
 							</view>
 						</view>
 					</view>

+ 2 - 2
pages/order/index.vue

@@ -146,9 +146,9 @@
 										</view>
 									</view>
 									<view class="right">
-										<span style="font-size: 22rpx;color: #333333;">¥{{specitem.soldPrice}}</span>
+										<span style="font-size: 22rpx;color: #333333;">¥{{specitem.price}}</span>
 										<span
-											style="text-decoration: line-through;font-size: 18rpx;color: #999999;">¥{{specitem.price}}</span>
+											style="text-decoration: line-through;font-size: 18rpx;color: #999999;">¥{{specitem.soldPrice}}</span>
 									</view>
 								</view>
 							</view>

+ 2 - 2
pages/product/creatStandard.vue

@@ -31,8 +31,8 @@
 						<!-- <span>售卖时间:{{item.time}}</span> -->
 						<view class="repertory">售卖时间:{{ item.saleStartDate }} - {{ item.saleEndDate }}</view>
 						<view class="price">
-							<span style="font-size: 22rpx;margin: 0px;">¥</span>{{ item.soldPrice }}
-							<span style="color:#999 ;font-size: 22rpx; text-decoration: line-through;">¥{{ item.price }}</span>
+							<span style="font-size: 22rpx;margin: 0px;">¥</span>{{ item.price }}
+							<span style="color:#999 ;font-size: 22rpx; text-decoration: line-through;">¥{{ item.soldPrice }}</span>
 						</view>
 					</view>
 					<view class="ticket" v-if="item.isRights == 1">