大屏项目初始化

This commit is contained in:
2026-03-15 21:48:37 +08:00
parent 2581b847e2
commit e0cf0ae665
8 changed files with 17 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -79,7 +79,8 @@ watch(
flex: 1; flex: 1;
min-width: 160px; min-width: 160px;
height: 85%; height: 85%;
background: rgba(15, 52, 96, 0.1); background: rgba(0, 0, 0, 0.1) url("@/assets/chart/item/03.png") no-repeat;
background-size: 100% 100%;
border: 1px solid rgba(26, 80, 139, 0.3); border: 1px solid rgba(26, 80, 139, 0.3);
border-radius: 8px; border-radius: 8px;
padding: 0 8px; padding: 0 8px;

View File

@@ -30,7 +30,7 @@ const cardList = ref()
async function getList() { async function getList() {
try { try {
const reqParams = { const reqParams = {
indexCode: "workIndex" indexCode: "homeIndex"
} }
const res = await getIndexInfoList(reqParams) const res = await getIndexInfoList(reqParams)
cardList.value = res || [] cardList.value = res || []
@@ -79,7 +79,8 @@ watch(
flex: 1; flex: 1;
min-width: 160px; min-width: 160px;
height: 85%; height: 85%;
background: rgba(15, 52, 96, 0.1); background: rgba(0, 0, 0, 0.1) url("@/assets/chart/item/03.png") no-repeat;
background-size: 100% 100%;
border: 1px solid rgba(26, 80, 139, 0.3); border: 1px solid rgba(26, 80, 139, 0.3);
border-radius: 8px; border-radius: 8px;
padding: 0 8px; padding: 0 8px;

View File

@@ -1,7 +1,7 @@
<template> <template>
<div class="chart-card"> <div class="chart-card">
<div class="chart-card-header"> <div class="chart-card-header">
<span class="chart-card-title">2</span> <span class="chart-card-title">1</span>
</div> </div>
<div class="bar-line-chart-container" ref="chartRef"></div> <div class="bar-line-chart-container" ref="chartRef"></div>
</div> </div>

View File

@@ -21,7 +21,7 @@ import { getItemInfoList } from '@/api/bizApi'
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
background: rgba(0, 0, 0, 0.1) url("@/assets/images/desck3.png") no-repeat; background: rgba(0, 0, 0, 0.1) url("@/assets/chart/box/16.png") no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.chart-card-header { .chart-card-header {
@@ -32,6 +32,8 @@ import { getItemInfoList } from '@/api/bizApi'
border-bottom: 1px solid #1a508b; border-bottom: 1px solid #1a508b;
display: flex; display: flex;
align-items: center; align-items: center;
background: rgba(0, 0, 0, 0.1) url("@/assets/chart/title/03.png") no-repeat;
background-size: 100% 100%;
} }
.chart-card-title { .chart-card-title {
font-size: 16px; font-size: 16px;

View File

@@ -21,7 +21,7 @@ import { getItemInfoList } from '@/api/bizApi'
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
background: rgba(0, 0, 0, 0.1) url("@/assets/images/desck3.png") no-repeat; background: rgba(0, 0, 0, 0.1) url("@/assets/chart/box/16.png") no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.chart-card-header { .chart-card-header {
@@ -32,6 +32,8 @@ import { getItemInfoList } from '@/api/bizApi'
border-bottom: 1px solid #1a508b; border-bottom: 1px solid #1a508b;
display: flex; display: flex;
align-items: center; align-items: center;
background: rgba(0, 0, 0, 0.1) url("@/assets/chart/title/03.png") no-repeat;
background-size: 100% 100%;
} }
.chart-card-title { .chart-card-title {
font-size: 16px; font-size: 16px;

View File

@@ -30,7 +30,7 @@ const cardList = ref()
async function getList() { async function getList() {
try { try {
const reqParams = { const reqParams = {
indexCode: "workIndex" indexCode: "sysIndex"
} }
const res = await getIndexInfoList(reqParams) const res = await getIndexInfoList(reqParams)
cardList.value = res || [] cardList.value = res || []
@@ -79,7 +79,8 @@ watch(
flex: 1; flex: 1;
min-width: 160px; min-width: 160px;
height: 85%; height: 85%;
background: rgba(15, 52, 96, 0.1); background: rgba(0, 0, 0, 0.1) url("@/assets/chart/item/03.png") no-repeat;
background-size: 100% 100%;
border: 1px solid rgba(26, 80, 139, 0.3); border: 1px solid rgba(26, 80, 139, 0.3);
border-radius: 8px; border-radius: 8px;
padding: 0 8px; padding: 0 8px;

View File

@@ -79,7 +79,8 @@ watch(
flex: 1; flex: 1;
min-width: 160px; min-width: 160px;
height: 85%; height: 85%;
background: rgba(15, 52, 96, 0.1); background: rgba(0, 0, 0, 0.1) url("@/assets/chart/item/03.png") no-repeat;
background-size: 100% 100%;
border: 1px solid rgba(26, 80, 139, 0.3); border: 1px solid rgba(26, 80, 139, 0.3);
border-radius: 8px; border-radius: 8px;
padding: 0 8px; padding: 0 8px;