马宇豪
2025-04-29 9d5b4d650e5b01081d3537c750e7469db4d161e3
pages/tabBar/count/count.vue
@@ -30,7 +30,7 @@
          </view>
          <view class="info-id" @click="resetPwd()">
            <span>修改密码</span><u-icon name="edit-pen" color="#e6e6e6" size="16"></u-icon>
            <u-icon name="edit-pen" color="#e6e6e6" size="16"></u-icon><span>修改密码</span>
          </view>
        </view>
      </view>
@@ -65,14 +65,9 @@
              ref="password"
              label="新密码"
          >
            <u-input v-show="isPwd1" v-model="pwdForm.password" placeholder="请输入新密码" :password="true">
            <u-input v-model="pwdForm.password" placeholder="请输入新密码" :password="isPwd1">
              <template slot="suffix">
                <u-icon name="eye" color="#999" size="20" @click="isPwd1 = false"></u-icon>
              </template>
            </u-input>
            <u-input v-show="!isPwd1" v-model="pwdForm.password" placeholder="请输入新密码" :password="false">
              <template slot="suffix">
                <u-icon name="eye-off" color="#999" size="20" @click="isPwd1 = true"></u-icon>
                <u-icon :name="isPwd1?'eye':'eye-off'" color="#999" size="20" @click="isPwd1 = !isPwd1"></u-icon>
              </template>
            </u-input>
          </u-form-item>
@@ -81,14 +76,9 @@
              ref="rePassword"
              label="确认密码"
          >
            <u-input v-show="isPwd2" v-model="pwdForm.rePassword" placeholder="请输入新密码" :password="true">
            <u-input v-model="pwdForm.rePassword" placeholder="请输入新密码" :password="isPwd2">
              <template slot="suffix">
                <u-icon name="eye" color="#999" size="20" @click="isPwd2 = false"></u-icon>
              </template>
            </u-input>
            <u-input v-show="!isPwd2" v-model="pwdForm.rePassword" placeholder="请输入新密码" :password="false">
              <template slot="suffix">
                <u-icon name="eye-off" color="#999" size="20" @click="isPwd2 = true"></u-icon>
                <u-icon :name="isPwd2?'eye':'eye-off'" color="#999" size="20" @click="isPwd2 = !isPwd2"></u-icon>
              </template>
            </u-input>
          </u-form-item>
@@ -123,7 +113,7 @@
        examList: [],
        totalPage: 0,
        user: {},
        avator: '',
        avator: avatorPic,
        showModal: false,
        pwdForm:{
          id: null,
@@ -176,11 +166,11 @@
         // uni.hideTabBar();
      // this.getUserInfo()
      this.user = uni.getStorageSync('userSet')
      if(this.user.logoPath && this.user.logoPath !== ''){
        this.avator = VUE_APP_BASE_URL + '/api/' + this.user.logoPath
      }else{
        this.avator = avatorPic
      }
      // if(this.user.logoPath && this.user.logoPath !== ''){
      //   this.avator = VUE_APP_BASE_URL + '/api/' + this.user.logoPath
      // }else{
      //   this.avator = avatorPic
      // }
      },
      methods: {