Browse Source

更换logo

master
wangyufei 3 weeks ago
parent
commit
06659a2553
  1. 52
      .env.wyf
  2. BIN
      src/assets/imgs/login-bg.png
  3. BIN
      src/assets/imgs/logo_white.png
  4. BIN
      src/assets/imgs/logo_white_blue.png
  5. 2
      src/layout/components/UserInfo/src/UserInfo.vue
  6. 2
      src/views/login/login.vue

52
.env.wyf

@ -1,64 +1,46 @@
# 生产环境
NODE_ENV=test
# 开发环境
NODE_ENV=development
VITE_DEV=false
# # 请求路径
# VITE_BASE_URL='http://192.168.0.113:12080'
# # 上传路径
# VITE_UPLOAD_URL='http://192.168.0.113:12080/admin-api/infra/file/upload'
# # 请求路径
# VITE_BASE_URL='https://scp.faway-hella.com/api'
# # 上传路径
# VITE_UPLOAD_URL='https://scp.faway-hella.com/api/admin-api/infra/file/upload'
# 请求路径
VITE_BASE_URL='http://172.21.32.13/api'
# 上传路径
VITE_UPLOAD_URL='http://172.21.32.13/api/admin-api/infra/file/upload'
# # 请求路径
# VITE_BASE_URL='http://dev.ccwin-in.com:25300/api'
VITE_BASE_URL='http://192.168.0.105:12080'
# # 上传路径
# VITE_UPLOAD_URL='http://dev.ccwin-in.com:25300/api/admin-api/infra/file/upload'
# 上传路径
VITE_UPLOAD_URL='http://192.168.0.105:12080/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
VITE_API_BASEPATH=/dev-api
# 接口地址
VITE_API_URL=/admin-api
# 打包路径
VITE_BASE_PATH=/
# 是否删除debugger
VITE_DROP_DEBUGGER=true
# 是否删除console.log
VITE_DROP_CONSOLE=true
VITE_DROP_CONSOLE=false
# 是否sourcemap
VITE_SOURCEMAP=false
# 打包路径
VITE_BASE_PATH=/
# 输出路径
VITE_OUT_DIR=sfms3.0
# # 自定义接口路径
# VITE_INTERFACE_URL='http://192.168.0.108:12080/magic/web/index.html'
# # 积木报表请求路径
# VITE_JMREPORT_BASE_URL='http://192.168.0.108:12080'
VITE_OUT_DIR=dist
# 自定义接口路径
VITE_INTERFACE_URL='http://dev.ccwin-in.com:25310/magic/web/index.html'
VITE_INTERFACE_URL='http://localhost:12080/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://192.168.0.108:12080'
VITE_JMREPORT_BASE_URL='http://localhost:12080'
# 租户配置
VITE_TENANT='["长春1379","成都1397","长春2379"]'
VITE_TENANT='["东驰新能源"]'
# 查看质检报告环境
VITE_REPORT_URL = 'http://dev.ccwin-in.com:25400'
# 是否需要验证码
VITE_NEED_CODE = false

BIN
src/assets/imgs/login-bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 KiB

After

Width:  |  Height:  |  Size: 3.7 MiB

BIN
src/assets/imgs/logo_white.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
src/assets/imgs/logo_white_blue.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

2
src/layout/components/UserInfo/src/UserInfo.vue

@ -62,7 +62,7 @@ const toDocument = () => {
<ElAvatar :src="avatar" alt="" class="w-[calc(var(--logo-height)-25px)] rounded-[50%]" />
<div class="pl-[5px] text-14px text-[var(--top-header-text-color)] <lg:hidden" style="display: flex; flex-direction: column;color:#ffffff">
<span> {{ userName }} </span>
<span style="margin-top: 5px;text-align:center">{{ tenant.text }}</span>
<!-- <span style="margin-top: 5px;text-align:center">{{ tenant.text }}</span> -->
</div>
</div>
<template #dropdown>

2
src/views/login/login.vue

@ -9,7 +9,7 @@
>
<!-- 左上角的 logo + 系统标题 -->
<div class="relative flex items-center ">
<img alt="" class="mr-10px w-144px h-36px" src="@/assets/imgs/logo_white_blue.png" />
<img alt="" class="mr-10px w-64px h-36px" src="@/assets/imgs/logo_white_blue.png" />
<span class="text-20px font-bold">{{ t(`ts.${underlineToHump(appStore.getTitle)}`) }}</span>
</div>
<!-- 左边的背景图 + 欢迎语 -->

Loading…
Cancel
Save