Explorar o código

1.用户昵称后增加“编辑”图标;
2.我的服务模块移除车辆管理功能;
3.增加“个人资料”卡片链接,跳转至“个人资料-整合”页面;
4.“联系客服”卡片去掉号码显示,改为跳转至“联系客服”页面;
5.移除“设置”卡片链接。

常志远 %!s(int64=2) %!d(string=hai) anos
pai
achega
ccf9d11f4f
Modificáronse 3 ficheiros con 38 adicións e 10 borrados
  1. 1 1
      assets/img/edit-2-fill.svg
  2. 1 1
      assets/img/folder-user-fill.svg
  3. 36 8
      pages/user/index.vue

+ 1 - 1
assets/img/edit-2-fill.svg

@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M9.243 19H21v2H3v-4.243l9.9-9.9 4.242 4.244L9.242 19zm5.07-13.556l2.122-2.122a1 1 0 0 1 1.414 0l2.829 2.829a1 1 0 0 1 0 1.414l-2.122 2.121-4.242-4.242z"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" fill="#FFFFFF" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M9.243 19H21v2H3v-4.243l9.9-9.9 4.242 4.244L9.242 19zm5.07-13.556l2.122-2.122a1 1 0 0 1 1.414 0l2.829 2.829a1 1 0 0 1 0 1.414l-2.122 2.121-4.242-4.242z"/></svg>

+ 1 - 1
assets/img/folder-user-fill.svg

@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2zM12 13a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm-4 5h8a4 4 0 1 0-8 0z"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" fill="#6BC6A7 " viewBox="0 0 24 24" width="18" height="18"><path fill="none" d="M0 0h24v24H0z"/><path d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2zM12 13a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm-4 5h8a4 4 0 1 0-8 0z"/></svg>

+ 36 - 8
pages/user/index.vue

@@ -6,7 +6,9 @@
 				<img class="md" src="../../assets/img/md-verified_user@3x.png" alt="">
 			</view>
 			<view class="userHead-text">
-				<h3 :style="elderStatus ? 'font-size: 28px;' : ''">{{userId ? userPhone : '点击登录/注册'}}</h3>
+				<h3 :style="elderStatus ? 'font-size: 28px;' : ''">{{userId ? userPhone : '点击登录/注册'}}
+				 <text class="edit"> <img src="../../assets/img/edit-2-fill.svg" alt=""></text>
+				</h3>
 				<view class="tag" v-if="false">
 					<view class="tag-1">
 						<text>服务费包月卡</text><text class="iconfont iconfont-right" >&#xe600;</text>
@@ -118,12 +120,12 @@
 					</view>
 					<p :style="elderStatus ? 'font-size: 18px;' : ''">充电记录</p>
 				</view>
-				<view class="userIcon-item" @click="carManage">
+			<!-- 	<view class="userIcon-item" @click="carManage">
 					<view class="userIcon-icon">
 						<img src="../../static/img/car-fill.svg" style="width: 36px;height: 36px;" alt="">
 					</view>
 					<p :style="elderStatus ? 'font-size: 18px;' : ''">车辆管理</p>
-				</view>
+				</view> -->
 				<view class="userIcon-item" @click="myAppointment">
 					<view class="userIcon-icon">
 						<img src="../../static/img/riFill-map-pin-time-fill.svg" alt="">
@@ -175,6 +177,14 @@
 					<u-icon name="arrow-right-s-line" custom-prefix="custom-icon" color="#B3B3B3" size="32"></u-icon>
 				</view>
 			</view> -->
+			<view class="userCell-item" >
+				<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> -->
+					<text class="user" ><img style="visibility: middle;;" src="../../assets/img/folder-user-fill.svg" alt=""></text>
+					<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/help')">
 				<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>
@@ -201,19 +211,20 @@
 					<u-icon name="customer-service-fill" custom-prefix="custom-icon" color="#6BC6A7" size="36"></u-icon>
 					<p>联系客服</p>
 				</view>
-				<span :style="elderStatus ? 'font-size: 16px;' : ''">{{content}}</span>
+				<u-icon name="arrow-right-s-line" custom-prefix="custom-icon" color="#B3B3B3" size="32"></u-icon>
+				<!-- <span :style="elderStatus ? '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" :content-style="{fontSize: '24px',color: '#101010'}"></u-modal>
 			</view>
-			<view class="userCell-item" @click="setUp">
+			<!-- <view class="userCell-item" @click="setUp">
 				<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>
 				<u-icon name="arrow-right-s-line" custom-prefix="custom-icon" color="#B3B3B3" size="32"></u-icon>
-			</view>
+			</view> -->
 		</view>
 		
 		<Tabbar :current="2"  ref="tabbarMain" :elderStatus="elderStatus"></Tabbar>
@@ -613,6 +624,7 @@
 		width: 25%;
 		font-size: 14px
 		
+		
 	}
 	.lucency{
 		opacity: 0.5;
@@ -620,7 +632,7 @@
 
 	.userIcon-main{
 		display: flex;
-		justify-content: space-between;
+		
 	    flex-wrap: wrap;
 		font-size: 16px;
 	}
@@ -650,7 +662,6 @@
 			.userCell-title{
 				font-size: 16px;
 				display: flex;
-				align-items: center;
 				p{
 					margin-left: 8px;
 				}
@@ -670,6 +681,7 @@
 		align-items: center;
 		padding:40px 20px 0;
 		
+		
 	.tag{
 		margin-top: 8px;
 		display: flex;
@@ -722,6 +734,22 @@
 				font-size: 20px;
 				color:#fff;
 				font-weight: normal;
+				
+				.edit{
+					display: inline-block;
+					width: 20px;
+					height: 20px;
+					margin-left: 2px;
+					
+					
+					img{
+						width: 100%;
+						height: 100%;
+						vertical-align: middle;
+	
+						
+					}
+				}
 			}
 			
 		}