From a0b9e3ac3b63489892e1c3dcb0b84e5559f14ab5 Mon Sep 17 00:00:00 2001 From: he wei <858544502@qq.com> Date: 星期三, 01 十一月 2023 11:26:30 +0800 Subject: [PATCH] U 产品中心ecr记录按钮修改 --- src/pages/resourceManage/product/list.vue | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/pages/resourceManage/product/list.vue b/src/pages/resourceManage/product/list.vue index 3d4be88..b56a8a9 100644 --- a/src/pages/resourceManage/product/list.vue +++ b/src/pages/resourceManage/product/list.vue @@ -100,12 +100,19 @@ @click="showFeedback(record)" >鍙嶉</a-button > - <a-button - type="primary" - v-if="record.ecrList.length > 0" - @click="showEcrlist(record)" - >ecr璁板綍</a-button + <a-badge + :count="record.ecrList.length" + showZero + :number-style="{ + backgroundColor: record.ecrList.length > 0 ? '#090' : '#900', + }" > + <a-button + type="primary" + @click="showEcrlist(record)" + >ecr璁板綍</a-button + > + </a-badge> </a-space> <a>鏇村</a> </a-popover> -- Gitblit v1.9.1