提交 9d299b8d 编写于 作者: DCloud_JSON's avatar DCloud_JSON

压缩图片解决,在ios端分享图过大导致的图片失效问题

上级 ecf743b9
......@@ -26,7 +26,6 @@
<uni-dateformat :date="data.last_modify_date" format="yyyy-MM-dd hh:mm"
:threshold="[60000, 2592000000]" />
</view>
<!-- <button @click="followClick" class="footer-button">关注</button> -->
</view>
</uni-list-item>
</uni-list>
......@@ -172,7 +171,7 @@
href: this.baseappConfig.h5.url + `/#/pages/list/detail?id=${_id}&title=${title}`,
title: this.title,
summary: excerpt,
imageUrl: avatar
imageUrl: avatar + '?x-oss-process=image/resize,m_fill,h_100,w_100' //压缩图片解决,在ios端分享图过大导致的图片失效问题
},
menus: [{
"img": "/static/app-plus/sharemenu/wechatfriend.png",
......
......@@ -55,7 +55,7 @@ import uniShare from 'uni_modules/uni-share/js_sdk/uni-share.js';
href: download,
title: appName,
summary: slogan,
imageUrl: logo
imageUrl: logo+'?x-oss-process=image/resize,m_fill,h_100,w_100' //压缩图片解决,在ios端分享图过大导致的图片失效问题
},
menus: [{
"img": "/static/app-plus/sharemenu/wechatfriend.png",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册