From 6dbc40dea1ce9072c5821a325db3aaa14a5b1f48 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 18 十月 2023 18:25:26 +0800 Subject: [PATCH] 首页 字体样式修改 --- Source/UBCS-WEB/src/views/wel/Statistic.vue | 27 +++++++++++++++++++++------ 1 files changed, 21 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/views/wel/Statistic.vue b/Source/UBCS-WEB/src/views/wel/Statistic.vue index 33a7d3a..dac25a2 100644 --- a/Source/UBCS-WEB/src/views/wel/Statistic.vue +++ b/Source/UBCS-WEB/src/views/wel/Statistic.vue @@ -1,9 +1,9 @@ <template> - <div> + <div class="App" v-loading="this.loading"> <div style="display: flex; justify-content: flex-end;margin-bottom: 10px"> <el-button icon="el-icon-more" plain size="small" type="primary" @click="MoreHandler">鏇村</el-button> </div> - <avue-data-box :animation="true" :option="option"></avue-data-box> + <avue-data-box ref="dataBox" :animation="true" :option="option" ></avue-data-box> <!-- <avue-data-panel :animation="true":option="option"></avue-data-panel>--> <el-dialog :visible.sync="dialogTableVisible" append-to-body class="avue-dialog avue-dialog--top" title="涓绘暟鎹厤缃�" top="0"> @@ -21,14 +21,12 @@ </template> <script> -import {validatenull} from "@/util/validate"; import {getList, save} from "@/api/system/statistic"; -import {flowRoute} from "@/util/flow"; - export default { name: "Statistic", data() { return { + loading:true, Crud: { form: '', data: [], @@ -84,7 +82,23 @@ } }, created() { - this.MasterGetList() + this.MasterGetList(); + }, + mounted() { + this.$nextTick(() => { + const dataFatherBox = this.$refs.dataBox.$el; + console.log(dataFatherBox); + this.$nextTick(() => { + setTimeout(() => { + const info = dataFatherBox.querySelectorAll('.item-info .info'); + console.log('info', info); + info.forEach((info) => { + info.style.fontSize = '17px'; + }); + this.loading=false; + }, 1000); // 寤惰繜1绉掓煡鎵緄nfo鍏冪礌 + }); + }); }, computed() { @@ -145,6 +159,7 @@ isDefault: item.isDefault, color: this.hexColor, uiUrl: item.menuRoute, + id: 'custom-title' }); } else if (item.isDefault === 0) { this.newData.push(item); -- Gitblit v1.9.3