优化组件标签名称

This commit is contained in:
ldz
2020-10-05 22:05:56 +08:00
parent 8bdcf57db4
commit 69fd05b664
7 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -10,20 +10,20 @@
</div> </div>
</div> </div>
<div> <div>
<bottomLeftChart /> <BottomLeftChart />
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import bottomLeftChart from "@/components/echart/bottom/bottomLeftChart"; import BottomLeftChart from "@/components/echart/bottom/bottomLeftChart";
export default { export default {
data() { data() {
return {}; return {};
}, },
components: { components: {
bottomLeftChart BottomLeftChart
}, },
mounted() {}, mounted() {},
methods: {} methods: {}
+3 -3
View File
@@ -13,20 +13,20 @@
</div> </div>
</div> </div>
<div> <div>
<bottomRightChart /> <BottomRightChart />
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import bottomRightChart from "@/components/echart/bottom/bottomRightChart"; import BottomRightChart from "@/components/echart/bottom/bottomRightChart";
export default { export default {
data() { data() {
return {}; return {};
}, },
components: { components: {
bottomRightChart BottomRightChart
}, },
mounted() {}, mounted() {},
methods: {} methods: {}
+5 -5
View File
@@ -19,11 +19,11 @@
<div class="percent"> <div class="percent">
<div class="item bg-color-black"> <div class="item bg-color-black">
<span>今日任务通过率</span> <span>今日任务通过率</span>
<centerChart :id="rate[0].id" :tips="rate[0].tips" :colorObj="rate[0].colorData" /> <CenterChart :id="rate[0].id" :tips="rate[0].tips" :colorObj="rate[0].colorData" />
</div> </div>
<div class="item bg-color-black"> <div class="item bg-color-black">
<span>今日任务达标率</span> <span>今日任务达标率</span>
<centerChart :id="rate[1].id" :tips="rate[1].tips" :colorObj="rate[1].colorData" /> <CenterChart :id="rate[1].id" :tips="rate[1].tips" :colorObj="rate[1].colorData" />
</div> </div>
<div class="water"> <div class="water">
<dv-water-level-pond :config="water" style="height: 1.5rem" /> <dv-water-level-pond :config="water" style="height: 1.5rem" />
@@ -34,7 +34,7 @@
</template> </template>
<script> <script>
import centerChart from "@/components/echart/center/centerChartRate"; import CenterChart from "@/components/echart/center/centerChartRate";
export default { export default {
data () { data () {
@@ -133,7 +133,7 @@ export default {
}, },
], ],
carousel: "single", carousel: "single",
unit: "份" unit: "人"
}, },
water: { water: {
data: [24, 45], data: [24, 45],
@@ -175,7 +175,7 @@ export default {
}; };
}, },
components: { components: {
centerChart CenterChart
// centerChart1, // centerChart1,
// centerChart2 // centerChart2
} }
+3 -3
View File
@@ -11,7 +11,7 @@
</div> </div>
</div> </div>
<div class="d-flex jc-center"> <div class="d-flex jc-center">
<centreLeft1Chart /> <CentreLeft1Chart />
</div> </div>
<!-- 4个主要的数据 --> <!-- 4个主要的数据 -->
<div class="bottom-data"> <div class="bottom-data">
@@ -31,7 +31,7 @@
</template> </template>
<script> <script>
import centreLeft1Chart from "@/components/echart/centerLeft2/centreLeft1Chart"; import CentreLeft1Chart from "@/components/echart/centerLeft2/centreLeft1Chart";
export default { export default {
data() { data() {
return { return {
@@ -100,7 +100,7 @@ export default {
}; };
}, },
components: { components: {
centreLeft1Chart CentreLeft1Chart
}, },
mounted() { mounted() {
this.changeTiming(); this.changeTiming();
+3 -3
View File
@@ -11,20 +11,20 @@
</div> </div>
</div> </div>
<div class="d-flex jc-center"> <div class="d-flex jc-center">
<centreLeft2Chart /> <CentreLeft2Chart />
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import centreLeft2Chart from "@/components/echart/centerLeft2/centreLeft2Chart"; import CentreLeft2Chart from "@/components/echart/centerLeft2/centreLeft2Chart";
export default { export default {
data() { data() {
return {}; return {};
}, },
components: { components: {
centreLeft2Chart CentreLeft2Chart
}, },
mounted() {}, mounted() {},
methods: {} methods: {}
+2 -2
View File
@@ -10,14 +10,14 @@
<div class="d-flex jc-center body-box" style=" margin-top: 0;"> <div class="d-flex jc-center body-box" style=" margin-top: 0;">
<dv-capsule-chart :config="config" style="width: 100%;height:2rem" /> <dv-capsule-chart :config="config" style="width: 100%;height:2rem" />
<!-- ---------------------------------------- --> <!-- ---------------------------------------- -->
<centreRight2Chart1></centreRight2Chart1> <centreRight2Chart1 />
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import centreRight2Chart1 from "@/components/echart/centreRight2/centreRight2Chart1"; import centreRight2Chart1 from "@/components/echart/centerRight2/centerRight2Chart";
export default { export default {
data() { data() {