소스 검색

按照要求调整界面

Rmengdi 11 달 전
부모
커밋
074a442a51

+ 2 - 2
cirs-ui/.env.development

@@ -1,10 +1,10 @@
 # 页面标题
-VUE_APP_TITLE = 元器件智能推荐系统
+VUE_APP_TITLE = 长稳评分系统
 
 # 开发环境配置
 ENV = 'development'
 
-# 元器件智能推荐系统/开发环境 http://localhost:8080
+# 长稳评分系统/开发环境 http://localhost:8080
 VUE_APP_BASE_API = '/dev-api'
 
 # 路由懒加载

+ 2 - 2
cirs-ui/.env.production

@@ -1,8 +1,8 @@
 # 页面标题
-VUE_APP_TITLE = 元器件智能推荐系统
+VUE_APP_TITLE = 长稳评分系统
 
 # 生产环境配置
 ENV = 'production'
 
-# 元器件智能推荐系统/生产环境
+# 长稳评分系统/生产环境
 VUE_APP_BASE_API = '/prod-api'

+ 2 - 2
cirs-ui/.env.staging

@@ -1,10 +1,10 @@
 # 页面标题
-VUE_APP_TITLE = 元器件智能推荐系统
+VUE_APP_TITLE = 长稳评分系统
 
 NODE_ENV = production
 
 # 测试环境配置
 ENV = 'staging'
 
-# 元器件智能推荐系统/测试环境
+# 长稳评分系统/测试环境
 VUE_APP_BASE_API = '/stage-api'

+ 1 - 1
cirs-ui/package.json

@@ -1,7 +1,7 @@
 {
   "name": "cirs",
   "version": "1.0.0",
-  "description": "元器件智能推荐系统",
+  "description": "长稳评分系统",
   "author": "若依",
   "license": "MIT",
   "scripts": {

+ 1 - 1
cirs-ui/public/index.html

@@ -5,7 +5,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
     <meta name="renderer" content="webkit">
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
-    <link rel="icon" href="<%= BASE_URL %>newlogo.ico">
+    <link rel="icon" href="<%= BASE_URL %>newlogo.svg">
     <title><%= webpackConfig.name %></title>
     <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
 	  <style>

+ 1 - 0
cirs-ui/public/newlogo.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1722148544403" class="icon" viewBox="0 0 1030 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2045" xmlns:xlink="http://www.w3.org/1999/xlink" width="201.171875" height="200"><path d="M130.913791 554.471901v-127.15349H46.254602a42.494301 42.494301 0 1 1 0-84.65919h84.659189V257.670619a127.15349 127.15349 0 0 1 127.482903-127.15349h84.65919V45.528526a42.494301 42.494301 0 1 1 84.659189 0v84.988603h169.647792V45.528526a42.494301 42.494301 0 1 1 84.659189 0v84.988603h84.659189a127.15349 127.15349 0 0 1 127.153491 127.15349v84.659189h84.659189a42.494301 42.494301 0 1 1 0 84.659189h-84.000363v127.153491h84.659189a42.494301 42.494301 0 0 1 0 84.659189h-84.659189v127.153491a127.15349 127.15349 0 0 1-127.153491 127.15349H682.351467v84.659189a42.494301 42.494301 0 1 1-84.659189 0v-84.000363h-169.647792v84.65919a42.494301 42.494301 0 0 1-84.659189 0v-84.65919H258.396694a127.15349 127.15349 0 0 1-127.15349-127.15349v-127.15349H46.254602a42.494301 42.494301 0 0 1 0-84.65919zM258.396694 216.164557a42.823714 42.823714 0 0 0-42.164888 41.506062v508.943375a42.823714 42.823714 0 0 0 42.164888 42.494301h508.613962a42.823714 42.823714 0 0 0 42.164888-42.494301V257.670619a42.823714 42.823714 0 0 0-42.164888-41.506062z m127.153491 127.153491h254.306981a42.823714 42.823714 0 0 1 42.494301 42.494301v254.306981a42.823714 42.823714 0 0 1-42.494301 42.494301h-254.306981a42.823714 42.823714 0 0 1-42.494301-42.494301v-255.295221a42.823714 42.823714 0 0 1 42.494301-42.494301z m42.494301 254.306981" fill="#13227a" p-id="2046"></path></svg>

+ 1 - 0
cirs-ui/src/assets/logo/newlogo.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1722148544403" class="icon" viewBox="0 0 1030 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2045" xmlns:xlink="http://www.w3.org/1999/xlink" width="201.171875" height="200"><path d="M130.913791 554.471901v-127.15349H46.254602a42.494301 42.494301 0 1 1 0-84.65919h84.659189V257.670619a127.15349 127.15349 0 0 1 127.482903-127.15349h84.65919V45.528526a42.494301 42.494301 0 1 1 84.659189 0v84.988603h169.647792V45.528526a42.494301 42.494301 0 1 1 84.659189 0v84.988603h84.659189a127.15349 127.15349 0 0 1 127.153491 127.15349v84.659189h84.659189a42.494301 42.494301 0 1 1 0 84.659189h-84.000363v127.153491h84.659189a42.494301 42.494301 0 0 1 0 84.659189h-84.659189v127.153491a127.15349 127.15349 0 0 1-127.153491 127.15349H682.351467v84.659189a42.494301 42.494301 0 1 1-84.659189 0v-84.000363h-169.647792v84.65919a42.494301 42.494301 0 0 1-84.659189 0v-84.65919H258.396694a127.15349 127.15349 0 0 1-127.15349-127.15349v-127.15349H46.254602a42.494301 42.494301 0 0 1 0-84.65919zM258.396694 216.164557a42.823714 42.823714 0 0 0-42.164888 41.506062v508.943375a42.823714 42.823714 0 0 0 42.164888 42.494301h508.613962a42.823714 42.823714 0 0 0 42.164888-42.494301V257.670619a42.823714 42.823714 0 0 0-42.164888-41.506062z m127.153491 127.153491h254.306981a42.823714 42.823714 0 0 1 42.494301 42.494301v254.306981a42.823714 42.823714 0 0 1-42.494301 42.494301h-254.306981a42.823714 42.823714 0 0 1-42.494301-42.494301v-255.295221a42.823714 42.823714 0 0 1 42.494301-42.494301z m42.494301 254.306981" fill="#13227a" p-id="2046"></path></svg>

+ 1 - 1
cirs-ui/src/layout/components/Navbar.vue

@@ -115,7 +115,7 @@ export default {
   height: 50px;
   overflow: hidden;
   position: relative;
-  background: radial-gradient(circle at 10% 20%, #3A71A8 0%,  #bfcbd9 90%);
+  background: radial-gradient(circle at 10% 20%, #ffffff 0%, #e6e9ed 90%);
 
   box-shadow: 0 1px 4px rgba(0,21,41,.08);
 

+ 1 - 1
cirs-ui/src/layout/components/Sidebar/Logo.vue

@@ -15,7 +15,7 @@
 
 <script>
 // import logoImg from '@/assets/logo/logo.png'
-import logoImg from '@/assets/logo/newlogo.png'
+import logoImg from '@/assets/logo/newlogo.svg'
 import variables from '@/assets/styles/variables.scss'
 
 export default {

+ 1 - 1
cirs-ui/src/layout/components/TagsView/index.vue

@@ -242,7 +242,7 @@ export default {
 
   height: 34px;
   width: 100%;
-  background:  #bfcbd9;
+  background:  #e6e9ed;
   border-bottom: 1px solid #d8dce5;
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04);
   .tags-view-wrapper {

+ 2 - 2
cirs-ui/src/router/index.js

@@ -68,9 +68,9 @@ export const constantRoutes = [
     children: [
       {
         path: 'index',
-        component: () => import('@/views/index'),
+        component: () => import('@/views/biz/marking/index'),
         name: 'Index',
-        meta: { title: '首页', icon: 'dashboard', affix: true }
+        meta: { title: '长稳评分', icon: 'dashboard', affix: true }
       }
     ]
   },

+ 1 - 2
cirs-ui/src/views/biz/component/index.vue

@@ -1249,8 +1249,7 @@ export default {
   min-height: 100vh;
   background: radial-gradient(
     circle at 10% 20%,
-    #3a71a8 0%,
-    rgb(239, 249, 249) 90%
+    #ffffff 0%, #e6e9ed 90%
   );
 }
 

+ 1 - 1
cirs-ui/src/views/biz/evaluation/index.vue

@@ -411,6 +411,6 @@ export default {
 }
 .app-container {
   min-height: 100vh;
-  background: radial-gradient(circle at 10% 20%, #3A71A8 0%, rgb(239, 249, 249) 90%);
+  background: radial-gradient(circle at 10% 20%,#ffffff 0%, #e6e9ed 90%);
 }
 </style>

+ 1 - 1
cirs-ui/src/views/biz/marking/index.vue

@@ -911,6 +911,6 @@ export default {
 }
 .app-container {
   min-height: 100vh;
-  background: radial-gradient(circle at 10% 20%, #3A71A8 0%, rgb(239, 249, 249) 90%);
+  background: radial-gradient(circle at 10% 20%, #ffffff 0%, #e6e9ed 90%);
 }
 </style>

+ 1 - 1
cirs-ui/src/views/biz/recommend/index.vue

@@ -467,6 +467,6 @@ export default {
 }
 .app-container {
   min-height: 100vh;
-  background: radial-gradient(circle at 10% 20%, #3A71A8 0%, rgb(239, 249, 249) 90%);
+  background: radial-gradient(circle at 10% 20%, #ffffff 0%, #e6e9ed 90%);
 }
 </style>

+ 1 - 1
cirs-ui/src/views/biz/record/index.vue

@@ -397,6 +397,6 @@ export default {
 }
 .app-container {
   min-height: 100vh;
-  background: radial-gradient(circle at 10% 20%, #3A71A8 0%, rgb(239, 249, 249) 90%);
+  background: radial-gradient(circle at 10% 20%, #ffffff 0%, #e6e9ed 90%);
 }
 </style>

+ 1 - 1
cirs-ui/src/views/biz/score/index.vue

@@ -928,6 +928,6 @@ export default {
 }
 .app-container {
   min-height: 100vh;
-  background: radial-gradient(circle at 10% 20%, #3A71A8 0%, rgb(239, 249, 249) 90%);
+  background: radial-gradient(circle at 10% 20%, #ffffff 0%, #e6e9ed 90%);
 }
 </style>

+ 1 - 2
cirs-ui/src/views/biz/scoretask/index.vue

@@ -1256,8 +1256,7 @@ export default {
   min-height: 100vh;
   background: radial-gradient(
     circle at 10% 20%,
-    #3a71a8 0%,
-    rgb(239, 249, 249) 90%
+    #ffffff 0%, #e6e9ed 90%
   );
 }
 </style>

+ 1 - 1
cirs-ui/src/views/biz/task/index.vue

@@ -766,7 +766,7 @@ export default {
 }
  .app-container {
    min-height: 100vh;
-   background: radial-gradient(circle at 10% 20%, #3A71A8 0%, rgb(239, 249, 249) 90%);
+   background: radial-gradient(circle at 10% 20%, #ffffff 0%, #e6e9ed 90%);
  }
 
 </style>

+ 1 - 1
cirs-ui/src/views/biz/train/index.vue

@@ -463,6 +463,6 @@ export default {
 }
 .app-container {
   min-height: 100vh;
-  background: radial-gradient(circle at 10% 20%, #3A71A8 0%, rgb(239, 249, 249) 90%);
+  background: radial-gradient(circle at 10% 20%, #ffffff 0%, #e6e9ed 90%);
 }
 </style>

+ 7 - 7
cirs-ui/src/views/index.vue

@@ -27,13 +27,13 @@
                 <span>
                   <el-button
                     type="text"
-                    style="font-size:20px;color: wheat;"
+                    style="font-size:20px;color: #f7ba2a;"
                     @click="handleDetail(topten[idx-1].componentId)"
                   >{{ topten[idx-1].componentName }} </el-button>
                 </span>
               </p>
               <div class="block">
-                <span style="font-size: 14px;color: wheat;"> 评分:</span>
+                <span style="font-size: 14px;color: #f7ba2a;"> 评分:</span>
                 <el-rate
                   v-model="topten[idx-1].score"
                   disabled
@@ -358,14 +358,14 @@ export default {
 
 <style scoped lang="scss">
 .bgimg{
-  border: 2px solid #032d60;
-  -webkit-box-shadow: #07417a 0 0 10px;
-  -moz-box-shadow: #07417a 0 0 10px;
-  box-shadow: inset 0 0 30px #07417a;
+  border: 2px solid #cad1db91;
+  -webkit-box-shadow: #cad1db 0 0 10px;
+  -moz-box-shadow: #cad1db 0 0 10px;
+  box-shadow: inset 0 0 30px #cad1db;
   position: relative;
 }
 .home {
-  background: radial-gradient(circle at 10% 20%, #07417a 0%, #3A71A8 90%);
+  background: radial-gradient(circle at 10% 20%, #ffffff 0%, #e6e9ed 90%);
   //border-radius: 20px;
 
   blockquote {

+ 1 - 1
cirs-ui/src/views/login.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="login">
     <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
-      <h3 class="title">元器件智能推荐系统</h3>
+      <h3 class="title">长稳评分系统</h3>
       <el-form-item prop="username">
         <el-input
           v-model="loginForm.username"

+ 1 - 1
cirs-ui/vue.config.js

@@ -7,7 +7,7 @@ function resolve(dir) {
 
 const CompressionPlugin = require('compression-webpack-plugin')
 
-const name = process.env.VUE_APP_TITLE || '元器件智能推荐系统' // 网页标题
+const name = process.env.VUE_APP_TITLE || '长稳评分系统' // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 80 // 端口