|
|
@@ -19,8 +19,10 @@ |
|
|
|
<u--input v-model="form.password" :type="passType" border="none" placeholder="请输入密码" |
|
|
|
:customStyle="{backgroundColor:'#F5F5F5',height:'98rpx',borderRadius:'20rpx',padding:'0rpx 30rpx'}"> |
|
|
|
<view slot="suffix"> |
|
|
|
<u-icon v-show="passType=='text'" name="eye" color="#777777" size="38rpx" |
|
|
|
@click="passType='password'"></u-icon> |
|
|
|
<view :style="{opacity:passType=='text'?'1':'0',height:passType=='text'?'auto':'0'}"> |
|
|
|
<u-icon name="eye" color="#777777" size="38rpx" |
|
|
|
@click="passType='password'"></u-icon> |
|
|
|
</view> |
|
|
|
<image v-show="passType=='password'" src="/static/image/eyeclose.png" |
|
|
|
style="width: 38rpx;height: 38rpx;margin-top: 12rpx;" @click="passType='text'"> |
|
|
|
</image> |
|
|
|