From 472085677669ef90d924078c3f48c5d04b747bca Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 02 一月 2024 15:27:36 +0800
Subject: [PATCH] 1.模具模块   变为列表点击跳转

---
 pages/xtsy/index.vue |   28 +++++++++++++---------------
 1 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/pages/xtsy/index.vue b/pages/xtsy/index.vue
index 3f299a0..39c783e 100644
--- a/pages/xtsy/index.vue
+++ b/pages/xtsy/index.vue
@@ -5,22 +5,22 @@
 		<page-nav title="宸ヤ綔鍙�" :topRightMessageCount="topRightMessageCount"></page-nav>
 
 		<!-- :height="$DeviceInformation.screenHeight*6/9" -->
-		<u-swiper :list="list1" style="margin: 0 0rpx;" indicator height='300' indicatorActiveColor='#436df5'
+		<u-swiper :list="list1" style="margin: 0 0rpx;" indicator height='250' indicatorActiveColor='#436df5'
 			indicatorMode='dot' interval='3000' :autoplay='true'></u-swiper>
 
-		<u-gap height="30" bgColor="#fff"></u-gap>
+		<u-gap height="15" bgColor="#fff"></u-gap>
 
 		<view style="font-weight: bolder;color: #929399; margin:24rpx 0 24rpx 20rpx;">鍔熻兘绠$悊锛�</view>
 
 		<u-grid style='margin: 12rpx;' :border="false">
-			<u-grid-item @click="index=>clickGrid(index,item.name,item.code)" v-for="(item,index) in menuList"
+			<u-grid-item @click="index=>clickGridPopup(index,item.name,item.code)" v-for="(item,index) in menuList"
 				:key="item.code">
 				<img :src="item.imgurl" alt="" style='width: 116rpx;height: 116rpx;border-radius: 20rpx;'>
 				<text class="grid-text">{{item.name}}</text>
 			</u-grid-item>
 		</u-grid>
 
-		<u-popup :show="popupShow" overlayOpacity='0.3' :round="10" @close="popupClose" @open="popupOpen">
+		<!-- 	<u-popup :show="popupShow" overlayOpacity='0.3' :round="10" @close="popupClose" @open="popupOpen">
 			<u-grid style='margin: 20rpx;padding-top: 30rpx;' :border="false">
 				<u-grid-item @click="index=>clickGridPopup(index,item.name,item.code)"
 					v-for="(item,index) in secondMenuList" :key="item.code">
@@ -28,7 +28,7 @@
 					<text class="grid-text" style="font-size: 26rpx;">{{item.name}}</text>
 				</u-grid-item>
 			</u-grid>
-		</u-popup>
+		</u-popup> -->
 
 
 
@@ -96,7 +96,7 @@
 					torg_code: uni.getStorageSync('storg_code')
 				}).then(res => {
 					console.log(res, 2)
-					this.menuList = res.data
+					this.menuList = res.data.filter(i => i.code === '2005')[0].children
 				})
 			},
 			// 涓�绾ц彍鍗曠偣鍑�
@@ -157,8 +157,8 @@
 					case '2200':
 						url = 'scgl/scbg' //鐢熶骇鎶ュ伐
 						break;
-						
-						
+
+
 						// 濮斿绠$悊
 					case '2300':
 						url = 'wwgl/wxfl' //澶栧崗鍙戞枡
@@ -202,16 +202,14 @@
 
 
 						// 鐢熶骇鍒嗘瀽
-					case '2400':
+					case '2900':
 						url = 'znfx/scfx' //鐢熶骇鍒嗘瀽
 						break;
-						
-						
-						
-						
-					case '2041':
-						url = 'sbgl/dqby' //瀹氭湡淇濆吇
+					case '2901':
+						url = 'znfx/scjd' //鐢熶骇杩涘害
 						break;
+
+
 					case '2042':
 						url = 'sbgl/wxsq' //缁翠慨鐢宠
 						break;

--
Gitblit v1.9.3