await uni.getImageInfo({src: 'https://img01.yzcdn.cn/vant/share-sheet-wechat-moments.png'})
.then(res=>opts.goodsPic=res.path||res[1].path);

await uni.getImageInfo({src: 'https://img01.yzcdn.cn/vant/share-sheet-wechat-moments.png'})
.then(res=>opts.goodsPic=res.path||res[1].path);