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

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>
<div class="bottom-area bottom-btn"> <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="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="shareItem" :disabled="shareInfo.shareFlag" v-if="shareInfo.isShare == '2'">分享</van-button>
</div> </div>
</div> </div>
</template> </template>
@@ -108,7 +108,7 @@ export default {
this.docuList = res.productShowInfo.documents this.docuList = res.productShowInfo.documents
this.productInfo = res.productShowInfo.itemProductDTOS[0] this.productInfo = res.productShowInfo.itemProductDTOS[0]
this.shareInfo.isShare = res.productShowInfo.itemProductBaseInfoDTO.itemType 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.productCode = res.productShowInfo.itemProductDTOS[0].productCode
this.results = res.productShowInfo.itemProductDTOS[0] this.results = res.productShowInfo.itemProductDTOS[0]
} else { } else {
@@ -118,8 +118,8 @@ export default {
.catch(err => { .catch(err => {
console.log('errerr', err) console.log('errerr', err)
}) })
if(this.shareInfo.isShare == '2'){ if (this.shareInfo.isShare == '2') {
const resAgent = await getAgentInfo({}); const resAgent = await getAgentInfo({})
if (resAgent.result == 0) { if (resAgent.result == 0) {
this.shareInfo.shareURL = this.shareInfo.shareURL this.shareInfo.shareURL = this.shareInfo.shareURL
this.shareInfo.shareFlag = false this.shareInfo.shareFlag = false
@@ -131,7 +131,7 @@ export default {
EWebBridge.webCallAppInJs('bridge', { EWebBridge.webCallAppInJs('bridge', {
flag: 'share', flag: 'share',
extra: { extra: {
title: '分享给您一个产品《'+this.productInfo.productName+'》', title: '分享给您一个产品《' + this.productInfo.productName + '》',
content: '快来投保吧!', content: '快来投保吧!',
url: this.shareInfo.shareURL, url: this.shareInfo.shareURL,
img: this.$assetsUrl + 'images/logo.png' img: this.$assetsUrl + 'images/logo.png'