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

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

View File

@@ -14,7 +14,7 @@
/> />
</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>
@@ -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 {
@@ -119,7 +119,7 @@ export default {
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