59 lines
2.7 KiB
Plaintext
59 lines
2.7 KiB
Plaintext
|
<!--index.wxml-->
|
||
|
<view class="container">
|
||
|
|
||
|
<view class='show-view' wx:if='{{ifGetUser == true}}'>
|
||
|
<open-data class = "avatar animated rubberBand" type="userAvatarUrl"></open-data>
|
||
|
<open-data class='show-name' type="userNickName"></open-data>
|
||
|
</view>
|
||
|
<view class='show-register animated fadeIn' wx:elif='{{ifGetUser == false}}'>
|
||
|
<button class='register-button ' bindtap='goRegister'>注册</button>
|
||
|
</view>
|
||
|
<view class='show-register animated fadeIn' wx:else>
|
||
|
<view class='loading animated flash'>
|
||
|
<text>正在加载数据...</text>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<view class="uploader animated fadeInRight" wx:if="{{ifgetdays == true}}">
|
||
|
<view class="uploader-text">
|
||
|
<text>已使用密码便签</text>
|
||
|
</view>
|
||
|
<text class="pwd_num">{{days}}天</text>
|
||
|
</view>
|
||
|
|
||
|
<!-- 上传图片 -->
|
||
|
<view class="uploader animated fadeInRight" wx:if="{{ifCheckPwd == true && ifchangecode1 == false && ifchangecode == false}}">
|
||
|
<view class="uploader-text">
|
||
|
<text>已储存密码便签数量</text>
|
||
|
</view>
|
||
|
<text class="pwd_num">{{passwd_num}}条标签</text>
|
||
|
</view>
|
||
|
<view wx:if="{{ifCheckPwd == false && ifGetUser}}">
|
||
|
<button class='check-button animated fadeIn delay-3s' bindtap='goCheck'>请认证六位独立密码</button>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<text>\n</text>
|
||
|
|
||
|
<button wx:if='{{button1 && ifGetUser && ifCheckPwd && ifchangecode==false}}' class='cd' bindtap="goChange">修改六位独立密码</button>
|
||
|
<button wx:if='{{ ifGetUser && ifCheckPwd && ifchangecode}}' class='cd-1' bindtap='cancelChange' class="button-cancel">取消</button>
|
||
|
<form bindsubmit='changecode' class = 'animated fadeInRight' wx:if='{{ifGetUser && ifCheckPwd}}'>
|
||
|
<view class='container-change animated bounce' wx:if='{{ifchangecode}}'>
|
||
|
<input class='cd' type='number' password='true' name='wxml_oldcode'maxlength='6'placeholder="请输入原始密码" focus='true'></input>
|
||
|
<button class='cd-1' form-type='submit'>确定</button>
|
||
|
</view>
|
||
|
</form>
|
||
|
<view wx:if='{{ifchangecode1}}' class="change-form-all">
|
||
|
<form bindsubmit='changecode1'>
|
||
|
<view wx:if='{{ifchangecode1}}' class="change-form animated bounce">
|
||
|
<input class='cd' type='number' password='true' name='wxml_newcode'maxlength='6'placeholder="请输入新密码" focus='true'></input>
|
||
|
<input class='cd' type='number' password='true' name='wxml_newcode1'maxlength='6'placeholder="请确认新密码"></input>
|
||
|
</view>
|
||
|
<view wx:if='{{ifchangecode1}}' class="change-form-button animated bounce">
|
||
|
<button class='cd-1'form-type='submit' class="change-form-button-yes">确定</button>
|
||
|
<button class='cd-1' bindtap='cancelChange' class="change-form-button-no">取消</button>
|
||
|
</view>
|
||
|
</form>
|
||
|
</view>
|
||
|
|