From 0fa6ba07e973a0e94dd2d8af03394d78d5f034c2 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 27 九月 2022 14:50:33 +0800
Subject: [PATCH] uo
---
src/views/home/index.vue | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 82b34d1..8633b2d 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -22,7 +22,7 @@
</div>
<div class="meuns">
<van-row class="meunsitems">
- <van-col span="6" class="item">
+ <van-col span="6" @click="topath('/report')" class="item">
<van-image
round
width="42px"
@@ -31,7 +31,7 @@
/>
<div>检验报告</div>
</van-col>
- <van-col span="6" class="item">
+ <van-col span="6" @click="topath('/paiban')" class="item">
<van-image
round
width="42px"
@@ -40,7 +40,7 @@
/>
<div>透析排班</div>
</van-col>
- <van-col span="6" class="item">
+ <van-col span="6" @click="topath('/prescriptionDrug')" class="item">
<van-image
round
width="42px"
@@ -49,7 +49,7 @@
/>
<div>透析医嘱</div>
</van-col>
- <van-col span="6" class="item">
+ <van-col span="6" @click="topath('/record')" class="item">
<van-image
round
width="42px"
@@ -115,9 +115,9 @@
</div>
</div>
</div>
- <van-tabbar v-model="active" route @change="tabChang">
- <van-tabbar-item name="home" @click="active = 'home'" icon="home-o">首页</van-tabbar-item>
- <van-tabbar-item name="mydo" @click="active = 'mydo'" icon="manager">我的</van-tabbar-item>
+ <van-tabbar v-model="active" @change="tabChang">
+ <van-tabbar-item name="home" icon="like">首页</van-tabbar-item>
+ <van-tabbar-item name="my" icon="manager">我的</van-tabbar-item>
</van-tabbar>
</div>
</template>
@@ -181,6 +181,10 @@
router.push('my')
}
}
+ const topath=(url:string)=>{
+ console.log('sss')
+ router.push(url)
+ }
onMounted(() => {
console.log('初始化',route)
const queryInfo=route.query
--
Gitblit v1.8.0