页面色彩
-
+
- aaa
+
+ 按钮及提示文字颜色
+
+
+
+
+
+
+
+ 分页导航栏选中色
+
+
+
+
+
+
+
+ logo处导航栏背景色
+
+
+
+
+
+
- bbb
+
+
+
+
+
+
+
+
@@ -58,24 +93,60 @@ 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
-
- },
- data(){
- return {
+ name: '',
+ props: [],
+ components: {
+ GuipButton,
+ PromptText,
+ GuipFormItem,
+ HoverButton,
+ DevicePreview,
+ LogoBackColor,
+ GuipInput
+ },
+ options: { styleIsolation: "shared" },
+ data() {
+ return {
+ themeColor:'#3B82F6',
+ navColor:'#3B82F6',
+ tabColor:'#70A6FF',
+ saveBtnStyleObj:{}
+ }
+ },
+ 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;
}