From af436aa050f76584cd5cb88e413e45cd08c15d50 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期三, 17 五月 2023 14:14:04 +0800 Subject: [PATCH] 修改部分错误,增加新功能 --- pages/driver-page/drvier-my/drvier-my.vue | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/pages/driver-page/drvier-my/drvier-my.vue b/pages/driver-page/drvier-my/drvier-my.vue index 464ddd6..430b999 100644 --- a/pages/driver-page/drvier-my/drvier-my.vue +++ b/pages/driver-page/drvier-my/drvier-my.vue @@ -3,7 +3,7 @@ <view class="driver-banner"> <view class="navgation">鎴戠殑</view> <view class="avatar"> - <view class="avatar-imgage" style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/avatar.png')no-repeat;background-size: cover;"></view> + <view class="avatar-imgage" style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/driverava.png')no-repeat;background-size: cover;"></view> <view class="avatar-name">{{ userInfo.name || '' }}</view> <view class="edit-button"><u-button type="primary" @click="editBtnClick" shape="circle" plain>缂栬緫涓汉璧勬枡</u-button></view> </view> @@ -16,8 +16,8 @@ <view class="label-text">韬唤璇佸彿</view> </view> <view class="information-value"> - {{ userInfo.idCard }} - <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.idCard"></u-icon> + {{ userInfo.idCard || '' }} + <!-- <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.idCard"></u-icon> --> </view> </view> <view class="information-line"> @@ -26,8 +26,8 @@ <view class="label-text">鎵嬫満鍙�</view> </view> <view class="information-value"> - {{ userInfo.phone }} - <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.phone"></u-icon> + {{ userInfo.phone || '' }} + <!-- <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.phone"></u-icon> --> </view> </view> <view class="information-line"> @@ -36,8 +36,8 @@ <view class="label-text">杞︾墝鍙�</view> </view> <view class="information-value"> - {{ userInfo.carNo }} - <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.carNo"></u-icon> + {{ userInfo.carNo || '' }} + <!-- <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.carNo"></u-icon> --> </view> </view> <view class="information-line"> @@ -46,8 +46,8 @@ <view class="label-text">杞﹁酱鏁�</view> </view> <view class="information-value"> - {{ userInfo.axleNum }} - <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.axleNum"></u-icon> + {{ userInfo.axleNum || '' }} + <!-- <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.axleNum"></u-icon> --> </view> </view> <view class="information-line last"> @@ -56,8 +56,8 @@ <view class="label-text">浣撻噸</view> </view> <view class="information-value"> - {{ userInfo.weight }} - <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.weight"></u-icon> + {{ userInfo.weight || '' }} + <!-- <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.weight"></u-icon> --> </view> </view> </view> @@ -393,7 +393,9 @@ justify-content: center; } .avatar-name { - width: 136rpx; + width: 200rpx; + display: flex; + flex-wrap: wrap; height: 32rpx; font-size: 34rpx; font-weight: bold; @@ -402,7 +404,7 @@ } .edit-button { position: relative; - left: vww(94); + left: vww(73); top: vww(4); } } -- Gitblit v1.9.1