Authored by 王水玲

mip 修改

@@ -194,7 +194,7 @@ class ProductDetail extends global.yoho.BaseModel { @@ -194,7 +194,7 @@ class ProductDetail extends global.yoho.BaseModel {
194 let skn = $(value).closest('.good-info').data('id'); 194 let skn = $(value).closest('.good-info').data('id');
195 195
196 if (skn) { 196 if (skn) {
197 - href = `${params.protocol}://m.yohobuy.com/mip/product/${skn}.html`; 197 + href = `${params.protocol}://m.yohobuy.com/product/${skn}.html?union_type=100000000013130`;
198 } 198 }
199 $(value).attr('href', href); 199 $(value).attr('href', href);
200 }); 200 });
@@ -85,11 +85,11 @@ @@ -85,11 +85,11 @@
85 {{/if}} 85 {{/if}}
86 {{# enterStore}} 86 {{# enterStore}}
87 <div id="enter-store" class="enter-store page-block tap-hightlight"> 87 <div id="enter-store" class="enter-store page-block tap-hightlight">
88 - <a class="store-logo" href="{{url}}"> 88 + <a class="store-logo" href="{{url}}?union_type=100000000013130">
89 <mip-img src="{{image2 img w=100 h=100 q=90}}" alt="{{storeName}}"></mip-img> 89 <mip-img src="{{image2 img w=100 h=100 q=90}}" alt="{{storeName}}"></mip-img>
90 </a> 90 </a>
91 - <a class="store-name" href="{{url}}">{{storeName}}</a>  
92 - <a class="store-link" href="{{url}}">进入店铺&nbsp;<span>&gt;</span></a> 91 + <a class="store-name" href="{{url}}?union_type=100000000013130">{{storeName}}</a>
  92 + <a class="store-link" href="{{url}}?union_type=100000000013130">进入店铺&nbsp;<span>&gt;</span></a>
93 </div> 93 </div>
94 {{/ enterStore}} 94 {{/ enterStore}}
95 <div class="product-desc"> 95 <div class="product-desc">
@@ -98,16 +98,16 @@ @@ -98,16 +98,16 @@
98 <div id="shop-goods-container" class="goods-container">{{{preference}}}</div> 98 <div id="shop-goods-container" class="goods-container">{{{preference}}}</div>
99 <div class="cart-bar-fixed"> 99 <div class="cart-bar-fixed">
100 <div class="cart-bar"> 100 <div class="cart-bar">
101 - <a href="//m.yohobuy.com/cart/index/index" class="new-foot-ico" rel="nofollow"> 101 + <a href="//m.yohobuy.com/cart/index/index?union_type=100000000013130" class="new-foot-ico" rel="nofollow">
102 <div class="cart-icon"></div> 102 <div class="cart-icon"></div>
103 <div class="tip">购物车</div> 103 <div class="tip">购物车</div>
104 </a> 104 </a>
105 - <a {{# enterStore}}href="{{url}}"{{/ enterStore}} class="new-foot-ico store{{#unless enterStore}} opa{{/unless}}"> 105 + <a {{# enterStore}}href="{{url}}?union_type=100000000013130"{{/ enterStore}} class="new-foot-ico store{{#unless enterStore}} opa{{/unless}}">
106 <div class="shop-icon"></div> 106 <div class="shop-icon"></div>
107 <div class="tip">品牌店铺</div> 107 <div class="tip">品牌店铺</div>
108 </a> 108 </a>
109 {{# baseInfo}} 109 {{# baseInfo}}
110 - <a href="//m.yohobuy.com/product/{{product_skn}}.html" class="addto-cart add-to-cart-url">立即购买</a> 110 + <a href="//m.yohobuy.com/product/{{product_skn}}.html?union_type=100000000013130" class="addto-cart add-to-cart-url">立即购买</a>
111 {{/ baseInfo}} 111 {{/ baseInfo}}
112 </div> 112 </div>
113 </div> 113 </div>