Commit 5768c200bb11ec7426595e1bdbdce3ae18878b96
1 parent
75499b01
fix: 修改可视化背景颜色
Showing
2 changed files
with
5 additions
and
3 deletions
.env.development
| @@ -5,6 +5,6 @@ VITE_APP_TITLE = 酒精测试一体机管理系统 | @@ -5,6 +5,6 @@ VITE_APP_TITLE = 酒精测试一体机管理系统 | ||
| 5 | VITE_APP_ENV = 'development' | 5 | VITE_APP_ENV = 'development' |
| 6 | 6 | ||
| 7 | # 若依管理系统/开发环境 | 7 | # 若依管理系统/开发环境 |
| 8 | -# VITE_APP_BASE_API = '/dev-api' | 8 | +VITE_APP_BASE_API = '/dev-api' |
| 9 | 9 | ||
| 10 | -VITE_APP_BASE_API = http://101.95.136.202:8100 | 10 | +# VITE_APP_BASE_API = http://101.95.136.202:8100 |
src/views/home/index.vue
| 1 | <template> | 1 | <template> |
| 2 | <div class="app-container"> | 2 | <div class="app-container"> |
| 3 | <!-- 可视化大屏 --> | 3 | <!-- 可视化大屏 --> |
| 4 | - <div class="box-view" v-loading="loading"> | 4 | + <div class="box-view" v-loading="loading" element-loading-text="Loading..." |
| 5 | + element-loading-svg-view-box="-10, -10, 50, 50" element-loading-background="#081138"> | ||
| 5 | <!-- 标题 --> | 6 | <!-- 标题 --> |
| 6 | <div class="big-view-container-title"> | 7 | <div class="big-view-container-title"> |
| 7 | <div class="big-view-container-time"> | 8 | <div class="big-view-container-time"> |
| @@ -112,6 +113,7 @@ | @@ -112,6 +113,7 @@ | ||
| 112 | </template> | 113 | </template> |
| 113 | 114 | ||
| 114 | <script setup name="Index"> | 115 | <script setup name="Index"> |
| 116 | + | ||
| 115 | import { queryLineInfo, querySignInfoByType } from '@/api/big_view/big_view.js'; | 117 | import { queryLineInfo, querySignInfoByType } from '@/api/big_view/big_view.js'; |
| 116 | import ConstForm from '@/components/ConstForm/index.vue'; | 118 | import ConstForm from '@/components/ConstForm/index.vue'; |
| 117 | import getWeek from "@/utils/dateUtils.js"; | 119 | import getWeek from "@/utils/dateUtils.js"; |