Commit 63da095b authored by 王玉鑫's avatar 王玉鑫

feat: 分享功能

parent f57133a5
......@@ -39,6 +39,16 @@ Object.defineProperty(Array.prototype, 'removeItem', {
enumerable: false
})
Vue.mixin({
onShareAppMessage() {
return {
title: '立业舒城,共赢发展未来',
path: '',
imageUrl: '',
}
},
})
Vue.prototype.$fetch = fetch
Vue.config.productionTip = false
......
......@@ -20,13 +20,14 @@
<slot :detail="detail"></slot>
</div>
<div class="common-detail__bottom-cell">
<div class="flex align-center">
<!-- todo 图标 -->
<div>
<button open-type="share" class="flex align-center justify-center" style="font-size: 28rpx;background: transparent;">
<image
class="common-detail__icon"
src="@/static/img/icon-share.png"
></image>
<span style="flex: none">分享</span>
</button>
</div>
<div
class="flex align-center justify-center common-detail__contact-btn"
......
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