Browse Source

主题配置样式调整

tongshangming 1 year ago
parent
commit
ed1dce7588

+ 6 - 2
src/components/core/GlobalSetting.vue

@@ -46,7 +46,7 @@ const themeNav = computed(() => themeStore.themeNav)
 </script>
 
 <template>
-  <el-drawer v-model="visible" title="主题配置" size="350px">
+  <el-drawer class="setting-drawer" v-model="visible" title="主题配置" size="350px">
     <el-divider>系统主题</el-divider>
     <el-space wrap>
       <div
@@ -107,4 +107,8 @@ const themeNav = computed(() => themeStore.themeNav)
   </el-drawer>
 </template>
 
-<style lang="scss" scoped></style>
+<style lang="scss">
+.setting-drawer .el-drawer__header {
+  margin-bottom: 0;
+}
+</style>

+ 2 - 1
src/components/workflow/nodeWrap.vue

@@ -263,7 +263,8 @@ const arrTransfer = (index: any, type = 1) => {
 }
 </script>
 <style lang="scss">
-@import '../css/workflow.css';
+@import './css/workflow.css';
+
 .error_tip {
   position: absolute;
   top: 0px;

+ 16 - 2
src/views/system/Configure.vue

@@ -135,7 +135,14 @@ const handleSaveEmail = () => {
         <el-card class="box-card">
           <div class="message-container">
             <div class="title">短信配置</div>
-            <pro-form :formConfig="formConfig" :formData="formData" ref="proFormRef"> </pro-form>
+            <pro-form
+              :formConfig="formConfig"
+              :formData="formData"
+              ref="proFormRef"
+              :create="() => {}"
+              :update="() => {}"
+            >
+            </pro-form>
             <div class="btn">
               <el-button type="primary" @click="handleSaveMessage">保存</el-button>
             </div>
@@ -146,7 +153,14 @@ const handleSaveEmail = () => {
         <el-card class="box-card">
           <div class="mail-container">
             <div class="title">发件人账户</div>
-            <pro-form :formConfig="formEmailConfig" :formData="formEmailData" ref="proFormEmailRef"> </pro-form>
+            <pro-form
+              :formConfig="formEmailConfig"
+              :formData="formEmailData"
+              ref="proFormEmailRef"
+              :create="() => {}"
+              :update="() => {}"
+            >
+            </pro-form>
             <div class="btn">
               <el-button type="primary" @click="handleSaveEmail">保存</el-button>
             </div>