huangxw 6 maanden geleden
bovenliggende
commit
dfaffb089e

+ 1 - 1
.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VITE_APP_TITLE = 数字云药后台管理系统
+VITE_APP_TITLE = 中药材创新联盟后台管理系统
 
 # 开发环境配置
 VITE_APP_ENV = 'development'

+ 1 - 1
.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VITE_APP_TITLE = 数字云药后台管理系统
+VITE_APP_TITLE = 中药材创新联盟后台管理系统
 
 # 生产环境配置
 VITE_APP_ENV = 'production'

+ 1 - 1
LICENSE

@@ -1,6 +1,6 @@
 The MIT License (MIT)
 
-Copyright (c) 2019 数字云药
+Copyright (c) 2019 中药材创新联盟
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the "Software"), to deal in

+ 1 - 1
README.md

@@ -3,7 +3,7 @@
 - 本仓库为前端技术栈 [Vue3](https://v3.cn.vuejs.org) + [TS](https://www.typescriptlang.org/) + [Element Plus](https://element-plus.org/zh-CN) + [Vite](https://cn.vitejs.dev) 版本。
 - 成员项目: 基于 vben5(ant-design-vue) 的前端项目 [yujin-plus-vben5](https://gitee.com/dapppp/yujin-plus-vben5)
 - 配套后端代码仓库地址
-- [数字云药 5.X(注意版本号)](https://gitee.com/dromara/数字云药)
+- [中药材创新联盟 5.X(注意版本号)](https://gitee.com/dromara/中药材创新联盟)
 - [yujin-Cloud-Plus 2.X(注意版本号)](https://gitee.com/dromara/yujin-Cloud-Plus)
 
 ## 前端运行

+ 1 - 1
index.html

@@ -6,7 +6,7 @@
     <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="/favicon.ico" />
-    <title>数字云药后台管理系统</title>
+    <title>中药材创新联盟后台管理系统</title>
     <!--[if lt IE 11
       ]><script>
         window.location.href = '/html/ie.html';

+ 2 - 2
package.json

@@ -1,8 +1,8 @@
 {
   "$schema": "https://json.schemastore.org/tsconfig",
-  "name": "数字云药",
+  "name": "中药材创新联盟",
   "version": "5.3.0",
-  "description": "数字云药后台管理系统",
+  "description": "中药材创新联盟后台管理系统",
   "author": "LionLi",
   "license": "MIT",
   "type": "module",

BIN
public/favicon.ico


BIN
src/assets/logo/logo.png


+ 1 - 1
src/components/RuoYiGit/index.vue

@@ -5,7 +5,7 @@
 </template>
 
 <script setup>
-const url = ref('https://gitee.com/dromara/数字云药');
+const url = ref('https://gitee.com/dromara/中药材创新联盟');
 
 function goto() {
   window.open(url.value);

+ 53 - 62
src/layout/components/Sidebar/Logo.vue

@@ -1,24 +1,20 @@
 <template>
-  <div
-    class="sidebar-logo-container"
-    :class="{ collapse: collapse }"
-    :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }"
-  >
-    <transition :enter-active-class="proxy?.animate.logoAnimate.enter" mode="out-in">
-      <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
-        <img v-if="logo" :src="logo" class="sidebar-logo" />
-        <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" />
-        <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">
-          {{ title }}
-        </h1>
-      </router-link>
-    </transition>
-  </div>
+    <div class="sidebar-logo-container" :class="{ collapse: collapse }" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }">
+        <transition :enter-active-class="proxy?.animate.logoAnimate.enter" mode="out-in">
+            <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
+                <img v-if="logo" :src="logo" class="sidebar-logo" />
+                <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" />
+                <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">
+                    {{ title }}
+                </h1>
+            </router-link>
+        </transition>
+    </div>
 </template>
 
 <script setup lang="ts">
@@ -28,68 +24,63 @@ import useSettingsStore from '@/store/modules/settings';
 const { proxy } = getCurrentInstance() as ComponentInternalInstance;
 
 defineProps({
-  collapse: {
-    type: Boolean,
-    required: true
-  }
+    collapse: {
+        type: Boolean,
+        required: true
+    }
 });
 
-const title = ref('数字云药');
+const title = ref('中药材创新联盟');
 const settingsStore = useSettingsStore();
 const sideTheme = computed(() => settingsStore.sideTheme);
 </script>
 
 <style lang="scss" scoped>
 .sidebarLogoFade-enter-active {
-  transition: opacity 1.5s;
+    transition: opacity 1.5s;
 }
 
 .sidebarLogoFade-enter,
 .sidebarLogoFade-leave-to {
-  opacity: 0;
+    opacity: 0;
 }
 
 .sidebar-logo-container {
-  position: relative;
-  width: 100%;
-  height: 50px;
-  line-height: 50px;
-  background: #2b2f3a;
-  text-align: center;
-  overflow: hidden;
-
-  & .sidebar-logo-link {
-    height: 100%;
+    position: relative;
     width: 100%;
+    height: 50px;
+    line-height: 50px;
+    background: #2b2f3a;
+    text-align: center;
+    overflow: hidden;
 
-    & .sidebar-logo {
-      width: 50px;
-      height: 32px;
-      vertical-align: middle;
-      margin-right: 12px;
-    }
+    & .sidebar-logo-link {
+        height: 100%;
+        width: 100%;
+
+        & .sidebar-logo {
+            width: 30px;
+            object-fit: contain;
+            vertical-align: middle;
+            margin-right: 12px;
+        }
 
-    & .sidebar-title {
-      display: inline-block;
-      margin: 0;
-      color: #fff;
-      font-weight: 600;
-      line-height: 50px;
-      font-size: 14px;
-      font-family:
-        Avenir,
-        Helvetica Neue,
-        Arial,
-        Helvetica,
-        sans-serif;
-      vertical-align: middle;
+        & .sidebar-title {
+            display: inline-block;
+            margin: 0;
+            color: #fff;
+            font-weight: 600;
+            line-height: 50px;
+            font-size: 14px;
+            font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
+            vertical-align: middle;
+        }
     }
-  }
 
-  &.collapse {
-    .sidebar-logo {
-      margin-right: 0px;
+    &.collapse {
+        .sidebar-logo {
+            margin-right: 0px;
+        }
     }
-  }
 }
 </style>

+ 1 - 1
src/layout/components/notice/index.vue

@@ -55,7 +55,7 @@ const onNewsClick = (item: any) => {
 
 // 前往通知中心点击
 const onGoToGiteeClick = () => {
-  window.open('https://gitee.com/dromara/数字云药/tree/5.X/');
+  window.open('https://gitee.com/dromara/中药材创新联盟/tree/5.X/');
 };
 
 onMounted(() => {

+ 1 - 1
src/views/login.vue

@@ -1,7 +1,7 @@
 <template>
     <div class="login ">
         <div>  
-            <div class="f-s-50 mb-30" style="color: #FFF;font-weight: bold;">数字云药管理后台</div>
+            <div class="f-s-50 mb-30" style="color: #FFF;font-weight: bold;">中药材创新联盟管理后台</div>
         <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
             <div class="title-box">
                 <h3 class="title">欢迎登录</h3>

+ 1 - 1
src/views/register.vue

@@ -2,7 +2,7 @@
   <div class="register">
     <el-form ref="registerRef" :model="registerForm" :rules="registerRules" class="register-form">
       <div class="title-box">
-        <h3 class="title">数字云药后台管理系统</h3>
+        <h3 class="title">中药材创新联盟后台管理系统</h3>
         <lang-select />
       </div>
       <el-form-item v-if="tenantEnabled" prop="tenantId">