xuqiaoying пре 3 година
родитељ
комит
9beb103880
4 измењених фајлова са 76 додато и 15 уклоњено
  1. 41 8
      pages/course/index.vue
  2. 9 7
      pages/index/index.vue
  3. 13 0
      pages2/bank/detail.vue
  4. 13 0
      pages3/course/detail.vue

+ 41 - 8
pages/course/index.vue

@@ -66,7 +66,12 @@
 								共 <text class="blackFont">{{item.courseNum}}</text> 
 								<text class="margin30">课程</text>
 								<text class="blackFont">{{item.classHours || '-'}}</text> 学时</view>
-								<view class="priceTag">¥ {{item.standPrice.toFixed(2)}}</view>
+								<view>
+									<text class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
+									<text class="sale">¥ </text>
+									<text class="price_line"> {{ item.linePrice }}</text>
+								</view>
+								
 							</view>
 						</view>
 					</navigator>
@@ -83,15 +88,24 @@
 								<view class="titleTag" style="display: flex;justify-content: space-between;flex:1;">
 									<view style="flex:1;">{{item.goodsName}}</view>
 									
-									<view class="priceTag">¥ {{item.standPrice.toFixed(2)}}</view>
+									<view>
+										<text class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
+										<text class="sale">¥ </text>
+										<text class="price_line"> {{ item.linePrice }}</text>
+									</view>
 								</view>
 							</view>
 							<view style="display: flex;justify-content: space-between;margin-top: 15rpx;" v-if="false">
 								<view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
 								共 <text class="blackFont">6</text> 
 								<view class="margin30">张卷</view>
-								<text class="blackFont">120</text>道题  </view>
-								<view class="priceTag">¥ {{item.standPrice.toFixed(2)}}</view>
+								<text class="blackFont">120</text>道题  
+								</view>
+								<view>
+									<text class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
+									<text class="sale">¥ </text>
+									<text class="price_line"> {{ item.linePrice }}</text>
+								</view>
 							</view>
 						</view>
 					</navigator>
@@ -109,15 +123,23 @@
 								<view class="titleTag" style="display: flex;justify-content: space-between;flex:1;">
 									<view style="flex:1;">{{item.goodsName}}</view>
 									
-									<view class="priceTag">¥ {{item.standPrice.toFixed(2)}}</view>
+									<view>
+										<text class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
+										<text class="sale">¥ </text>
+										<text class="price_line"> {{ item.linePrice }}</text>
+									</view>
 								</view>
 							</view>
-							<view style="display: flex;justify-content: space-between;margin-top: 15rpx;" v-if="false">
+							<!-- <view style="display: flex;justify-content: space-between;margin-top: 15rpx;" v-if="false">
 								<view class="noteTag">
 									<image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
-									<view class="priceTag">¥ {{item.standPrice.toFixed(2)}}</view>
+									<view>
+										<view class="priceTag">¥ {{item.standPrice.toFixed(2)}}</view>
+										<text class="sale"> ¥ </text>
+										<text class="price_line"> {{ item.linePrice }}</text>
+									</view>
 								</view>
-							</view>
+							</view> -->
 						</view>
 					</navigator>
 					<view class="emptyTip" v-if="list3.length==0">暂未上架相关直播~</view>
@@ -559,6 +581,17 @@ page {
 		font-weight: bold;
 		color: #FC3F3F;
 	}
+	.sale {
+		color: #999999;
+		font-size: 28rpx;
+		margin-left: 8rpx;
+	}
+	.price_line {
+		color: #999999;
+		font-size: 28rpx;
+		text-decoration:line-through;
+		font-weight: 400;
+	}
 	.titleTag{
 		font-size: 32rpx;
 		font-weight: bold;

+ 9 - 7
pages/index/index.vue

@@ -114,8 +114,8 @@
 										<view class="left">
 											<text class="mon_t">¥ {{toFixed(item.standPrice)}}</text>
 											<!-- <text class="sale">/限时优惠</text> -->
-											<text> /¥ </text>
-											/<text class="price_line">{{ item.linePrice }}</text>
+											<text class="sale"> ¥ </text>
+											<text class="price_line">&nbsp;{{ item.linePrice }}</text>
 										</view>
 										<view class="right">
 											<view class="regiser_row">立即购买</view>
@@ -150,7 +150,8 @@
 										<view class="left">
 											<text class="mon_t">¥ {{toFixed(item.standPrice)}}</text>
 											<!-- <text class="sale">/限时优惠</text> -->
-											/<text class="price_line">{{ item.linePrice }}</text>
+											<text class="sale"> ¥ </text>
+											<text class="price_line">&nbsp;{{ item.linePrice }}</text>
 										</view>
 										<view class="right">
 											<view class="regiser_row">立即购买</view>
@@ -1032,13 +1033,14 @@ page {
                             }
 							.sale {
 								color: #999999;
-								font-size: 20rpx;
-								margin-left: 4rpx;
+								font-size: 24rpx;
+								margin-left: 8rpx;
 							}
 							.price_line {
-								color: #FC3F3F;
-								font-size: 36rpx;
+								color: #999999;
+								font-size: 24rpx;
 								text-decoration:line-through;
+								font-weight: 400;
 							}
 						}
 						

+ 13 - 0
pages2/bank/detail.vue

@@ -12,6 +12,8 @@
 					<view class="prices">
 						<!-- <text class="price_sym"></text> -->
 						<text class="price_word">¥ {{ goodsData.standPrice }}</text>
+						<text class="sale"> ¥ </text>
+						<text class="price_line"> {{ goodsData.linePrice }}</text>
 					</view>
 					<view class="noteTag">
 						<!-- 共 <text class="blackFont">{{ goodsData.chapterNum }} 张卷 {{goodsData || '-'}}</text> 道题 -->
@@ -448,6 +450,17 @@ page {
 		font-weight: 800;
 		color: #FC3F3F;
 	}
+	.sale {
+		color: #999999;
+		font-size: 28rpx;
+		margin-left: 8rpx;
+	}
+	.price_line {
+		color: #999999;
+		font-size: 28rpx;
+		text-decoration:line-through;
+		font-weight: 400;
+	}
 }
 .courseName {
 	white-space: nowrap;

+ 13 - 0
pages3/course/detail.vue

@@ -32,6 +32,8 @@
 						<view class="prices">
 							<!-- <text class="price_sym">¥</text> -->
 							<text class="price_word">¥ {{ detail.standPrice }}</text>
+							<text class="sale"> ¥ </text>
+							<text class="price_line"> {{detail.linePrice }}</text>
 						</view>
 						<view class="noteTag">
 							<!-- <image src="/static/icon/wk_icon1.png" class="wk_icon"></image> -->
@@ -658,6 +660,17 @@ export default {
 			font-weight: 800;
 			color: #FC3F3F;
 		}
+		.sale {
+			color: #999999;
+			font-size: 28rpx;
+			margin-left: 8rpx;
+		}
+		.price_line {
+			color: #999999;
+			font-size: 28rpx;
+			text-decoration:line-through;
+			font-weight: 400;
+		}
 	}
 	// tab
 	.tabs {