feat:新增logo

This commit is contained in:
5g0Wp7Zy 2025-09-02 10:20:33 +08:00
parent 186a641366
commit 82084a0480
11 changed files with 103 additions and 111 deletions

4
.env
View File

@ -2,10 +2,10 @@
# development & production & test > .env # development & production & test > .env
# title # title
VITE_GLOB_APP_TITLE = SnowAdmin VITE_GLOB_APP_TITLE = 卓景出行
# 静态资源url # 静态资源url
VITE_IMG_BASE_URL = 'https://my-image-cdn.com' VITE_IMG_BASE_URL = ''
# 本地mock数据 true开启 false关闭 # 本地mock数据 true开启 false关闭
VITE_APP_OPEN_MOCK = true VITE_APP_OPEN_MOCK = true

View File

@ -9,4 +9,4 @@ VITE_ROUTER_MODE = hash
VITE_PUBLIC_PATH = './' VITE_PUBLIC_PATH = './'
# 请求路径 管理系统/开发环境 # 请求路径 管理系统/开发环境
VITE_APP_BASE_URL = '/your-request-path' VITE_APP_BASE_URL = '/your-request-path1'

View File

@ -2,10 +2,10 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/assets/logo/snow.svg" /> <link rel="icon" type="image/svg+xml" href="/src/assets/svgs/ebike.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/css/loading.css" type="text/css" /> <link rel="stylesheet" href="/css/loading.css" type="text/css" />
<title>SnowAdmin</title> <title>卓景出行</title>
</head> </head>
<body> <body>
<div id="app"> <div id="app">

View File

@ -1,6 +1,7 @@
import axios from "axios"; import axios from "axios";
import router from "@/router"; import router from "@/router";
import { Message } from "@arco-design/web-vue"; import { Message } from "@arco-design/web-vue";
import { log } from "@visactor/vchart/esm/util";
// 是否开启本地mock // 是否开启本地mock
const MOCK_FLAG = import.meta.env.VITE_APP_OPEN_MOCK === "true"; const MOCK_FLAG = import.meta.env.VITE_APP_OPEN_MOCK === "true";
@ -21,6 +22,8 @@ service.interceptors.request.use(
// 有token在请求头中携带token // 有token在请求头中携带token
config.headers.Authorization = userInfo.token; config.headers.Authorization = userInfo.token;
} }
console.log(config);
return config; return config;
}, },
function (error: any) { function (error: any) {

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 62 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 13 KiB

149
src/auto-import.d.ts vendored
View File

@ -5,90 +5,75 @@
// Generated by unplugin-auto-import // Generated by unplugin-auto-import
export {} export {}
declare global { declare global {
const EffectScope: (typeof import("vue"))["EffectScope"]; const EffectScope: typeof import('vue')['EffectScope']
const Message: (typeof import("./globals/index"))["Message"]; const Message: (typeof import("./globals/index"))["Message"]
const arcoMessage: (typeof import("./globals/index"))["arcoMessage"]; const arcoMessage: typeof import('./globals/index')['arcoMessage']
const computed: (typeof import("vue"))["computed"]; const computed: typeof import('vue')['computed']
const createApp: (typeof import("vue"))["createApp"]; const createApp: typeof import('vue')['createApp']
const customRef: (typeof import("vue"))["customRef"]; const customRef: typeof import('vue')['customRef']
const debounce: (typeof import("./globals/index"))["debounce"]; const debounce: typeof import('./globals/index')['debounce']
const defineAsyncComponent: (typeof import("vue"))["defineAsyncComponent"]; const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
const defineComponent: (typeof import("vue"))["defineComponent"]; const defineComponent: typeof import('vue')['defineComponent']
const dictFilter: (typeof import("./globals/index"))["dictFilter"]; const dictFilter: typeof import('./globals/index')['dictFilter']
const effectScope: (typeof import("vue"))["effectScope"]; const effectScope: typeof import('vue')['effectScope']
const getCurrentInstance: (typeof import("vue"))["getCurrentInstance"]; const getCurrentInstance: typeof import('vue')['getCurrentInstance']
const getCurrentScope: (typeof import("vue"))["getCurrentScope"]; const getCurrentScope: typeof import('vue')['getCurrentScope']
const h: (typeof import("vue"))["h"]; const h: typeof import('vue')['h']
const inject: (typeof import("vue"))["inject"]; const inject: typeof import('vue')['inject']
const isProxy: (typeof import("vue"))["isProxy"]; const isProxy: typeof import('vue')['isProxy']
const isReactive: (typeof import("vue"))["isReactive"]; const isReactive: typeof import('vue')['isReactive']
const isReadonly: (typeof import("vue"))["isReadonly"]; const isReadonly: typeof import('vue')['isReadonly']
const isRef: (typeof import("vue"))["isRef"]; const isRef: typeof import('vue')['isRef']
const markRaw: (typeof import("vue"))["markRaw"]; const markRaw: typeof import('vue')['markRaw']
const nextTick: (typeof import("vue"))["nextTick"]; const nextTick: typeof import('vue')['nextTick']
const onActivated: (typeof import("vue"))["onActivated"]; const onActivated: typeof import('vue')['onActivated']
const onBeforeMount: (typeof import("vue"))["onBeforeMount"]; const onBeforeMount: typeof import('vue')['onBeforeMount']
const onBeforeRouteLeave: (typeof import("vue-router"))["onBeforeRouteLeave"]; const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
const onBeforeRouteUpdate: (typeof import("vue-router"))["onBeforeRouteUpdate"]; const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
const onBeforeUnmount: (typeof import("vue"))["onBeforeUnmount"]; const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
const onBeforeUpdate: (typeof import("vue"))["onBeforeUpdate"]; const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
const onDeactivated: (typeof import("vue"))["onDeactivated"]; const onDeactivated: typeof import('vue')['onDeactivated']
const onErrorCaptured: (typeof import("vue"))["onErrorCaptured"]; const onErrorCaptured: typeof import('vue')['onErrorCaptured']
const onMounted: (typeof import("vue"))["onMounted"]; const onMounted: typeof import('vue')['onMounted']
const onRenderTracked: (typeof import("vue"))["onRenderTracked"]; const onRenderTracked: typeof import('vue')['onRenderTracked']
const onRenderTriggered: (typeof import("vue"))["onRenderTriggered"]; const onRenderTriggered: typeof import('vue')['onRenderTriggered']
const onScopeDispose: (typeof import("vue"))["onScopeDispose"]; const onScopeDispose: typeof import('vue')['onScopeDispose']
const onServerPrefetch: (typeof import("vue"))["onServerPrefetch"]; const onServerPrefetch: typeof import('vue')['onServerPrefetch']
const onUnmounted: (typeof import("vue"))["onUnmounted"]; const onUnmounted: typeof import('vue')['onUnmounted']
const onUpdated: (typeof import("vue"))["onUpdated"]; const onUpdated: typeof import('vue')['onUpdated']
const onWatcherCleanup: (typeof import("vue"))["onWatcherCleanup"]; const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
const provide: (typeof import("vue"))["provide"]; const provide: typeof import('vue')['provide']
const reactive: (typeof import("vue"))["reactive"]; const reactive: typeof import('vue')['reactive']
const readonly: (typeof import("vue"))["readonly"]; const readonly: typeof import('vue')['readonly']
const ref: (typeof import("vue"))["ref"]; const ref: typeof import('vue')['ref']
const resolveComponent: (typeof import("vue"))["resolveComponent"]; const resolveComponent: typeof import('vue')['resolveComponent']
const shallowReactive: (typeof import("vue"))["shallowReactive"]; const shallowReactive: typeof import('vue')['shallowReactive']
const shallowReadonly: (typeof import("vue"))["shallowReadonly"]; const shallowReadonly: typeof import('vue')['shallowReadonly']
const shallowRef: (typeof import("vue"))["shallowRef"]; const shallowRef: typeof import('vue')['shallowRef']
const toRaw: (typeof import("vue"))["toRaw"]; const toRaw: typeof import('vue')['toRaw']
const toRef: (typeof import("vue"))["toRef"]; const toRef: typeof import('vue')['toRef']
const toRefs: (typeof import("vue"))["toRefs"]; const toRefs: typeof import('vue')['toRefs']
const toValue: (typeof import("vue"))["toValue"]; const toValue: typeof import('vue')['toValue']
const triggerRef: (typeof import("vue"))["triggerRef"]; const triggerRef: typeof import('vue')['triggerRef']
const unref: (typeof import("vue"))["unref"]; const unref: typeof import('vue')['unref']
const useAttrs: (typeof import("vue"))["useAttrs"]; const useAttrs: typeof import('vue')['useAttrs']
const useCssModule: (typeof import("vue"))["useCssModule"]; const useCssModule: typeof import('vue')['useCssModule']
const useCssVars: (typeof import("vue"))["useCssVars"]; const useCssVars: typeof import('vue')['useCssVars']
const useId: (typeof import("vue"))["useId"]; const useId: typeof import('vue')['useId']
const useLink: (typeof import("vue-router"))["useLink"]; const useLink: typeof import('vue-router')['useLink']
const useModel: (typeof import("vue"))["useModel"]; const useModel: typeof import('vue')['useModel']
const useRoute: (typeof import("vue-router"))["useRoute"]; const useRoute: typeof import('vue-router')['useRoute']
const useRouter: (typeof import("vue-router"))["useRouter"]; const useRouter: typeof import('vue-router')['useRouter']
const useSlots: (typeof import("vue"))["useSlots"]; const useSlots: typeof import('vue')['useSlots']
const useTemplateRef: (typeof import("vue"))["useTemplateRef"]; const useTemplateRef: typeof import('vue')['useTemplateRef']
const watch: (typeof import("vue"))["watch"]; const watch: typeof import('vue')['watch']
const watchEffect: (typeof import("vue"))["watchEffect"]; const watchEffect: typeof import('vue')['watchEffect']
const watchPostEffect: (typeof import("vue"))["watchPostEffect"]; const watchPostEffect: typeof import('vue')['watchPostEffect']
const watchSyncEffect: (typeof import("vue"))["watchSyncEffect"]; const watchSyncEffect: typeof import('vue')['watchSyncEffect']
} }
// for type re-export // for type re-export
declare global { declare global {
// @ts-ignore // @ts-ignore
export type { export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
Component, import('vue')
ComponentPublicInstance,
ComputedRef,
DirectiveBinding,
ExtractDefaultPropTypes,
ExtractPropTypes,
ExtractPublicPropTypes,
InjectionKey,
PropType,
Ref,
MaybeRef,
MaybeRefOrGetter,
VNode,
WritableComputedRef
} from "vue";
import("vue");
} }

44
src/components.d.ts vendored
View File

@ -5,28 +5,28 @@
// Read more: https://github.com/vuejs/core/pull/3399 // Read more: https://github.com/vuejs/core/pull/3399
export {} export {}
declare module "vue" { declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
copy: (typeof import("./components/s-layout-search/index copy.vue"))["default"]; copy: typeof import('./components/s-layout-search/index copy.vue')['default']
"Index copy": (typeof import("./components/s-layout-search/index copy.vue"))["default"]; 'Index copy': typeof import('./components/s-layout-search/index copy.vue')['default']
RouterLink: (typeof import("vue-router"))["RouterLink"]; RouterLink: typeof import('vue-router')['RouterLink']
RouterView: (typeof import("vue-router"))["RouterView"]; RouterView: typeof import('vue-router')['RouterView']
SBarcodeDraw: (typeof import("./components/s-barcode-draw/index.vue"))["default"]; SBarcodeDraw: typeof import('./components/s-barcode-draw/index.vue')['default']
SCodeView: (typeof import("./components/s-code-view/index.vue"))["default"]; SCodeView: typeof import('./components/s-code-view/index.vue')['default']
SExternalLinkPage: (typeof import("./components/s-external-link-page/index.vue"))["default"]; SExternalLinkPage: typeof import('./components/s-external-link-page/index.vue')['default']
SFoldPage: (typeof import("./components/s-fold-page/index.vue"))["default"]; SFoldPage: typeof import('./components/s-fold-page/index.vue')['default']
SFullPage: (typeof import("./components/s-full-page/index.vue"))["default"]; SFullPage: typeof import('./components/s-full-page/index.vue')['default']
SInternalLinkPage: (typeof import("./components/s-internal-link-page/index.vue"))["default"]; SInternalLinkPage: typeof import('./components/s-internal-link-page/index.vue')['default']
SLangProvider: (typeof import("./components/s-lang-provider/index.vue"))["default"]; SLangProvider: typeof import('./components/s-lang-provider/index.vue')['default']
SLayoutSearch: (typeof import("./components/s-layout-search/index.vue"))["default"]; SLayoutSearch: typeof import('./components/s-layout-search/index.vue')['default']
SLayoutTools: (typeof import("./components/s-layout-tools/index.vue"))["default"]; SLayoutTools: typeof import('./components/s-layout-tools/index.vue')['default']
SMainTransition: (typeof import("./components/s-main-transition/index.vue"))["default"]; SMainTransition: typeof import('./components/s-main-transition/index.vue')['default']
SPinyinPro: (typeof import("./components/s-pinyin-pro/index.vue"))["default"]; SPinyinPro: typeof import('./components/s-pinyin-pro/index.vue')['default']
SQrcodeDraw: (typeof import("./components/s-qrcode-draw/index.vue"))["default"]; SQrcodeDraw: typeof import('./components/s-qrcode-draw/index.vue')['default']
SRecorderPcm: (typeof import("./components/s-recorder-pcm/index.vue"))["default"]; SRecorderPcm: typeof import('./components/s-recorder-pcm/index.vue')['default']
SSelectIcon: (typeof import("./components/s-select-icon/index.vue"))["default"]; SSelectIcon: typeof import('./components/s-select-icon/index.vue')['default']
SSvgAndIcon: (typeof import("./components/s-svg-and-icon/index.vue"))["default"]; SSvgAndIcon: typeof import('./components/s-svg-and-icon/index.vue')['default']
SSvgIcon: (typeof import("./components/s-svg-icon/index.vue"))["default"]; SSvgIcon: typeof import('./components/s-svg-icon/index.vue')['default']
SVerifyCode: (typeof import("./components/s-verify-code/index.vue"))["default"]; SVerifyCode: typeof import('./components/s-verify-code/index.vue')['default']
} }
} }

View File

@ -128,6 +128,7 @@ export const routeConfigStore = () => {
async function initSetRouter() { async function initSetRouter() {
// 1、获取过滤角色权限后的树后端做排序处理 // 1、获取过滤角色权限后的树后端做排序处理
let { data } = await getRoutersAPI(); let { data } = await getRoutersAPI();
// 2、获取路由树转换的一维路由 // 2、获取路由树转换的一维路由
let flatRoute = linearArray(data); let flatRoute = linearArray(data);
// 3、将模块设置为真实模块 // 3、将模块设置为真实模块

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="banner_box"> <div class="banner_box">
<div class="banner_title"> <div class="banner_title">
<s-svg-icon name="snow" size="25" /> <s-svg-icon name="ebike" size="35" />
{{ title }} {{ title }}
</div> </div>
<div class="banner_img"> <div class="banner_img">

View File

@ -7,7 +7,6 @@
<div class="login_title_desc">国际化路由配置状态管理应有尽有</div> <div class="login_title_desc">国际化路由配置状态管理应有尽有</div>
<div class="login_title_desc">丰富的的页面模板覆盖大多数典型业务场景</div> <div class="login_title_desc">丰富的的页面模板覆盖大多数典型业务场景</div>
<LoginForm /> <LoginForm />
<!-- <div class="author">by 兔子先森</div> -->
</div> </div>
</div> </div>
</div> </div>