分享到
{ {item.content}}
取消
export default {
props: {
},
data() {
return {
shareList: [
{image: '/static/temp/share_wechat.png', content: '微信'},
{image: '/static/temp/share_moment.png', content: '朋友圈'}
],
shareState: false,
};
},
methods: {
// 显示分享
handleShowShare () {
this.shareState = true;
},
// 隐藏分享
handleHiddenShare () {
this.shareState = false;
}
}
}
.share {
width: 100%;
height: 100%;
}
.share-box {
width: 100%;
height: 100%;
position: fixed;
top: 0rpx; left: 0rpx; bottom: 0rpx; right: