下载地址复制修改
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
我的积分
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="statistics-box-item" @click="goNav('/me/invite/cashDetail',{amount: userInfo.amount})">
|
||||
<view class="statistics-box-item" @click="goNav('/me/invite/cashDetail')">
|
||||
<view class="statistics-box-item-top">
|
||||
{{userInfo.amount || '0.00'}}
|
||||
</view>
|
||||
@@ -163,7 +163,7 @@
|
||||
<u-badge :offset="[0,20]" type="error" :count="numCount"></u-badge>
|
||||
</view>
|
||||
<view class="tool-box-content-item flex align-center justify-center flex-wrap"
|
||||
@click="goNav('/me/task/index')">
|
||||
@click="goNav('/pages/task/index','tabbar')">
|
||||
<view class="tool-box-content-item-img">
|
||||
<image src="../../static/images/me/task.png" mode=""></image>
|
||||
</view>
|
||||
@@ -554,15 +554,20 @@
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
goNav(e,options) {
|
||||
goNav(e,type) {
|
||||
console.log(e)
|
||||
let token = uni.getStorageSync('token')
|
||||
if (token) {
|
||||
if (options&&options.amount) {
|
||||
e = `${e}?amount=${options.amount}`
|
||||
if (type == 'tabbar') {
|
||||
uni.switchTab({
|
||||
url: e
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: e
|
||||
})
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: e
|
||||
})
|
||||
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: "/pages/login/login"
|
||||
|
||||
Reference in New Issue
Block a user