Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
982fe366
Commit
982fe366
authored
Jul 15, 2022
by
曾经
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
看效果
parent
014d6b32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
index.vue
src/components/layout/index.vue
+0
-1
notice.vue
src/components/notice/notice.vue
+11
-4
No files found.
src/components/layout/index.vue
View file @
982fe366
<
template
>
<div>
<notice></notice>
<div
class=
"notice-placeholder"
></div>
<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>
<aside-menu
v-show=
"showAside"
:menu-list=
"activedMenu.length > 0 ? activedMenu[0].childList : []"
:actived-code=
"activedMenu.length > 2 ? activedMenu[2].menuCode : ''"
></aside-menu>
...
...
src/components/notice/notice.vue
View file @
982fe366
<
template
>
<div
class=
"notice-box"
>
<div>
<el-alert
v-if=
"showNotice"
class=
"notice-box"
type=
"warning"
show-icon
@
close=
"onClose"
>
<div
class=
"notice-content"
slot=
"title"
>
<div
...
...
@@ -34,8 +34,8 @@ export default {
return
{
showNotice
:
false
,
expireTip
:
{
show
:
tru
e
,
content
:
'
过期过期
'
show
:
fals
e
,
content
:
''
},
rechargeTip
:
{
show
:
false
...
...
@@ -56,7 +56,14 @@ export default {
getAccountState
()
{
// this.loadAccountStateInfo();
// this.loadExpireData();
console
.
log
(
"getAccountState"
);
console
.
log
(
'getAccountState'
);
this
.
expireTip
=
{
show
:
true
,
content
:
'过期过期'
};
if
(
this
.
expireTip
.
show
)
{
this
.
updateNoticeShow
();
}
},
loadAccountStateInfo
()
{
getAccountStateInfo
().
then
(
res
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment