chore: logo、登录页图片固定

tea/dev
wx-jincw 4 weeks ago
parent 67185bbab6
commit 27bea82578

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

@ -24,13 +24,13 @@
data() {
return {
title: 'Vue Element Admin',
logo: '',
logoSmall: ''
logo: require('@/assets/imgs/logo.png'),
logoSmall: require('@/assets/imgs/logo.png')
}
},
mounted() {
this.getLogo()
this.getSquareLogo()
// this.getLogo()
// this.getSquareLogo()
},
methods: {
getLogo() {

@ -118,9 +118,11 @@ export default {
}
return {
captchatImg: '',
swiperList: [],
loginLogo: '',
backgroundImages: '',
swiperList: [{
pic: require('@/assets/imgs/banner.jpeg')
}],
loginLogo: require('@/assets/imgs/logo.png'),
backgroundImages: require('@/assets/imgs/bg.jpg'),
backgroundImageMo: require("@/assets/imgs/bg.jpg"),
fullWidth: document.body.clientWidth,
swiperOption: {
@ -268,12 +270,12 @@ export default {
}
},
getInfo() {
getLoginPicApi().then(res => {
this.swiperList = res.banner
this.loginLogo = res.loginLogo
this.backgroundImages = res.backgroundImage
// Cookies.set('MerInfo', JSON.stringify(data))
})
// getLoginPicApi().then(res => {
// this.swiperList = res.banner
// this.loginLogo = res.loginLogo
// this.backgroundImages = res.backgroundImage
// // Cookies.set('MerInfo', JSON.stringify(data))
// })
},
checkCapslock(e) {
const { key } = e
@ -495,11 +497,13 @@ export default {
.swiperPross, .swiperPic, .swiperPic img {
width: 286px;
height: 100%;
padding: 16px 0;
}
.swiperPic img {
width: 100%;
height: 100%;
object-fit: cover;
}
.container {

@ -1,9 +1,9 @@
<template>
<div class="lottie-bg">
<div>222进来了22222</div>
<div>~</div>
<div id="lottie">
<img
src="@/assets/imgs/live-logo.gif"
src="@/assets/imgs/logo.png"
rel="preload"
style="width: 100%;"
/>

Loading…
Cancel
Save