|
@@ -20,8 +20,17 @@
|
|
<!-- <u--input class='password' border="none" v-model='password'
|
|
<!-- <u--input class='password' border="none" v-model='password'
|
|
placeholder="请输入密码,6-16位字符" :type="type" value="">
|
|
placeholder="请输入密码,6-16位字符" :type="type" value="">
|
|
</u--input> -->
|
|
</u--input> -->
|
|
- <u-input class='password' border="none" v-model='password' placeholder="请输入密码,6-16位字符"
|
|
|
|
- :type="isShowPassword" :clearable='true'>
|
|
|
|
|
|
+ <u-input v-if="isShowPassword=='password'" class='password' border="none" v-model='password' placeholder="请输入密码,6-16位字符"
|
|
|
|
+ type="password" :clearable='true'>
|
|
|
|
+ <template slot="suffix">
|
|
|
|
+ <u-icon name="eye-fill" color="rgb(192, 196, 204)" size="24" @click="passWordStatus(1)"
|
|
|
|
+ v-if="isShowPassword=='password'"></u-icon>
|
|
|
|
+ <u-icon name="eye-off" color="rgb(192, 196, 204)" size="24" @click="passWordStatus(2)" v-else>
|
|
|
|
+ </u-icon>
|
|
|
|
+ </template>
|
|
|
|
+ </u-input>
|
|
|
|
+ <u-input v-else class='password' border="none" v-model='password' placeholder="请输入密码,6-16位字符"
|
|
|
|
+ type="text" :clearable='true'>
|
|
<template slot="suffix">
|
|
<template slot="suffix">
|
|
<u-icon name="eye-fill" color="rgb(192, 196, 204)" size="24" @click="passWordStatus(1)"
|
|
<u-icon name="eye-fill" color="rgb(192, 196, 204)" size="24" @click="passWordStatus(1)"
|
|
v-if="isShowPassword=='password'"></u-icon>
|
|
v-if="isShowPassword=='password'"></u-icon>
|