diff --git a/components/goods_list/goods_list.js b/components/goods_list/goods_list.js index 8b1ccfc..5c9ce87 100644 --- a/components/goods_list/goods_list.js +++ b/components/goods_list/goods_list.js @@ -207,5 +207,11 @@ Component({ func(ob); }) }, + + go_url:function (e) { + var url=e.currentTarget.dataset.url; + getApp().goto(url); + } + }, }) \ No newline at end of file diff --git a/components/goods_list/goods_list.wxml b/components/goods_list/goods_list.wxml index 59ea85c..7675f86 100644 --- a/components/goods_list/goods_list.wxml +++ b/components/goods_list/goods_list.wxml @@ -5,10 +5,10 @@ - + - +