Browse Source

我的修改

hwb0 3 years ago
parent
commit
180a46371f

+ 24 - 7
pages/user/index.vue

@@ -49,13 +49,20 @@
 				<u-cell icon="kefu-ermai" title="联系我们" :isLink="true" @click="contactService" />
 				<u-cell icon="kefu-ermai" title="联系我们" :isLink="true" @click="contactService" />
 				<u-cell icon="info-circle" title="关于我们" :border="false" :isLink="true" :url="'/packageOther/about/index'" />
 				<u-cell icon="info-circle" title="关于我们" :border="false" :isLink="true" :url="'/packageOther/about/index'" />
 			</u-cell-group> -->
 			</u-cell-group> -->
-			<view class="action-item flex">
-				<view class="action-item-left flex" @click="toOrder">
+			<view class="action-item flex" @click="toOrder">
+				<view class="action-item-left flex">
 					<image src="../../static/user/user_order.png" mode=""></image>
 					<image src="../../static/user/user_order.png" mode=""></image>
 					<view class="title">我的订单</view>
 					<view class="title">我的订单</view>
 				</view>
 				</view>
 				<u-icon name="arrow-right" color="#666" size="16"></u-icon>
 				<u-icon name="arrow-right" color="#666" size="16"></u-icon>
 			</view>
 			</view>
+			<view class="action-item flex" @click="toAddress">
+				<view class="action-item-left flex">
+					<image class="addr" src="../../static/user/user_addr.png" mode=""></image>
+					<view class="title">我的地址</view>
+				</view>
+				<u-icon name="arrow-right" color="#666" size="16"></u-icon>
+			</view>
 			<view class="action-item flex" @click="contactService">
 			<view class="action-item flex" @click="contactService">
 				<view class="action-item-left flex">
 				<view class="action-item-left flex">
 					<image src="../../static/user/user_kefu.png" mode=""></image>
 					<image src="../../static/user/user_kefu.png" mode=""></image>
@@ -75,7 +82,7 @@
 			<!-- <u-cell icon="close-circle" title="退出登录" :isLink="true" :border="false" @click="logout" /> -->
 			<!-- <u-cell icon="close-circle" title="退出登录" :isLink="true" :border="false" @click="logout" /> -->
 			<view class="action-item flex" @click="logout">
 			<view class="action-item flex" @click="logout">
 				<view class="action-item-left flex">
 				<view class="action-item-left flex">
-					<image src="../../static/user/user_close.png" mode=""></image>
+					<image class="close" src="../../static/user/user_close.png" mode=""></image>
 					<view class="title">退出登录</view>
 					<view class="title">退出登录</view>
 				</view>
 				</view>
 				<u-icon name="arrow-right" color="#666" size="16"></u-icon>
 				<u-icon name="arrow-right" color="#666" size="16"></u-icon>
@@ -272,7 +279,7 @@
 				height: 170rpx;
 				height: 170rpx;
 				border-radius: 50%;
 				border-radius: 50%;
 				overflow: hidden;
 				overflow: hidden;
-				background: #C0C0C0;
+				background: #fff;
 			}
 			}
 
 
 			&-name {
 			&-name {
@@ -298,7 +305,6 @@
 			&-item {
 			&-item {
 				flex-direction: column;
 				flex-direction: column;
 				font-size: 34rpx;
 				font-size: 34rpx;
-				font-weight: bold;
 				
 				
 				view {
 				view {
 					line-height: 52rpx;
 					line-height: 52rpx;
@@ -326,8 +332,10 @@
 			border-bottom: 1px solid #eee;
 			border-bottom: 1px solid #eee;
 			
 			
 			&-left {
 			&-left {
+				color: #666;
+				
 				image {
 				image {
-					width: 40rpx;
+					width: 44rpx;
 					height: 44rpx;
 					height: 44rpx;
 					margin-right: 20rpx;
 					margin-right: 20rpx;
 				}
 				}
@@ -335,7 +343,16 @@
 				.title {
 				.title {
 					font-size: 30rpx;
 					font-size: 30rpx;
 					line-height: 30rpx;
 					line-height: 30rpx;
-					font-weight: bold;
+				}
+				
+				.addr {
+					width: 38rpx;
+					height: 46rpx;
+				}
+				
+				.close {
+					width: 50rpx;
+					height: 46rpx;
 				}
 				}
 			}
 			}
 		}
 		}

BIN
static/user/user_about.png


BIN
static/user/user_addr.png


BIN
static/user/user_close.png


BIN
static/user/user_kefu.png


BIN
static/user/user_order.png