From 81e5797c73159672223ae25c4cec5624821bee7d Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Tue, 19 Sep 2023 11:50:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20popover=E8=8F=9C=E5=8D=95=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E9=97=AE=E9=A2=98=EF=BC=8C=E5=8F=8ANuclide=20Library?= =?UTF-8?q?=E5=80=BC=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/spectrumAnalysis/gamma-analysis.vue | 47 +------------------ src/views/spectrumAnalysis/index.vue | 44 +++++++++++++++++ 2 files changed, 46 insertions(+), 45 deletions(-) diff --git a/src/views/spectrumAnalysis/gamma-analysis.vue b/src/views/spectrumAnalysis/gamma-analysis.vue index 75c46e7..ee7ec4a 100644 --- a/src/views/spectrumAnalysis/gamma-analysis.vue +++ b/src/views/spectrumAnalysis/gamma-analysis.vue @@ -741,8 +741,8 @@ export default { fileName }) if (success) { - const { identify } = result - this.nuclideLibraryList = identify + const { possible } = result + this.nuclideLibraryList = possible } else { this.$message.error(message) } @@ -1274,42 +1274,6 @@ export default { background-color: #153e44; } } - -::v-deep { - .pop-over-with-icon { - height: 100%; - display: flex; - justify-content: space-between; - align-items: center; - border: 1px solid #0a544e; - height: 100%; - padding: 0 11px; - cursor: pointer; - - .text { - font-family: MicrosoftYaHei; - color: #ade6ee; - letter-spacing: 1px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - user-select: none; - } - - img { - margin-left: 5px; - transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); - flex-shrink: 0; - user-select: none; - } - - &.ant-popover-open { - img { - transform: rotate(180deg); - } - } - } -} diff --git a/src/views/spectrumAnalysis/index.vue b/src/views/spectrumAnalysis/index.vue index 094c9c3..88e350d 100644 --- a/src/views/spectrumAnalysis/index.vue +++ b/src/views/spectrumAnalysis/index.vue @@ -1064,6 +1064,43 @@ export default { // 主体部分结束 } +