|
|
@@ -40,15 +40,24 @@ |
|
|
|
<label> |
|
|
|
<radio value="0" checked="true" />无验证 |
|
|
|
</label> |
|
|
|
|
|
|
|
</radio-group> |
|
|
|
</view> |
|
|
|
<view wx:if="{{pdwSwitch && tabIndex == 0}}" class="pwdBox"> |
|
|
|
<input type="text" placeholder="请设置密码" placeholder-class="pwdBoxInside" focus="true" bindinput="pwdInput"/> |
|
|
|
<view wx:if="{{!isShowPwd}}" style="margin-bottom: 0;"> |
|
|
|
<input type="password" placeholder="请设置密码" placeholder-class="pwdBoxInside" focus="true" bindinput="pwdInput" value="{{password}}" /> |
|
|
|
<image class=" eye" src="../../assets/images/password-show.png" bindtap="setPwdShow"></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view wx:if="{{isShowPwd}}" style="margin-bottom: 0;"> |
|
|
|
<input type="text" placeholder="请设置密码" placeholder-class="pwdBoxInside" value="{{password}}" bindinput="pwdInput" /> |
|
|
|
<image class="eye" src="../../assets/images/password-close.png" bindtap="setPwdShow"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="btns"> |
|
|
|
<button wx:if="{{tabIndex == 0}}" type="primary" bindtap="checkPhoneStatus">确认绑定</button> |
|
|
|
<button wx:if="{{tabIndex == 1}}" type="primary" bindtap="checkPhoneStatus">去转赠</button> |
|
|
|
<!-- 绑定 --> |
|
|
|
<button wx:if="{{tabIndex == 0}}" type="primary" bindtap="submit">确认绑定</button> |
|
|
|
<!-- 转赠 --> |
|
|
|
<button wx:if="{{tabIndex == 1}}" type="primary" bindtap="goGive">去转赠</button> |
|
|
|
</view> |