소스 검색

轮播图跳转商品列表

junyuanz 4 년 전
부모
커밋
fe43bda2e9
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      pages/home/home.js

+ 5 - 0
pages/home/home.js

@@ -237,6 +237,11 @@ Page ({
         url: '/pages/web/web?id=' + url
       })
     }
+	if(type === 2){
+		wx.reLaunch({
+		  url: url
+		})
+	}
   },
   // newyear: function () {
   //   wx.navigateTo({