Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
liang
agcs2.0-web
Commits
b75bdec3
Commit
b75bdec3
authored
May 04, 2023
by
liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
..
parent
02bc2e76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
index.vue
src/views/Home/notice/index.vue
+8
-4
No files found.
src/views/Home/notice/index.vue
View file @
b75bdec3
...
@@ -4,10 +4,10 @@
...
@@ -4,10 +4,10 @@
<h3
class=
"side_title"
>
通知公告
</h3>
<h3
class=
"side_title"
>
通知公告
</h3>
<ul
class=
"side-list"
>
<ul
class=
"side-list"
>
<li
<li
:class=
"
noticeName
=== name ? 'active' : ''"
:class=
"
currentComponent
=== name ? 'active' : ''"
v-for=
"
{ isTop, time, name, label } in list"
v-for=
"
{ isTop, time, name, label } in list"
:key="name"
:key="name"
@click="
noticeName
= name"
@click="
currentComponent
= name"
>
>
<h4>
{{
label
}}
</h4>
<h4>
{{
label
}}
</h4>
<div>
<div>
...
@@ -38,7 +38,6 @@ export default {
...
@@ -38,7 +38,6 @@ export default {
HospitalsList
,
HospitalsList
,
},
},
data
()
{
data
()
{
console
.
log
(
this
)
return
{
return
{
list
:
[
list
:
[
{
{
...
@@ -54,11 +53,16 @@ export default {
...
@@ -54,11 +53,16 @@ export default {
isTop
:
true
,
isTop
:
true
,
},
},
],
],
currentComponent
:
this
.
$props
.
noticeName
,
}
}
},
},
methods
:
{},
methods
:
{},
mounted
()
{},
mounted
()
{},
watch
:
{},
watch
:
{
noticeName
(
val
)
{
this
.
currentComponent
=
val
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
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