短期综合交通工具意外伤害险隐藏下一步投保按钮

This commit is contained in:
mengxiaolong
2021-01-05 11:16:32 +08:00
parent 45c8e880d2
commit ebca8742a5

View File

@@ -14,8 +14,8 @@
/>
</div>
<div class="bottom-area bottom-btn">
<van-button type="danger" size="large" @click="gotoInformation" v-if="shareInfo.isShare != '2'">下一步</van-button>
<van-button type="danger" size="large" @click="shareItem" :disabled="shareInfo.shareFlag" v-if="shareInfo.isShare == '2'">分享</van-button>
<!-- <van-button type="danger" size="large" @click="gotoInformation" v-if="shareInfo.isShare != '2'">下一步</van-button> -->
<van-button type="danger" size="large" @click="shareItem" :disabled="shareInfo.shareFlag" v-if="shareInfo.isShare == '2'">分享</van-button>
</div>
</div>
</template>
@@ -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'