...
|
...
|
@@ -75,14 +75,15 @@ |
|
|
|
|
|
$(function() {
|
|
|
var productId = getUrlParam('id');
|
|
|
var ajaxUrl = location.pathname.indexOf('ufo-gateway') > -1 ? '/ufo-gateway' : '/';
|
|
|
|
|
|
$('.download-go').attr('href', 'https://union.yoho.cn/union/app-downloads.html?openby:yohobuy={action":"go.ufo","params":{"isnavhidden":true,"pagename":"productDetail","productId":' + productId + '}}')
|
|
|
$('.download-go').attr('href', 'https://union.yoho.cn/union/app-downloads.html?openby:yohobuy={"action":"go.ufo","params":{"isnavhidden":1,"pagename":"productDetail","productId":' + productId + '}}')
|
|
|
|
|
|
$('.download-close').on('click', function() {
|
|
|
$('.top-downloadbar').hide();
|
|
|
});
|
|
|
|
|
|
$.get('/', {
|
|
|
$.get(ajaxUrl, {
|
|
|
method: 'ufo.product.data',
|
|
|
product_id: productId
|
|
|
}, function(ret) {
|
...
|
...
|
|