注册流程

This commit is contained in:
limqhz
2022-12-16 17:32:49 +08:00
parent b746aaaa83
commit eb5c301d00
57 changed files with 1839 additions and 20 deletions

22
pages/register/index.wxml Normal file
View File

@@ -0,0 +1,22 @@
<view>
<t-steps class="demo-steps" defaultCurrent="0" readonly>
<t-step-item title="用户名" content="选择用户名" />
<t-step-item title="密码" content="设置密码" />
<t-step-item title="成功" content="完成注册" />
</t-steps>
</view>
<t-grid class="five" column="{{4}}" align="center" border="{{border}}">
<t-grid-item wx:for="{{userNameList}}" wx:key="index" text="{{item.id}}">
<t-tag wx:if="{{item.checked}}" theme="success" bind:tap="handleCheckTagChange" id="{{item.id}}" data-name="{{item.userName}}" size="large">{{item.userName}}</t-tag>
<t-tag wx:else theme="primary" bind:tap="handleCheckTagChange" id="{{item.id}}" data-name="{{item.userName}}" size="large">{{item.userName}}</t-tag>
</t-grid-item>
</t-grid>
<t-dialog
visible="{{nameConfirm}}"
title="确定选择【{{checkedName}}】?"
t-class-confirm="custom-confirm-btn"
confirm-btn="就它了"
cancel-btn="再想想"
bind:confirm="checkName"
bind:cancel="closeDialog"
/>