Authored by mali

Merge branch 'feature/ufo-h5-share' into dev

... ... @@ -58,11 +58,16 @@ a {
.goods-detail-page .swiper-container {
width: 18.75rem;
height: 18.75rem;
}
.goods-detail-page .swiper-container .swiper-slide {
display: flex;
align-items: center;
}
.goods-detail-page .swiper-container img {
width: 100%;
height: 18.75rem;
}
.goods-detail-page .goods-title {
... ...
... ... @@ -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) {
... ...