Browse Source

修改标题

develop
fuguobin 1 year ago
parent
commit
509bb3ca0c
  1. 2
      .env.development
  2. 6
      .env.production
  3. 2
      .env.staging
  4. 6
      README.md
  5. 38
      index.html
  6. 2
      package.json
  7. BIN
      src/assets/images/logo.png
  8. BIN
      src/assets/logo.png
  9. 6
      src/lang/en.ts
  10. 2
      src/lang/zh-cn.ts
  11. 9
      src/layout/components/Sidebar/Logo.vue
  12. 2
      src/settings.ts
  13. 6
      src/types/auto-imports.d.ts

2
.env.development

@ -1,6 +1,6 @@
## 开发环境 ## 开发环境
VITE_APP_ENV = 'development' VITE_APP_ENV = 'development'
VITE_APP_TITLE = 'vue-vite-project-admin' VITE_APP_TITLE = 'Luen Mei Intelligence'
VITE_APP_PORT = 8089 VITE_APP_PORT = 8089
##VITE_APP_WS_API = 'ws://localhost:9010' ## websocket地址 ##VITE_APP_WS_API = 'ws://localhost:9010' ## websocket地址
VITE_APP_BASE_API = '/dev-api' ## '/dev-api'线上接口 '/mock'本地模拟数据 VITE_APP_BASE_API = '/dev-api' ## '/dev-api'线上接口 '/mock'本地模拟数据

6
.env.production

@ -1,10 +1,10 @@
## 生产环境 ## 生产环境
VITE_APP_ENV = 'production' VITE_APP_ENV = 'production'
VITE_APP_TITLE = 'vue-vite-project-admin' VITE_APP_TITLE = 'Luen Mei Intelligence'
VITE_APP_PORT = 8089 VITE_APP_PORT = 8089
#VITE_APP_WS_API = 'ws://board.heatiot.cn:8001/prod-api' ## websocket地址 #VITE_APP_WS_API = 'ws://board.heatiot.cn:8001/prod-api' ## websocket地址
#VITE_APP_BASE_API = 'http://board.heatiot.cn:8001/prod-api/' ## 线上接口 #VITE_APP_BASE_API = 'http://board.heatiot.cn:8001/prod-api/' ## 线上接口
#VITE_APP_WS_API = 'ws://${window.location.host}/ws' ## websocket地址 ws://10.10.10.56:9000/websocket/ #VITE_APP_WS_API = 'ws://${window.location.host}/ws' ## websocket地址 ws://10.10.10.56:9000/websocket/
# VITE_APP_BASE_API = '/prod-api/' ## 正式环境 VITE_APP_BASE_API = '/prod-api/' ## 正式环境
VITE_APP_BASE_API = '/biprod-api/' ## 测试环境 # VITE_APP_BASE_API = '/biprod-api/' ## 测试环境

2
.env.staging

@ -1,5 +1,5 @@
## 模拟环境 ## 模拟环境
VITE_APP_ENV = 'staging' VITE_APP_ENV = 'staging'
VITE_APP_TITLE = 'vue-vite-project-admin' VITE_APP_TITLE = 'Luen Mei Intelligence'
VITE_APP_PORT = 8089 VITE_APP_PORT = 8089
VITE_APP_BASE_API = '/mock' VITE_APP_BASE_API = '/mock'

6
README.md

@ -1,10 +1,10 @@
# Luenmei Operational Cockpit MS # Luen Mei Intelligence Energy MS
> 联美运营驾驶舱管理系统 > 联美智慧能源管理系统
## Build Setup ## Build Setup
``` bash ```bash
# install dependencies # install dependencies
pnpm install pnpm install

38
index.html

@ -1,23 +1,24 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<head> <meta charset="UTF-8" />
<meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta
<meta name="viewport" name="viewport"
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover"> content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover"
/>
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telphone=no, email=no" /> <meta name="format-detection" content="telphone=no, email=no" />
<meta name="format-detection" content="telphone=no, email=no" /> <meta name="format-detection" content="telphone=no, email=no" />
<title>联美运营驾驶舱管理系统</title> <title>联美智慧能源科技(沈阳)有限公司</title>
<link rel="icon" href="" type="image/x-icon"> <link rel="icon" href="" type="image/x-icon" />
<meta name="apple-mobile-web-app-title" content="联美运营驾驶舱管理系统"> <meta name="apple-mobile-web-app-title" content="联美智慧能源科技(沈阳)有限公司" />
<meta name="keywords" content="数据大屏,管理系统"> <meta name="keywords" content="联美智慧,联美智科,智慧能源,管理系统" />
<meta name="description" content="联美运营驾驶舱管理系统"> <meta name="description" content="联美智慧能源科技(沈阳)有限公司" />
<meta name="author" content="Daniel"> <meta name="author" content="Daniel" />
<meta name="copyright" content="Daniel"> <meta name="copyright" content="联美智慧" />
<link rel="icon" href="/favicon.ico" type="image/x-icon"> <link rel="icon" href="/favicon.ico" type="image/x-icon" />
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
<style> <style>
:root { :root {
@ -72,7 +73,7 @@
} }
.loading-cube:nth-child(7) { .loading-cube:nth-child(7) {
animation-delay: 0.0s; animation-delay: 0s;
} }
.loading-cube:nth-child(8) { .loading-cube:nth-child(8) {
@ -94,9 +95,9 @@
} }
} }
</style> </style>
</head> </head>
<body> <body>
<div id="app"> <div id="app">
<div class="loading-home"> <div class="loading-home">
<div class="loading-grid"> <div class="loading-grid">
@ -112,6 +113,5 @@
</div> </div>
</div> </div>
</div> </div>
</body> </body>
</html> </html>

2
package.json

@ -1,5 +1,5 @@
{ {
"name": "luenmei-operational-cockpit-ms", "name": "luen-mei-intelligence-energy-ms",
"version": "1.0.0", "version": "1.0.0",
"scripts": { "scripts": {
"dev": "vite serve --mode development", "dev": "vite serve --mode development",

BIN
src/assets/images/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
src/assets/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 33 KiB

6
src/lang/en.ts

@ -8,13 +8,13 @@ export default {
}, },
// 登录页面国际化 // 登录页面国际化
login: { login: {
title: 'Luenmei Operational Cockpit MS', title: 'Luen Mei Operational Cockpit MS',
username: 'Username', username: 'Username',
password: 'Password', password: 'Password',
login: 'Login', login: 'Login',
verifyCode: 'Verify Code', verifyCode: 'Verify Code',
group: 'Luenmei Smart Energy Technology (Shenyang) Co., Ltd', group: 'Luen Mei Intelligence Energy Technology (Shenyang) Co., Ltd',
abbreviation: 'Luenmei Smart', abbreviation: 'Luen Mei Intelligence',
copyright: 'All Rights Reserved.' copyright: 'All Rights Reserved.'
}, },
// 导航栏国际化 // 导航栏国际化

2
src/lang/zh-cn.ts

@ -8,7 +8,7 @@ export default {
}, },
// 登录页面国际化 // 登录页面国际化
login: { login: {
title: '联美运营驾驶舱管理系统', title: '联美智慧能源管理系统',
username: '用户名', username: '用户名',
password: '密码', password: '密码',
login: '登 录', login: '登 录',

9
src/layout/components/Sidebar/Logo.vue

@ -7,7 +7,7 @@
</router-link> </router-link>
<router-link v-else key="expand" class="flex items-center justify-center width-100 height-100" to="/"> <router-link v-else key="expand" class="flex items-center justify-center width-100 height-100" to="/">
<img v-if="settingsStore.sidebarLogo" :src="logo" class="logoImg" /> <img v-if="settingsStore.sidebarLogo" :src="logo" class="logoImg" />
<span class="logoText">{{ settingsStore.title }}</span> <!-- <span class="logoText">{{ settingsStore.title }}</span> -->
</router-link> </router-link>
</transition> </transition>
</section> </section>
@ -27,12 +27,13 @@ const logo = ref(new URL(`../../../assets/logo.png`, import.meta.url).href);
<style lang="scss" scoped> <style lang="scss" scoped>
.logo { .logo {
height: 50px; padding: 1.5rem 2rem 0.5rem 2rem;
background-color: $menuBg; background-color: $menuBg;
.logoImg { .logoImg {
width: 1.5rem; display: block;
height: 1.5rem; width: 100%;
height: auto;
} }
.logoText { .logoText {

2
src/settings.ts

@ -50,7 +50,7 @@ interface DefaultSettings {
} }
const defaultSettings: DefaultSettings = { const defaultSettings: DefaultSettings = {
title: '联美运营驾驶舱管理系统', title: '联美智慧能源管理系统',
showSettings: true, showSettings: true,
tagsView: true, tagsView: true,
fixedHeader: false, fixedHeader: false,

6
src/types/auto-imports.d.ts

@ -2,11 +2,8 @@
export {} export {}
declare global { declare global {
const EffectScope: typeof import('vue')['EffectScope'] const EffectScope: typeof import('vue')['EffectScope']
const ElForm: typeof import('element-plus/es')['ElForm']
const ElMessage: typeof import('element-plus/es')['ElMessage'] const ElMessage: typeof import('element-plus/es')['ElMessage']
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
const ElNotification: typeof import('element-plus/es')['ElNotification']
const NEllipsis: typeof import('naive-ui')['NEllipsis']
const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
const computed: typeof import('vue')['computed'] const computed: typeof import('vue')['computed']
@ -273,11 +270,8 @@ import { UnwrapRef } from 'vue'
declare module 'vue' { declare module 'vue' {
interface ComponentCustomProperties { interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']> readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
readonly ElForm: UnwrapRef<typeof import('element-plus/es')['ElForm']>
readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']> readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']>
readonly ElMessageBox: UnwrapRef<typeof import('element-plus/es')['ElMessageBox']> readonly ElMessageBox: UnwrapRef<typeof import('element-plus/es')['ElMessageBox']>
readonly ElNotification: UnwrapRef<typeof import('element-plus/es')['ElNotification']>
readonly NEllipsis: UnwrapRef<typeof import('naive-ui')['NEllipsis']>
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']> readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']> readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>
readonly computed: UnwrapRef<typeof import('vue')['computed']> readonly computed: UnwrapRef<typeof import('vue')['computed']>

Loading…
Cancel
Save