xiebaomin 2 年之前
父节点
当前提交
fee4ed5564
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      pages/tabBar/home/components/hotmode.vue

+ 7 - 2
pages/tabBar/home/components/hotmode.vue

@@ -1,7 +1,7 @@
 <template name="hotmode">
 	<view>
 		<view class="hotmode-content clearfix">
-			<view class="hot-image le">
+			<view class="hot-image le" @click="handler">
 				<image src="https://img-b.caimei365.com/group1/M00/04/30/rB-lHGRWIi-AMo5bAABBwc_L90w000.png" mode=""></image>
 			</view>
 			<view class="hot-image ri">
@@ -35,7 +35,12 @@
 			initData(list){
 				this.navList = list
 			},
-			NavToDetailPage(pros,index) {//跳转
+			handler() {
+                uni.navigateTo({
+                    url:'/pages/goods/procurement'
+                })
+            },
+            NavToDetailPage(pros,index) {//跳转
 				if(index === 3){
 					let linkPath = 'https://static.caimei365.com/app/caimei-activity-h5/html/2023/activity_02.html'
 					this.$api.navigateTo(`/pages/h5/activity/activity?link=${linkPath}&linkId=382`)