ymy 1 năm trước cách đây
mục cha
commit
03583daef9

+ 1 - 1
.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VITE_APP_TITLE = RuoYi-Vue-Plus后台管理系统
+VITE_APP_TITLE = 数字招商
 
 # 开发环境配置
 VITE_APP_ENV = 'development'

+ 2 - 2
.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VITE_APP_TITLE = RuoYi-Vue-Plus后台管理系统
+VITE_APP_TITLE = 数字招商
 
 # 生产环境配置
 VITE_APP_ENV = 'production'
@@ -14,7 +14,7 @@ VITE_APP_MONITRO_ADMIN = '/admin/applications'
 VITE_APP_XXL_JOB_ADMIN = '/xxl-job-admin'
 
 # 若依管理系统/生产环境
-VITE_APP_BASE_API = '/prod-api'
+VITE_APP_BASE_API = '/szzs'
 
 # 是否在打包时开启压缩,支持 gzip 和 brotli
 VITE_BUILD_COMPRESS = gzip

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "ruoyi-vue-plus",
   "version": "4.8.0",
-  "description": "RuoYi-Vue-Plus后台管理系统",
+  "description": "数字招商后台管理系统",
   "author": "LionLi",
   "license": "MIT",
   "scripts": {

BIN
public/favicon.ico


BIN
public/favicon2.ico


BIN
src/assets/logo/logo2.png


+ 2 - 2
src/layout/components/Navbar.vue

@@ -8,13 +8,13 @@
       <template v-if="appStore.device !== 'mobile'">
         <header-search id="header-search" class="right-menu-item" />
 
-        <el-tooltip content="源码地址" effect="dark" placement="bottom">
+        <!-- <el-tooltip content="源码地址" effect="dark" placement="bottom">
           <ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />
         </el-tooltip>
 
         <el-tooltip content="文档地址" effect="dark" placement="bottom">
           <ruo-yi-doc id="ruoyi-doc" class="right-menu-item hover-effect" />
-        </el-tooltip>
+        </el-tooltip> -->
 
         <screenfull id="screenfull" class="right-menu-item hover-effect" />
 

+ 16 - 4
src/layout/components/Sidebar/Logo.vue

@@ -2,11 +2,16 @@
   <div class="sidebar-logo-container" :class="{ 'collapse': collapse }" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }">
     <transition name="sidebarLogoFade">
       <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
-        <img v-if="logo" :src="logo" class="sidebar-logo" />
+        <div v-if="logo" class="sidebar-logo">
+          <img :src="logo" />
+        </div>
         <h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }}</h1>
       </router-link>
       <router-link v-else key="expand" class="sidebar-logo-link" to="/">
-        <img v-if="logo" :src="logo" class="sidebar-logo" />
+        <div class="sidebar-logo" v-if="logo">
+          <img :src="logo" />
+        </div>
+        
         <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }}</h1>
       </router-link>
     </transition>
@@ -15,7 +20,7 @@
 
 <script setup>
 import variables from '@/assets/styles/variables.module.scss'
-import logo from '@/assets/logo/logo.png'
+import logo from '@/assets/logo/logo2.png'
 import useSettingsStore from '@/store/modules/settings'
 
 defineProps({
@@ -25,7 +30,7 @@ defineProps({
   }
 })
 
-const title = ref('RuoYi-Vue-Plus');
+const title = ref('数字招商');
 const settingsStore = useSettingsStore();
 const sideTheme = computed(() => settingsStore.sideTheme);
 </script>
@@ -58,6 +63,13 @@ const sideTheme = computed(() => settingsStore.sideTheme);
       height: 32px;
       vertical-align: middle;
       margin-right: 12px;
+      border-radius: 50%;
+      display: inline-block;
+      overflow: hidden;
+      background-color: #fff;
+      >img{
+        width: 100%;
+      }
     }
 
     & .sidebar-title {

+ 2 - 1
src/views/index.vue

@@ -102,7 +102,8 @@
     let option;
     let dataX = [];
     let dataY = [];
-    for(const item of data) {
+    for(let i = data.length - 1; i >= 0; i--){
+      let item  = data[i];
       dataX.push(item.time);
       dataY.push(item.count)
     }

+ 3 - 3
src/views/login.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="login">
     <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
-      <h3 class="title">RuoYi-Vue-Plus后台管理系统</h3>
+      <h3 class="title">数字招商后台管理系统</h3>
       <el-form-item prop="username">
         <el-input
           v-model="loginForm.username"
@@ -58,9 +58,9 @@
       </el-form-item>
     </el-form>
     <!--  底部  -->
-    <div class="el-login-footer">
+    <!-- <div class="el-login-footer">
       <span>Copyright © 2018-2023 疯狂的狮子Li All Rights Reserved.</span>
-    </div>
+    </div> -->
   </div>
 </template>
 

+ 3 - 3
src/views/register.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="register">
     <el-form ref="registerRef" :model="registerForm" :rules="registerRules" class="register-form">
-      <h3 class="title">RuoYi-Vue-Plus后台管理系统</h3>
+      <h3 class="title">数字招商后台管理系统</h3>
       <el-form-item prop="username">
         <el-input 
           v-model="registerForm.username" 
@@ -69,9 +69,9 @@
       </el-form-item>
     </el-form>
     <!--  底部  -->
-    <div class="el-register-footer">
+    <!-- <div class="el-register-footer">
       <span>Copyright © 2018-2023 疯狂的狮子Li All Rights Reserved.</span>
-    </div>
+    </div> -->
   </div>
 </template>