From 3ce633c51d54fa3a89c473d8f501a9d4970cf0cf Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 23 九月 2022 14:13:59 +0800
Subject: [PATCH] up12

---
 src/views/myMine/index.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/myMine/index.vue b/src/views/myMine/index.vue
index 110bfed..aff4a6c 100644
--- a/src/views/myMine/index.vue
+++ b/src/views/myMine/index.vue
@@ -97,8 +97,8 @@
             </div>
         </div>
         <van-tabbar v-model="active" @change="tabChang">
-            <van-tabbar-item name="home" @click="active = 'home'" icon="home-o">首页</van-tabbar-item>
-            <van-tabbar-item name="my" @click="active = 'my'" icon="manager">我的</van-tabbar-item>
+            <van-tabbar-item name="home" icon="like">首页</van-tabbar-item>
+            <van-tabbar-item name="my" icon="manager">我的</van-tabbar-item>
         </van-tabbar>
     </div>
 </template>
@@ -110,6 +110,7 @@
     const router=useRouter()
     const active=ref('my')
     const tabChang=(index:any)=>{
+        alert(index)
         if (index==='home'){
             router.push('/')
         } else {
@@ -118,12 +119,14 @@
     }
 </script>
 <style lang="scss" scoped>
+    body{
+        background-color:#166bd3;
+    }
 .page{
-    background-color: #F6FAFF;
+    background-color:#F6FAFF;
     position:relative;
     min-width: 375px;
     min-height: 800px;
-    text-align: center;
     .hader{
         margin-top: 20px;
         margin-bottom: 20px;
@@ -210,6 +213,7 @@
             // margin-bottom: 20px;
         }
         .serveItem{
+            text-align: center;
             margin-top: 20px;
             font-size: 13px;
             font-family: PingFangSC-Regular, PingFang SC;

--
Gitblit v1.8.0