lilei 2 năm trước cách đây
mục cha
commit
cbf0d4cfc0
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      pages/index/index.vue

+ 6 - 1
pages/index/index.vue

@@ -124,6 +124,7 @@
 	import { scanVinLogQueryRoll, getScanVinLogList, getScanGetMaxQty }from '@/api/car.js'
 	import { promoTerminalList } from '@/api/video.js'
 	import { getRewardRollList } from '@/api/rewardRule.js'
+	import { openWebView } from "@/utils/index.js"
 	export default {
 		components: {
 			scrollBox,
@@ -461,9 +462,13 @@
 					uni.navigateTo({url:"/pagesA/activeDetail/index?sn="+row.promoActiveSn})
 				}
 				// 视频
-				if(row.activeType == 'VIDEO_CONTENT'){
+				if(row.activeType == 'VIDEO'){
 					uni.navigateTo({url:"/pagesA/videos/detail?sn="+row.promoActiveSn})
 				}
+				// 链接
+				if(row.activeType == 'LINK'){
+					openWebView({url:item.content})
+				}
 			},
 			// 选择取货方式
 			clickAction(index){