...
|
...
|
@@ -318,6 +318,28 @@ $tabpanel |
|
|
.on('click', '.js-fellow', function() {
|
|
|
fellow($(this).data('id'), $(this).data('lottery'));
|
|
|
return false;
|
|
|
})
|
|
|
.on('click', '.js-my-draw-code', function() {
|
|
|
let type = $(this).data('type');
|
|
|
let href = DETAIL_URI + '/index.html?type=' + type;
|
|
|
|
|
|
if (yoSdk.env === 'app') {
|
|
|
let link = yoho.parseUrl(href);
|
|
|
|
|
|
yoho.goH5(href, JSON.stringify({
|
|
|
action: 'go.h5',
|
|
|
params: {
|
|
|
islogin: 'N',
|
|
|
type,
|
|
|
updateflag: Date.now() + '',
|
|
|
url: link.path,
|
|
|
param: link.query
|
|
|
}
|
|
|
}));
|
|
|
} else {
|
|
|
window.location.href = href;
|
|
|
}
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
$(window).on('scroll', function() {
|
...
|
...
|
|