| | |
| | | <view class="form-wrap"> |
| | | <view class="input-row"> |
| | | <u-icon name="account" size="30" color="#B8B8B8"></u-icon> |
| | | <input v-model="form.account" class="input-field" type="text" placeholder="请输入账号" placeholder-style="color: #999999;" /> |
| | | <input v-model="form.telephone" class="input-field" type="text" placeholder="请输入账号" placeholder-style="color: #999999;" /> |
| | | </view> |
| | | <view class="input-divider"></view> |
| | | |
| | | <view class="input-row password-row"> |
| | | <u-icon name="lock" size="30" color="#B8B8B8"></u-icon> |
| | | <input v-model="form.password" class="input-field" password type="text" placeholder="请输入密码" placeholder-style="color: #999999;" /> |
| | | </view> |
| | | <view class="input-divider"></view> |
| | | |
| | | <view class="input-row password-row"> |
| | | <u-icon name="phone" size="30" color="#B8B8B8"></u-icon> |
| | | <input v-model="form.telephone" class="input-field" type="number" maxlength="11" placeholder="请输入手机号" placeholder-style="color: #999999;" /> |
| | | </view> |
| | | <view class="input-divider"></view> |
| | | </view> |
| | |
| | | return { |
| | | agreed: false, |
| | | form: { |
| | | account: '', |
| | | password: '', |
| | | telephone: '' |
| | | telephone: '', |
| | | password: '' |
| | | } |
| | | } |
| | | }, |
| | |
| | | }) |
| | | return |
| | | } |
| | | if (!this.form.account) { |
| | | if (!this.form.telephone) { |
| | | uni.showToast({ |
| | | title: '请输入账号', |
| | | icon: 'none' |
| | |
| | | if (!this.form.password) { |
| | | uni.showToast({ |
| | | title: '请输入密码', |
| | | icon: 'none' |
| | | }) |
| | | return |
| | | } |
| | | if (!this.form.telephone) { |
| | | uni.showToast({ |
| | | title: '请输入手机号', |
| | | icon: 'none' |
| | | }) |
| | | return |