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