40 lines
1022 B
Plaintext
40 lines
1022 B
Plaintext
<view class="page-shell">
|
|
<view class="panel login-hero">
|
|
<t-tag theme="primary" variant="light">Mock Auth</t-tag>
|
|
<text class="login-hero__title">主包认证入口</text>
|
|
<text class="section-copy">{{mockHint}}</text>
|
|
</view>
|
|
|
|
<view class="panel login-form">
|
|
<text class="section-title">登录信息</text>
|
|
<t-input
|
|
label="昵称"
|
|
clearable
|
|
placeholder="请输入昵称"
|
|
value="{{form.nickname}}"
|
|
bind:change="handleNicknameChange"
|
|
></t-input>
|
|
<t-input
|
|
label="手机号"
|
|
clearable
|
|
type="number"
|
|
placeholder="选填"
|
|
value="{{form.mobile}}"
|
|
bind:change="handleMobileChange"
|
|
></t-input>
|
|
<app-button
|
|
block
|
|
text="写入会话并返回首页"
|
|
loading="{{submitting}}"
|
|
bind:tap="handleMockLogin"
|
|
></app-button>
|
|
<app-button
|
|
block
|
|
text="清理本地会话"
|
|
theme="default"
|
|
variant="outline"
|
|
bind:tap="handleClearSession"
|
|
></app-button>
|
|
</view>
|
|
</view>
|