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;