From 6b4ede1806da26d93f5fad839199fe8b2e0641f5 Mon Sep 17 00:00:00 2001
From: zhao_js <349234519@qq.com>
Date: 星期二, 28 十一月 2023 16:28:34 +0800
Subject: [PATCH] no message

---
 uniapp/components/indexPage.vue |   30 ++++++++++++++++++++++++++++--
 1 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/uniapp/components/indexPage.vue b/uniapp/components/indexPage.vue
index 021cf19..d375a0f 100644
--- a/uniapp/components/indexPage.vue
+++ b/uniapp/components/indexPage.vue
@@ -39,7 +39,7 @@
 								<swiper-item v-for="(sliderItem, index) in navbarShowList" :key="index">
 									<view class="slider_itemslist rowSta">
 										<view class="item colCen" v-for="(item, idx) in sliderItem" :key="idx"
-											@click="goUrl(item)">
+											@click="perVerification(item)">
 											<image :src="item.image" :lazy-load="true" mode="aspectFit"></image>
 											<view class="desc">{{ item.mname }}</view>
 										</view>
@@ -404,6 +404,9 @@
 			</view>
 		</scroll-view>
 		<slideTop v-if="scrollTop>1000" @toTop='scrolltoTops'></slideTop>
+		
+		<u-modal v-model="showConModel" show-cancel-button :content="conContent" @confirm="modConfirm" :async-close="true">
+		</u-modal>
 	</view>
 </template>
 
@@ -505,6 +508,9 @@
 				wphbanner:[],
 				haspreference:false,
 				preferData:{},
+				showConModel:false,
+				conContent:'',
+				urlInfo:{}
 			}
 		},
 		watch: {
@@ -551,6 +557,26 @@
 			}, 1500)
 		},
 		methods: {
+			perVerification(info)
+			{
+				this.urlInfo=info;
+				var mapPer="鏈湴鐢熸椿,鐢靛奖7鎶�"
+				var menuName=info.mname;
+				if(mapPer.indexOf(menuName)>-1)
+				{
+					this.conContent='搴旂敤灏嗙敵璇蜂綅缃潈闄愶紝鐢ㄤ簬蹇�熼�夊畾鎵�鍦ㄥ煄甯�';
+					this.showConModel=true;
+				}
+				else
+				{
+					this.goUrl(info);
+				}
+			},
+			modConfirm()
+			{
+				this.showConModel=false;
+				this.goUrl(this.urlInfo);
+			},
 			checkPreferenceGoods()
 			{//鏄惁鏈夋帹鑽�
 				var that = this;
@@ -921,7 +947,7 @@
 					}
 				})
 			},
-
+				
 			goUrl(info) {
 				utils.goUrl(info, this)
 			},

--
Gitblit v1.9.3