Commit c9cdef21 by 李嘉林

商品列表组件取消过滤器参数

parent 4db924a7
...@@ -62,8 +62,8 @@ const componentOptions = { ...@@ -62,8 +62,8 @@ const componentOptions = {
angleSignImg, angleSignImg,
titleIcon titleIcon
} = this.data.datas.componentData; } = this.data.datas.componentData;
angleSignImg = DFSImg(angleSignImg, 700, null, 1); angleSignImg = DFSImg(angleSignImg);
titleIcon = DFSImg(titleIcon, 700, null, 1); titleIcon = DFSImg(titleIcon);
this.setData({ this.setData({
"data.datas.componentData.angleSignImg": angleSignImg, "data.datas.componentData.angleSignImg": angleSignImg,
titleIcon titleIcon
...@@ -152,9 +152,9 @@ const componentOptions = { ...@@ -152,9 +152,9 @@ const componentOptions = {
item.marketingTag = item.defaultTags item.marketingTag = item.defaultTags
? this.filtermark(item.defaultTags, marketingTagList) ? this.filtermark(item.defaultTags, marketingTagList)
: []; : [];
item.shopLogoUrl = DFSImg(item.shopLogoUrl, 700, null, 1); item.shopLogoUrl = DFSImg(item.shopLogoUrl);
item.coverImage = DFSImg(item.coverImage, 700, null, 1); item.coverImage = DFSImg(item.coverImage);
item.productImgUrl = DFSImg(item.productImgUrl, 700, null, 1); item.productImgUrl = DFSImg(item.productImgUrl);
item.minPrice = Number(item.minPrice).toFixed(2); item.minPrice = Number(item.minPrice).toFixed(2);
item.qty = Number(item.qty)||0; item.qty = Number(item.qty)||0;
item.totalCollectionCount = Number(item.totalCollectionCount) || 0; item.totalCollectionCount = Number(item.totalCollectionCount) || 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment