更换logo图片

This commit is contained in:
dong 2023-09-11 16:54:34 +08:00
parent 30f645bf0a
commit 6a80bd0473
7 changed files with 22 additions and 32 deletions

View File

@ -12,31 +12,12 @@
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
/> />
<link <!-- <link rel="icon" type="image/png" sizes="128x128" href="/logo/NCC.png" />
rel="icon" <link rel="icon" type="image/png" sizes="96x96" href="/logo/NCC.png" />
type="image/png" <link rel="icon" type="image/png" sizes="32x32" href="/logo/NCC.png" /> -->
sizes="128x128" <link rel="icon" type="image/png" sizes="16x16" href="/logo/NCC.png" />
href="icons/favicon-128x128.png" <!-- <link rel="icon" type="image/ico" href="favicon.ico" /> -->
/> <!-- <link rel="icon" type="image/ico" href="/logo/NCC.png" /> -->
<link
rel="icon"
type="image/png"
sizes="96x96"
href="icons/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="icons/favicon-16x16.png"
/>
<link rel="icon" type="image/ico" href="favicon.ico" />
</head> </head>
<body style="overflow: hidden"> <body style="overflow: hidden">
<!-- quasar:entry-point --> <!-- quasar:entry-point -->

BIN
public/logo/NCC.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
public/logo/NCC_白.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
public/logo/logoBg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
public/logo/xian.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -11,7 +11,9 @@
aria-label="Menu" aria-label="Menu"
@click="toggleLeftDrawer" @click="toggleLeftDrawer"
/> />
<div>
<img src="/logo/NCC_白.png" style="width: 80px" />
</div>
<q-toolbar-title> 西安NCC调度辅助决策系统 </q-toolbar-title> <q-toolbar-title> 西安NCC调度辅助决策系统 </q-toolbar-title>
<q-btn <q-btn
v-show="route.path.includes('monitor')" v-show="route.path.includes('monitor')"

View File

@ -2,15 +2,20 @@
<q-layout> <q-layout>
<q-page-container> <q-page-container>
<q-page class="flex bg-image flex-center"> <q-page class="flex bg-image flex-center">
<q-page-sticky position="top-left" :offset="[200, 68]">
<div>
<img src="/logo/NCC.png" style="width: 200px" />
</div>
</q-page-sticky>
<q-page-sticky position="top-right" :offset="[200, 68]">
<div>
<img src="/logo/xian.jpg" style="width: 200px" />
</div>
</q-page-sticky>
<q-card <q-card
v-bind:style="$q.screen.lt.sm ? { width: '80%' } : { width: '30%' }" v-bind:style="$q.screen.lt.sm ? { width: '80%' } : { width: '30%' }"
style="min-width: 350px" style="min-width: 350px"
> >
<q-card-section>
<q-avatar size="100px" class="absolute-center shadow-10">
<img src="icons/favicon-96x96.png" />
</q-avatar>
</q-card-section>
<q-card-section> <q-card-section>
<div class="text-center q-pt-lg"> <div class="text-center q-pt-lg">
<div class="col text-h6 ellipsis">登录</div> <div class="col text-h6 ellipsis">登录</div>
@ -85,6 +90,8 @@ async function doLogin() {
<style> <style>
.bg-image { .bg-image {
background-image: linear-gradient(135deg, #5481fd 0%, #0e02b1 80%); /* background-image: linear-gradient(135deg, #5481fd 0%, #0e02b1 80%); */
background-image: url('/logo/logoBg.png');
background-size: contain;
} }
</style> </style>