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
fb5b643f
Commit
fb5b643f
authored
Jul 15, 2022
by
曾经
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/停复机' into dev
* feature/停复机: 看效果 # Conflicts: # src/components/notice/notice.vue
parents
a84d23c2
982fe366
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
index.vue
src/components/layout/index.vue
+0
-1
notice.vue
src/components/notice/notice.vue
+10
-3
No files found.
src/components/layout/index.vue
View file @
fb5b643f
<
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 @
fb5b643f
<
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
...
...
@@ -57,6 +57,13 @@ export default {
// this.loadAccountStateInfo();
// this.loadExpireData();
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