feat: 完善双端演示注册与红娘服务闭环
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<view class="register-page">
|
||||
<view class="register-title">演示用户注册</view>
|
||||
<view class="register-form">
|
||||
<view class="field"><text>账号编号</text><input value="{{code}}" bindinput="onCodeInput" placeholder="字母、数字或下划线" /></view>
|
||||
<view class="field"><text>昵称</text><input value="{{displayName}}" bindinput="onNameInput" maxlength="40" placeholder="演示昵称" /></view>
|
||||
<view class="field"><text>手机号(可选)</text><input value="{{phone}}" bindinput="onPhoneInput" type="number" maxlength="11" placeholder="演示手机号" /></view>
|
||||
<view class="error" wx:if="{{error}}">{{error}}</view>
|
||||
<button class="primary" loading="{{loading}}" disabled="{{loading}}" bindtap="submit">注册并登录</button>
|
||||
<button disabled="{{loading}}" bindtap="loginExisting">登录已有演示账号</button>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user