guhongwei 2 سال پیش
والد
کامیت
3c1242b0ad
3فایلهای تغییر یافته به همراه35 افزوده شده و 9 حذف شده
  1. 0 1
      pages/home/index.vue
  2. 33 8
      pagesRest/activity/info.vue
  3. 2 0
      pagesRest/activity/list.vue

+ 0 - 1
pages/home/index.vue

@@ -557,7 +557,6 @@
 									padding: 0 0 0 1vw;
 								}
 							}
-
 						}
 
 					}

+ 33 - 8
pagesRest/activity/info.vue

@@ -17,7 +17,7 @@
 						<scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage" @scroll="toScroll">
 							<view class="list-scroll-view">
 								<view class="pubu">
-									<view class="list" v-for="(item,index) in list" :key="index" @tap="toBuy(item.goods)">
+									<view class="list" v-for="(item,index) in list" :key="index" @tap="toBuy(item)">
 										<view class="img">
 											<image class="image" :src="item.goods.file&&item.goods.file.length?item.goods.file[0].url:''" mode=""></image>
 										</view>
@@ -25,8 +25,14 @@
 											<text>{{item.goods.name}}</text>
 										</view>
 										<view class="money">
-											<text>¥</text>
-											<text>{{item.sell_money}}</text>
+											<view class="money_1">
+												<text>¥</text><text>{{item.sell_money||0}}</text>
+											</view>
+											<view class="money_2">
+												<text>¥</text><text>{{item.flow_money||0}}</text>
+											</view>
+											<!-- 	<text>¥</text>
+											<text>{{item.sell_money}}</text> -->
 										</view>
 									</view>
 								</view>
@@ -278,12 +284,31 @@
 							}
 
 							.money {
-								font-size: var(--font12Size);
-								color: var(--ff0Color);
+								display: flex;
 
-								text:nth-child(2) {
-									font-size: var(--font16Size);
-									padding: 0 0 0 1vw;
+								.money_1 {
+									color: var(--fFB1Color);
+									font-size: 12px;
+
+									text:last-child {
+										font-size: 16px;
+										padding: 0 0 0 1vw;
+									}
+								}
+
+								.money_2 {
+									font-size: 12px;
+									margin: 0 0 0 2vw;
+									color: var(--f99Color);
+
+									text {
+										text-decoration: line-through;
+									}
+
+									text:last-child {
+										font-size: 16px;
+										padding: 0 0 0 1vw;
+									}
 								}
 							}
 						}

+ 2 - 0
pagesRest/activity/list.vue

@@ -33,6 +33,8 @@
 	export default {
 		data() {
 			return {
+        // 平台信息
+        config:{},
 				searchInfo: {},
 				list: [],
 				total: 0,