diff --git a/pages/notice/detail.vue b/pages/notice/detail.vue index b26ad7a..2eaf054 100644 --- a/pages/notice/detail.vue +++ b/pages/notice/detail.vue @@ -494,9 +494,8 @@ */ selectShare(dataObj) { console.log(dataObj, 'dataObje') - if ('hb' == dataObj.item.name) { - //海报 - this.$refs.canvas.canvasCreate(); + if ('lj' == dataObj.item.name) { + //链接 } else if ('wx' == dataObj.item.name) { } else if ('jb' == dataObj.item.name) { diff --git a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue index 612cc87..3313f77 100644 --- a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue +++ b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue @@ -48,11 +48,11 @@ icon: '/static/detail/weixin.png', name: 'wx' }, - // { - // text: '海报', - // icon: '/static/detail/haibao.png', - // name: 'hb' - // }, + { + text: '链接', + icon: '/static/detail/haibao.png', + name: 'lj' + }, { text: '举报', icon: '/static/detail/jubao.png',