| | |
| | | <view class="topic-font" v-if="loginType=='pwd'" @click="loginType='code'">手机验证码登录</view>
|
| | | <view class="topic-font" v-if="loginType=='code'" @click="loginType='pwd'">账号密码登录</view>
|
| | |
|
| | | <!-- #ifndef PUB_CUSTOMER -->
|
| | | <view class="topic-font m-l-a m-r-0" @click="toReg">前往注册</view>
|
| | |
|
| | | <!-- #ifdef PUB_CUSTOMER -->
|
| | | <view class="topic-font m-l-a m-r-0" @click="toHome">返回首页</view>
|
| | | <!-- #endif -->
|
| | | </view>
|
| | |
|
| | | </form>
|
| | | </view>
|
| | | </view>
|
| | |
| | | holdTime--;
|
| | | }, 1000)
|
| | | },
|
| | | toHome(){
|
| | | uni.redirectTo({
|
| | | url: '/pages//pages/home/home'
|
| | | })
|
| | | },
|
| | | toReg() {
|
| | | // uni.switchTab({
|
| | | // url: '/pages/index/index'
|
| | |
| | | url: '/pages/login/supplier-reg'
|
| | | })
|
| | | // #endif
|
| | |
|
| | |
|
| | | // #ifdef PUB_CUSTOMER
|
| | | addstr = '?source=step'
|
| | | uni.navigateTo({
|
| | | url: '/sub_pages/customer/customer-info/customer-info' + addstr
|
| | | })
|
| | | // #endif
|
| | | },
|
| | | changeAll(e) {
|
| | | this.pcfvalue = e.detail.value[0]
|
| | |
| | | const resp = await this.$store.dispatch(this.apitype, post);
|
| | | // uni.hideLoading()
|
| | |
|
| | | if (resp.code == 0) {
|
| | | if (resp.code === 0) {
|
| | |
|
| | | // myCache.cache("userToken", res.data.accessToken)
|
| | | // let userRes = await gzmzApi.getMemberInfo();
|