mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 07:12:53 +08:00
【贺州学平险海报产品】 分享限制
This commit is contained in:
@@ -46,10 +46,12 @@ export default {
|
||||
base64: '', // 分享的base64
|
||||
imgPath: '',
|
||||
isShow: false,
|
||||
isShareLimit:'',
|
||||
shareLimitDesc:'',
|
||||
showBut:false,
|
||||
showDialog: false,
|
||||
schoolName:"",
|
||||
className:"",
|
||||
className:""
|
||||
}
|
||||
},
|
||||
async created() {
|
||||
@@ -64,6 +66,9 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
shareFriends() {
|
||||
if(this.isShareLimit=='1'){
|
||||
this.$toast(this.shareLimitDesc)
|
||||
}else{
|
||||
// eslint-disable-next-line no-undef
|
||||
EWebBridge.webCallAppInJs('bridge', {
|
||||
flag: 'share',
|
||||
@@ -72,6 +77,7 @@ export default {
|
||||
img: this.imgUrl
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
async getPosterDetail() {
|
||||
return new Promise((resolve, reject) => {
|
||||
@@ -89,6 +95,8 @@ export default {
|
||||
this.$toast.clear()
|
||||
if (res.result == 0) {
|
||||
this.posterInfo = res.infoDTOList[0]
|
||||
this.isShareLimit =res.isShareLimit
|
||||
this.shareLimitDesc=res.shareLimitDesc
|
||||
if(res.infoDTOList[0].isLearn=='0'){
|
||||
this.showBut=true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user