Commit 02483121 by 胡悦

tijiao

1 parent 5d34e4ee
......@@ -3,11 +3,30 @@
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2023-08-01 17:59:45
* @LastEditTime: 2023-08-02 15:41:04
-->
<template>
<div class="left">
左侧内容
<div class="left-box">
<box-title title="总产值"></box-title>
<div class="left-statistics">
<div class="statistics-top">
<div class="statistics-price"><span class="statistics-unit">¥</span><span class="statistics-price-number">{{numAddSymbol(2280708)}}</span><span>%</span></div>
</div>
<div class="ratio">
<div class="ratio-left">周同比<span class="positive">12%</span></div>
<div class="ratio-right">日环比<span class="negative">-7%</span></div>
</div>
</div>
</div>
<div class="left-box">
<box-title title="总场次"></box-title>
</div>
<div class="left-box">
<box-title title="总产值"></box-title>
</div>
</div>
</template>
......@@ -27,9 +46,60 @@ export default {
.left {
width: 20.56vw;
height: 50vh;
// background: #061422;
// box-shadow: inset 0 0 20px 0 #3d57ff69;
&-box {
width: 100%;
height: 28.56vh;
background: #061422;
box-shadow: inset 0 0 20px 0 #3d57ff69;
margin-bottom: 1.78vh;
}
}
.left-statistics {
padding: 1.78vh 1.39vw;
}
.statistics {
&-top {
position: relative;
padding-left: 0.3vw;
}
&-unit {
padding-right: 0.56vw;
}
&-price {
display: flex;
align-items: center;
color: #25D6FF;
font-weight: 600;
font-size: 14px;
height: 3.11vh;
&-number {
padding-right: 0.56vw;
font-size: 20px;
color: #5894FF;
background-image:-webkit-linear-gradient(left,#24D8FF,#7787FF);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}
}
}
.ratio {
margin-top: 1.11vh;
display: flex;
width: 100%;
justify-content: space-between;
.positive,
.negative{
display: inline-block;
margin-left: 0.28vw;
}
.positive {
color: #EB6001;
}
.negative {
color: #16E193;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!