...
|
...
|
@@ -20,12 +20,12 @@ const shopList = (uid, tabName) => { |
|
|
}).then((result) => {
|
|
|
if (result && result.code === 200) {
|
|
|
_.forEach(result.data, function(data) {
|
|
|
let href = '//m.yohobuy.com/product/index/brand?shop_id=' + data.shopsId + '&openby:yohobuy={"action":"go.shop","params":{"shop_id":"'
|
|
|
+ data.shopsId + '","shop_template_type":"' + data.shopTemplateType + '","shop_name":"' + data.shopName + '"}}';
|
|
|
let href = '//m.yohobuy.com/product/index/brand?shop_id=' + data.shopsId + '&openby:yohobuy={"action":"go.shop","params":{"shop_id":"' +
|
|
|
data.shopsId + '","shop_template_type":"' + data.shopTemplateType + '","shop_name":"' + data.shopName + '"}}';
|
|
|
|
|
|
data.isFavorite = data.isFavorite === 'Y';
|
|
|
|
|
|
if(parseInt(data.collectionNum) > 10000) {
|
|
|
if (parseInt(data.collectionNum) > 10000) {
|
|
|
data.collectionNum = (data.collectionNum / 10000).toFixed(1) + ' w';
|
|
|
}
|
|
|
|
...
|
...
|
|