名称Branding变更
This commit is contained in:
1 parent
c74c1e3914
commit
8b5103d542
41 files changed
+282
-93
No files matched your search
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { onMounted, ref } from 'vue'
|
||||
import http from '../api/http'
|
||||
import { branding } from '../config/branding'
|
||||
|
||||
const currentYear = new Date().getFullYear()
|
||||
const frontendVersion = __APP_VERSION__
|
||||
@@ -19,9 +20,9 @@ onMounted(async () => {
|
||||
<template>
|
||||
<footer class="site-footer" aria-label="网站版权信息">
|
||||
<div class="site-footer-inner">
|
||||
<p>© {{ currentYear }} 明序教务 · 版权所有</p>
|
||||
<p>© {{ currentYear }} {{ branding.shortName }} · 版权所有</p>
|
||||
<div class="footer-meta">
|
||||
<span class="footer-note">教务管理与学业服务平台</span>
|
||||
<span class="footer-note">{{ branding.tagline }}</span>
|
||||
<span class="footer-versions" aria-live="polite">
|
||||
前端 v{{ frontendVersion }} · 后端 v{{ backendVersion ?? '—' }}
|
||||
</span>
|
||||
|
||||
@@ -3,6 +3,7 @@ import { computed, onBeforeUnmount, onMounted, ref } from 'vue'
|
||||
import { Capacitor } from '@capacitor/core'
|
||||
import { useAuthStore } from '../stores/auth'
|
||||
import { getSmartGreeting } from '../utils/smartGreeting'
|
||||
import { branding } from '../config/branding'
|
||||
|
||||
const auth = useAuthStore()
|
||||
const previewParams = import.meta.env.DEV
|
||||
@@ -53,7 +54,7 @@ onBeforeUnmount(() => {
|
||||
<div class="smart-launch-mark" aria-hidden="true">
|
||||
<i v-for="index in 9" :key="index" />
|
||||
</div>
|
||||
<span class="smart-launch-brand">明序教务</span>
|
||||
<span class="smart-launch-brand">{{ branding.shortName }}</span>
|
||||
<p>{{ greeting.label }}</p>
|
||||
<h1>{{ greeting.title }}</h1>
|
||||
<small>{{ greeting.subtitle }}</small>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
export interface AppBranding {
|
||||
brandName: string
|
||||
institutionName: string
|
||||
productName: string
|
||||
shortName: string
|
||||
tagline: string
|
||||
description: string
|
||||
}
|
||||
|
||||
export const branding: Readonly<AppBranding> = __APP_BRANDING__
|
||||
Loaded 3 of 41 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user