调整排行榜,增加banner图链接,增加公告信息分享功能
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
<image class="uni-share-image" :src="item.icon" mode="aspectFill"></image>
|
||||
<text class="uni-share-text">{{item.text}}</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="uni-share-button-box">
|
||||
@@ -36,44 +35,34 @@
|
||||
beforeClose: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
isDowImg : {
|
||||
type : Boolean,
|
||||
undefined: true
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
bottomData: [{
|
||||
text: '微信好友',
|
||||
icon: require('@/static/icon/share_icon_01.png'),
|
||||
name: 'wxchum'
|
||||
},
|
||||
{
|
||||
text: '朋友圈',
|
||||
icon: require('@/static/icon/share_icon_00.png'),
|
||||
name: 'wxcircle'
|
||||
},
|
||||
{
|
||||
text: '下载图片',
|
||||
icon: require('@/static/icon/share_icon_02.png'),
|
||||
name: 'download'
|
||||
},
|
||||
// {
|
||||
// text: '新浪',
|
||||
// icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/0dacdbe0-50bf-11eb-8ff1-d5dcf8779628.png',
|
||||
// name: 'sina'
|
||||
// },
|
||||
// {
|
||||
// text: '百度',
|
||||
// icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/1ec6e920-50bf-11eb-8a36-ebb87efcf8c0.png',
|
||||
// name: 'copy'
|
||||
// },
|
||||
// {
|
||||
// text: '其他',
|
||||
// icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/2e0fdfe0-50bf-11eb-b997-9918a5dda011.png',
|
||||
// name: 'more'
|
||||
// }
|
||||
]
|
||||
text: '微信好友',
|
||||
icon: require('@/static/icon/share_icon_01.png'),
|
||||
name: 'wxchum'
|
||||
},{
|
||||
text: '朋友圈',
|
||||
icon: require('@/static/icon/share_icon_00.png'),
|
||||
name: 'wxcircle'
|
||||
}]
|
||||
}
|
||||
},
|
||||
created() {},
|
||||
created() {
|
||||
if(this.isDowImg){
|
||||
this.bottomData.push({
|
||||
text: '下载图片',
|
||||
icon: require('@/static/icon/share_icon_02.png'),
|
||||
name: 'download'
|
||||
})
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
cancelText() {
|
||||
return t("uni-popup.cancel")
|
||||
@@ -142,7 +131,8 @@
|
||||
}
|
||||
|
||||
.uni-share-content-item {
|
||||
width: 33.33%;
|
||||
// width: ;
|
||||
flex: 1;
|
||||
/* #ifndef APP-NVUE */
|
||||
display: flex;
|
||||
/* #endif */
|
||||
|
||||
Reference in New Issue
Block a user