Authored by htoooth

fix go app url

... ... @@ -10,7 +10,7 @@
{{/isEqualOr}}
{{#isEqualOr status 2}}
<a class="btn ok js-join" href="/activity/yoluck/{{id}}.html">参加抽奖</a>
<a class="btn ok js-join" data-id="{{id}}">参加抽奖</a>
{{/isEqualOr}}
{{#isEqualOr status 3 4}}
... ...
... ... @@ -10,7 +10,7 @@
{{/is-equal-or}}
{{#is-equal-or status 2}}
<a class="btn ok js-join" href="/activity/yoluck/{{id}}.html">参加抽奖</a>
<a class="btn ok js-join" data-id="{{id}}">参加抽奖</a>
{{/is-equal-or}}
{{#is-equal-or status 3 4}}
... ...
... ... @@ -219,7 +219,7 @@ $tabpanel.on('click', '.js-tab', function() {
});
$tabpanel
.on('click', '.js-prizeitem', function() {
.on('click', '.js-prizeitem,.js-join', function() {
let id = $(this).data('id');
let href = DETAIL_URI + '/' + id + '.html';
... ...