From 22aea89f761140391e1812b9c54a9fbcbc2a8d5f Mon Sep 17 00:00:00 2001 From: BTMuli Date: Tue, 20 May 2025 16:25:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E4=BD=BF=E7=94=A8=E9=95=BF?= =?UTF-8?q?=E5=8D=81=E5=85=AD=E8=BF=9B=E5=88=B6=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .stylelintrc.yml | 1 + src/components/func/snackbar.vue | 2 +- src/components/userAvatarCard/duc-detail-ort.vue | 4 ++-- src/components/viewPost/tp-vote.vue | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.stylelintrc.yml b/.stylelintrc.yml index 987dc7ed..e120b588 100644 --- a/.stylelintrc.yml +++ b/.stylelintrc.yml @@ -12,4 +12,5 @@ rules: property-no-vendor-prefix: - true - ignoreProperties: [backdrop-filter] + color-hex-length: long prettier/prettier: true diff --git a/src/components/func/snackbar.vue b/src/components/func/snackbar.vue index c8a0d76b..5fd48773 100644 --- a/src/components/func/snackbar.vue +++ b/src/components/func/snackbar.vue @@ -116,7 +116,7 @@ defineExpose({ displayBox }); } .func-snackbar-text { - color: #fff; + color: #ffffff; font-size: 16px; font-weight: 500; } diff --git a/src/components/userAvatarCard/duc-detail-ort.vue b/src/components/userAvatarCard/duc-detail-ort.vue index a3036b19..2af8802e 100644 --- a/src/components/userAvatarCard/duc-detail-ort.vue +++ b/src/components/userAvatarCard/duc-detail-ort.vue @@ -46,7 +46,7 @@ const props = defineProps(); border-radius: 50%; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); - background: rgba(0 0 0 /40%); + background: rgb(0 0 0 / 40%); img { width: 100%; @@ -62,6 +62,6 @@ const props = defineProps(); color: var(--tgc-white-1); font-family: var(--font-title); font-size: 16px; - text-shadow: 0 0 5px rgba(0 0 0/40%); + text-shadow: 0 0 5px rgb(0 0 0 / 40%); } diff --git a/src/components/viewPost/tp-vote.vue b/src/components/viewPost/tp-vote.vue index 6eea5a3f..4ad03c5c 100644 --- a/src/components/viewPost/tp-vote.vue +++ b/src/components/viewPost/tp-vote.vue @@ -126,6 +126,6 @@ function getWidth(item: TpVoteData): string { .tp-vote-val { height: 100%; border-radius: 5px; - background: linear-gradient(to right, #6cf 0, #f09199 360px); + background: linear-gradient(to right, #66ccff 0, #f09199 360px); }