fix: 修改bug

pull/2/head
TianYu 2023-05-29 17:46:22 +08:00
parent 04042caf41
commit 585a25e4f0
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@
<u-button class="logon" @click="loginMobile" v-if="current !== 0" :loading="loading" loading-text="登录中" :disabled="loading"></u-button> <u-button class="logon" @click="loginMobile" v-if="current !== 0" :loading="loading" loading-text="登录中" :disabled="loading"></u-button>
<u-button class="logon" @click="submit" v-if="current === 0" :loading="loading" loading-text="登录中" :disabled="loading"></u-button> <u-button class="logon" @click="submit" v-if="current === 0" :loading="loading" loading-text="登录中" :disabled="loading"></u-button>
<div class="tips"> <div class="tips">
<div @click="jumpRegister"></div> <!-- <div @click="jumpRegister"></div> -->
<div @click="current = current === 1 ? 0 : 1">{{ current === 1 ? '账号密码登录' : '短信验证码登录' }}</div> <div @click="current = current === 1 ? 0 : 1">{{ current === 1 ? '账号密码登录' : '短信验证码登录' }}</div>
<div @click="jumpRetrievePassword"></div> <div @click="jumpRetrievePassword"></div>
</div> </div>

View File

@ -18,12 +18,12 @@
<view class='item acea-row row-between-wrapper'> <view class='item acea-row row-between-wrapper'>
<view>手机号码</view> <view>手机号码</view>
<navigator url="/pages/users/app_login/index" hover-class="none" class="input" <navigator url="/pages/users/app_login/index" hover-class="none" class="input"
v-if="!userInfo.phone"> v-if="!userInfo.mobile">
点击绑定手机号<text class="iconfont icon-xiangyou"></text> 点击绑定手机号<text class="iconfont icon-xiangyou"></text>
</navigator> </navigator>
<navigator url="/pages/users/user_phone/index" hover-class="none" class="input" v-else> <navigator url="/pages/users/user_phone/index" hover-class="none" class="input" v-else>
<view class='input acea-row row-between-wrapper'> <view class='input acea-row row-between-wrapper'>
<input type='text' disabled='true' name='phone' :value='userInfo.phone' <input type='text' disabled='true' name='phone' :value='userInfo.mobile'
class='id'></input> class='id'></input>
<text class='iconfont icon-xiangyou'></text> <text class='iconfont icon-xiangyou'></text>
</view> </view>