@@ -41,9 +41,9 @@ const opacityColorList = ['rgba(22, 93, 255, 0.30)', 'rgba(0, 180, 42, 0.50)'];
const props = defineProps({ data: Object });
const handleVal = (val) => {
if (val < 10) {
- return val * 8;
+ return val * 2;
} else {
- return 40 + Math.cell(val / 10);
+ return 20 + Math.cell(val / 10);
}
};
const convertData = (data) => {
@@ -545,11 +545,27 @@ const options4 = computed(() =>
font-size: 14px;
color: #595959;
padding-left: 10px;
+ margin-right: 6px;
.num {
- margin-left: 6px;
+ margin-right: 5px;
font-weight: bold;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ & > span {
+ &.num {
+ width: 22px;
+ height: 32px;
+ background: #f7f7f7;
+ border-radius: 2px;
+ border: 1px solid #e5e5e5;
+ }
+ &.split {
+ color: #262626;
&.num1 {
color: #ff7d00;