Przeglądaj źródła

小程序会刊页面路口

yanj 1 dzień temu
rodzic
commit
80c5d6e917

+ 9 - 3
pages/activity/components/activity-item.vue

@@ -26,7 +26,7 @@
 </template>
 
 <script>
-	
+
 	export default {
 		options: {
 			styleIsolation: 'shared'
@@ -34,6 +34,7 @@
 		components: {
 		},
 		props: {
+      type: String,
 			// 数据
 			item: Object,
 			favoritesHidden: Boolean
@@ -46,10 +47,15 @@
 		},
 		methods: {
 			onClickActivity(item){
-				this.navigateTo('/pages/activity/detail')
+        if (this.type === 'exhibitor') {
+          this.webviewTo('https://mp-test-onlinecatelogue.matchexpo.cn/mini-pro-activity')
+        } else {
+          this.webviewTo('https://mp-test-onlinecatelogue.matchexpo.cn/mini-pro-same-detail')
+        }
+				// this.navigateTo('/pages/activity/detail')
 			}
 		}
 	}
 </script>
 <style lang="scss">
-</style>
+</style>

+ 5 - 5
pages/activity/components/activity-recommend.vue

@@ -20,7 +20,7 @@
 </template>
 
 <script>
-	
+
 	export default {
 		options: {
 			styleIsolation: 'shared'
@@ -36,7 +36,7 @@
 		},
 		methods: {
 			onClickActivity() {
-				this.navigateTo('https://mp-test-onlinecatelogue.matchexpo.cn/Xiaomi-Computer-Technology-Exhibition-19')
+				this.navigateTo('https://mp-test-onlinecatelogue.matchexpo.cn/mini-pro-activity')
 			}
 		}
 	}
@@ -85,17 +85,17 @@
 			padding-right: 30rpx;
 			color: #555555;
 			@include text-ellipsis-line;
-			-webkit-line-clamp: 2;  
+			-webkit-line-clamp: 2;
 		}
 		.arrow{
 			margin-left: 12rpx;
 			font-size: $fontSize0;
 		}
 	}
-	
+
 	.activity-tab{
 		van-button{
 			margin-right: 13rpx;
 		}
 	}
-</style>
+</style>

+ 4 - 4
pages/index/search.vue

@@ -27,7 +27,7 @@
 					</view>
 					<view v-else-if="tabActive === 4" class="search-result-list exhibit-list">
 						<template v-for="(item, index) in activityList">
-							<activity-item :item="item" :key="index" />
+							<activity-item :item="item" :key="index" type="exhibitor" />
 						</template>
 					</view>
 					<view v-else-if="tabActive === 5" class="search-result-list exhibit-list">
@@ -102,10 +102,10 @@
 		created() {},
 		methods: {
 			tabChange() {
-				
+
 			},
 			onClickSearch() {
-				
+
 			}
 		}
 	}
@@ -124,4 +124,4 @@
 		grid-row-gap: 28rpx;
 		margin-top: 32rpx;
 	}
-</style>
+</style>

+ 6 - 5
pages/news/components/news-item.vue

@@ -10,7 +10,7 @@
 </template>
 
 <script>
-	
+
 	export default {
 		components: {
 		},
@@ -26,10 +26,11 @@
 		},
 		methods: {
 			onClickDetail(item) {
+        this.navigateTo('https://mp-test-onlinecatelogue.matchexpo.cn/mini-pro-news')
 				if (this.type === 'exhibitor')  {
-					this.navigateTo('https://mp-test-onlinecatelogue.matchexpo.cn/Selis-responds-to-Guangzhou-s-inquiry-on-M7-accident-identification-the-owner-does-not-recognize-the-analysis-conclusion-that-the-case-has-entered-the-judicial-procedure')
+					// this.navigateTo('')
 				} else {
-					this.navigateTo('https://www.productronicachina.com.cn/2025%E6%85%95%E5%B0%BC%E9%BB%91%E4%B8%8A%E6%B5%B7%E7%94%B5%E5%AD%90%E7%94%9F%E4%BA%A7%E8%AE%BE%E5%A4%87%E5%B1%953%E6%9C%88%E5%A5%8F%E5%93%8D%E6%96%B0%E7%AF%87%E7%AB%A0-%E6%8E%A2%E7%B4%A2%E7%94%B5%E5%AD%90%E5%88%B6%E9%80%A0%E7%9A%84%E6%97%A0%E9%99%90%E5%8F%AF%E8%83%BD')
+
 				}
 			}
 		}
@@ -67,7 +68,7 @@
 			padding-right: 30rpx;
 			color: #555555;
 			@include text-ellipsis-line;
-			-webkit-line-clamp: 2;  
+			-webkit-line-clamp: 2;
 		}
 		.to-detail{
 			display: flex;
@@ -83,4 +84,4 @@
 			font-size: $fontSize0;
 		}
 	}
-</style>
+</style>