logo图片调整

This commit is contained in:
dong 2023-09-11 17:49:25 +08:00
parent c153582c3a
commit b54e3a77fc
2 changed files with 10 additions and 8 deletions

View File

@ -17,7 +17,7 @@
<link rel="icon" type="image/png" sizes="32x32" href="logo/NCC.png" /> <link rel="icon" type="image/png" sizes="32x32" href="logo/NCC.png" />
<link rel="icon" type="image/png" sizes="16x16" href="logo/NCC.png" /> <link rel="icon" type="image/png" sizes="16x16" href="logo/NCC.png" />
<!-- <link rel="icon" type="image/ico" href="favicon.ico" /> --> <!-- <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" href="logo/NCC.png" />
</head> </head>
<body style="overflow: hidden"> <body style="overflow: hidden">
<!-- quasar:entry-point --> <!-- quasar:entry-point -->

View File

@ -4,18 +4,18 @@
<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]"> <q-page-sticky position="top-left" :offset="[200, 68]">
<div> <div>
<img src="logo/NCC.png" style="width: 200px" /> <img src="logo/xian.jpg" style="width: 350px" />
</div>
</q-page-sticky>
<q-page-sticky position="top-right" :offset="[200, 68]">
<div>
<img src="logo/xian.jpg" style="width: 200px" />
</div> </div>
</q-page-sticky> </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>
<div class="absolute-center">
<img src="logo/NCC.png" style="width: 200px" />
</div>
</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>
@ -92,6 +92,8 @@ async function doLogin() {
.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-image: url('/logo/logoBg.png');
background-size: contain; background-repeat: no-repeat;
background-position: center;
background-size: 100% 100%;
} }
</style> </style>