|
@@ -6,12 +6,7 @@
|
|
|
class="jiaotonglogo"
|
|
|
:src="jiaotonglogo"
|
|
|
/>
|
|
|
- <van-image
|
|
|
- width="147"
|
|
|
- height="48"
|
|
|
- class="down"
|
|
|
- :src="down"
|
|
|
- />
|
|
|
+ <van-image width="20" height="20" class="down" :src="down" />
|
|
|
<div class="title">
|
|
|
<span class="bigTitle">2023</span>
|
|
|
年
|
|
@@ -22,7 +17,7 @@
|
|
|
<div>
|
|
|
西安市机动车保有量正式迈入
|
|
|
<span class="bigTitle">
|
|
|
- <countTo :startVal="400" :endVal="500" :duration="2000"></countTo>
|
|
|
+ <countTo :startVal="400" :endVal="500" :duration="2000"></countTo>
|
|
|
</span>
|
|
|
万大关
|
|
|
</div>
|
|
@@ -50,13 +45,23 @@ import countTo from '@/components/counto/vue-countTo.vue';
|
|
|
top: 13px;
|
|
|
right: 11px;
|
|
|
}
|
|
|
-.down{
|
|
|
-
|
|
|
+.down {
|
|
|
+ animation: down 1s infinite alternate;
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
transform: translateX(-50%);
|
|
|
bottom: 15px;
|
|
|
}
|
|
|
+
|
|
|
+@keyframes down {
|
|
|
+ 0% {
|
|
|
+ transform: translateY(0);
|
|
|
+ }
|
|
|
+ 100% {
|
|
|
+ transform: translateY(10px);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
.title {
|
|
|
font-size: 16px;
|
|
|
line-height: 23px;
|