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

"我的"长辈模式

wkyy 3 éve
szülő
commit
12c49145cf
2 módosított fájl, 10 hozzáadás és 8 törlés
  1. 1 1
      pages/index/index.vue
  2. 9 7
      pages/user/index.vue

+ 1 - 1
pages/index/index.vue

@@ -51,7 +51,7 @@
 		</view>
 
 		<!-- 模式选择 -->
-		<u-mask :show="show">
+		<u-mask :show="show=false">
 			<view class="wrap">
 
 

+ 9 - 7
pages/user/index.vue

@@ -5,30 +5,30 @@
 				<u-avatar :src="userId ? headImg : '../../assets/img/head.png'" size="96"></u-avatar>
 			</view>
 			<view class="userHead-text oldTextjp2" oldstyle="font-size: 28px;">
-				<h3>{{userId ? userPhone : '点击登录/注册'}}</h3>
+				<h3 class="oldTextjp2" oldstyle="font-size: 28px;">{{userId ? userPhone : '点击登录/注册'}}</h3>
 			</view>
 		</view>
 		<view class="userData">
 			<view class="userData-num" @click="toBalance">
-				<view class="userData-data">{{personAccount.availableAmount != null ? personAccount.availableAmount.toFixed(2) : '0.00'}}元</view>
-				<view class="userData-foot">可用余额</view>
+				<view class="userData-data oldTextjp2" oldstyle="font-size: 28px;">{{personAccount.availableAmount != null ? personAccount.availableAmount.toFixed(2) : '0.00'}}元</view>
+				<view class="userData-foot oldTextjp2" oldstyle="font-size: 16px;">可用余额</view>
 			</view>
 			<view class="line">
 				
 			</view>
 			<view class="userData-num" @click="toMyCoupon">
-				<view class="userData-data">{{recordsTotal}}张</view>
-				<view class="userData-foot">优惠券</view>
+				<view class="userData-data oldTextjp2" oldstyle="font-size: 28px;">{{recordsTotal}}张</view>
+				<view class="userData-foot oldTextjp2" oldstyle="font-size: 16px;">优惠券</view>
 			</view>
 		</view>
 		<view class="userBanner">
 			<u-image width="100%" height="80px" src="../../static/img/banner.jpg" border-radius="16"></u-image>
 		</view>
 		<view class="userIcon">
-			<view class="userIcon-tit">
+			<view class="userIcon-tit oldTextjp2" oldstyle="font-size: 20px;">
 				<h3>常用功能</h3>
 			</view>
-			<view class="userIcon-main">
+			<view class="userIcon-main oldTextjp2" oldstyle="font-size: 18px;">
 				<view class="userIcon-item" @click="getScanCode">
 					<view class="userIcon-icon userIcon-icon1">
 						<u-icon name="qr-scan-2-line" custom-prefix="custom-icon" color="#fff" size="36"></u-icon>
@@ -386,6 +386,7 @@
 		margin-top: 16px;
 		display: flex;
 		justify-content: space-between;
+		font-size: 16px;
 	}
 	.userIcon-icon{
 		display: flex;
@@ -402,6 +403,7 @@
 	.userIcon-icon3{background-color: #6FA5FF;}
 	.userIcon-icon4{background-color: #9D9FFF;}
 	.userCell{
+		font-size: 16px;
 		background-color: #fff;
 		border-radius: 8px;
 		margin: 16px;