9.20/1
This commit is contained in:
@@ -78,10 +78,10 @@
|
||||
<view class="tab" :class="{ active: activeTab==='detail' }" @click="goDetail">
|
||||
<text>明细</text>
|
||||
</view>
|
||||
<view class="tab" :class="{ active: activeTab==='report' }" @click="activeTab='report'">
|
||||
<view class="tab" :class="{ active: activeTab==='report' }" @click="goReport">
|
||||
<text>报表</text>
|
||||
</view>
|
||||
<view class="tab" :class="{ active: activeTab==='me' }" @click="activeTab='me'">
|
||||
<view class="tab" :class="{ active: activeTab==='me' }" @click="goMe">
|
||||
<text>我的</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -156,6 +156,11 @@
|
||||
uni.navigateTo({ url: '/pages/customer/select' })
|
||||
return
|
||||
}
|
||||
if (item.key === 'account') {
|
||||
// 进入账户模块(先使用账户选择页,已对接后端 /api/accounts)
|
||||
uni.navigateTo({ url: '/pages/account/select' })
|
||||
return
|
||||
}
|
||||
if (item.key === 'supplier') {
|
||||
uni.navigateTo({ url: '/pages/supplier/select' })
|
||||
return
|
||||
@@ -174,6 +179,14 @@
|
||||
try { console.log('[index] goDetail → /pages/detail/index') } catch(e){}
|
||||
uni.navigateTo({ url: '/pages/detail/index' })
|
||||
},
|
||||
goReport() {
|
||||
this.activeTab = 'report'
|
||||
uni.navigateTo({ url: '/pages/report/entry' })
|
||||
},
|
||||
goMe() {
|
||||
this.activeTab = 'me'
|
||||
uni.navigateTo({ url: '/pages/my/index' })
|
||||
},
|
||||
onNoticeTap(n) {
|
||||
uni.showModal({
|
||||
title: '广告',
|
||||
|
||||
Reference in New Issue
Block a user