From 202b20f79f26cb0faba2b5421a178e65b1d3dfbf Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Mon, 31 Mar 2025 18:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E6=80=A7=E5=8C=96=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8F=8A=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/assets/site/form_qua_ic.svg | 1 + src/assets/site/kefuTem.png | Bin 0 -> 52826 bytes src/components/GuipSwitch.vue | 52 +++-- src/components/SetLeftMenu.vue | 139 ++++++++++--- src/style/theme/common.scss | 26 ++- src/utils/common.js | 9 + src/views/ConfigureServicePrices.vue | 1 + src/views/Register.vue | 2 +- src/views/SiteBaseSetting.vue | 31 +-- src/views/SitePersonalization.vue | 376 ++++++++++++++++++++++++++++++++--- src/views/SiteSetting.vue | 19 +- 12 files changed, 547 insertions(+), 111 deletions(-) create mode 100644 src/assets/site/form_qua_ic.svg create mode 100644 src/assets/site/kefuTem.png create mode 100644 src/utils/common.js diff --git a/src/App.vue b/src/App.vue index 17c3dbd..fbc3784 100755 --- a/src/App.vue +++ b/src/App.vue @@ -15,7 +15,7 @@ - + - - - - - - + +
+ {{ internalValue ? activeText : inactiveText + }} + + + + + + +
+
@@ -67,13 +64,13 @@ export default { // }, // }, watch: { - value(newVal) { - this.internalValue = newVal; - }, - internalValue(newVal) { - this.$emit('input', newVal); + value(newVal) { + this.internalValue = newVal; + }, + internalValue(newVal) { + this.$emit('input', newVal); + }, }, - }, methods: { // 处理 switch 状态变化 async handleChange(value) { @@ -96,17 +93,18 @@ export default { }; \ No newline at end of file diff --git a/src/views/SiteSetting.vue b/src/views/SiteSetting.vue index 310c2d2..fdec73e 100644 --- a/src/views/SiteSetting.vue +++ b/src/views/SiteSetting.vue @@ -1,9 +1,9 @@