feat(brand): 更新平台品牌名称与Logo样式
- 将系统标题与品牌名称更新为招商车研三维尺寸快检平台 - 替换全局Logo图片资源并更新相关引用路径 - 调整登录页与侧边栏Logo样式去除圆角与阴影 - 优化侧边栏品牌文本布局并添加自动换行支持 - 更新国际化文案及环境配置中的品牌相关描述 - 新增平台品牌UI组件的独立测试页面
@ -1,5 +1,5 @@
|
||||
# AM FreeScan 独立前端默认配置
|
||||
VITE_APP_TITLE=AM FreeScan
|
||||
VITE_APP_TITLE=招商车研三维尺寸快检平台
|
||||
VITE_PORT=5180
|
||||
VITE_OPEN=false
|
||||
# 页面与接口使用同一入口,兼容 localhost 和局域网 IP。
|
||||
|
||||
@ -2,17 +2,17 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/freescan.svg" />
|
||||
<link rel="apple-touch-icon" href="/freescan.svg" />
|
||||
<link rel="icon" href="/platform-logo.png" />
|
||||
<link rel="apple-touch-icon" href="/platform-logo.png" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta
|
||||
name="keywords"
|
||||
content="AM FreeScan"
|
||||
content="招商车研三维尺寸快检平台"
|
||||
/>
|
||||
<meta
|
||||
name="description"
|
||||
content="AM FreeScan"
|
||||
content="招商车研三维尺寸快检平台"
|
||||
/>
|
||||
<title>%VITE_APP_TITLE%</title>
|
||||
<script>
|
||||
@ -161,7 +161,7 @@
|
||||
<div class="app-loading">
|
||||
<div class="app-loading-wrap">
|
||||
<div class="app-loading-title">
|
||||
<img src="/freescan.svg" class="app-loading-logo" alt="Logo" />
|
||||
<img src="/platform-logo.png" class="app-loading-logo" alt="Logo" />
|
||||
<div class="app-loading-title">%VITE_APP_TITLE%</div>
|
||||
</div>
|
||||
<div class="app-loading-item">
|
||||
|
||||
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 2.5 KiB |
@ -1 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 96 96"><defs><linearGradient id="a" x2="1" y2="1"><stop stop-color="#2873f0"/><stop offset="1" stop-color="#10b5b0"/></linearGradient></defs><rect width="96" height="96" rx="24" fill="url(#a)"/><g fill="none" stroke="#fff" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"><path d="M25 37V25h12M59 25h12v12M71 59v12H59M37 71H25V59"/><path d="m33 55 15-21 15 21M39 47h18"/><path d="M31 62h34" opacity=".7"/></g></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><image width="32" height="32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAJtklEQVR4ATxWC1SUxxW+d/598X4KIm8EBEMQFRVEUUAlKOAjp9Z41OQoak5N29PmadMkzREbm540Pe1JQqypJS9rjBrFF0EQgYCKEYmgvESjCC7gwu7CssvuP9M7W5M5/8zO3Ln3u9+981rGheDc5W6pcVKlTwhV/FQ4dVRqVFVMisflp1kSC+Fufv4Rgmw5tfSR2SRDARwV5AIBATRU6RPABLiLkFLB0G6ftAz3Gwe6BwfujQwPOBxmAM5RCABCIDCypz6BATAAoD4HRKFlgKAAJwjqAHBwFwQ5EkIdNw+3X66s+fpvJz5+8UTZ6xVlr5388LcnPnrpxP7d3x5+r62x0mIaAOSEBEIlTyjRuZQAIZAXyZTTr6AKVJi7IyW2ceulyi9PffxK1ad7b9QcHzM+0Hp4BEyN9I+I0fj6jwwOtdadqPpiz8myVxsqyscs44gKEC+JwwiIuCI5Q04pojFjNAdAlBGpZXc6rpw4sLuh4oPh0YH4+bk5m15cuXNvcck7hVvfWbN137qSfeu2/7lg02uJGfnj1keXTn9E8XW2XQRCcOOA5E0jgkJCBwpNjqgSC+Ct3506U15q7L4+I23Zyi17Cje/NWth8dSoJG+/YJ1er2j0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S88WeUdOdOUs35K35jZNwyS1wBIVWRdIBKm5tQgFUsopKlqz7vbfB93r1oYr9r9ef/PePt763WU1CALEhIvTqjI+N9Xa3NJw5cPbj3S2nD2i1mqzVzy9d/wIhaQmX8iIYoSEiAxk7B0qZIEMC4YgwN3vNyh2lT2SvG7eNNJ4tqzz4h2/+9VJF+R+rD/+l9vC7lZ/uObr/1ZP/2d14usxmMqZkFi7fXjo/bzPxJTTygZR2gpfr504LjYUUEbSgPggVAMIikgo2vla4/b2FxbtC49KcNvu99ubWpnOtjad72r6btI2ER6Zk5G/P3/FO/pY3oqPkpUKZJ4KCjIG7W3LHKRDKMPWkGATtSRCIXN5gUhIRnbi44NmiHXsLdpQW7Sgt3FZaUFK6avufikv20J+77KKdUfEpguC4i6v0JtGKCqIuQEUSkjcg4oSDVOljJCZXKBgyJugxBUCkOa5h2pCQuOiEeYmpWYkpi2MSM6dMna5oNAQmQF4IyDSKojDG3BnhKOQhIGMB7H8AAAD//xUYSd4AAAAGSURBVAMAYKjZ/cnZYEIAAAAASUVORK5CYII="/></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 507 B After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 251 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
am-web/public/platform-logo.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
@ -5,7 +5,7 @@ const write = (file, text) => { const full = path.join(root, file); fs.mkdirSync
|
||||
const edit = (file, fn) => write(file, fn(fs.readFileSync(path.join(root, file), 'utf8')));
|
||||
for (const name of ['common', 'aima']) {
|
||||
write(`src/cmvr/${name}/utils/request.js`, "export { default, download, isRelogin } from '@/cmvr/request'\n");
|
||||
write(`src/cmvr/${name}/utils/auth.js`, "export { getAccessToken as getToken, removeToken } from '@/utils/auth'\nexport const setToken = () => { throw new Error('请通过 AM FreeScan 登录') }\n");
|
||||
write(`src/cmvr/${name}/utils/auth.js`, "export { getAccessToken as getToken, removeToken } from '@/utils/auth'\nexport const setToken = () => { throw new Error('请通过招商车研三维尺寸快检平台登录') }\n");
|
||||
write(`src/cmvr/${name}/router/index.js`, "export { default } from '@/router'\n");
|
||||
write(`src/cmvr/${name}/store/index.js`, "export { store as default } from '@/store'\n");
|
||||
// Do not let source user/session stores compete with FreeScan identity.
|
||||
|
||||
|
Before Width: | Height: | Size: 251 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 2.5 KiB |
@ -74,10 +74,14 @@ const getLogoTextColor = computed(() => {
|
||||
overflow: hidden;
|
||||
|
||||
& .sidebar-logo-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
& .sidebar-logo {
|
||||
flex-shrink: 0;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
vertical-align: middle;
|
||||
@ -89,7 +93,9 @@ const getLogoTextColor = computed(() => {
|
||||
margin: 0;
|
||||
color: v-bind(getLogoTextColor);
|
||||
font-weight: 600;
|
||||
line-height: 50px;
|
||||
max-width: calc(100% - 56px);
|
||||
line-height: 1.4;
|
||||
white-space: normal;
|
||||
font-size: 14px;
|
||||
font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
|
||||
vertical-align: middle;
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
export { getAccessToken as getToken, removeToken } from '@/utils/auth'
|
||||
export const setToken = () => { throw new Error('请通过 AM FreeScan 登录') }
|
||||
export const setToken = () => { throw new Error('请通过招商车研三维尺寸快检平台登录') }
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
// FreeScan does not copy upstream credential encryption keys or persist passwords.
|
||||
export const encrypt = () => { throw new Error("请使用 AM FreeScan 登录") }
|
||||
export const decrypt = () => { throw new Error("请使用 AM FreeScan 登录") }
|
||||
export const encrypt = () => { throw new Error("请使用招商车研三维尺寸快检平台登录") }
|
||||
export const decrypt = () => { throw new Error("请使用招商车研三维尺寸快检平台登录") }
|
||||
|
||||
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 2.5 KiB |
@ -74,10 +74,14 @@ const getLogoTextColor = computed(() => {
|
||||
overflow: hidden;
|
||||
|
||||
& .sidebar-logo-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
& .sidebar-logo {
|
||||
flex-shrink: 0;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
vertical-align: middle;
|
||||
@ -89,7 +93,9 @@ const getLogoTextColor = computed(() => {
|
||||
margin: 0;
|
||||
color: v-bind(getLogoTextColor);
|
||||
font-weight: 600;
|
||||
line-height: 50px;
|
||||
max-width: calc(100% - 56px);
|
||||
line-height: 1.4;
|
||||
white-space: normal;
|
||||
font-size: 14px;
|
||||
font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
|
||||
vertical-align: middle;
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
export { getAccessToken as getToken, removeToken } from '@/utils/auth'
|
||||
export const setToken = () => { throw new Error('请通过 AM FreeScan 登录') }
|
||||
export const setToken = () => { throw new Error('请通过招商车研三维尺寸快检平台登录') }
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
// FreeScan does not copy upstream credential encryption keys or persist passwords.
|
||||
export const encrypt = () => { throw new Error("请使用 AM FreeScan 登录") }
|
||||
export const decrypt = () => { throw new Error("请使用 AM FreeScan 登录") }
|
||||
export const encrypt = () => { throw new Error("请使用招商车研三维尺寸快检平台登录") }
|
||||
export const decrypt = () => { throw new Error("请使用招商车研三维尺寸快检平台登录") }
|
||||
|
||||
@ -6,7 +6,6 @@ import { getLayoutRenderMode, isHeaderNavLayout } from '@/utils/layout'
|
||||
|
||||
defineOptions({ name: 'Logo' })
|
||||
|
||||
const { t } = useI18n()
|
||||
const { getPrefixCls } = useDesign()
|
||||
|
||||
const prefixCls = getPrefixCls('logo')
|
||||
@ -73,11 +72,12 @@ watch(
|
||||
'flex !h-[var(--logo-height)] items-center cursor-pointer px-12px relative decoration-none overflow-hidden'
|
||||
]"
|
||||
to="/"
|
||||
:title="title"
|
||||
>
|
||||
<img
|
||||
:class="[`${prefixCls}__img`, { 'is-collapse': !show }]"
|
||||
src="/freescan.svg"
|
||||
alt=""
|
||||
src="/platform-logo.png"
|
||||
:alt="title"
|
||||
/>
|
||||
<div
|
||||
v-if="show"
|
||||
@ -92,8 +92,7 @@ watch(
|
||||
}
|
||||
]"
|
||||
>
|
||||
<strong>{{ title }}</strong>
|
||||
<small>{{ t('workplace.titleEn') }}</small>
|
||||
<strong>{{ title.replace('招商车研', '招商车研\n') }}</strong>
|
||||
</div>
|
||||
</router-link>
|
||||
</div>
|
||||
@ -106,8 +105,7 @@ $prefix-cls: #{$namespace}-logo;
|
||||
&__img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 11px;
|
||||
box-shadow: 0 6px 16px rgba(236, 72, 153, 0.28);
|
||||
border-radius: 0;
|
||||
object-fit: contain;
|
||||
background: transparent;
|
||||
flex-shrink: 0;
|
||||
@ -129,11 +127,12 @@ $prefix-cls: #{$namespace}-logo;
|
||||
|
||||
strong {
|
||||
overflow: hidden;
|
||||
font-size: 15px;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
line-height: 1.5;
|
||||
white-space: pre-line;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
small {
|
||||
|
||||
@ -17,8 +17,8 @@ const collapse = computed(() => appStore.getCollapse)
|
||||
<img :class="`${prefixCls}__scene`" src="/freescan-scene.svg" alt="" />
|
||||
<div :class="`${prefixCls}__content`">
|
||||
<div :class="`${prefixCls}__logo`">
|
||||
<img src="/freescan.svg" alt="" />
|
||||
<span>{{ t('workplace.brandName') }}</span>
|
||||
<img src="/platform-logo.png" alt="" />
|
||||
<span style="white-space: pre-line">{{ t('workplace.brandName').replace('招商车研', '招商车研\n') }}</span>
|
||||
</div>
|
||||
<strong>{{ t('workplace.brandFoot') }}</strong>
|
||||
<small>{{ t('workplace.brandSloganEn') }}</small>
|
||||
@ -73,7 +73,7 @@ $prefix-cls: #{$namespace}-sidebar-brand;
|
||||
img {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 6px;
|
||||
flex-shrink: 0;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
|
||||
@ -242,12 +242,12 @@ export default {
|
||||
dynamic: 'Dynamic',
|
||||
push: 'push',
|
||||
follow: 'Follow',
|
||||
titleEn: 'AM FREESCAN',
|
||||
titleEn: '三维尺寸快检平台',
|
||||
searchPlaceholder: 'Search task, sample, equipment or method...',
|
||||
welcomeBack: 'Welcome back, {name}!',
|
||||
platformDesc: 'Unified management for R&D tests, execution, measurements and reports',
|
||||
platformMotto: 'Rigorous · Precise · Efficient · Flexible detection workflows',
|
||||
brandName: 'AM FreeScan',
|
||||
brandName: '招商车研三维尺寸快检平台',
|
||||
brandFoot: 'Configurable detection, reliable execution',
|
||||
brandSloganEn: 'CONFIGURE · VERIFY · EXECUTE',
|
||||
todayTasks: 'Today',
|
||||
|
||||
@ -244,12 +244,12 @@ export default {
|
||||
dynamic: '动态',
|
||||
push: '推送',
|
||||
follow: '关注',
|
||||
titleEn: 'AM FREESCAN',
|
||||
titleEn: '三维尺寸快检平台',
|
||||
searchPlaceholder: '搜索任务编号、样品、设备或试验方法...',
|
||||
welcomeBack: '欢迎回来,{name}!',
|
||||
platformDesc: '支持研发试验、任务执行、测量结果与报告的一体化管理',
|
||||
platformMotto: '严谨 · 精准 · 高效 · 构建可复用检测流程',
|
||||
brandName: 'AM FreeScan',
|
||||
brandName: '招商车研三维尺寸快检平台',
|
||||
brandFoot: '可配置检测,可信赖执行',
|
||||
brandSloganEn: 'CONFIGURE · VERIFY · EXECUTE',
|
||||
todayTasks: '今日任务',
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<div class="aima-login__hero-mask"></div>
|
||||
<div class="aima-login__hero-content">
|
||||
<div class="aima-login__hero-brand">
|
||||
<img alt="" src="/freescan.svg" />
|
||||
<img alt="" src="/platform-logo.png" />
|
||||
<span>{{ appStore.getTitle }}</span>
|
||||
</div>
|
||||
<div class="aima-login__hero-copy">
|
||||
@ -31,7 +31,7 @@
|
||||
<section class="aima-login__panel">
|
||||
<div class="aima-login__toolbar">
|
||||
<div class="aima-login__brand hidden lt-lg:flex">
|
||||
<img alt="" src="/freescan.svg" />
|
||||
<img alt="" src="/platform-logo.png" />
|
||||
<span>{{ appStore.getTitle }}</span>
|
||||
</div>
|
||||
<div class="aima-login__toolbar-actions">
|
||||
@ -150,9 +150,9 @@ $prefix-cls: #{$namespace}-login;
|
||||
img {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 12px;
|
||||
border-radius: 0;
|
||||
object-fit: contain;
|
||||
box-shadow: 0 8px 18px rgba(236, 72, 153, 0.28);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -165,6 +165,7 @@ $prefix-cls: #{$namespace}-login;
|
||||
font-weight: 800;
|
||||
line-height: 1.25;
|
||||
letter-spacing: 1px;
|
||||
text-wrap: balance;
|
||||
text-shadow: 0 6px 24px rgba(8, 30, 90, 0.25);
|
||||
}
|
||||
|
||||
@ -255,8 +256,9 @@ $prefix-cls: #{$namespace}-login;
|
||||
img {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 10px;
|
||||
border-radius: 0;
|
||||
object-fit: contain;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
>
|
||||
<!-- 左上角的 logo + 系统标题 -->
|
||||
<div class="relative flex items-center text-white">
|
||||
<img alt="" class="mr-10px h-48px w-48px" src="/freescan.svg" />
|
||||
<img alt="" class="mr-10px h-48px w-48px" src="/platform-logo.png" />
|
||||
<span class="text-20px font-bold">{{ underlineToHump(appStore.getTitle) }}</span>
|
||||
</div>
|
||||
<!-- 左边的背景图 + 欢迎语 -->
|
||||
@ -35,7 +35,7 @@
|
||||
class="flex items-center justify-between text-white at-2xl:justify-end at-xl:justify-end"
|
||||
>
|
||||
<div class="flex items-center at-2xl:hidden at-xl:hidden">
|
||||
<img alt="" class="mr-10px h-48px w-48px" src="/freescan.svg" />
|
||||
<img alt="" class="mr-10px h-48px w-48px" src="/platform-logo.png" />
|
||||
<span class="text-20px font-bold">{{ underlineToHump(appStore.getTitle) }}</span>
|
||||
</div>
|
||||
<div class="flex items-center justify-end space-x-10px h-48px">
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
</el-row>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
const logoImg = '/freescan.svg'
|
||||
const logoImg = '/platform-logo.png'
|
||||
|
||||
import LoginFormTitle from './LoginFormTitle.vue'
|
||||
import { LoginStateEnum, useLoginState } from './useLogin'
|
||||
|
||||
21
am-web/tests/platform-brand-ui.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!doctype html><html lang="zh-CN"><meta charset="UTF-8"><title>平台品牌检查</title><div id="app"></div>
|
||||
<script type="module">
|
||||
import {createApp,h} from 'vue'
|
||||
import {createRouter,createMemoryHistory} from 'vue-router'
|
||||
import ElementPlus from 'element-plus'
|
||||
import 'element-plus/dist/index.css'
|
||||
import '/src/styles/index.scss'
|
||||
import 'virtual:uno.css'
|
||||
import {setupStore} from '/src/store/index.ts'
|
||||
import {setupI18n} from '/src/plugins/vueI18n/index.ts'
|
||||
import Logo from '/src/layout/components/Logo/src/Logo.vue'
|
||||
import SidebarBrand from '/src/layout/components/SidebarBrand/src/SidebarBrand.vue'
|
||||
import {useAppStore} from '/src/store/modules/app.ts'
|
||||
const app=createApp({setup(){
|
||||
const store=useAppStore();store.setCollapse(false)
|
||||
return()=>h('main',[h('h2','平台品牌检查'),h('p','实际侧栏组件,不请求业务或设备接口。'),
|
||||
h('aside',{style:{width:'220px',background:'var(--left-menu-bg-color)',color:'var(--logo-title-text-color)'}},[h(Logo),h(SidebarBrand)])])
|
||||
}})
|
||||
setupStore(app);await setupI18n(app);app.use(ElementPlus)
|
||||
app.use(createRouter({history:createMemoryHistory(),routes:[{path:'/',component:{render:()=>null}}]}));app.mount('#app')
|
||||
</script><style>body{margin:24px;color:var(--el-text-color-primary);background:var(--el-bg-color);font:14px system-ui}</style></html>
|
||||