Browse Source

feat: theme change

main
xuziqiang 4 months ago
parent
commit
60ae99d410
  1. 4
      hx-ai-intelligent/.env
  2. 2
      hx-ai-intelligent/.version
  3. 4
      hx-ai-intelligent/index.html
  4. 3
      hx-ai-intelligent/src/config/app.config.ts
  5. 8
      lib/saas/view/system/layout/header.vue

4
hx-ai-intelligent/.env

@ -4,7 +4,7 @@ VITE_PORT = 3301
VITE_GLOB_APP_RUN_TYPE = saas VITE_GLOB_APP_RUN_TYPE = saas
# spa-title # spa-title
VITE_GLOB_APP_TITLE = Smart Parking Depositor VITE_GLOB_APP_TITLE = hx-ai-intelligent Depositor
# spa shortname # spa shortname
VITE_GLOB_APP_SHORT_NAME = smart-parking-depositor VITE_GLOB_APP_SHORT_NAME = hx-ai-intelligent-depositor

2
hx-ai-intelligent/.version

@ -1 +1 @@
2.1.19 0.0.1

4
hx-ai-intelligent/index.html

@ -5,11 +5,11 @@
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta name="referrer" content="never" /> <meta name="referrer" content="never" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="text/javascript"> <!-- <script type="text/javascript">
window._AMapSecurityConfig = { window._AMapSecurityConfig = {
securityJsCode: '09e43004c09d39c0e61f8fd65d5e6a5a', securityJsCode: '09e43004c09d39c0e61f8fd65d5e6a5a',
}; };
</script> </script> -->
<title>AI智能BAS系统</title> <title>AI智能BAS系统</title>
</head> </head>
<body> <body>

3
hx-ai-intelligent/src/config/app.config.ts

@ -6,6 +6,7 @@ export const appConfig = {
projectType: 'web', projectType: 'web',
baseApi: '/api', baseApi: '/api',
enablePermissions: false, enablePermissions: false,
// themeColor: '#eee',
siderPosition: 'left', siderPosition: 'left',
baseHeader: '/parkingManage', baseHeader: '/parkingManage',
baseRouter: '/parkingManage/parkingLotManage', baseRouter: '/parkingManage/parkingLotManage',
@ -47,7 +48,7 @@ export const appConfig = {
// 修改密码配置 // 修改密码配置
updatePassWordInfo: { updatePassWordInfo: {
title: '修改密码', title: '修改密码',
subtitle: '芜优出行平台', subtitle: 'huaxing平台',
api: '/api/web/objs/User/changePassword', api: '/api/web/objs/User/changePassword',
}, },
// headerBellInfo: { // headerBellInfo: {

8
lib/saas/view/system/layout/header.vue

@ -123,11 +123,11 @@
</template> </template>
</a-dropdown> </a-dropdown>
<!-- <div class="setting action" v-if="currentThemeColor" @click="changeSettingVisible(true)"> <div class="setting action" v-if="currentThemeColor" @click="changeSettingVisible(true)">
<setting-outlined /> <setting-outlined />
</div> -->
</div> </div>
<!-- <a-drawer v-model:visible="settingVisible" title="外观管理" placement="right"> </div>
<a-drawer v-model:visible="settingVisible" title="外观管理" placement="right">
<a-divider>主题</a-divider> <a-divider>主题</a-divider>
<div class="theme-picker"> <div class="theme-picker">
<template v-for="color in themeColorList" :key="color"> <template v-for="color in themeColorList" :key="color">
@ -139,7 +139,7 @@
><check-outlined /></span ><check-outlined /></span
></template> ></template>
</div> </div>
</a-drawer> --> </a-drawer>
</a-layout-header> </a-layout-header>
</template> </template>

Loading…
Cancel
Save