Commit c86240ae authored by shilei's avatar shilei

feat: 首页跑马灯

parent 5a9a9ed2
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<div class="mr-[62px] flex items-center"> <div class="mr-[62px] flex items-center">
<img src="@/assets/images/icon-volume.png" class="h-4 w-4" alt="" /> <img src="@/assets/images/icon-volume.png" class="h-4 w-4" alt="" />
<div class="relative h-5 w-[180px] overflow-hidden"> <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?.parkInfoCount }}</li>
<li class="name">服务企业 {{ homePageData?.enterpriseCount }}</li> <li class="name">服务企业 {{ homePageData?.enterpriseCount }}</li>
</ul> </ul>
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<div v-if="homePageData?.noticeList.length" class="flex items-center"> <div v-if="homePageData?.noticeList.length" class="flex items-center">
<img src="@/assets/images/icon-volume.png" class="h-4 w-4" alt="" /> <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"> <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"> <li v-for="item in homePageData.noticeList" :key="item.name" class="name">
<p class="w-180 ell"> <p class="w-180 ell">
{{ item.name }} {{ item.name }}
......
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