|
@@ -407,8 +407,13 @@ export default {
|
|
|
this.showTips().then(() => {
|
|
this.showTips().then(() => {
|
|
|
let showMMC = window.sessionStorage.getItem('showMMC');
|
|
let showMMC = window.sessionStorage.getItem('showMMC');
|
|
|
if (!showMMC) {
|
|
if (!showMMC) {
|
|
|
- this.$http.get('sysConfig/get/MMC_video_url,MMC_show').then(res => {
|
|
|
|
|
- if (res.MMC_show) {
|
|
|
|
|
|
|
+ this.$http.get('sysConfig/get/MMC_video_url,MMC_show,MMC_show_time').then(res => {
|
|
|
|
|
+ if (res.MMC_show_time) {
|
|
|
|
|
+ let date1 = dayjs(res.MMC_show_time.value).add(1, 'days');
|
|
|
|
|
+ if (date1.isAfter(dayjs(), 'day')) {
|
|
|
|
|
+ this.showMMC = true;
|
|
|
|
|
+ }
|
|
|
|
|
+ } else if (res.MMC_show) {
|
|
|
this.showMMC = res.MMC_show.value === '1';
|
|
this.showMMC = res.MMC_show.value === '1';
|
|
|
}
|
|
}
|
|
|
if (res.MMC_video_url) {
|
|
if (res.MMC_video_url) {
|