diff --git a/components/diy_goodsGroup/diy_goodsGroup.wxml b/components/diy_goodsGroup/diy_goodsGroup.wxml index 53b91cc..c691911 100644 --- a/components/diy_goodsGroup/diy_goodsGroup.wxml +++ b/components/diy_goodsGroup/diy_goodsGroup.wxml @@ -15,7 +15,8 @@ - + + @@ -169,7 +170,7 @@ - + @@ -328,7 +329,7 @@ - + @@ -485,7 +486,7 @@ - + @@ -668,7 +669,7 @@ - + diff --git a/components/diy_goodsGroup/g_filter.wxs b/components/diy_goodsGroup/g_filter.wxs index fc32f2c..9e0910a 100644 --- a/components/diy_goodsGroup/g_filter.wxs +++ b/components/diy_goodsGroup/g_filter.wxs @@ -88,6 +88,16 @@ var g_filters = { return min_name; }, + + get_url_by_type: function(item) { + var url = ''; + if(item.prom_type == 9) { + url = '/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo?goods_id=' + item.goods_id + '&group_id=' + item.prom_id; + } else { + url = '/pages/goods/goodsInfo/goodsInfo?goods_id=' + item.goods_id + '&prom_id=' + item.prom_id + '&prom_type=' + item.prom_type; + }; + return url; + }, } @@ -97,4 +107,5 @@ module.exports = { is_has_rank:g_filters.is_has_rank, get_card_price:g_filters.get_card_price, get_border_type:g_filters.get_border_type, + get_url_by_type: g_filters.get_url_by_type, } diff --git a/components/goods_list/goods_list.wxml b/components/goods_list/goods_list.wxml index bef9f48..ef89b5a 100644 --- a/components/goods_list/goods_list.wxml +++ b/components/goods_list/goods_list.wxml @@ -4,8 +4,9 @@ - - + + +