Files

208 lines
4.2 KiB
Vue
Raw Normal View History

2021-11-22 09:17:41 +08:00
<template>
2021-12-08 22:58:15 +08:00
<div>
<container3>
<img class="img" src="./conter.png" style="width: 100%; height: 100%" />
<rocketTit class="tit">全年目标</rocketTit>
<div class="data">
<div class="data-item">
2021-12-09 10:15:29 +08:00
<div><img src="./icon1.png" alt="" /><span style="font-weight: bold">收入</span></div>
2021-12-08 22:58:15 +08:00
<div class="box"><i>3380/</i><i class="num">12342</i><span class="num2"></span></div>
2021-12-09 10:41:42 +08:00
<div style="width: 100%">
2021-12-08 22:58:15 +08:00
<progressBar :percentage="70" />
</div>
</div>
<div class="data-item">
2021-12-09 10:15:29 +08:00
<div><img src="./icon2.png" alt="" /><span style="font-weight: bold">利润</span></div>
2021-12-08 22:58:15 +08:00
<div class="box"><i>380/</i><i class="num">12342</i><span class="num2"></span></div>
2021-12-09 10:41:42 +08:00
<div style="width: 100%">
2021-12-08 22:58:15 +08:00
<progressBar :percentage="70" />
</div>
</div>
<div class="data-item">
2021-12-09 10:15:29 +08:00
<div><img src="./icon3.png" alt="" /><span style="font-weight: bold">装药量</span></div>
2021-12-08 22:58:15 +08:00
<div class="box"><i>999/</i><i class="num">12342</i><span class="num2">万件</span></div>
2021-12-09 10:41:42 +08:00
<div style="width: 100%">
2021-12-08 22:58:15 +08:00
<progressBar :percentage="70" />
</div>
</div>
<div class="data-item">
2021-12-09 10:15:29 +08:00
<div><img src="./icon4.png" alt="" /><span style="font-weight: bold">交付数量</span></div>
2021-12-08 22:58:15 +08:00
<div class="box"><i>999/</i><i class="num">12342</i><span class="num2">万件</span></div>
2021-12-09 10:41:42 +08:00
<div style="width: 100%">
2021-12-08 22:58:15 +08:00
<progressBar :percentage="70" />
</div>
</div>
</div>
</container3>
</div>
2021-11-22 09:17:41 +08:00
</template>
<script>
2021-12-08 22:58:15 +08:00
import container3 from '../components/container3/index.vue'
import rocketTit from '../components/rocketTit/index.vue'
import progressBar from './../components/progress/index.vue'
2021-11-22 09:17:41 +08:00
import echarts from 'echarts'
require('echarts/theme/macarons') // echarts theme
import resize from '../../dashboard/mixins/resize'
export default {
2021-12-08 22:58:15 +08:00
mixins: [resize],
name: 'left1',
components: {
container3,
rocketTit,
progressBar,
},
data() {
return {}
},
mounted() {},
beforeDestroy() {},
methods: {},
2021-11-22 09:17:41 +08:00
}
</script>
<style lang="scss" scoped>
2021-12-08 08:44:16 +08:00
.tit {
2021-12-08 22:58:15 +08:00
padding: 16px 24px;
2021-12-08 08:44:16 +08:00
}
.img {
2021-12-08 22:58:15 +08:00
position: absolute;
top: 0;
left: 0;
z-index: -1;
2021-12-08 08:44:16 +08:00
}
.data {
2021-12-08 22:58:15 +08:00
display: flex;
2021-12-09 10:15:29 +08:00
justify-content: space-evenly;
margin: 0 30px;
2021-12-08 22:58:15 +08:00
background: rgba(2, 18, 63, 0.33);
color: #ffffff;
font-size: 18px;
.data-item {
2021-12-09 10:15:29 +08:00
// flex: 1;
width: 20%;
display: flex;
flex-direction: column;
align-items: flex-start;
2021-12-08 22:58:15 +08:00
> div {
margin: 5px 0;
text-align: center;
img {
// width: 10px;
// height: 10px;
vertical-align: middle;
margin-right: 5px;
}
}
.box {
font-size: 26px;
font-family: Roboto-BlackItalic, Roboto;
font-weight: 600;
color: #55c5a2;
}
.num {
font-size: 14px;
}
.num2 {
font-size: 16px;
margin-left: 5px;
color: #fff;
}
}
2021-12-08 08:44:16 +08:00
}
2021-12-08 22:58:15 +08:00
.container3 {
position: relative;
.con_right {
width: 88px;
position: absolute;
top: 20%;
right: 20%;
color: #00ffff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
img {
width: 100%;
}
.con_title {
width: 100%;
display: flex;
align-items: center;
img {
width: 25%;
}
}
.con_height {
width: 2px;
height: 20px;
background-color: #00ffff;
}
}
.con_two {
top: 43%;
right: 12%;
}
.con_left {
width: 186px;
position: absolute;
top: 60%;
left: 24%;
color: #fff;
display: flex;
flex-direction: column;
align-items: flex-end;
img {
width: 100%;
display: block;
margin: 0 auto;
}
.con_left_title {
position: relative;
.con_card {
width: 100%;
padding: 0 10px;
position: absolute;
top: 22%;
div {
width: 100%;
display: flex;
justify-content: space-between;
span:nth-child(1) {
opacity: 0.9;
}
span:nth-child(2) {
font-weight: bold;
}
}
}
}
.con_h_two {
position: relative;
width: 50%;
height: 47px;
border: 1px solid #fa8c16;
border-top-width: 0;
border-right-width: 0;
.con_bottom {
height: 24px;
line-height: 26px;
position: absolute;
right: -50%;
bottom: -50%;
text-align: right;
transform: translate(-50%, -50%);
img {
width: 38%;
margin: 0;
display: inline-block;
vertical-align: middle;
}
}
}
}
2021-11-22 11:30:37 +08:00
}
2021-12-08 22:58:15 +08:00
</style>