优化请求状态提示信息
This commit is contained in:
@@ -68,7 +68,7 @@ const request = (parameter, hideLoding = true) => {
|
||||
},
|
||||
fail(err) {
|
||||
uni.showToast({
|
||||
title: err.errMsg,
|
||||
title: '网络错误,请检查您设备网络状态',
|
||||
icon : 'none'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<block v-if="users.length > 0">
|
||||
<view class="team-list-flex" v-for="(item, index) in users" :key="index">
|
||||
<view class="team-list-flex-item user">
|
||||
<image class="user-cover" :src="item.avatar || ''" mode="aspectFill"></image>
|
||||
<image class="user-cover" :src="item.avatar || require('@/static/user/cover.png') " mode="aspectFill"></image>
|
||||
<view class="user-nickname nowrap">{{item.nickname}}</view>
|
||||
</view>
|
||||
<view class="team-list-flex-item number nowrap">{{item.username}}</view>
|
||||
|
||||
@@ -202,9 +202,9 @@
|
||||
isWallet : false,
|
||||
walletNum : 0
|
||||
};
|
||||
},
|
||||
},
|
||||
onShow() {
|
||||
if(uni.getStorageSync('isWalleNum') != '' && uni.getStorageSync('isWalleNum') === 1) this.isWallet = true
|
||||
// if(uni.getStorageSync('isWalleNum') != '' && uni.getStorageSync('isWalleNum') === 1) this.isWallet = true
|
||||
this.getInfo();
|
||||
},
|
||||
methods: {
|
||||
@@ -282,7 +282,7 @@
|
||||
// 退出登录
|
||||
logOut() {
|
||||
uni.removeStorageSync('isnew')
|
||||
uni.removeStorageSync('isWalleNum')
|
||||
// uni.removeStorageSync('isWalleNum')
|
||||
this.$store.commit('setToken', '');
|
||||
this.$Router.replaceAll({name: 'Auth'})
|
||||
},
|
||||
@@ -316,7 +316,7 @@
|
||||
this.isWallet = true
|
||||
this.walletNum = 0
|
||||
this.$refs.onTimeCount.pause();
|
||||
uni.setStorageSync('isWalleNum', 1)
|
||||
// uni.setStorageSync('isWalleNum', 1)
|
||||
}
|
||||
},
|
||||
// 复制助记词
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<view class="vip-content-title">会员特权</view>
|
||||
<view class="vip-privilege">
|
||||
<view class="vip-privilege-item" v-for="(item, index) in rights" :key="index">
|
||||
<image class="vip-privilege-icon" :src="item.cover" mode="widthFix"></image>
|
||||
<image class="vip-privilege-icon" :src="item.cover" mode="aspectFill"></image>
|
||||
<view class="vip-privilege-text">{{item.name}}</view>
|
||||
<view class="vip-privilege-sub">{{item.remark}}</view>
|
||||
</view>
|
||||
@@ -112,7 +112,6 @@
|
||||
// 获取会员信息
|
||||
getVipInfo(){
|
||||
vip().then(res =>{
|
||||
console.log(res)
|
||||
this.firstRule = res.first_rule
|
||||
this.isOpen = res.is_open
|
||||
this.prices = res.prices
|
||||
|
||||
File diff suppressed because one or more lines are too long
13173
unpackage/dist/dev/app-plus/app-service.js
vendored
13173
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/app-view.js
vendored
2
unpackage/dist/dev/app-plus/app-view.js
vendored
@@ -19704,7 +19704,7 @@ var render = function() {
|
||||
staticClass: _vm._$g("32-" + $30, "sc"),
|
||||
attrs: {
|
||||
src: _vm._$g("32-" + $30, "a-src"),
|
||||
mode: "widthFix",
|
||||
mode: "aspectFill",
|
||||
_i: "32-" + $30
|
||||
}
|
||||
}),
|
||||
|
||||
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user