wkyy 3 lat temu
rodzic
commit
acb0f1c94c

+ 3 - 3
components/Tabbar.vue

@@ -1,7 +1,7 @@
 <template >
 	<view>
 		<u-tabbar v-model="myCurrent" :list="tabbarList" 
-		:before-switch="beforeSwitch" active-color="#009143"></u-tabbar>
+		:before-switch="beforeSwitch" active-color="#009143" :height="elderStatus ? '110rpx' : '100rpx'" :icon-size="elderStatus ? '56rpx' : '40rpx'"></u-tabbar>
 		
 	</view>
 </template>
@@ -11,8 +11,8 @@
  	export default {
 		name:"tabbarJob",
 		props:{
-			current: 0
-			
+			current: 0,
+			elderStatus: false
 		},
 		data() {
 			return {

+ 1 - 1
pages/index/index.vue

@@ -224,7 +224,7 @@
 				<text class="button" @click="toLogin">登录/注册</text>
 			</view>
 		</view>
-		<Tabbar :current="0" ref="tabbarMain" ></Tabbar>
+		<Tabbar :current="0" ref="tabbarMain" :elderStatus="elderStatus"></Tabbar>
 	</view>
 </template>
 

+ 7 - 1
pages/searchPile/searchPile.vue

@@ -254,7 +254,7 @@
 		</view>
 		 
 		
-		<Tabbar :current="1"  ref="tabbarMain"></Tabbar> 
+		<Tabbar :current="1"  ref="tabbarMain" :elderStatus="elderStatus"></Tabbar> 
 	</view>
 </template>
 
@@ -377,6 +377,12 @@ export default {
 		
 	},
 	onReady() {
+		if(this.carhelp.get("getElderModeClass") == "长辈模式") {
+			this.elderStatus = true;
+		} else {
+			this.elderStatus = false;
+		}
+		
 //		console.log('长者模式'+JSON.stringify(this.carhelp.get("getElderModeClass")));
 		this.elderMode = this.carhelp.get('getElderModeClass') == '长辈模式';
 		

+ 4 - 4
pages/user/coupon/chooseCoupons.vue

@@ -1,6 +1,6 @@
 <template>
 	<view >
-		<u-navbar title="我的优惠券"><view class="exchange" @click="toConversion">兑换</view></u-navbar>
+		<u-navbar title="我的优惠券"><view class="exchange oldTextjp2" oldstyle="font-size: 16px;" @click="toConversion">兑换</view></u-navbar>
 		
 		<u-alert-tips size="12" :show-icon="true"  type="warning"
 		 description="同类型优惠券只显示一张"></u-alert-tips>
@@ -27,10 +27,10 @@
 			
 			 
 			<view class="item-left">
-				<view class="title">
+				<view class="title oldTextjp" oldstyle="font-size: 18px;">
 					{{item.couponName}}
 				</view>
-				<view class="useful-life">
+				<view class="useful-life oldTextjp2" oldstyle="font-size: 16px;">
 					有效期至{{item.endDate&&item.endDate.slice(0,10)}}
 				</view>
 			</view>
@@ -45,7 +45,7 @@
 					 
 					 v-if="item.classify == '2'">服务费{{item.value}}折</view>
 				 
-				  <view class="contidion">
+				  <view class="contidion oldTextjp2" oldstyle="font-size: 16px;">
 				  	{{item.threshold == 0 ? '无门槛' : '满'+item.threshold+'元可用'}}
 				  </view>
 			</view>

+ 5 - 5
pages/user/finance/rechargeRes.vue

@@ -3,23 +3,23 @@
 		<u-navbar title="充值结果"></u-navbar>
 		<view class="paySuccess">
 			<u-icon name="chenggong" custom-prefix="custom-icon" size="180" color="#00B962"></u-icon>
-			<view class="title">{{detail.payStatusStr}}</view>
+			<view class="title oldTextjp" oldstyle="font-size: 20px;">{{detail.payStatusStr}}</view>
 			<view class="payPrice">
 				<font>{{detail.totalFee}}</font><span>元</span>
 			</view>
-			<p>{{detail.payNameStr}}</p>
+			<p class="oldTextjp2" oldstyle="font-size: 16px;">{{detail.payNameStr}}</p>
 		</view>
 		<view class="paySuccess-btn">
-			<u-button class="success-btn1" shape="circle" type="" @click="rechargeContinue">
+			<u-button class="success-btn1 oldTextjp2" oldstyle="font-size: 18px;" shape="circle" type="" @click="rechargeContinue">
 				<span>继续充值</span>
 			</u-button>
 			
-			<u-button class="success-btn2"
+			<u-button class="success-btn2 oldTextjp2" oldstyle="font-size: 18px;"
 			 v-if="charge"
 			 shape="circle" type="success" @click="chargeLook">
 				<span>前往充电</span>
 			</u-button>
-			<u-button class="success-btn2"
+			<u-button class="success-btn2 oldTextjp2" oldstyle="font-size: 18px;"
 			 v-else
 			 shape="circle" type="success" @click="balanceLook">
 				<span>查看余额</span>

+ 1 - 1
pages/user/index.vue

@@ -112,7 +112,7 @@
 			</view>
 		</view>
 		
-		<Tabbar :current="2"  ref="tabbarMain" ></Tabbar>
+		<Tabbar :current="2"  ref="tabbarMain" :elderStatus="elderStatus"></Tabbar>
 	</view>
 </template>