兴义大屏
This commit is contained in:
@@ -46,11 +46,15 @@
|
|||||||
<div class="item" v-for="(item, index) in 10" :key="index">
|
<div class="item" v-for="(item, index) in 10" :key="index">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<span>65</span>
|
<span>65</span>
|
||||||
<div style="width: 50%"></div>
|
<div class="rate-wrapper">
|
||||||
|
<span class="rate" style="width: 40%"></span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h2>兴义</h2>
|
<h2>兴义</h2>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div style="width: 50%"></div>
|
<div class="rate-wrapper">
|
||||||
|
<span class="rate" style="width: 100%"></span>
|
||||||
|
</div>
|
||||||
<span>32144</span>
|
<span>32144</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -914,16 +918,58 @@
|
|||||||
|
|
||||||
.item-top__list {
|
.item-top__list {
|
||||||
height: 400px;
|
height: 400px;
|
||||||
|
padding: 10px 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 10px 0;
|
padding: 10px 4px;
|
||||||
|
|
||||||
|
.left .rate-wrapper {
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
}
|
||||||
|
|
||||||
div {
|
div {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
||||||
|
.rate-wrapper {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rate {
|
||||||
|
height: 10px;
|
||||||
|
text-align: right;
|
||||||
|
background-image: linear-gradient(270deg, rgba(255,208,63,0.00) 0%, rgba(255,208,63,0.80) 100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
.rate {
|
||||||
|
background-image: linear-gradient(270deg, rgba(0,240,251,0.80) 0%, rgba(0,240,251,0.00) 100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: 16px;
|
||||||
|
text-shadow: 0px 0px 13px rgb(59 182 255 / 80%);
|
||||||
|
background: #fff;
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
color: #aeacaf;
|
||||||
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user