Authored by zhangxiaoru

添加shop链接

@@ -18,11 +18,11 @@ const shopList = (uid, tabName) => { @@ -18,11 +18,11 @@ const shopList = (uid, tabName) => {
18 code: 200, 18 code: 200,
19 cache: true 19 cache: true
20 }).then((result) => { 20 }).then((result) => {
21 - //console.log(result) 21 + // console.log(result)
22 if (result && result.code === 200) { 22 if (result && result.code === 200) {
23 _.forEach(result.data, function(data) { 23 _.forEach(result.data, function(data) {
24 let href = 'https://m.yohobuy.com/product/index/brand?shop_id=' + data.shopsId + '&openby: yohobuy={"action":"go.shop","params":{"shop_id":"' 24 let href = 'https://m.yohobuy.com/product/index/brand?shop_id=' + data.shopsId + '&openby: yohobuy={"action":"go.shop","params":{"shop_id":"'
25 - + data.shopsId + '","shop_template_type":"'+ 2 + '","shop_name":"'+ data.shopName + '"}}'; 25 + + data.shopsId + '","shop_template_type":"' + 2 + '","shop_name":"' + data.shopName + '"}}';
26 26
27 data.isFavorite = data.isFavorite === 'Y'; 27 data.isFavorite = data.isFavorite === 'Y';
28 28