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

perf: 修改默认背景图

parent ac3ef80b
<template> <template>
<div class="data-manage w-full h-auto" <div
:style="{ backgroundImage: `url(${imgUrl})` }"> class="data-manage w-full h-auto"
:style="{ backgroundImage: `url(${imgUrl})` }"
>
<div class="main flex"> <div class="main flex">
<div class="out-box flex-1"> <div class="out-box flex-1">
<router-view /> <router-view />
...@@ -149,9 +151,9 @@ export default { ...@@ -149,9 +151,9 @@ export default {
if (res.code == 1) { if (res.code == 1) {
res.data res.data
? (this.imgUrl = 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 { } 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 { ...@@ -246,7 +248,7 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.data-manage { .data-manage {
padding: 72px 60px 0px 60px; 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%; background-size: 100% 100%;
.main { .main {
height: 714px; height: 714px;
......
...@@ -346,9 +346,9 @@ export default { ...@@ -346,9 +346,9 @@ export default {
if (res.code == 1) { if (res.code == 1) {
res.data res.data
? (this.imgUrl = res.data) ? (this.imgUrl = res.data)
: (this.imgUrl = require("@/assets/images/login_bg.jpg")); : (this.imgUrl = require("@/assets/images/login_bg3.jpg"));
} else { } else {
this.imgUrl = require("@/assets/images/login_bg.jpg"); this.imgUrl = require("@/assets/images/login_bg3.jpg");
} }
}); });
...@@ -535,7 +535,7 @@ export default { ...@@ -535,7 +535,7 @@ export default {
--input-height: 50px; --input-height: 50px;
--input-border-color: rgba(238, 238, 238, 1); --input-border-color: rgba(238, 238, 238, 1);
--time: 1.5s; --time: 1.5s;
// background: url("@/assets/images/login_bg.jpg"); // background: url("@/assets/images/login_bg3.jpg");
background-size: 100% auto; background-size: 100% auto;
animation: bg-roll 150s cubic-bezier(0.21, 0.07, 0.88, 1.02) infinite; animation: bg-roll 150s cubic-bezier(0.21, 0.07, 0.88, 1.02) infinite;
.main { .main {
......
...@@ -172,9 +172,9 @@ export default { ...@@ -172,9 +172,9 @@ export default {
if (res.code == 1) { if (res.code == 1) {
res.data res.data
? (this.imgUrl = 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 { } 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 { ...@@ -329,7 +329,7 @@ export default {
</style> </style>
<style lang="less" scoped> <style lang="less" scoped>
.station { .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%; background-size: 100% 100%;
overflow: hidden; overflow: hidden;
......
<template> <template>
<div class="content" v-if="show"> <div class="content" v-if="show">
<div class="modal" <div class="modal" :style="{ backgroundImage: `url(${imgUrl})` }">
:style="{ backgroundImage: `url(${imgUrl})` }">
<div class="effect-content"> <div class="effect-content">
<div class="effect-box"> <div class="effect-box">
<div class="e-icon-box"></div> <div class="e-icon-box"></div>
...@@ -2022,9 +2021,9 @@ export default { ...@@ -2022,9 +2021,9 @@ export default {
if (res.code == 1) { if (res.code == 1) {
res.data res.data
? (this.imgUrl = 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 { } 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