提交 f2035565 编写于 作者: 张磊's avatar 张磊

cookie edition

上级 047153ae
...@@ -188,13 +188,16 @@ ...@@ -188,13 +188,16 @@
<div <div
v-if="!canReappoint" v-if="!canReappoint"
class="detail-btn btn-empty reAppoint" class="detail-btn btn-empty reAppoint"
:class="{ 'detail-btn-all': bindFlag == 0}"
@click="reAppoint" @click="reAppoint"
> >
重新预约 重新预约
</div> </div>
<div <div
v-if="bindFlag>0"
class="detail-btn" class="detail-btn"
@click="bindingCode" @click="bindingCode"
> >
绑定{{ 绑定{{
insuranceInfo && insuranceInfo.detectionKind == 0 insuranceInfo && insuranceInfo.detectionKind == 0
...@@ -264,7 +267,8 @@ export default { ...@@ -264,7 +267,8 @@ export default {
verificationCode: '', verificationCode: '',
intervalId: null, intervalId: null,
status: '', status: '',
allowChangeTimes: 0 allowChangeTimes: 0,
bindFlag:1, // 是否显示绑定条形码的按钮
}; };
}, },
computed: { computed: {
...@@ -344,6 +348,7 @@ export default { ...@@ -344,6 +348,7 @@ export default {
externalOrderNo, externalOrderNo,
projectEquityNo, projectEquityNo,
allowChangeTimes, allowChangeTimes,
bindFlag,
} = res.data; } = res.data;
this.detailInfo = res.data; this.detailInfo = res.data;
this.expireFlag = expireFlag || ''; this.expireFlag = expireFlag || '';
...@@ -351,6 +356,7 @@ export default { ...@@ -351,6 +356,7 @@ export default {
this.qrcodeUrl = qrCodeUrl; this.qrcodeUrl = qrCodeUrl;
this.verificationCode = verificationCode; this.verificationCode = verificationCode;
this.allowChangeTimes = allowChangeTimes; this.allowChangeTimes = allowChangeTimes;
this.bindFlag = bindFlag; // 是否展示绑定条形码功能
if (window._miniprogram) { if (window._miniprogram) {
if (status != '0202') { if (status != '0202') {
let url; let url;
...@@ -1011,5 +1017,17 @@ export default { ...@@ -1011,5 +1017,17 @@ export default {
border: 1px solid #c0c0c0; border: 1px solid #c0c0c0;
color: #212121; color: #212121;
} }
.detail-btn-all{
width: 500px;
height: 40px;
background: #00bda5;
border-radius: 25px;
margin: 0 auto;
font-size: 16px;
font-weight: 800;
color: #ffffff;
text-align: center;
line-height: 40px;
}
} }
</style> </style>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册