1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <view class="wrapper">
- <block>
- <view class="title">欢迎登录</view>
- </block>
- <input class="mobile"
- type="number"
- placeholder="请输入手机号码"
- maxlength="11"
- placeholder-class="placeholder"
- value="{{form.cellphone}}"
- bindinput="mobileEventhandle"/>
- <view class="code-box">
- <input class="ver-code"
- type="number"
- placeholder="6位短信验证码"
- maxlength="6"
- placeholder-class="placeholder"
- value="{{form.code}}"
- bindinput="codeEventhandle"/>
- <button
- type="default"
- disabled="{{!(numCount === 0 || numCount === 60) || form.cellphone.length < 11}}"
- bind:tap="funGetCode">
- <text>获取验证码</text>
- <text hidden="{{numCount === 0 || numCount === 60}}">{{'(' + numCount + 's)'}}</text>
- </button>
- </view>
- <view class="agreement-wrap">
- <view
- class="checked-wrap"
- bind:tap="bindChange">
- <image
- src="../../image/common/unselected.png"
- wx:if="{{!checked}}"></image>
- <image
- src="../../image/common/selected.png"
- wx:if="{{checked}}"></image>
- </view>
- <view class="text-wrap">
- <text style="color:rgba(102, 102, 102, 1);">同意</text>
- <text
- style="color:rgba(107, 133, 89, 1);"
- wx:for="{{'《xxAPP商家协议》'}}"
- wx:key="index">{{item}}</text>
- </view>
- </view>
- <view class="footer">
- <button class="login"
- type="primary"
- disabled="{{!(form.cellphone.length === 11 && form.code.length === 6) || booLock}}"
- bind:tap="bindEvent">确定
- </button>
- <view class="auth">
- <view
- class="disabled"
- hidden="{{checked}}"
- bind:tap="bindTip"></view>
- <button
- type="default"
- disabled="{{booLock}}"
- open-type="getPhoneNumber"
- bindgetphonenumber="getPhoneNumber">
- <text>微信登陆</text>
- <image src="../../image/common/arrow_0.png"></image>
- </button>
- </view>
- </view>
- </view>
|