Forráskód Böngészése

‘我的’页面调整

wkyy 2 éve
szülő
commit
b93fbf6932
1 módosított fájl, 16 hozzáadás és 11 törlés
  1. 16 11
      pages/user/index.vue

+ 16 - 11
pages/user/index.vue

@@ -48,7 +48,7 @@
 				</view>
 			</view>
 			<!-- 开通后 -->
-			<view class="opened" v-if="userId&&userCardBool">
+			<view class="opened" v-if="userId&&userCardBool" @click="gotoUrl('pages/monthlyCardActivity/monthlyCardBuy')">
 				<view class="title">
 					<text class="img">
 						<img src="../../assets/img/antFill-crown@3x.png" alt="">
@@ -62,21 +62,23 @@
 
 			<!-- 可用余额 -->
 			<view class="balance">
-				<view class="item">
+				<view class="item" @click="toBalance">
 					<view class="num oldTextjp" oldstyle="font-size: 28px;">
 						{{personAccount.availableAmount != null ? personAccount.availableAmount.toFixed(2) : '0.00'}}<span style="font-size: 16px;">元</span>
 					</view>
 					<view class="name" :style="elderStatus ? 'font-size: 16px;' : ''">
-						可用余额
+						可用余额{{" "}}
+						<span class="userData-foot-look">查看</span>
 					</view>
 				</view>
-				<view class="item">
+				<view class="item" @click="toMyCoupon">
 					<view class="num oldTextjp" oldstyle="font-size: 28px;">
 						{{recordsTotal}}<span style="font-size: 16px;">张</span>
 						<!-- <text class="new">新券</text> -->
 					</view>
 					<view class="name" :style="elderStatus ? 'font-size: 16px;' : ''">
-						优惠券
+						优惠券{{" "}}
+						<span class="userData-foot-look">查看</span>
 					</view>
 				</view>
 				<!-- <view class="item">
@@ -84,7 +86,8 @@
 						0
 					</view>
 					<view class="name" :style="elderStatus ? 'font-size: 16px;' : ''">
-						积分
+						积分{{" "}}
+						<span class="userData-foot-look">查看</span>
 					</view>
 				</view> -->
 			</view>
@@ -153,14 +156,14 @@
 					关于我们
 				</view>
 			</view>
-			<view class="item">
+			<!-- <view class="item">
 				<view class="item-icon">
 					<i class="ri-tools-line"></i>
 				</view>
 				<view class="item-name oldTextjp" oldstyle="font-size: 18px;">
 					我要报修
 				</view>
-			</view>
+			</view> -->
 			<view class="item" @click="toFreeInstallation">
 				<view class="item-icon">
 					<i class="ri-file-add-line"></i>
@@ -177,14 +180,14 @@
 					我要加盟
 				</view>
 			</view>
-			<view class="item">
+			<!-- <view class="item">
 				<view class="item-icon">
 					<i class="ri-shield-user-line"></i>
 				</view>
 				<view class="item-name oldTextjp" oldstyle="font-size: 18px;">
 					实名认证
 				</view>
-			</view>
+			</view> -->
 		</view>
 		<Tabbar :current="2" ref="tabbarMain" :elderStatus="elderStatus"></Tabbar>
 	</view>
@@ -770,7 +773,9 @@
 					color: rgba(134, 134, 134, 100);
 					font-size: 16px;
 					margin-top: 4px;
-
+					.userData-foot-look {
+						color: #00B962;
+					}
 				}
 			}
 		}