linwu 1 vuosi sitten
vanhempi
commit
35ffd5f88c
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      pages/index/index.vue

+ 3 - 2
pages/index/index.vue

@@ -62,7 +62,7 @@
 			</view>
 
 			<view class="hot">
-				<view class="hot-left" @tap="develop()">
+				<view class="hot-left" @tap="goJbangjia('/pages/goodsList/goodsList?cid=35')">
 					<image class="hot-left-image" :src="$getImageUrl('static/images/applet/index/hotLeft.png')"
 						mode="aspectFit"></image>
 				</view>
@@ -521,9 +521,10 @@
 					showCancel: false
 				});
 			},
-			goJbangjia() {
+			goJbangjia(path='') {
 				uni.navigateToMiniProgram({
 					appId: 'wx7c3f5350fb154209',
+					path: path,
 					envVersion: 'release',
 					success(res) {
 						console.log("跳转小程序成功!",res);