提交 6320d2c3 编写于 作者: binbin.yu's avatar binbin.yu

Merge branch 'feature/ybb/0816' into 'release'

绑定采样码按钮逻辑修改

See merge request !266
......@@ -187,13 +187,16 @@
</div>
<div
class="detail-btn btn-empty reAppoint"
:class="{ 'detail-btn-all': bindFlag == 0}"
@click="reAppoint"
>
重新预约
</div>
<div
v-if="bindFlag>0"
class="detail-btn"
@click="bindingCode"
>
绑定{{
insuranceInfo && insuranceInfo.detectionKind == 0
......@@ -262,6 +265,7 @@ export default {
verificationCode: '',
intervalId: null,
status: '',
bindFlag:1, // 是否显示绑定条形码的按钮
};
},
computed: {
......@@ -334,12 +338,14 @@ export default {
sampleCode,
externalOrderNo,
projectEquityNo,
bindFlag,
} = res.data;
this.detailInfo = res.data;
this.expireFlag = expireFlag || '';
this.isUnderLine = res.data.detectionCategory == 2;
this.qrcodeUrl = qrCodeUrl;
this.verificationCode = verificationCode;
this.bindFlag = bindFlag; // 是否展示绑定条形码功能
if (window._miniprogram) {
if (status != '0202') {
let url;
......@@ -910,6 +916,7 @@ export default {
left: 16px;
right: 16px;
}
}
.insurance-detection {
background: #ffffff;
......@@ -995,5 +1002,17 @@ export default {
border: 1px solid #c0c0c0;
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>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册