shuishen
2024-01-24 d16d10d94fddff86bdfd87113e7fd2cebe8b7cd7
src/views/place/components/boxTitle.vue
@@ -10,7 +10,7 @@
    <div class="titleContent">
        <!-- <div class="title1" data-color="red"></div> -->
        <div :class="'title title' + classVal">
        <div :class="`title title${classVal} ${classStyle}`">
            {{ title }}</div>
    </div>
</template>
@@ -26,7 +26,12 @@
        classVal: {
            type: Number,
        }
        },
        classStyle: {
            type: String,
            default: ''
        },
    }
}
</script>
@@ -50,6 +55,10 @@
    z-index: 0;
}
.echarts-title {
    margin: 0 !important;
}
.title1 {
    padding-left: 15px;