hbchen 1 vuosi sitten
vanhempi
commit
a5d5cdb0fb
2 muutettua tiedostoa jossa 2 lisäystä ja 6 poistoa
  1. 0 3
      pageMy/myCollection/myCollection.vue
  2. 2 3
      pages/purchaser/purchaser.vue

+ 0 - 3
pageMy/myCollection/myCollection.vue

@@ -159,9 +159,6 @@ export default {
 
     // 去往主题详情
     themeDetails(item, val) {
-			// console.log(e);
-			// e.stopPropagation()
-			// e.preventDefault()
       if (item.Source === 1) {
         //非严选
         uni.navigateTo({ url: "/reportPages/IndustryReport/IndustryReport?id=" + val.IndustrialManagementId });

+ 2 - 3
pages/purchaser/purchaser.vue

@@ -38,7 +38,7 @@
 						@click="goDetail(item)">
 							{{item.Title}}
 							<text v-for="it in item.List" class="purchaser-content-row-object" :key="it.IndustrialManagementId"
-							@click="(e) =>themeDetails(e,it, '月度收藏榜')">#{{it.IndustryName}}</text>
+							@click.stop="themeDetails(it, '月度收藏榜')">#{{it.IndustryName}}</text>
 						</view>
 					</view>
 				</view>
@@ -128,8 +128,7 @@ export default {
 		  uni.navigateTo({ url: "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId });
 		},
 		//去往主题详情
-		themeDetails(e,item, source) {
-			e.stopPropagation();
+		themeDetails(item, source) {
 		  uni.navigateTo({ url: "/reportPages/researchTheme/researchTheme?id=" + item.IndustrialManagementId + "&pageRouter=" + source });
 		},
 		// 跳转研选已结束活动