Authored by shuaiguo

Merge remote-tracking branch 'refs/remotes/origin/feature/individuation'

{
"name": "yoho-js-sdk",
"version": "1.3.30",
"version": "1.3.31",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
... ...
{
"name": "yoho-js-sdk",
"version": "1.3.30",
"version": "1.3.31",
"description": "YOHO!前端js的功能封装包,主要用于在活动页面中,对主要功能的封装。",
"keywords": [
"YOHO!",
... ...
... ... @@ -28,7 +28,10 @@ let _replaceData = function(el, cond, data, wh, fp, lastSoldTpl) {
if (data.collage_price && data.collage_activity_id) {
product_url = `//m.yohobuy.com/activity/group/detail?activityId=${data.collage_activity_id}&productSkn=${data.product_skn}&openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${data.product_skn}","activity_id":"${data.collage_activity_id}","activity_type":"groupPurchase"}}`;
} else if (data.type === 'ufo') {
product_url = `//2.yohobuy.com/html/h5Share/goodsDetail.html?id=${data.product_id}&openby:yohobuy={"action":"go.ufo","params":{"pagename":"productDetail","isnavhidden":0,"productId":"${data.product_id}"}}`;
}
el.find('.brand-name').html(data.brand_name);
el.find('.product-detail').attr('href', product_url);
el.find('.product-name').html(data.product_name);
... ...