cyx-ament-wechat/miniprogram/pages/loading/loading.wxml

34 lines
929 B
Plaintext

<!--pages/loading/loading.wxml-->
<view class="container">
<!-- <van-loading type="spinner" />-->
<view style="width:100%">
<van-cell-group>
<van-field
model:value="{{ username }}"
required
size="large"
clearable
label="用户名"
placeholder="请输入用户名"
input-align="right"
/>
<van-field
model:value="{{ password }}"
type="password"
size="large"
label="密码"
clearable
placeholder="请输入密码"
input-align="right"
required
/>
</van-cell-group>
<view style="margin-top:20px;">
<van-button type="primary" block round bind:tap="login">登录</van-button>
</view>
</view>
</view>
<van-dialog id="van-dialog" />