From 47236b4ed4fc535d7ebe53dda5f4de3b2b254f05 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Tue, 7 Nov 2023 11:37:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 8 ++++---- components/user-base/user-base.vue | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/App.vue b/App.vue index 005be17a..8eef3e35 100644 --- a/App.vue +++ b/App.vue @@ -26,8 +26,8 @@ currency_symbol: '¥', // 默认主题 主题颜色 - // 黄色 yellow #f6c133 // 红色 red #ff0036 + // 黄色 yellow #f6c133 // 黑色 black #333333 // 绿色 green #20a53a // 橙色 orange #fe6f04 @@ -1927,8 +1927,8 @@ get_theme_color(is_light = false) { let color_obj = { // 主色 - yellow: '#f6c133', // 黄色 red: '#ff0036', // 红色 + yellow: '#f6c133', // 黄色 black: '#333333', // 黑色 blue: '#1677ff', // 蓝色 green: '#20a53a', // 绿色 @@ -1937,8 +1937,8 @@ purple: '#623cec', // 紫色 // 浅主色 - yellow_light: '#ffebd2', // 黄色 red_light: '#ffdbe2', // 红色 + yellow_light: '#ffebd2', // 黄色 black_light: '#dcdcdc', // 黑色 blue_light: '#d1e4ff', // 蓝色 green_light: '#cce8d2', // 绿色 @@ -1961,8 +1961,8 @@ // 获取主题 get_theme_value() { // 主题类型 主题颜色 - // 黄色 yellow #f6c133 // 红色 red #ff0036 + // 黄色 yellow #f6c133 // 黑色 black #333333 // 绿色 green #20a53a // 橙色 orange #fe6f04 diff --git a/components/user-base/user-base.vue b/components/user-base/user-base.vue index 349759e9..e465216b 100644 --- a/components/user-base/user-base.vue +++ b/components/user-base/user-base.vue @@ -40,6 +40,7 @@ export default { data() { return { + theme_view: app.globalData.get_theme_value_view(), application_client_type: app.globalData.application_client_type(), default_avatar: app.globalData.data.default_user_head_src, cache_key: app.globalData.data.cache_user_base_personal_interval_time_key,