|
@@ -1,41 +1,41 @@
|
|
|
<template>
|
|
|
<div style="width: 100%;height: 100%;">
|
|
|
- <div class="top_hy">
|
|
|
- <div class="item" style="width: 25%;">
|
|
|
+ <div class="confer_top_hy">
|
|
|
+ <div class="confer_item" style="width: 25%;">
|
|
|
<span>{{ data[0].title }}</span>
|
|
|
- <span class="num_feed" :style="{ color: data[0].color, marginTop: data[0].top }">
|
|
|
+ <span class="confer_num_feed" :style="{ color: data[0].color, marginTop: data[0].top }">
|
|
|
<span :style="{ fontSize: data[0].fontsize }">{{ data[0].value || 0 }}</span>
|
|
|
{{ data[0].unit }}
|
|
|
</span>
|
|
|
</div>
|
|
|
- <div class="right_hy">
|
|
|
- <div class="item" style="margin-bottom: 10px;flex-direction: row;">
|
|
|
+ <div class="confer_right_hy">
|
|
|
+ <div class="confer_item" style="margin-bottom: 10px;flex-direction: row;">
|
|
|
<span>{{ data[1].title }}</span>
|
|
|
- <span class="num_feed" :style="{ color: data[1].color, marginTop: data[1].top }">
|
|
|
+ <span class="confer_num_feed" :style="{ color: data[1].color, marginTop: data[1].top }">
|
|
|
<span :style="{ fontSize: data[1].fontsize }">{{ data[1].value || 0 }}</span>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <div class="bottom_hy">
|
|
|
- <div class="item" style="margin-right: 10px;flex-direction: row;">
|
|
|
+ <div class="confer_bottom_hy">
|
|
|
+ <div class="confer_item" style="margin-right: 10px;flex-direction: row;">
|
|
|
<span>{{ data[2].title }}</span>
|
|
|
- <span class="num_feed" :style="{ color: data[2].color, marginTop: data[2].top }">
|
|
|
+ <span class="confer_num_feed" :style="{ color: data[2].color, marginTop: data[2].top }">
|
|
|
<span :style="{ fontSize: data[2].fontsize }">{{ data[2].value || 0 }}</span>
|
|
|
{{ data[2].unit }}
|
|
|
</span>
|
|
|
</div>
|
|
|
- <div class="item" style="flex-direction: row;">
|
|
|
+ <div class="confer_item" style="flex-direction: row;">
|
|
|
<span>{{ data[3].title }}</span>
|
|
|
- <span class="num_feed" :style="{ color: data[3].color, marginTop: data[3].top }">
|
|
|
+ <span class="confer_num_feed" :style="{ color: data[3].color, marginTop: data[3].top }">
|
|
|
<span :style="{ fontSize: data[3].fontsize }">{{ data[3].value || 0 }}</span>
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="person_box">
|
|
|
- <div class="item" :style="{ flexDirection: item.align, }" v-for="(item, index) in configList" :key="index">
|
|
|
+ <div class="confer_person_box">
|
|
|
+ <div class="confer_item" :style="{ flexDirection: item.align, }" v-for="(item, index) in configList" :key="index">
|
|
|
<span>{{ item.title }}</span>
|
|
|
- <span class="num_feed" :style="{ color: item.color, marginTop: item.top }">
|
|
|
+ <span class="confer_num_feed" :style="{ color: item.color, marginTop: item.top }">
|
|
|
<span :style="{ fontSize: item.fontsize }">{{ item.value || 0 }}</span>
|
|
|
{{ item.unit }}
|
|
|
</span>
|
|
@@ -129,7 +129,7 @@ watch(() => props.arrData, (newVal) => {
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
-.person_box {
|
|
|
+.confer_person_box {
|
|
|
width: 100%;
|
|
|
height: 66%;
|
|
|
display: grid;
|
|
@@ -140,7 +140,7 @@ watch(() => props.arrData, (newVal) => {
|
|
|
|
|
|
}
|
|
|
|
|
|
-.item {
|
|
|
+.confer_item {
|
|
|
flex: 1;
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
@@ -151,27 +151,27 @@ watch(() => props.arrData, (newVal) => {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
-.top_hy {
|
|
|
+.confer_top_hy {
|
|
|
display: flex;
|
|
|
width: 100%;
|
|
|
height: 33%;
|
|
|
padding: 10px 10px 0px 10px;
|
|
|
}
|
|
|
|
|
|
-.right_hy {
|
|
|
+.confer_right_hy {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
margin-left: 10px;
|
|
|
width: calc(75% - 10px);
|
|
|
}
|
|
|
|
|
|
-.bottom_hy {
|
|
|
+.confer_bottom_hy {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
flex: 1;
|
|
|
}
|
|
|
|
|
|
-.num_feed {
|
|
|
+.confer_num_feed {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
</style>
|