页面色彩
-
+
- aaa
+
+ 按钮及提示文字颜色
+
+
+
+
+
+
+
+ 分页导航栏选中色
+
+
+
+
+
+
+
+ logo处导航栏背景色
+
+
+
+
+
+
- bbb
+
+
+
+
+
+
+
+
@@ -58,30 +93,66 @@ import HoverButton from "@/components/HoverButton.vue";
import GuipFormItem from "@/components/GuipFormItem.vue";
import PromptText from "@/components/PromptText.vue";
import GuipButton from "@/components/GuipButton.vue";
+import DevicePreview from "@/components/PreviewTab.vue";
+import LogoBackColor from "@/components/preview/logoBack_color.vue";
+import GuipInput from '@/components/GuipInput.vue';
export default {
- name: '',
- props:[],
- components: {
- GuipButton, PromptText, GuipFormItem, HoverButton
+ name: '',
+ props: [],
+ components: {
+ GuipButton,
+ PromptText,
+ GuipFormItem,
+ HoverButton,
+ DevicePreview,
+ LogoBackColor,
+ GuipInput
- },
- data(){
- return {
- //添加按钮样式
- saveBtnStyleObj: {
- width: '144px',
- height: '46px',
- borderRadius: '4px',
- background: '#006AFF',
+ },
+ options: { styleIsolation: "shared" },
+ data() {
+ return {
+ themeColor:'#3B82F6',
+ navColor:'#3B82F6',
+ tabColor:'#70A6FF',
+ //添加按钮样式
+ saveBtnStyleObj: {
+ width: '144px',
+ height: '46px',
+ borderRadius: '4px',
+ background: '#006AFF',
+ },
+ }
+ },
+ methods: {
+ changeThemeColor(val){
+ if (!val.trim().startsWith("#")){
+ this.themeColor = '#'+ val.trim()
+ console.log(this.themeColor,'=====xiugai');
+ }
+ },
+ changetabColor(val){
+ if (!val.trim().startsWith("#")){
+ this.tabColor = '#'+ val.trim()
+ }
},
+ changeNavColor(val){
+ if (!val.trim().startsWith("#")){
+ this.navColor = '#'+ val.trim()
+ }
+ }
}
- },
- methods:{
-
- }
}
\ No newline at end of file
diff --git a/src/style/theme/common.scss b/src/style/theme/common.scss
index 5ac03a9..959fb4b 100644
--- a/src/style/theme/common.scss
+++ b/src/style/theme/common.scss
@@ -236,7 +236,7 @@ body {
.flex-common{
.flex-left,
.flex-right {
- min-width: 440px;
+ // min-width: 440px;
max-width: 590px;
flex: 1;
}
@@ -256,6 +256,22 @@ body {
/* text/text_4 */
color: #8A9099;
}
+// 颜色选择器
+.el-color-picker__trigger{
+ padding: 0;
+ border: none;
+ // border: 1px solid #DFE2E6;
+ .el-color-picker__color{
+ border-color: #DFE2E6;
+ border-radius: 4px;
+ }
+ .el-color-picker__icon{
+ display: none !important;
+ }
+ .el-color-picker__color-inner{
+ border-radius: 4px;
+ }
+}
.borderNone{
border: none !important;
}
@@ -288,7 +304,7 @@ body {
.flex-left,
.flex-right {
- min-width: 460px;
+ // min-width: 460px;
max-width: 590px;
flex: 1;
}
From 29e672b5d9b9c64c229352b85f71c9bcaece643a Mon Sep 17 00:00:00 2001
From: zq <136432190602163.com>
Date: Fri, 4 Jul 2025 15:58:51 +0800
Subject: [PATCH 3/4] =?UTF-8?q?=E5=AE=9E=E6=97=B6=E9=A2=84=E8=A7=88-?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=89=B2=E5=BD=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/site/serviceSetting/menuColorSet.vue | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/components/site/serviceSetting/menuColorSet.vue b/src/components/site/serviceSetting/menuColorSet.vue
index 0aa3f3a..5c6f110 100644
--- a/src/components/site/serviceSetting/menuColorSet.vue
+++ b/src/components/site/serviceSetting/menuColorSet.vue
@@ -116,13 +116,7 @@ export default {
themeColor:'#3B82F6',
navColor:'#3B82F6',
tabColor:'#70A6FF',
- //添加按钮样式
- saveBtnStyleObj: {
- width: '144px',
- height: '46px',
- borderRadius: '4px',
- background: '#006AFF',
- },
+ saveBtnStyleObj:{}
}
},
methods: {
@@ -146,7 +140,7 @@ export default {
}