xiaoe_mp_npm 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/miniprogram_dist/GoodsItem/index.js +1 -1
- package/miniprogram_dist/Sku/commSelect/index.js +1 -1
- package/miniprogram_dist/common/utils/helper.js +1 -1
- package/package.json +1 -1
- package/src/GoodsItem/index.js +1 -1
- package/src/Sku/commSelect/index.js +1 -1
- package/src/common/utils/helper.js +1 -1
|
@@ -253,7 +253,7 @@ Component({
|
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
filterSrc(data){
|
|
256
|
-
return utils.replaceCDN(data.goodsItem.img_url, '?
|
|
256
|
+
return utils.replaceCDN(data.goodsItem.img_url, '?imageMogr2/thumbnail/400x400>/ignore-error/1')
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
/**
|
|
@@ -221,7 +221,7 @@ Component({
|
|
|
221
221
|
// sku 基本信息
|
|
222
222
|
this.setData({
|
|
223
223
|
// 默认主图
|
|
224
|
-
skuPicture : utils.replaceCDN(baseInfo.goods_img[0], '?
|
|
224
|
+
skuPicture : utils.replaceCDN(baseInfo.goods_img[0], '?imageMogr2/thumbnail/600x600>/ignore-error/1'),
|
|
225
225
|
// 商品限购
|
|
226
226
|
limitPurchase:baseInfo.limit_purchase,
|
|
227
227
|
hasBuy:limitData,
|
|
@@ -109,7 +109,7 @@ export const skuPropertyConvert = (skuProperty) => {
|
|
|
109
109
|
return {
|
|
110
110
|
id: d.attr_value,
|
|
111
111
|
name: d.attr_value,
|
|
112
|
-
image: utils.replaceCDN(d.attr_img, '?
|
|
112
|
+
image: utils.replaceCDN(d.attr_img, '?imageMogr2/thumbnail/600x600>/ignore-error/1')
|
|
113
113
|
}
|
|
114
114
|
})
|
|
115
115
|
})(e)
|
package/package.json
CHANGED
package/src/GoodsItem/index.js
CHANGED
|
@@ -253,7 +253,7 @@ Component({
|
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
filterSrc(data){
|
|
256
|
-
return utils.replaceCDN(data.goodsItem.img_url, '?
|
|
256
|
+
return utils.replaceCDN(data.goodsItem.img_url, '?imageMogr2/thumbnail/400x400>/ignore-error/1')
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
/**
|
|
@@ -221,7 +221,7 @@ Component({
|
|
|
221
221
|
// sku 基本信息
|
|
222
222
|
this.setData({
|
|
223
223
|
// 默认主图
|
|
224
|
-
skuPicture : utils.replaceCDN(baseInfo.goods_img[0], '?
|
|
224
|
+
skuPicture : utils.replaceCDN(baseInfo.goods_img[0], '?imageMogr2/thumbnail/600x600>/ignore-error/1'),
|
|
225
225
|
// 商品限购
|
|
226
226
|
limitPurchase:baseInfo.limit_purchase,
|
|
227
227
|
hasBuy:limitData,
|
|
@@ -109,7 +109,7 @@ export const skuPropertyConvert = (skuProperty) => {
|
|
|
109
109
|
return {
|
|
110
110
|
id: d.attr_value,
|
|
111
111
|
name: d.attr_value,
|
|
112
|
-
image: utils.replaceCDN(d.attr_img, '?
|
|
112
|
+
image: utils.replaceCDN(d.attr_img, '?imageMogr2/thumbnail/600x600>/ignore-error/1')
|
|
113
113
|
}
|
|
114
114
|
})
|
|
115
115
|
})(e)
|