| | |
| | | </view> |
| | | <view class="list-call"> |
| | | <u-input v-model="password" |
| | | clearable |
| | | v-if="inpType" |
| | | clearable |
| | | maxlength="32" |
| | | :type="inpType ? 'password' : 'text'" |
| | | :type="'password'" |
| | | placeholder="请输入密码" |
| | | prefixIcon="lock" |
| | | style="padding:0;margin-left:8px;" |
| | | prefixIconStyle="font-size: 22px;color: #909399"> |
| | | <template slot="suffix"> |
| | | <u-icon size="40" name="eye" @click="todoShow"></u-icon> |
| | | <u-icon size="45" name="eye-off" @click.native.stop="todoShow"></u-icon> |
| | | </template> |
| | | </u-input> |
| | | <u-input v-model="password" |
| | | v-if="!inpType" |
| | | maxlength="32" |
| | | clearable |
| | | :type="'text'" |
| | | placeholder="请输入密码" |
| | | prefixIcon="lock" |
| | | style="padding:0;margin-left:8px;" |
| | | prefixIconStyle="font-size: 22px;color: #909399"> |
| | | <template slot="suffix"> |
| | | <u-icon size="45" name="eye" @click.native.stop="todoShow"></u-icon> |
| | | </template> |
| | | </u-input> |
| | | </view> |
| | |
| | | }, |
| | | todoShow(){ |
| | | console.log('点击') |
| | | this.inpType = !this.inpType |
| | | this.inpType = !this.inpType; |
| | | this.password = this.password; |
| | | |
| | | }, |
| | | //登录 |