Browse Source

主题色

chenrui 4 years ago
parent
commit
7e9f8732ff
5 changed files with 8 additions and 8 deletions
  1. 1 1
      .env
  2. 1 1
      .env.development
  3. 1 1
      .env.preview
  4. 1 1
      src/config/defaultSettings.js
  5. 4 4
      src/views/user/Register.vue

+ 1 - 1
.env

@@ -4,6 +4,6 @@ VUE_APP_API_BASE_URL=https://it.zyucgj.com/zyit/
 VUE_APP_VERSION=V1.0.1
 VUE_APP_PRO_NAME=箭冠汽配IT系统
 VUE_APP_LOGO=@/assets/logo.png
-VUE_APP_THEME_COLOR=#ff0000
+VUE_APP_THEME_COLOR=#ed1c24
 VUE_APP_COM_NAME=广州市箭冠网络科技有限公司
 VUE_APP_ICP=粤ICP备10216726号

+ 1 - 1
.env.development

@@ -4,6 +4,6 @@ VUE_APP_API_BASE_URL=/api
 VUE_APP_VERSION=V1.0.1
 VUE_APP_PRO_NAME=箭冠汽配IT系统-dev
 VUE_APP_LOGO=@/assets/logo.png
-VUE_APP_THEME_COLOR=#ff0000
+VUE_APP_THEME_COLOR=#ed1c24
 VUE_APP_COM_NAME=广州市箭冠网络科技有限公司
 VUE_APP_ICP=粤ICP备10216726号

+ 1 - 1
.env.preview

@@ -4,6 +4,6 @@ VUE_APP_API_BASE_URL=http://it.test.zyucgj.com/zyit
 VUE_APP_VERSION=V1.0.1
 VUE_APP_PRO_NAME=箭冠汽配IT系统-pre
 VUE_APP_LOGO=@/assets/logo.png
-VUE_APP_THEME_COLOR=#ff0000
+VUE_APP_THEME_COLOR=#ed1c24
 VUE_APP_COM_NAME=广州市箭冠网络科技有限公司
 VUE_APP_ICP=粤ICP备10216726号

+ 1 - 1
src/config/defaultSettings.js

@@ -14,7 +14,7 @@
  */
 
 export default {
-  primaryColor: '#ff0000', // primary color of ant design
+  primaryColor: '#ed1c24', // primary color of ant design
   navTheme: 'dark', // theme for nav menu
   layout: 'sidemenu', // nav menu position: sidemenu or topmenu
   contentWidth: 'Fluid', // layout of content: Fluid or Fixed, only works when layout is topmenu

+ 4 - 4
src/views/user/Register.vue

@@ -115,8 +115,8 @@ const levelClass = {
   3: 'success'
 }
 const levelColor = {
-  0: '#ff0000',
-  1: '#ff0000',
+  0: '#ed1c24',
+  1: '#ed1c24',
   2: '#ff7e05',
   3: '#52c41a'
 }
@@ -135,7 +135,7 @@ export default {
         passwordLevel: 0,
         passwordLevelChecked: false,
         percent: 10,
-        progressColor: '#FF0000'
+        progressColor: '#ed1c24'
       },
       registerBtn: false
     }
@@ -277,7 +277,7 @@ export default {
   .user-register {
 
     &.error {
-      color: #ff0000;
+      color: #ed1c24;
     }
 
     &.warning {