Commit c53c70ca by 胡悦

修改样式

1 parent 96695fd9
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-07-04 18:39:00
* @LastEditTime: 2022-07-05 10:49:18
-->
<template>
<div>
......@@ -21,7 +21,7 @@
</div>
<div class="ranking-content">
<div class="ranking-item" v-for="(item, index) in flowData" :key="index">
<span>{{ index + 1 }}</span>
<span class="ranking-sort">{{ index + 1 }}</span>
<span class="ranking-name">
<marquee :direction="directionTimer" :delay="delayTimer" :text="item.brand" />
</span>
......@@ -276,6 +276,11 @@ export default {
align-items: center;
line-height: 2.1vh;
height: 2.1vh;
.ranking-sort {
display: inline-block;
width: 0.3vw;
text-align: center;
}
.ranking-name {
width: calc(100% - 33% - 28px);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!