...
|
...
|
@@ -25,7 +25,7 @@ let _replaceData = function(el, cond, data, wh, fp) { |
|
|
let brandDom = el.find('.product-brand');
|
|
|
if (brandDom) {
|
|
|
if (data.shop_id) {
|
|
|
brandDom.attr('href', `//m.yohobuy.com/product/index/brand?domain=${data.brand_domain}&openby:yohobuy={"action":"go.shop","params":{"shop_id":${data.shop_id},"shop_template_type":${data.shop_template_type},"is_red_shop":${shop.is_red_shop}}`);
|
|
|
brandDom.attr('href', `//m.yohobuy.com/product/index/brand?domain=${data.brand_domain}&openby:yohobuy={"action":"go.shop","params":{"shop_id":${data.shop_id},"shop_template_type":${data.shop_template_type},"is_red_shop":${data.is_red_shop}}`);
|
|
|
} else {
|
|
|
brandDom.attr('href', `//m.yohobuy.com/product/index/brand?domain=${data.brand_domain}&openby:yohobuy={"action":"go.brand","params":{"brand_id":${data.brand_id}}}`);
|
|
|
}
|
...
|
...
|
|