| | |
| | | <view class="uni-panel-content items-center"> |
| | | <view class="login-content"> |
| | | <view class="justify-center"> |
| | | <image class="title-img" src="/images/earth.svg" alt="svg 图片" /> |
| | | <image class="title-img" src="/images/earth.svg" alt="svg " /> |
| | | </view> |
| | | <view class="login-form"> |
| | | <view class="login-form-item "> |
| | | <image class="icon" src="/images/mobile.svg" alt="svg 图片" /> |
| | | <image class="icon" src="/images/mobile.svg" alt="svg " /> |
| | | <input class="input" :focus="formData.accountFocus" name="account" comfirm-type="done" |
| | | type="text" v-model="form.account" placeholder="输入手机号码" /> |
| | | </view> |
| | | <view class="login-form-item "> |
| | | <image class="icon" src="/images/chat.svg" alt="svg 图片" /> |
| | | <image class="icon" src="/images/chat.svg" alt="svg " /> |
| | | <input class="input" comfirm-type="done" v-model="form.mobileCode" placeholder="短信验证码" /> |
| | | <view v-if="disabledSendCode" class="disabled">{{sendCodeCountdown}}秒后重新发送</view> |
| | | <a v-else @click="clickSendVerifyCode">发送验证码</a> |
| | |
| | | |
| | | clickOk() { |
| | | uni.reLaunch({ |
| | | url: "/pages/login/index" |
| | | url: "/pages/login/index?flag=1" |
| | | }) |
| | | }, |
| | | clickSendVerifyCode() { |
| | |
| | | } |
| | | }, 1000) |
| | | }, |
| | | translate(t) { |
| | | if (typeof this.$t == "function") return this.$t(`page.${t}`) |
| | | else return t; |
| | | }, |
| | | |
| | | } |
| | | } |