|
|
@ -189,7 +189,7 @@ const GoodsDetail = () => { |
|
|
|
return { |
|
|
|
title: goods?.name || '精选商品', |
|
|
|
path: `/shop/goodsDetail/index?id=${goodsId}`, |
|
|
|
imageUrl: goods?.image, // 分享图片
|
|
|
|
imageUrl: goods?.image ? `${goods.image}?x-oss-process=image/resize,w_500,h_400,m_fill` : undefined, // 分享图片,调整为5:4比例
|
|
|
|
success: function (res: any) { |
|
|
|
console.log('分享成功', res); |
|
|
|
Taro.showToast({ |
|
|
|