From 65eae3422dbc19665a722bd84b118f41f03073a6 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Wed, 14 Jun 2023 12:28:09 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E8=B0=83=E6=95=B4=E5=81=8F?= =?UTF-8?q?=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/userRecord/tur-world-sub.vue | 21 ++++++++++++++------- src/pages/User/Abyss.vue | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/components/userRecord/tur-world-sub.vue b/src/components/userRecord/tur-world-sub.vue index 6f952b77..0b091071 100644 --- a/src/components/userRecord/tur-world-sub.vue +++ b/src/components/userRecord/tur-world-sub.vue @@ -16,17 +16,20 @@ {{ data.name }}
- 探索度:{{ data.exploration / 10 }}% + 探索度: + {{ data.exploration / 10 }} + %
- 声望等级: {{ data.level }}级 + 声望等级: + {{ data.level }} +
offer - - {{ data.offerings[0].name }}等级: - {{ data.offerings[0].level }}级 - + {{ data.offerings[0].name }}等级: + {{ data.offerings[0].level }} +
@@ -50,7 +53,7 @@ onMounted(async () => { await listenOnTheme(); }); -async function listenOnTheme () { +async function listenOnTheme() { await event.listen("readTheme", (e) => { const theme = e.payload as string; if (theme === "dark") { @@ -108,4 +111,8 @@ async function listenOnTheme () { height: 20px; margin-right: 5px; } + +.tur-ws-sub :nth-last-child(2) { + text-shadow: #fec90b 0 0 5px; +} diff --git a/src/pages/User/Abyss.vue b/src/pages/User/Abyss.vue index 6b973269..810a6445 100644 --- a/src/pages/User/Abyss.vue +++ b/src/pages/User/Abyss.vue @@ -155,7 +155,7 @@ async function shareAbyss (): Promise { useCORS: true, canvas, // 因为有放大,所以需要计算偏移量 - x: -25, + x: -20, y: -25, }; const canvasData = await html2canvas(abyssRef.value, options);