From 596faa7ce74b4bf78b14dd9c827063fb09d08bbf Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Tue, 7 Jan 2025 23:52:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 63 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index be0674a..da286c0 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -219,6 +219,22 @@ + +
+ +
+
@@ -630,6 +646,7 @@ line: "", helpList: [], currentCoinIdx: 0, // 当前展示的币种 + visible: false }; }, methods: { @@ -852,11 +869,15 @@ this.helpList = res.splice(0, 4); }); }, + close1() { + this.visible = false; + } }, created() { this.indexList(); }, mounted() { + this.visible = true this.article(); this.getHelpList(); if (this.isLogin) { @@ -2394,4 +2415,46 @@ bottom: 150px; } } + + .overlay { + display: flex; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + width: 100%; + height: 100%; + background-color: rgba(255, 255, 255, 0.5); /* 透明白色背景 */ + justify-content: center; + align-items: center; + z-index: 1000; /* 确保在最上层 */ + } + + .modal_show { + // position: absolute; + background-color: white; + padding: 20px; + border-radius: 8px; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); + // width: 400px; /* 弹出框宽度 */ + width: 50%; + color: #000; + } + + .modal-title { + font-size: 18px; + font-weight: bold; + } + + .modal-content11 { + margin: 10px 0; + } + + .close-button { + height: 40px; + text-align: right; + font-size: 30px; + cursor: pointer; + } \ No newline at end of file