wkyy 3 роки тому
батько
коміт
c0f966333d
3 змінених файлів з 24 додано та 22 видалено
  1. 3 3
      pages/record/index.vue
  2. 12 10
      pages/user/index.vue
  3. 9 9
      pages/user/setting.vue

+ 3 - 3
pages/record/index.vue

@@ -18,14 +18,14 @@
 						<h4 class="oldTextjp" oldstyle="font-size: 20px;">{{item.stationName}}/{{item.deviceNo}}</h4>
 						<span class="state1" :style="{color : textColor(item),fontSize: textFontSize()}">{{item.statusText}}</span>
 					</view>
-					<view class="recordList-row">
+					<view class="recordList-row oldTextjp2" oldstyle="font-size: 14px;">
 						<p>开始时间:{{item.status == '0' || item.status == '4' ? '暂未开始' : item.createTime}}</p>
 					</view>
-					<view class="recordList-row">
+					<view class="recordList-row oldTextjp2" oldstyle="font-size: 14px;">
 						<p>充电电量:{{item.electricQuantity != null ? item.electricQuantity/10000 : '0.000'}}度</p>
 					</view>
 					<view class="recordList-row">
-						<p>充电时长:{{item.chargingMinute != null ? item.chargingMinute+'分' : '00分00秒'}}</p>
+						<p class="oldTextjp2" oldstyle="font-size: 14px;">充电时长:{{item.chargingMinute != null ? item.chargingMinute+'分' : '00分00秒'}}</p>
 						<h4 class="oldTextjp2" oldstyle="font-size: 28px;">{{item.actualFee != null ? item.actualFee : '0.00'}}元</h4>
 					</view>
 				</view>

+ 12 - 10
pages/user/index.vue

@@ -62,50 +62,49 @@
 		</view>
 		<view class="userCell">
 			<view class="userCell-item" @click="carManage">
-				<view class="userCell-title">
+				<view class="userCell-title oldTextjp" oldstyle="font-size: 20px;">
 					<u-icon name="menu_cwcl" custom-prefix="custom-icon" color="#6BC6A7" size="36"></u-icon>
 					<p>车辆管理</p>
 				</view>
-				<view class="">
-					<text class="add">添加车牌号</text>
+				<view>
+					<text class="add oldTextjp2" oldstyle="font-size: 16px;">添加车牌号</text>
 					<u-icon name="arrow-right-s-line" custom-prefix="custom-icon" color="#B3B3B3" size="32"></u-icon>
 				</view>
-				
 			</view>
 			<view class="userCell-item" @click="gotoUrl('pages/user/help')">
-				<view class="userCell-title">
+				<view class="userCell-title oldTextjp" oldstyle="font-size: 20px;">
 					<u-icon name="compass-3-fill" custom-prefix="custom-icon" color="#6BC6A7" size="36"></u-icon>
 					<p>操作指南</p>
 				</view>
 				<u-icon name="arrow-right-s-line" custom-prefix="custom-icon" color="#B3B3B3" size="32"></u-icon>
 			</view>
 			<view class="userCell-item" @click="feedback">
-				<view class="userCell-title">
+				<view class="userCell-title oldTextjp" oldstyle="font-size: 20px;">
 					<u-icon name="feedback-fill" custom-prefix="custom-icon" color="#6BC6A7" size="36"></u-icon>
 					<p>意见反馈</p>
 				</view>
 				<u-icon name="arrow-right-s-line" custom-prefix="custom-icon" color="#B3B3B3" size="32"></u-icon>
 			</view>
 			<view class="userCell-item" @click="gotoUrl('pages/user/about')">
-				<view class="userCell-title">
+				<view class="userCell-title oldTextjp" oldstyle="font-size: 20px;">
 					<u-icon name="information-fill" custom-prefix="custom-icon" color="#6BC6A7" size="36"></u-icon>
 					<p>关于我们</p>
 				</view>
 				<u-icon name="arrow-right-s-line" custom-prefix="custom-icon" color="#B3B3B3" size="32"></u-icon>
 			</view>
 			<view class="userCell-item" @click="openModal">
-				<view class="userCell-title">
+				<view class="userCell-title oldTextjp" oldstyle="font-size: 20px;">
 					<u-icon name="customer-service-fill" custom-prefix="custom-icon" color="#6BC6A7" size="36"></u-icon>
 					<p>联系客服</p>
 				</view>
-				<span>{{content}}</span>
+				<span class="oldTextjp2" oldstyle="font-size: 16px;">{{content}}</span>
 			</view>
 			<view>
 				<u-modal v-model="show" @confirm="confirmPhone" :confirm-text="confirmText" confirm-color="#606266" :show-cancel-button="true" ref="uModal" 
 					:asyncClose="true" :title="title" :content="content"></u-modal>
 			</view>
 			<view class="userCell-item" @click="setUp">
-				<view class="userCell-title">
+				<view class="userCell-title oldTextjp" oldstyle="font-size: 20px;">
 					<u-icon name="settings-4-fill" custom-prefix="custom-icon" color="#6BC6A7" size="36"></u-icon>
 					<p>设置</p>
 				</view>
@@ -479,6 +478,9 @@
 			span{
 				color:#999;
 			}
+			.add{
+				color:#999;
+			}
 		}
 	}
 	

+ 9 - 9
pages/user/setting.vue

@@ -8,16 +8,11 @@
 			<u-cell-item title="注销账号" :title-style="checked ? titleStyle : {}" value="注销后无法恢复,请谨慎操作" 
 				:value-style="checked ? {color:'#ff3300',fontSize:'16px'} : valueStyle" @click="gotoUrl('pages/user/logout')">
 			</u-cell-item>
+			<u-cell-item title="长辈模式" :title-style="checked ? titleStyle : {}" value="字体更大更清晰" :arrow="false"
+				:value-style="checked ? {color:'#777777',fontSize:'16px',textAlign: 'left',marginLeft: '8px'} : valueStyle2">
+				<u-switch slot="right-icon" v-model="checked" active-color="#00E266" @change="checkedChange"></u-switch>
+			</u-cell-item>
 		</u-cell-group>
-		<view class="switcher-mode">
-			<view class="oldTextjp2" oldstyle="font-weight:bold;font-size:18px">
-				长辈模式
-				<text class="oldTextjp2" oldstyle="font-weight:normal;font-size:16px;">字体更大更清晰</text>
-			</view>
-			<view class="switch-box" >
-				<u-switch v-model="checked" class="switch" active-color="#00E266" @change="checkedChange"></u-switch>
-			</view>
-		</view>
 		
 		<view class="logout-btn oldTextjp" oldstyle="font-size:18px" @click="signOut">
 			退出帐号
@@ -44,6 +39,11 @@
 				valueStyle: {
 					color:'#ff3300',
 				},
+				valueStyle2: {
+					color: '#777777',
+					textAlign: 'left',
+					marginLeft: '8px'
+				},
 				titleStyle: {
 					fontWeight: 'bold',
 					fontSize: '18px',