|
|
|
@ -4,10 +4,7 @@ |
|
|
|
<!-- 页面头部 --> |
|
|
|
<view class="header"> |
|
|
|
<view class="title"> |
|
|
|
<text>手机号登录</text> |
|
|
|
</view> |
|
|
|
<view class="sub-title"> |
|
|
|
<text>未注册的手机号登录后将自动注册</text> |
|
|
|
<text>登录</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 表单 --> |
|
|
|
@ -22,6 +19,13 @@ |
|
|
|
</view> |
|
|
|
<!-- 选择机构、个人 --> |
|
|
|
<view class="form-item"> |
|
|
|
<label class="item-radio" @click.stop="handleCheckItem(item.id)"> |
|
|
|
<radio class="radio" color="#fa2209" :checked="inArray(item.id, checkedIds)" /> |
|
|
|
</label> |
|
|
|
机构 |
|
|
|
个人 |
|
|
|
|
|
|
|
|
|
|
|
<input class="form-item--input" type="password" v-model="vpass" placeholder="请输入密码" /> |
|
|
|
</view> |
|
|
|
|
|
|
|
@ -31,10 +35,6 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 微信授权手机号一键登录 --> |
|
|
|
<!-- #ifdef MP-WEIXIN --> |
|
|
|
<MpWeixinMobile :isParty="isParty" :partyData="partyData" /> |
|
|
|
<!-- #endif --> |
|
|
|
|
|
|
|
</view> |
|
|
|
</template> |
|
|
|
@ -42,9 +42,8 @@ |
|
|
|
<script> |
|
|
|
import store from '@/store' |
|
|
|
import * as LoginApi from '@/api/login' |
|
|
|
import * as CaptchaApi from '@/api/captcha' |
|
|
|
import * as Verify from '@/utils/verify' |
|
|
|
import MpWeixinMobile from './mp-weixin-mobile' |
|
|
|
|
|
|
|
|
|
|
|
// 倒计时时长(秒) |
|
|
|
const times = 60 |
|
|
|
@ -55,7 +54,7 @@ |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
|
MpWeixinMobile |
|
|
|
// nothing |
|
|
|
}, |
|
|
|
|
|
|
|
props: { |
|
|
|
|