Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
liyeyun
Project
Project
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
cfld-frontend
liyeyun
Commits
c86240ae
Commit
c86240ae
authored
Dec 20, 2023
by
shilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 首页跑马灯
parent
5a9a9ed2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HomeView.vue
src/views/home/HomeView.vue
+2
-2
No files found.
src/views/home/HomeView.vue
View file @
c86240ae
...
...
@@ -89,7 +89,7 @@
<div
class=
"mr-[62px] flex items-center"
>
<img
src=
"@/assets/images/icon-volume.png"
class=
"h-4 w-4"
alt=
""
/>
<div
class=
"relative h-5 w-[180px] overflow-hidden"
>
<ul
ref=
"marquee"
class=
"ml-2 h-5 w-[200px] overflow-
y-scroll
text-sm text-white"
>
<ul
ref=
"marquee"
class=
"ml-2 h-5 w-[200px] overflow-
hidden
text-sm text-white"
>
<li
class=
"name"
>
园区数量
{{
homePageData
?.
parkInfoCount
}}
个
</li>
<li
class=
"name"
>
服务企业
{{
homePageData
?.
enterpriseCount
}}
家
</li>
</ul>
...
...
@@ -98,7 +98,7 @@
<div
v-if=
"homePageData?.noticeList.length"
class=
"flex items-center"
>
<img
src=
"@/assets/images/icon-volume.png"
class=
"h-4 w-4"
alt=
""
/>
<div
style=
"width: calc(850px - 17px)"
class=
"relative h-5 overflow-hidden text-sm"
>
<ul
ref=
"marquee2"
class=
"ml-2 h-5 w-[850px] overflow-
y-scroll
text-sm text-white"
>
<ul
ref=
"marquee2"
class=
"ml-2 h-5 w-[850px] overflow-
hidden
text-sm text-white"
>
<li
v-for=
"item in homePageData.noticeList"
:key=
"item.name"
class=
"name"
>
<p
class=
"w-180 ell"
>
{{
item
.
name
}}
...
...
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