| 12345678910111213141516171819202122 |
- <view class="top-view">
- <!-- 导航栏 -->
- <van-nav-bar custom-style="background-color: #fff">
- <van-icon slot="left" name="arrow-left" size="25px" color="#333" bind:click="backToParent"/>
- <text slot="title" style="color: #333;">忘记密码</text>
- </van-nav-bar>
- </view>
- <!-- 内容 -->
- <van-cell-group>
- <!-- 手机号码 -->
- <van-field model:value="{{ mobile }}" type="number" label="手机号码" required clearable placeholder="请输入手机号码">
- <van-button slot="button" size="small" type="primary" bind:click="onButtonPressed">获取验证码</van-button >
- </van-field>
- <!-- 短信验证码 -->
- <van-field model:value="{{ code }}" label="短信验证码" required clearable placeholder="请输入短信验证码"/>
- </van-cell-group>
- <!-- 按钮 -->
- <view class="button-view">
- <van-button custom-class="submit" color="linear-gradient(to right, #4bb0ff, #6149f6)" block bind:click="onButtonPressed">提交</van-button>
- </view>
|