Browse Source

2023.11.2

zyx 1 year ago
parent
commit
028ebad913
1 changed files with 21 additions and 21 deletions
  1. 21 21
      pages/user/index.vue

+ 21 - 21
pages/user/index.vue

@@ -225,35 +225,34 @@
 				
 				<!-- 我的积分 -->
 				<view class="user-menus" style="margin-top: 20rpx;">
-					<view class="menu-title"></view>
-					<view class="list-box">
+					<view class="list-box-is">
 						<view class="shouyi" @click="shouyi">
-							<view class="jfs">{{award_range || 0}}</view>
+							<view class="jfs line1">{{award_range || 0}}</view>
 							<view class="jf">绿色积分</view>
 						</view>
 						<view class="shouyi" @click="fuxiao">
-							<view class="jfs">{{reorder_integral || 0}}</view>
+							<view class="jfs line1">{{reorder_integral*1 || 0}}</view>
 							<view class="jf">复消积分</view>
 						</view>
 						<view class="shouyi"  @click="guquan">
-							<view class="jfs">{{stock_integral || 0}}</view>
+							<view class="jfs line1">{{stock_integral*1 || 0}}</view>
 							<view class="jf">股权积分</view>
 						</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="list-box-is">
+						<!-- <view class="shouyi" @click="gongxian"> -->
+						<view class="shouyi">
+							<view class="jfs line1">{{award_speed || 0}}</view>
 							<view class="jf">推荐贡献值</view>
 						</view>
 						<view class="shouyi" @click="gongxian">
-							<view class="jfs">{{speed || 0}}</view>
+							<view class="jfs line1">{{speed || 0}}</view>
 							<view class="jf">贡献值</view>
 						</view>
 						<view class="shouyi" @click="xiaofei">
-							<view class="jfs">{{integral || 0}}</view>
+							<view class="jfs line1">{{integral*1 || 0}}</view>
 							<view class="jf">消费券</view>
 						</view>
 					</view>
@@ -1449,24 +1448,25 @@
 		padding-bottom: env(safe-area-inset-bottom);
 	}
 	
-	.list-box{
+	.list-box-is{
+		padding: 30rpx;
+		display: flex;
+		justify-content: space-between;
+		align-items: center;
 		.shouyi {
-			width: 120rpx;
-			height: 140rpx;
-			margin: auto 45rpx;
+			width: 33%;
+			flex-grow: 1;
+			flex-shrink: 0;
+			text-align: center;
+			font-weight: bold;
 			.jfs {
-				text-align: center;
 				font-size: 36rpx;
-				font-weight: bold;
 				color: #333333;
-				// width: 33.33%;
 			}
 			.jf {
-				text-align: center;
+				margin-top: 10rpx;
 				font-size: 24rpx;
-				font-weight: 500;
 				color: #666666;
-				// width: 33.33%;
 			}
 		}
 	}