手机验证码登录功能取消

master
santaner 10 months ago
parent 8b4687dc7a
commit 3147beb761
  1. 20
      pages/users/login/index.vue
  2. 4
      pages/users/user_modify_mes/index.vue

@ -8,11 +8,15 @@
</div>
<div class="whiteBg" v-if="formItem === 1">
<div class="title acea-row row-center-wrapper">
<div class="item" :class="current === index ? 'on' : ''" v-for="(item, index) in navList" @click="navTap(index)" :key="index">
<!-- <div class="item" :class="current === index ? 'on' : ''" v-for="(item, index) in navList" @click="navTap(index)" :key="index">
{{ item }}
</div> -->
<div class="item" :class="on">
账号登录
</div>
</div>
<div class="list" :hidden="current !== 0">
<!-- <div class="list" :hidden="current !== 0"> -->
<div class="list" :hidden="current !== 1">
<form @submit.prevent="submit">
<div class="item">
<div class="acea-row row-middle">
@ -31,7 +35,7 @@
忘记密码
</navigator>
</div>
<div class="list" :hidden="current !== 1">
<!-- <div class="list" :hidden="current !== 1">
<div class="item">
<div class="acea-row row-middle">
<image src="/static/images/phone_1.png"></image>
@ -54,15 +58,16 @@
<div class="code" @click="getcaptcha"><image class="code-img" style="width: 100%;height: 100%;" :src="codeUrl" /></div>
</div>
</div>
</div>
</div> -->
<div class="protocol acea-row row-between-wrapper">
<checkbox-group class="checkgroup" @change='isAgree=!isAgree'>
<checkbox class="checkbox" :checked="isAgree ? true : false" />
<text class="protocol_text">我已同意<text @click="userAgree" class="font_pro">用户协议</text><text @click="userPrivacyAgree" class="font_pro">隐私政策</text></text>
</checkbox-group>
</div>
<div class="logon" v-debounce @click="loginMobile" :hidden="current !== 1">登录</div>
<div class="logon" v-debounce @click="submit" :hidden="current === 1">登录</div>
<!-- <div class="logon" v-debounce @click="loginMobile" :hidden="current !== 1">登录</div> -->
<!-- <div class="logon" v-debounce @click="submit" :hidden="current === 1">登录</div> -->
<div class="logon" v-debounce @click="submit" :hidden="current !== 1">登录</div>
<div class="tip">
没有账号?
<span @click="formItem = 2" class="font-color-red">立即注册</span>
@ -273,7 +278,8 @@
},
data: function() {
return {
navList: ["账号登录", "快速登录"],
// navList: ["", ""],
navList: ["账号登录"],
current: 1,
account: "",
password: "",

@ -20,8 +20,8 @@
<view class='item acea-row row-between-wrapper'>
<view class='name'>推荐人</view>
<view class='input'>
<input placeholder="请输入推荐人电话" placeholder-class='placeholder' name="spread_uid2" :value="realInfo.spread_phone2" v-if="realInfo.spread_phone2" disabled></input>
<input placeholder="请输入推荐人电话" placeholder-class='placeholder' name="spread_uid2" :value="realInfo.spread_phone2" v-else></input>
<input placeholder="请输入推荐人电话" placeholder-class='placeholder' name="spread_phone2" :value="realInfo.spread_phone2" v-if="realInfo.spread_phone2" disabled></input>
<input placeholder="请输入推荐人电话" placeholder-class='placeholder' name="spread_phone2" :value="realInfo.spread_phone2" v-else></input>
</view>
</view>

Loading…
Cancel
Save