Commit fcc2150a authored by “yiyousong”'s avatar “yiyousong”

perf: 修改默认背景图

parent ac3ef80b
<template>
<div class="data-manage w-full h-auto"
:style="{ backgroundImage: `url(${imgUrl})` }">
<div
class="data-manage w-full h-auto"
:style="{ backgroundImage: `url(${imgUrl})` }"
>
<div class="main flex">
<div class="out-box flex-1">
<router-view />
......@@ -149,9 +151,9 @@ export default {
if (res.code == 1) {
res.data
? (this.imgUrl = res.data)
: (this.imgUrl = require("@/assets/images/siteArrange/bg_3.jpg"));
: (this.imgUrl = require("@/assets/images/siteArrange/bg_4.jpg"));
} else {
this.imgUrl = require("@/assets/images/siteArrange/bg_3.jpg");
this.imgUrl = require("@/assets/images/siteArrange/bg_4.jpg");
}
});
},
......@@ -246,7 +248,7 @@ export default {
<style lang="less" scoped>
.data-manage {
padding: 72px 60px 0px 60px;
background: url("@/assets/images/siteArrange/bg_3.jpg") no-repeat;
background: url("@/assets/images/siteArrange/bg_4.jpg") no-repeat;
background-size: 100% 100%;
.main {
height: 714px;
......
......@@ -346,9 +346,9 @@ export default {
if (res.code == 1) {
res.data
? (this.imgUrl = res.data)
: (this.imgUrl = require("@/assets/images/login_bg.jpg"));
: (this.imgUrl = require("@/assets/images/login_bg3.jpg"));
} else {
this.imgUrl = require("@/assets/images/login_bg.jpg");
this.imgUrl = require("@/assets/images/login_bg3.jpg");
}
});
......@@ -535,7 +535,7 @@ export default {
--input-height: 50px;
--input-border-color: rgba(238, 238, 238, 1);
--time: 1.5s;
// background: url("@/assets/images/login_bg.jpg");
// background: url("@/assets/images/login_bg3.jpg");
background-size: 100% auto;
animation: bg-roll 150s cubic-bezier(0.21, 0.07, 0.88, 1.02) infinite;
.main {
......
......@@ -172,9 +172,9 @@ export default {
if (res.code == 1) {
res.data
? (this.imgUrl = res.data)
: (this.imgUrl = require("@/assets/images/siteArrange/bg_3.jpg"));
: (this.imgUrl = require("@/assets/images/siteArrange/bg_4.jpg"));
} else {
this.imgUrl = require("@/assets/images/siteArrange/bg_3.jpg");
this.imgUrl = require("@/assets/images/siteArrange/bg_4.jpg");
}
});
},
......@@ -329,7 +329,7 @@ export default {
</style>
<style lang="less" scoped>
.station {
background: url("@/assets/images/siteArrange/bg_3.jpg") no-repeat;
background: url("@/assets/images/siteArrange/bg_4.jpg") no-repeat;
background-size: 100% 100%;
overflow: hidden;
......
<template>
<div class="content" v-if="show">
<div class="modal"
:style="{ backgroundImage: `url(${imgUrl})` }">
<div class="modal" :style="{ backgroundImage: `url(${imgUrl})` }">
<div class="effect-content">
<div class="effect-box">
<div class="e-icon-box"></div>
......@@ -2016,15 +2015,15 @@ export default {
computed: {
...mapState("user", ["siteList", "userData"]),
},
methods: {
methods: {
getTitle() {
getSlogan("siteImg").then((res) => {
if (res.code == 1) {
res.data
? (this.imgUrl = res.data)
: (this.imgUrl = require("@/assets/images/siteArrange/bg_3.jpg"));
: (this.imgUrl = require("@/assets/images/siteArrange/bg_4.jpg"));
} else {
this.imgUrl = require("@/assets/images/siteArrange/bg_3.jpg");
this.imgUrl = require("@/assets/images/siteArrange/bg_4.jpg");
}
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment