diff --git a/server/src/modules/survey/template/surveyTemplate/templateBase.json b/server/src/modules/survey/template/surveyTemplate/templateBase.json index 0bfc6543..0a2bc4c4 100644 --- a/server/src/modules/survey/template/surveyTemplate/templateBase.json +++ b/server/src/modules/survey/template/surveyTemplate/templateBase.json @@ -50,7 +50,7 @@ "skinColor": "#4a4c5b", "inputBgColor": "#ffffff", "backgroundConf": { - "color": "#ffffff", + "color": "#b8dbff", "type": "color", "image": "" }, diff --git a/web/public/imgs/icons/upload.png b/web/public/imgs/icons/upload.png deleted file mode 100644 index 950531ca..00000000 Binary files a/web/public/imgs/icons/upload.png and /dev/null differ diff --git a/web/src/common/utils/applySkinConfig.ts b/web/src/common/utils/applySkinConfig.ts deleted file mode 100644 index 1d489d17..00000000 --- a/web/src/common/utils/applySkinConfig.ts +++ /dev/null @@ -1,21 +0,0 @@ -export default function (skinConfig: any) { - const root = document.documentElement - const { themeConf, backgroundConf, contentConf } = skinConfig - - if (themeConf?.color) { - // 设置主题颜色 - root.style.setProperty('--primary-color', themeConf?.color) - } - - // 设置背景 - const { color, type, image } = backgroundConf || {} - root.style.setProperty( - '--primary-background', - type === 'image' ? `url(${image}) no-repeat center / cover` : color - ) - - if (contentConf?.opacity.toString()) { - // 设置全局透明度 - root.style.setProperty('--opacity', `${contentConf.opacity / 100}`) - } -} diff --git a/web/src/management/components/CooperModify/MemberList.vue b/web/src/management/components/CooperModify/MemberList.vue index 2a5afa3c..55f4290b 100644 --- a/web/src/management/components/CooperModify/MemberList.vue +++ b/web/src/management/components/CooperModify/MemberList.vue @@ -16,7 +16,7 @@