修改logo等信息

This commit is contained in:
老叶
2022-09-23 11:12:57 +08:00
parent a4ce124f52
commit 883ef703a1
11 changed files with 19 additions and 36 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
VUE_APP_NAME=Market
VUE_APP_API_BASE_URL=https://v2.eleadmin.com/api
VUE_APP_API_BASE_URL=http://market.dev.liche.cn/api
+2 -2
View File
@@ -1,2 +1,2 @@
VUE_APP_API_BASE_URL=https://v2.eleadmin.com/api
#VUE_APP_API_BASE_URL=http://localhost:8081/api
VUE_APP_API_BASE_URL=http://market.dev.liche.cn/api
#npm run serve 加载环境
+2 -1
View File
@@ -1,2 +1,3 @@
NODE_ENV=production
VUE_APP_API_BASE_URL=https://v2.eleadmin.com/api
VUE_APP_API_BASE_URL=http://market.liche.cn/api
#npm run build 加载环境
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+1 -3
View File
@@ -1,7 +1,5 @@
// 接口地址
//export const API_BASE_URL = process.env.VUE_APP_API_BASE_URL;
export const API_BASE_URL = 'http://market.dev.liche.cn/api';
//export const API_BASE_URL = process.env.VUE_APP_API_BASE_URL;
export const API_BASE_URL = process.env.VUE_APP_API_BASE_URL;
// 项目名称
export const PROJECT_NAME = process.env.VUE_APP_NAME;
+1 -1
View File
@@ -10,7 +10,7 @@ export default {
website: '官网',
document: '文档',
authorization: '授权',
copyright: 'Copyright © 2022 武汉易云智科技有限公司'
copyright: 'Copyright © 2022 厦门狸车科技有限公司'
},
logout: {
title: '提示',
+2 -2
View File
@@ -1,7 +1,7 @@
<!-- 全局页脚 -->
<template>
<div class="ele-text-center" style="padding: 16px 0">
<div>
<!-- <div>
<a target="_blank" class="ele-text-secondary" href="https://eleadmin.com">
{{ $t('layout.footer.website') }}
</a>
@@ -21,7 +21,7 @@
>
{{ $t('layout.footer.authorization') }}
</a>
</div>
</div> -->
<div class="ele-text-secondary" style="margin-top: 8px">
{{ $t('layout.footer.copyright') }}
</div>
+7 -2
View File
@@ -1,4 +1,5 @@
<template>
<!-- 20220923去掉 :project-name="PROJECT_NAME" -->
<ele-pro-layout
:menus="menus"
:tabs="theme.tabs"
@@ -20,7 +21,6 @@
:colorful-icon="theme.colorfulIcon"
:side-unique-open="theme.sideUniqueOpen"
:style-responsive="theme.styleResponsive"
:project-name="PROJECT_NAME"
:hide-footers="HIDE_FOOTERS"
:hide-sidebars="HIDE_SIDEBARS"
:repeatable-tabs="REPEATABLE_TABS"
@@ -49,7 +49,7 @@
<router-layout />
<!-- logo 图标 -->
<template v-slot:logo>
<img src="@/assets/logo.svg" alt="logo" />
<img src="@/assets/logo.png" alt="logo" />
</template>
<!-- 顶栏右侧区域 -->
<template v-slot:right>
@@ -252,6 +252,11 @@
}
}
.ele-admin-header .ele-admin-logo > img {
width: 128px !important;
height: 40px !important;
}
// 父级菜单标题中右侧多定位一点,避免与箭头重合
.el-submenu > .el-submenu__title .ele-menu-badge {
right: 36px;
+1
View File
@@ -22,6 +22,7 @@ service.interceptors.request.use(
if (token && config.headers) {
config.headers.common[TOKEN_HEADER_NAME] = token;
}
console.log(API_BASE_URL);
return config;
},
(error) => {
@@ -182,28 +182,6 @@
methods: {
/* 保存编辑 */
save() {
let bgImg = [];
if (this.form.bgImg.length > 0) {
this.form.bgImg.forEach((item) => {
bgImg.push({
uid: item.uid,
fileUrl: item.fileUrl,
url: item.url,
status: item.status
});
});
}
let shareImg = [];
if (this.form.shareImg.length > 0) {
this.form.shareImg.forEach((item) => {
shareImg.push({
uid: item.uid,
fileUrl: item.fileUrl,
url: item.url,
status: item.status
});
});
}
this.$refs.form.validate((valid) => {
if (!valid) {
return false;
@@ -219,8 +197,6 @@
this.$message.success(msg);
this.updateVisible(false);
this.$emit('done');
this.form.bgImg = [];
this.form.shareImg = [];
})
.catch((e) => {
this.loading = false;
@@ -313,6 +289,8 @@
this.isUpdate = true;
} else {
this.form.organizationId = this.organizationId;
this.form.bgImg = [];
this.form.shareImg = [];
this.isUpdate = false;
}
} else {