diff --git a/src/views/ebiz/cardList/productDetails.vue b/src/views/ebiz/cardList/productDetails.vue index 21a90f628..da5137ead 100644 --- a/src/views/ebiz/cardList/productDetails.vue +++ b/src/views/ebiz/cardList/productDetails.vue @@ -14,8 +14,8 @@ />
- 下一步 - 分享 + + 分享
@@ -108,7 +108,7 @@ export default { this.docuList = res.productShowInfo.documents this.productInfo = res.productShowInfo.itemProductDTOS[0] this.shareInfo.isShare = res.productShowInfo.itemProductBaseInfoDTO.itemType - this.shareInfo.shareURL = res.productShowInfo.itemProductBaseInfoDTO.itemDesc + ''; + this.shareInfo.shareURL = res.productShowInfo.itemProductBaseInfoDTO.itemDesc + '' this.productCode = res.productShowInfo.itemProductDTOS[0].productCode this.results = res.productShowInfo.itemProductDTOS[0] } else { @@ -118,8 +118,8 @@ export default { .catch(err => { console.log('errerr', err) }) - if(this.shareInfo.isShare == '2'){ - const resAgent = await getAgentInfo({}); + if (this.shareInfo.isShare == '2') { + const resAgent = await getAgentInfo({}) if (resAgent.result == 0) { this.shareInfo.shareURL = this.shareInfo.shareURL this.shareInfo.shareFlag = false @@ -131,7 +131,7 @@ export default { EWebBridge.webCallAppInJs('bridge', { flag: 'share', extra: { - title: '分享给您一个产品《'+this.productInfo.productName+'》', + title: '分享给您一个产品《' + this.productInfo.productName + '》', content: '快来投保吧!', url: this.shareInfo.shareURL, img: this.$assetsUrl + 'images/logo.png'