Skip to content

Commit f3428ea

Browse files
committed
优化时间轴页面指针的起始位置
1 parent 2a47051 commit f3428ea

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
-441 KB
Binary file not shown.

src/components/MainPage/TimeLine.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@
152152
.needleDiv{
153153
z-index: 1000;
154154
position: absolute;
155-
top: -2.4vw;
156-
left: -0.8vw;
155+
top: 1.4vw;
156+
left:4.2vw;
157157
animation: needleRound 60s linear;
158158
animation-iteration-count: infinite;
159-
width: 14.5vw;
160-
height: 10vw;
159+
width: 15.5vw;
160+
height: 10.6vw;
161161
}
162162
.needleDiv img{
163163
width: 100%;
@@ -182,11 +182,11 @@
182182
@keyframes needleRound{
183183
0% {
184184
transform:rotate(0deg);
185-
transform-origin: 9vw 6.2vw;
185+
transform-origin: 3.9vw 2.7vw;
186186
}
187187
100% {
188188
transform:rotate(360deg);
189-
transform-origin: 9vw 6.2vw;
189+
transform-origin: 3.9vw 2.7vw;
190190
}
191191
}
192192

src/static/img/needle.png

-29 KB
Loading

src/static/img/指针.png

-63.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)