From 71f327918029781d6f78dd4e03397c5154e6ccb1 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期六, 27 七月 2024 08:26:39 +0800 Subject: [PATCH] feat:修改线上地址 --- pages/login/login.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index 8794449..14b9e25 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -18,7 +18,7 @@ text="涓�閿粦瀹氭祴璇�"></u-button> </view> --> <view class="register" - @click="PrivacyAgreementHandle"><text>娉ㄥ唽</text></view> + @click="PrivacyAgreementHandle" :loading="zhuceLoading"><text>娉ㄥ唽</text></view> <view class="login-bottom-box"> <view class="copyright">鏃犱汉鍊煎畧寰俊灏忕▼搴�</view> <view class="copyright">灏忕▼搴忎粎渚涘凡鎷ユ湁绯荤粺璐﹀彿鐗瑰畾鍐呴儴浜哄憳浣跨敤</view> @@ -64,7 +64,7 @@ import { apiLoginWx, apiLoginPassword } from '@/api/publicInterface.js'; import { mapMutations } from 'vuex'; import userPassword from './userPassword.vue'; - import { setToken, setRefreshToken, setUsernameKey, setCustomerId, redirectHome } from '@/utils/status.js'; + import { setToken, setRefreshToken, setUsernameKey, setCustomerId, redirectHome} from '@/utils/status.js'; export default { data() { return { @@ -76,6 +76,7 @@ bindWxContent: '濡傛灉宸叉嫢鏈夌郴缁熻处鍙凤紝鍙互鐩存帴璺宠浆缁戝畾寰俊椤甸潰', appid: "", secret: "", + zhuceLoading: false, //娉ㄥ唽 }; }, components: { @@ -139,6 +140,7 @@ this.setUserTabbar(res.data.type); uni.setStorageSync('roleType', res.data.type); setCustomerId(res.data.customerid); + setU uni.hideLoading(); //璺宠浆椤甸潰 this.$nextTick(() => { @@ -170,9 +172,13 @@ console.log('鎵撳紑浜�'); }, PrivacyAgreementHandle() { + this.zhuceLoading = true uni.navigateTo({ url: '/pages/login/PrivacyAgreementText/PrivacyAgreementText' }) + setTimeout(() => { + this.zhuceLoading = false + },1000) }, } }; @@ -315,4 +321,4 @@ } } } -</style> \ No newline at end of file +</style> -- Gitblit v1.9.1