qingyiay
2023-05-17 ae1aad66a165ee7253bed2127a3b53baa40c2361
pages/driver-page/drvier-my/drvier-my.vue
@@ -3,8 +3,8 @@
      <view class="driver-banner">
         <view class="navgation">我的</view>
         <view class="avatar">
            <view class="avatar-imgage"></view>
            <view class="avatar-name">{{ userInfo.name }}</view>
            <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-name">{{ userInfo.name || '' }}</view>
            <view class="edit-button"><u-button type="primary" @click="editBtnClick" shape="circle" plain>编辑个人资料</u-button></view>
         </view>
         <view class="personal-information">
@@ -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"></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"></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"></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"></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"></u-icon>
                        {{ userInfo.weight || '' }}
                        <!-- <u-icon name="arrow-right" color="#999999" size="30" v-if="userInfo.weight"></u-icon> -->
                     </view>
                  </view>
               </view>
@@ -370,10 +370,9 @@
      position: fixed;
      top: 0;
      .navgation {
         width: 77rpx;
         width: 80rpx;
         height: 37rpx;
         font-size: 40rpx;
         font-family: Adobe Heiti Std;
         font-weight: normal;
         color: #ffffff;
         line-height: 69rpx;
@@ -389,23 +388,23 @@
         .avatar-imgage {
            width: 98rpx;
            height: 98rpx;
            background: #fcfcfc;
            border: 4px solid #ffffff;
            border-radius: 50%;
            margin-left: vww(18);
            @include flex;
            justify-content: center;
         }
         .avatar-name {
            width: 136rpx;
            width: 200rpx;
            display: flex;
            flex-wrap: wrap;
            height: 32rpx;
            font-size: 34rpx;
            font-family: Source Han Sans CN;
            font-weight: bold;
            color: #ffffff;
            margin-left: vww(17);
         }
         .edit-button {
            position: relative;
            left: vww(94);
            left: vww(73);
            top: vww(4);
         }
      }
@@ -441,19 +440,17 @@
                     height: 50rpx;
                  }
                  .label-text {
                     width: 118rpx;
                     width: 120rpx;
                     font-size: 30rpx;
                     font-family: Source Han Sans CN;
                     font-weight: 400;
                     color: #000000;
                     line-height: 85rpx;
                  }
               }
               .information-value {
                  width: vww(125);
                  min-width: vww(125);
                  @include flex;
                  font-size: 30rpx;
                  font-family: Source Han Sans CN;
                  font-weight: 400;
                  color: #000000;
                  line-height: 85rpx;