Sfoglia il codice sorgente

feat: 商户端UI主题色调整

周玉环 3 giorni fa
parent
commit
91f79c30f1

+ 1 - 1
xinkeaboard-seller/src/assets/css/goods.less

@@ -13,7 +13,7 @@
 @theme-light3Color: #90EE90;
 @theme-light4Color: #F0FFF0;
 //@theme-light2Color的rgb
-@theme-light4RgbColor: 240,255,240;
+@theme-light4RgbColor: 3, 110, 184, 0.1;
 //@theme-light4Color: #000;
 @theme-commonColor: #F5F5F5;
 //灰色的rgb

+ 1 - 1
xinkeaboard-seller/src/components/GlobalHeader/index.less

@@ -6,7 +6,7 @@
 .header {
   height: 50px;
   padding: 0;
-  background: linear-gradient(90deg, @theme-headerColor 0%, @theme-color 100%);
+  background: @theme-linear;
   box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
   position: relative;
 

+ 1 - 1
xinkeaboard-seller/src/components/SldTableEdit/SldTableEdit.js

@@ -532,7 +532,7 @@ export default class SldTableEdit extends Component {
       <Scrollbars
         autoHeight
         autoHeightMin={50}
-        autoHeightMax={scroll_h != undefined ? document.body.clientHeight - scroll_h : document.body.clientHeight - 170}>
+        autoHeightMax={scroll_h != undefined ? document.body.clientHeight - scroll_h : document.body.clientHeight - 200}>
         <Form
           layout="horizontal"
         >

+ 3 - 3
xinkeaboard-seller/src/defaultSettings.js

@@ -1,10 +1,10 @@
 module.exports = {
   navTheme: "dark",
-  primaryColor: "#00985E",
+  primaryColor: "#036EB8",
   primaryLightColor: "#98FB98",
-  primary4LightColor: "#F0FFF0",
+  primary4LightColor: "#036EB81A",
   primaryCommonColor: "#F5F5F5",
-  primaryRgbaColor: "0,238,118",
+  primaryRgbaColor: "3,110,184",
   primaryLightRgbaColor: "0,250,154",
   layout: "sidemenu",
   contentWidth: "Fluid",

+ 1 - 1
xinkeaboard-seller/src/global.less

@@ -813,7 +813,7 @@ body {
     color: #fff !important;
     padding: 12px 24px !important;
     border-radius: 4px 4px 0 0 !important;
-    background: @theme-color !important;
+    background: @theme-linear !important;
   }
 
   .ant-modal-title {

+ 7 - 6
xinkeaboard-seller/src/themeColor.less

@@ -1,18 +1,19 @@
-@theme-color: #00985E;
+@theme-color: #036EB8;
+@theme-linear: linear-gradient( 90deg, #036EB8 0%, #4AA498 100%);
 //@theme-color的rgb
 @theme-rgbColor: 0, 152, 94;
 //#00FA9A的rgb色
 @theme-light-rgba-Color: 0,250,154;
-@theme-lightColor: #00FF00;
-@theme-light2Color: #98FB98;
+@theme-lightColor: #036EB880;
+@theme-light2Color: #036EB84D;
 //@theme-light2Color的rgb
 @theme-light2RgbColor: 152,251,152;
 //card的rgb颜色
 @theme-cardColor: 244,255,250;
-@theme-light3Color: #90EE90;
-@theme-light4Color: #F0FFF0;
+@theme-light3Color: #036EB833;
+@theme-light4Color: #036EB81A;
 //@theme-light2Color的rgb
-@theme-light4RgbColor: 240,255,240;
+@theme-light4RgbColor: 3, 110, 184, 0.1;
 //@theme-light4Color: #000;
 @theme-commonColor: #F5F5F5;
 //灰色的rgb