yangan
2024-07-29 6d3a837920639bdd366c4efc0bc7d2ee834b1ca2
pages/loadUnload-page/my-page/my-page.vue
@@ -7,10 +7,10 @@
               style="background: url('https://mx.jzeg.cn:9096/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"
            <!-- <view class="edit-button"><u-button type="primary"
                  @click="editBtnClick"
                  shape="circle"
                  plain>编辑个人资料</u-button></view>
                  plain>编辑个人资料</u-button></view> -->
         </view>
         <view class="personal-information">
            <view class="personal-information-block">
@@ -46,16 +46,34 @@
                        {{ userInfo.username || '' }}
                     </view>
                  </view>
                  <view class="information-line last">
                     <view class="line-label">
                        <image src="https://mx.jzeg.cn:9096/appimg/image/banner/weighnum.png"
                           mode="widthFix"></image>
                        <view class="label-text">体重</view>
                  <view class="information-line"
                        @click="scoreCert">
                        <view class="line-label">
                           <image src="https://mx.jzeg.cn:9096/appimg/image/banner/address.png"
                              mode="widthFix"
                              style="width: 36rpx;position: relative;left: 8rpx;"></image>
                           <view class="label-text">更改头像</view>
                        </view>
                        <view class="information-value">
                           <view class="">
                              {{ '' }}
                           </view>
                        </view>
                     </view>
                     <view class="information-value">
                        {{ userInfo.weight || '' }}
                     <view class="information-line last"
                        @click="scorePass">
                        <view class="line-label">
                           <image src="https://mx.jzeg.cn:9096/appimg/image/banner/address.png"
                              mode="widthFix"
                              style="width: 36rpx;position: relative;left: 8rpx;"></image>
                           <view class="label-text">更改密码</view>
                        </view>
                        <view class="information-value">
                           <view class="">
                              {{ '' }}
                           </view>
                        </view>
                     </view>
                  </view>
               </view>
            </view>
         </view>
@@ -266,6 +284,16 @@
               });
            });
         },
         scoreCert(){
            uni.navigateTo({
               url: '/pages/password/face?id='+this.userInfo.userId+'&imgPath='+this.userInfo.imgPath+'&username='+this.userInfo.username
            })
         },
         scorePass(){
            uni.navigateTo({
               url: '/pages/password/password?id='+this.userInfo.userId
            })
         },
         // 修改按钮点击
         editBtnClick() {
            this.editDriverPopupShow = true;
@@ -371,13 +399,13 @@
            .avatar-imgage {
               width: 98rpx;
               height: 98rpx;
               margin-left: vww(18);
               margin-left: 5%;
               @include flex;
               justify-content: center;
            }
            .avatar-name {
               width: 200rpx;
               width: 250rpx;
               display: flex;
               flex-wrap: wrap;
               height: 32rpx;
@@ -402,8 +430,8 @@
            top: vww(20);
            &-block {
               width: 690rpx;
               height: 400rpx;
               width: 90%;
               height: 490rpx;
               background: #ffffff;
               box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12);
               border-radius: 20rpx;
@@ -412,12 +440,13 @@
               justify-content: space-between;
               .block-main {
                  width: 636rpx;
                  width: 100%;
                  margin: vww(10) vww(14);
               }
               .information-line {
                  @include flex width: 636rpx;
                  @include flex
                  width: 95%;
                  height: vww(45);
                  border-bottom: 1rpx solid #f0f1f6;
@@ -506,7 +535,7 @@
         @include flex;
         justify-content: center;
         position: relative;
         bottom: vww(-400);
         bottom: vww(-450);
         .loginout-main {
            width: 84%;
         }
@@ -517,7 +546,7 @@
         @include flex;
         justify-content: center;
         position: relative;
         bottom: vww(-430);
         bottom: vww(-480);
         .loginout-main {
            width: 84%;