Commit ab3add0bbc749b027fa191f8b5801a1a86b40143
1 parent
15867d13
go——url
Showing
1 changed file
with
7 additions
and
1 deletions
pages/activity/seckill_list/seckill_list.js
@@ -243,6 +243,12 @@ Page({ | @@ -243,6 +243,12 @@ Page({ | ||
243 | if (hei< viewHeight) { | 243 | if (hei< viewHeight) { |
244 | this.setData({ max_sw_height: viewHeight }); | 244 | this.setData({ max_sw_height: viewHeight }); |
245 | } | 245 | } |
246 | - } | 246 | + }, |
247 | + go_url(e){ | ||
248 | + let url=e.currentTarget.dataset.url; | ||
249 | + if(url){ | ||
250 | + getApp().goto(url); | ||
251 | + } | ||
252 | + }, | ||
247 | 253 | ||
248 | }); | 254 | }); |