Commit 982fe366 by 曾经

看效果

parent 014d6b32
<template> <template>
<div> <div>
<notice></notice> <notice></notice>
<div class="notice-placeholder"></div>
<div class="hb-layout" v-loading="fullLoading.visible"> <div class="hb-layout" v-loading="fullLoading.visible">
<main-menu ref="mainMenu" :menu-list="menuList" :actived-code="activedMenu.length > 0 ? activedMenu[0].menuCode : ''" @showLoading="onShowLoading"></main-menu> <main-menu ref="mainMenu" :menu-list="menuList" :actived-code="activedMenu.length > 0 ? activedMenu[0].menuCode : ''" @showLoading="onShowLoading"></main-menu>
<aside-menu v-show="showAside" :menu-list="activedMenu.length > 0 ? activedMenu[0].childList : []" :actived-code="activedMenu.length > 2 ? activedMenu[2].menuCode : ''"></aside-menu> <aside-menu v-show="showAside" :menu-list="activedMenu.length > 0 ? activedMenu[0].childList : []" :actived-code="activedMenu.length > 2 ? activedMenu[2].menuCode : ''"></aside-menu>
......
<template> <template>
<div class="notice-box"> <div>
<el-alert v-if="showNotice" class="notice-box" type="warning" show-icon @close="onClose"> <el-alert v-if="showNotice" class="notice-box" type="warning" show-icon @close="onClose">
<div class="notice-content" slot="title"> <div class="notice-content" slot="title">
<div <div
...@@ -34,8 +34,8 @@ export default { ...@@ -34,8 +34,8 @@ export default {
return { return {
showNotice: false, showNotice: false,
expireTip: { expireTip: {
show: true, show: false,
content: '过期过期' content: ''
}, },
rechargeTip: { rechargeTip: {
show: false show: false
...@@ -56,7 +56,14 @@ export default { ...@@ -56,7 +56,14 @@ export default {
getAccountState() { getAccountState() {
// this.loadAccountStateInfo(); // this.loadAccountStateInfo();
// this.loadExpireData(); // this.loadExpireData();
console.log("getAccountState"); console.log('getAccountState');
this.expireTip = {
show: true,
content: '过期过期'
};
if (this.expireTip.show) {
this.updateNoticeShow();
}
}, },
loadAccountStateInfo() { loadAccountStateInfo() {
getAccountStateInfo().then(res => { getAccountStateInfo().then(res => {
......
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