|
|
@@ -5,10 +5,10 @@
|
|
|
<u-tabbar-item v-for="(item, index) in items" :key="index" :text="item.text"
|
|
|
:icon="require(`@/static/images/tabbar/cjx/${item.icon}`)" />
|
|
|
</u-tabbar>
|
|
|
- <u-popup :show="show" mode="bottom" class="popup-view" @close="close" @open="open">
|
|
|
+ <u-popup :show="showTabbar" mode="bottom" class="popup-view" @close="close" @open="open">
|
|
|
<view style="margin: 20px">
|
|
|
<view class="login-text">
|
|
|
- 超级炫
|
|
|
+ 超吉炫
|
|
|
</view>
|
|
|
<button class="login-btn" open-type="getPhoneNumber" @getphonenumber="handlePhone">
|
|
|
授权登录
|
|
|
@@ -27,7 +27,7 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- show: false,
|
|
|
+ showTabbar: false,
|
|
|
loginDate: {
|
|
|
jsCode: '',
|
|
|
encryptedData: '',
|
|
|
@@ -72,7 +72,7 @@
|
|
|
// console.log('open');
|
|
|
},
|
|
|
close() {
|
|
|
- this.show = false
|
|
|
+ this.showTabbar = false
|
|
|
// console.log('close');
|
|
|
},
|
|
|
onTabChange(index) {
|
|
|
@@ -82,7 +82,7 @@
|
|
|
return;
|
|
|
}
|
|
|
this.handleLogin();
|
|
|
- this.show = true;
|
|
|
+ this.showTabbar = true;
|
|
|
this.selectedIndex = index;
|
|
|
return;
|
|
|
|
|
|
@@ -110,7 +110,7 @@
|
|
|
getUserInfo(this.loginDate).then(res => {
|
|
|
if (res.code === 0) {
|
|
|
uni.setStorageSync('Authorization-status', true);
|
|
|
- this.show = false;
|
|
|
+ this.showTabbar = false;
|
|
|
this.handleTabSwitch(this.selectedIndex);
|
|
|
} else {
|
|
|
|