|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<van-pull-refresh
|
|
<van-pull-refresh
|
|
|
- class="home filter-gray"
|
|
|
|
|
|
|
+ class="home"
|
|
|
success-text="加载成功"
|
|
success-text="加载成功"
|
|
|
success-duration="500"
|
|
success-duration="500"
|
|
|
v-model="isLoading"
|
|
v-model="isLoading"
|
|
@@ -8,6 +8,7 @@
|
|
|
@refresh="onRefresh"
|
|
@refresh="onRefresh"
|
|
|
pageType="light"
|
|
pageType="light"
|
|
|
:disabled="!canRefreash"
|
|
:disabled="!canRefreash"
|
|
|
|
|
+ :class="{ 'filter-gray': homeGray }"
|
|
|
>
|
|
>
|
|
|
<div class="filter-bg" :style="{ backgroundImage: `url(${bgImg})` }"></div>
|
|
<div class="filter-bg" :style="{ backgroundImage: `url(${bgImg})` }"></div>
|
|
|
<div class="welcom">
|
|
<div class="welcom">
|
|
@@ -395,7 +396,8 @@ export default {
|
|
|
domainSwitch: false,
|
|
domainSwitch: false,
|
|
|
canRefreash: true,
|
|
canRefreash: true,
|
|
|
showMMC: false,
|
|
showMMC: false,
|
|
|
- MMCUrl: ''
|
|
|
|
|
|
|
+ MMCUrl: '',
|
|
|
|
|
+ homeGray: false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
@@ -434,6 +436,11 @@ export default {
|
|
|
this.$http.get('/sysConfig/get/domain_switch').then(res => {
|
|
this.$http.get('/sysConfig/get/domain_switch').then(res => {
|
|
|
this.domainSwitch = Number(res.value);
|
|
this.domainSwitch = Number(res.value);
|
|
|
});
|
|
});
|
|
|
|
|
+ this.$http.get('/sysConfig/get/home_gray').then(res => {
|
|
|
|
|
+ if (res.value === '1') {
|
|
|
|
|
+ this.homeGray = true;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
this.$el.parentNode.childNodes[1].className = this.$el.parentNode.childNodes[1].className.replace(
|
|
this.$el.parentNode.childNodes[1].className = this.$el.parentNode.childNodes[1].className.replace(
|
|
|
/ bgBack/,
|
|
/ bgBack/,
|