@@ -186,6 +186,17 @@ Page({
}
_request.$get(url, params, success)
},
+ wxParseTagATap: function(e){
+ var href = e.currentTarget.dataset.src;
+ console.log(href);
+ //我们可以在这里进行一些路由处理
+ if(href){
+ //跳转的方法根据项目需求的不同自己替换,也可以加参数,
+ wx.navigateTo({
+ url: href
+ })
+ }
+ },
getProjectComment() {
var that = this
var url = "v1/product/" + that.data.productId +'/commends';