|
@@ -5,7 +5,8 @@
|
|
</van-cell>
|
|
</van-cell>
|
|
<van-cell>
|
|
<van-cell>
|
|
<text slot='icon' class="iconfont icon-a-wodemima" />
|
|
<text slot='icon' class="iconfont icon-a-wodemima" />
|
|
- <input class="input" type="{{inputType}}" focus='{{focus}}' bindinput="inputPassword" value="{{password}}" placeholder="请输入密码" />
|
|
|
|
|
|
+ <input class="input" wx:if="{{inputType=='text'}}" focus='{{focus}}' bindinput="inputPassword" value="{{password}}" placeholder="请输入密码" />
|
|
|
|
+ <input class="input" wx:else type="password" focus='{{focus}}' bindinput="inputPassword" value="{{password}}" placeholder="请输入密码" />
|
|
<view slot='right-icon' style="width: 90rpx;height: 22.4px; display: flex; justify-content: flex-end;" catchtap="changePasswordType">
|
|
<view slot='right-icon' style="width: 90rpx;height: 22.4px; display: flex; justify-content: flex-end;" catchtap="changePasswordType">
|
|
<image class="image" src="{{inputType=='password'?'/static/image/dp-none.svg':'/static/image/dp-show.svg'}}" />
|
|
<image class="image" src="{{inputType=='password'?'/static/image/dp-none.svg':'/static/image/dp-show.svg'}}" />
|
|
</view>
|
|
</view>
|