| | |
| | | |
| | | </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> |
| | |
| | | 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> |
| | |
| | | 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> |
| | |
| | | examList: [], |
| | | totalPage: 0, |
| | | user: {}, |
| | | avator: '', |
| | | avator: avatorPic, |
| | | showModal: false, |
| | | pwdForm:{ |
| | | id: null, |
| | |
| | | // 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: { |