From b621a252c58ad2a0fe751076fe20859906f67810 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 21 六月 2024 09:48:29 +0800
Subject: [PATCH] ''

---
 pda/pages/index/index.vue |   46 +++++++++++++++++++++++++---------------------
 1 files changed, 25 insertions(+), 21 deletions(-)

diff --git a/pda/pages/index/index.vue b/pda/pages/index/index.vue
index 0d7f78b..3d00c04 100644
--- a/pda/pages/index/index.vue
+++ b/pda/pages/index/index.vue
@@ -4,28 +4,28 @@
       <image src="@/static/banner_diaodu@2x.png" mode=""></image>
     </view>
     <view class="module">
-      <view class="item">
+      <view class="item" @click="jump('/pages/index/center')">
         <image src="@/static/ic_yuetaidiaodu@2x.png" mode=""></image>
         <view class="text">鏈堝彴璋冨害涓績</view>
       </view>
-      <view class="item">
+      <view class="item" @click="jump('/pages/index/queueup')">
         <image src="@/static/ic_cheliangpaidui@2x.png" mode=""></image>
         <view class="text">杞﹂槦鎺掗槦鎯呭喌</view>
       </view>
-      <view class="item">
+      <view class="item" @click="jump('/pages/index/control')">
         <image src="@/static/ic_qiyong@2x.png" mode=""></image>
         <view class="text">鏈堝彴鍚敤鍋滅敤</view>
       </view>
-      <view class="item">
+      <view class="item" @click="jump('/pages/index/set')">
         <image src="@/static/ic_peizhiyuetai@2x.png" mode=""></image>
         <view class="text">閰嶇疆鏄剧ず鏈堝彴</view>
       </view>
     </view>
     <!-- footer -->
     <view class="main_footer">
-			<image src="@/static/logo@2x.png" mode=""></image>
-			<text>瀹夊窘瀹夋嘲鐗╂祦鏈夐檺璐d换鍏徃鐗堟潈鎵�鏈�</text>
-		</view>
+      <image src="@/static/logo@2x.png" mode=""></image>
+      <text>瀹夊窘瀹夋嘲鐗╂祦鏈夐檺璐d换鍏徃鐗堟潈鎵�鏈�</text>
+    </view>
   </view>
 </template>
 
@@ -40,7 +40,11 @@
 
   },
   methods: {
-
+    jump(path) {
+      uni.navigateTo({
+        url: path
+      })
+    },
   }
 }
 </script>
@@ -87,18 +91,18 @@
       }
     }
   }
-	.main_footer{
-		width: 100%;
-		position: fixed;
-		bottom: 84rpx;
-		display: flex;
-		justify-content: center;
-		font-size: 24rpx;
-		color: #666666;
-		image{
-			width: 40rpx;
-			height: 40rpx;
-		}
-	}
+  .main_footer {
+    width: 100%;
+    position: fixed;
+    bottom: 84rpx;
+    display: flex;
+    justify-content: center;
+    font-size: 24rpx;
+    color: #666666;
+    image {
+      width: 40rpx;
+      height: 40rpx;
+    }
+  }
 }
 </style>
\ No newline at end of file

--
Gitblit v1.9.3