Browse Source

修改标题

develop
fuguobin 1 year ago
parent
commit
509bb3ca0c
  1. 2
      .env.development
  2. 6
      .env.production
  3. 2
      .env.staging
  4. 4
      README.md
  5. 30
      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_TITLE = 'vue-vite-project-admin'
VITE_APP_TITLE = 'Luen Mei Intelligence'
VITE_APP_PORT = 8089
##VITE_APP_WS_API = 'ws://localhost:9010' ## websocket地址
VITE_APP_BASE_API = '/dev-api' ## '/dev-api'线上接口 '/mock'本地模拟数据

6
.env.production

@ -1,10 +1,10 @@
## 生产环境
VITE_APP_ENV = 'production'
VITE_APP_TITLE = 'vue-vite-project-admin'
VITE_APP_TITLE = 'Luen Mei Intelligence'
VITE_APP_PORT = 8089
#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_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 = '/biprod-api/' ## 测试环境
VITE_APP_BASE_API = '/prod-api/' ## 正式环境
# VITE_APP_BASE_API = '/biprod-api/' ## 测试环境

2
.env.staging

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

4
README.md

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

30
index.html

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

2
package.json

@ -1,5 +1,5 @@
{
"name": "luenmei-operational-cockpit-ms",
"name": "luen-mei-intelligence-energy-ms",
"version": "1.0.0",
"scripts": {
"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: {
title: 'Luenmei Operational Cockpit MS',
title: 'Luen Mei Operational Cockpit MS',
username: 'Username',
password: 'Password',
login: 'Login',
verifyCode: 'Verify Code',
group: 'Luenmei Smart Energy Technology (Shenyang) Co., Ltd',
abbreviation: 'Luenmei Smart',
group: 'Luen Mei Intelligence Energy Technology (Shenyang) Co., Ltd',
abbreviation: 'Luen Mei Intelligence',
copyright: 'All Rights Reserved.'
},
// 导航栏国际化

2
src/lang/zh-cn.ts

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

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

@ -7,7 +7,7 @@
</router-link>
<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" />
<span class="logoText">{{ settingsStore.title }}</span>
<!-- <span class="logoText">{{ settingsStore.title }}</span> -->
</router-link>
</transition>
</section>
@ -27,12 +27,13 @@ const logo = ref(new URL(`../../../assets/logo.png`, import.meta.url).href);
<style lang="scss" scoped>
.logo {
height: 50px;
padding: 1.5rem 2rem 0.5rem 2rem;
background-color: $menuBg;
.logoImg {
width: 1.5rem;
height: 1.5rem;
display: block;
width: 100%;
height: auto;
}
.logoText {

2
src/settings.ts

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

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

@ -2,11 +2,8 @@
export {}
declare global {
const EffectScope: typeof import('vue')['EffectScope']
const ElForm: typeof import('element-plus/es')['ElForm']
const ElMessage: typeof import('element-plus/es')['ElMessage']
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 autoResetRef: typeof import('@vueuse/core')['autoResetRef']
const computed: typeof import('vue')['computed']
@ -273,11 +270,8 @@ import { UnwrapRef } from 'vue'
declare module 'vue' {
interface ComponentCustomProperties {
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 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 autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>
readonly computed: UnwrapRef<typeof import('vue')['computed']>

Loading…
Cancel
Save