123456789101112131415161718192021222324252627282930313233343536373839 |
- <!--pages/login/login.wxml-->
- <navBar backType="editLaw"></navBar>
- <wux-toptips id="wux-toptips" />
- <van-notify id="van-notify" />
- <myDialog isShown="{{showDialog}}" title="检验码" bindcancel="closeDialog" bindconfirm="getCheckCode">
- <view>
- <wux-input bind:change="changeInput" placeholder="请输入校验码">
- <view slot="footer" style="margin-left: 5px;">
- <image src="{{imgURL}}" style="height: 70rpx;width: 180rpx;" bind:tap="changeVerifyCode" mode=""/>
- </view>
- </wux-input>
- </view>
- </myDialog>
- <view class="container">
- <view class="logo">
- <image class="img" src="/static/image/logo-3.png" mode=""/>
- </view>
- <view>
- <wux-form
- id="wux-form"
- layout="{{ layout }}"
- validateMessages="{{ validateMessages }}"
- bind:change="onValuesChange"
- >
- <wux-field name="phone" label="手机号" initialValue="{{''}}" rules="{{ [{ required: true },{validator:'checkPhone'} ] }}">
- <wux-input maxlength="11" placeholder="请输入手机号" />
- </wux-field>
- <wux-field name="code" label="验证码" rules="{{ [{ required: true, message: '请输入验证码' }] }}">
- <wux-input placeholder="请输入验证码" />
- <view slot="extra" style="color: #387ef5; padding-left: 12px;" bind:tap="onSendCode">{{ c2 || '发送验证码'}}</view>
- </wux-field>
- <view slot="footer" class="btn-area btn-area_auto">
- <button type="primary" bindtap="onSubmit">登录 / 注册</button>
- <button type="primary" open-type="getPhoneNumber" bindgetphonenumber="fastLogin" style="margin-top:20rpx">微信一键登录</button>
- </view>
- </wux-form>
- </view>
- </view>
|