Browse Source

2023.11.1

zyx 1 year ago
parent
commit
12c9128b66
1 changed files with 23 additions and 10 deletions
  1. 23 10
      pages/user/index.vue

+ 23 - 10
pages/user/index.vue

@@ -225,20 +225,12 @@
 				
 				<!-- 我的积分 -->
 				<view class="user-menus" style="margin-top: 20rpx;">
-					<view class="menu-title">{{$t('我的积分')}}</view>
+					<view class="menu-title"></view>
 					<view class="list-box">
 						<view class="shouyi" @click="shouyi">
 							<view class="jfs">{{award_range || 0}}</view>
 							<view class="jf">绿色积分</view>
 						</view>
-						<view class="shouyi" @click="gongxian">
-							<view class="jfs">{{speed || 0}}</view>
-							<view class="jf">贡献值</view>
-						</view>
-						<view class="shouyi" @click="xiaofei">
-							<view class="jfs">{{integral || 0}}</view>
-							<view class="jf">消费券</view>
-						</view>
 						<view class="shouyi" @click="fuxiao">
 							<view class="jfs">{{reorder_integral || 0}}</view>
 							<view class="jf">复消积分</view>
@@ -249,6 +241,23 @@
 						</view>
 					</view>
 				</view>
+				<view class="user-menus" style="margin-top: 20rpx;">
+					<view class="menu-title"></view>
+					<view class="list-box">
+						<view class="shouyi" @click="gongxian">
+							<view class="jfs">{{award_speed || 0}}</view>
+							<view class="jf">推荐贡献值</view>
+						</view>
+						<view class="shouyi" @click="gongxian">
+							<view class="jfs">{{speed || 0}}</view>
+							<view class="jf">贡献值</view>
+						</view>
+						<view class="shouyi" @click="xiaofei">
+							<view class="jfs">{{integral || 0}}</view>
+							<view class="jf">消费券</view>
+						</view>
+					</view>
+				</view>
 				
 				<!-- 会员菜单 -->
 				<view class="user-menus" style="margin-top: 20rpx;">
@@ -435,6 +444,7 @@
 				integral: '', // 消费券
 				reorder_integral: '', // 可复消积分
 				stock_integral: '', // 股权积分
+				award_speed: ''
 			}
 		},
 		onLoad(option) {
@@ -522,6 +532,7 @@
 				this.integral = data.integral  // 消费券
 				this.reorder_integral = data.reorder_integral  // 可复消积分
 				this.stock_integral = data.stock_integral  // 股权积分
+				this.award_speed = data.award_speed  //推荐贡献值
 			},
 			
 			
@@ -1442,18 +1453,20 @@
 		.shouyi {
 			width: 120rpx;
 			height: 140rpx;
-			margin: auto 8rpx;
+			margin: auto 45rpx;
 			.jfs {
 				text-align: center;
 				font-size: 36rpx;
 				font-weight: bold;
 				color: #333333;
+				// width: 33.33%;
 			}
 			.jf {
 				text-align: center;
 				font-size: 24rpx;
 				font-weight: 500;
 				color: #666666;
+				// width: 33.33%;
 			}
 		}
 	}