From 0bef9b53af7b56833aef100a5cb9cce6078c6424 Mon Sep 17 00:00:00 2001 From: chaos-zhu Date: Sun, 22 Dec 2024 22:42:00 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=89=8D=E7=AB=AF=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=BF=80=E6=B4=BBplus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/top-bar.vue | 6 +- .../views/setting/components/user-plus.vue | 56 ++++++++++++++++++- web/src/views/setting/index.vue | 5 -- 3 files changed, 54 insertions(+), 13 deletions(-) diff --git a/web/src/components/top-bar.vue b/web/src/components/top-bar.vue index 07d3f57..b0defd2 100644 --- a/web/src/components/top-bar.vue +++ b/web/src/components/top-bar.vue @@ -106,10 +106,9 @@ @@ -134,6 +158,32 @@ onMounted(() => { width: 500px; } +.form_footer { + height: 100%; + display: flex; + align-items: center; + justify-content: start; + margin-bottom: 15px; + .discount_wrapper { + height: 100%; + display: flex; + align-items: center; + cursor: pointer; + .discount_badge { + margin: 0 5px 0 10px; + width: 22px; + color: white; + font-size: 12px; + } + .discount_content { + font-size: 12px; + line-height: 1.3; + color: #ff4806; + text-decoration: underline; + } + } +} + .plus_status { margin-bottom: 15px; diff --git a/web/src/views/setting/index.vue b/web/src/views/setting/index.vue index eac1ca3..420832f 100644 --- a/web/src/views/setting/index.vue +++ b/web/src/views/setting/index.vue @@ -24,13 +24,11 @@ import { watch, computed } from 'vue' import { useRoute, useRouter } from 'vue-router' import GlobalNotify from './components/global-notify.vue' -// import EmailList from './components/email-list.vue' import Record from './components/record.vue' import User from './components/user.vue' import NotifyConfig from './components/notify-config.vue' import UserPlus from './components/user-plus.vue' -// tabkey const route = useRoute() const router = useRouter() @@ -47,9 +45,6 @@ watch(() => tabKey.value, (newVal) => { router.push({ query: { tabKey: newVal } }) }) -const handleTabClick = (tab) => { - router.push({ query: { tabKey: tab.props.name } }) -}