Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
moe-lab_ui
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
龙朝忠
moe-lab_ui
Commits
df500019
Commit
df500019
authored
Jul 15, 2023
by
longchaozhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 走马灯效果
parent
2777c6ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
5 deletions
+25
-5
home.vue
src/views/home.vue
+25
-5
No files found.
src/views/home.vue
View file @
df500019
...
...
@@ -12,10 +12,10 @@
</div>
<div
class=
"notic"
>
<
img
class=
"icon"
src=
"../assets/uliss/volume-up.png"
alt=
""
/
>
<
span
class=
"msg one-line"
>
公告:2022-2023学年数据上报站点于2023年9月1日正式启用,上报站点于2023年9月1日正式启用
</span
>
<
div
class=
"icon-wrapper"
><img
class=
"icon"
src=
"../assets/uliss/volume-up.png"
alt=
""
/>
公告:
</div
>
<
div
class=
"msg"
>
<span
class=
"scroll-txt"
>
2022-2023学年数据上报站点于2023年9月1日正式启用,上报站点于2023年9月1日正式启用
</span>
</div
>
<span
class=
"date"
>
今天是2023/6/26 星期一
</span>
</div>
...
...
@@ -289,14 +289,25 @@ export default {
color
:
#ffffff
;
align-items
:
center
;
.icon
{
.icon
-wrapper
{
flex-shrink
:
0
;
}
.icon
{
width
:
24px
;
height
:
24px
;
margin-right
:
10px
;
vertical-align
:
middle
;
}
.msg
{
flex-grow
:
1
;
overflow
:
hidden
;
white-space
:
nowrap
;
}
.scroll-txt
{
display
:
inline-block
;
white-space
:
nowrap
;
animation
:
scroll
10s
linear
infinite
;
}
.date
{
...
...
@@ -518,4 +529,13 @@ export default {
line-height
:
36px
;
margin-top
:
112px
;
}
@keyframes
scroll
{
0
%
{
transform
:
translateX
(
100%
);
}
100
%
{
transform
:
translateX
(
-100%
);
}
}
</
style
>
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