chore: 隐藏测试模块

This commit is contained in:
Free-sss 2025-09-01 16:46:18 +08:00
parent 97a7efab9f
commit 35acd39545
6 changed files with 54 additions and 64 deletions

View File

@ -1,5 +1,5 @@
import { echartOptionProfixHandle, PublicConfigClass } from '@/packages/public' import { echartOptionProfixHandle, PublicConfigClass } from '@/packages/public'
import { LineDropdownConfig } from './index' import { LineDropdownConfinedConfig } from './index'
import { CreateComponentType } from '@/packages/index.d' import { CreateComponentType } from '@/packages/index.d'
import cloneDeep from 'lodash/cloneDeep' import cloneDeep from 'lodash/cloneDeep'
import dataJson from './data.json' import dataJson from './data.json'
@ -108,7 +108,7 @@ const option = {
} }
export default class Config extends PublicConfigClass implements CreateComponentType { export default class Config extends PublicConfigClass implements CreateComponentType {
public key: string = LineDropdownConfig.key public key: string = LineDropdownConfinedConfig.key
public chartConfig = cloneDeep(LineDropdownConfig) public chartConfig = cloneDeep(LineDropdownConfinedConfig)
public option = echartOptionProfixHandle(option, includes) public option = echartOptionProfixHandle(option, includes)
} }

View File

@ -1,10 +1,10 @@
import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d' import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d'
// import { ChatCategoryEnum, ChatCategoryEnumName } from '../..' // import { ChatCategoryEnum, ChatCategoryEnumName } from '../..'
export const LineDropdownConfig: ConfigType = { export const LineDropdownConfinedConfig: ConfigType = {
key: 'LineDropdown_ConfinedSpace', key: 'LineDropdownConfined',
chartKey: 'VLineDropdown_ConfinedSpace', chartKey: 'VLineDropdownConfined',
conKey: 'VCLineDropdown_ConfinedSpace', conKey: 'VCLineDropdownConfined',
title: '下拉折线图', title: '下拉折线图',
category: 'ConfinedSpace', category: 'ConfinedSpace',
categoryName: '有限空间组件', categoryName: '有限空间组件',

View File

@ -277,40 +277,40 @@ const handleDropdownChange = () => {
border-radius: 8px; border-radius: 8px;
padding: 1px; padding: 1px;
background: linear-gradient(to bottom, background: linear-gradient(to bottom,
rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 0%,
rgba(200, 200, 200, 0.6) 25%, rgba(200, 200, 200, 0.6) 25%,
rgba(150, 150, 150, 0.5) 50%, rgba(150, 150, 150, 0.5) 50%,
rgba(100, 100, 100, 0.4) 75%, rgba(100, 100, 100, 0.4) 75%,
rgba(60, 60, 60, 0.3) 100%); rgba(60, 60, 60, 0.3) 100%);
transition: all 0.3s ease; transition: all 0.3s ease;
} }
/* hover状态的彩色渐变边框 */ /* hover状态的彩色渐变边框 */
.dropdown-container:hover { .dropdown-container:hover {
background: linear-gradient(to bottom, background: linear-gradient(to bottom,
rgba(58, 160, 255, 1) 0%, rgba(58, 160, 255, 1) 0%,
rgba(98, 255, 198, 0.8) 25%, rgba(98, 255, 198, 0.8) 25%,
rgba(54, 110, 255, 1) 50%, rgba(54, 110, 255, 1) 50%,
rgba(28, 234, 160, 0.8) 75%, rgba(28, 234, 160, 0.8) 75%,
rgba(58, 160, 255, 1) 100%); rgba(58, 160, 255, 1) 100%);
} }
/* focus状态的增强彩色渐变边框 */ /* focus状态的增强彩色渐变边框 */
.dropdown-container:focus-within { .dropdown-container:focus-within {
background: linear-gradient(to bottom, background: linear-gradient(to bottom,
rgba(58, 160, 255, 1) 0%, rgba(58, 160, 255, 1) 0%,
rgba(98, 255, 198, 1) 25%, rgba(98, 255, 198, 1) 25%,
rgba(54, 110, 255, 1) 50%, rgba(54, 110, 255, 1) 50%,
rgba(28, 234, 160, 1) 75%, rgba(28, 234, 160, 1) 75%,
rgba(58, 160, 255, 1) 100%); rgba(58, 160, 255, 1) 100%);
} }
.custom-dropdown1 { .custom-dropdown1 {
/* 渐变背景 */ /* 渐变背景 */
background: linear-gradient(135deg, background: linear-gradient(135deg,
rgba(25, 35, 45, 0.95) 0%, rgba(25, 35, 45, 0.95) 0%,
rgba(15, 25, 35, 0.95) 50%, rgba(15, 25, 35, 0.95) 50%,
rgba(35, 45, 55, 0.95) 100%); rgba(35, 45, 55, 0.95) 100%);
/* 移除边框,因为已经移到父容器 */ /* 移除边框,因为已经移到父容器 */
border: none; border: none;
@ -336,9 +336,9 @@ const handleDropdownChange = () => {
transform: translateY(-1px); transform: translateY(-1px);
/* 增强背景渐变 */ /* 增强背景渐变 */
background: linear-gradient(135deg, background: linear-gradient(135deg,
rgba(35, 45, 55, 0.95) 0%, rgba(35, 45, 55, 0.95) 0%,
rgba(25, 35, 45, 0.95) 50%, rgba(25, 35, 45, 0.95) 50%,
rgba(45, 55, 65, 0.95) 100%); rgba(45, 55, 65, 0.95) 100%);
} }
.custom-dropdown1:focus { .custom-dropdown1:focus {
@ -408,7 +408,7 @@ const handleDropdownChange = () => {
transform: translateY(-50%) rotate(180deg); transform: translateY(-50%) rotate(180deg);
} }
.custom-dropdown1:focus + .dropdown-arrow { .custom-dropdown1:focus+.dropdown-arrow {
transform: translateY(-50%) rotate(180deg); transform: translateY(-50%) rotate(180deg);
color: rgba(58, 160, 255, 1); color: rgba(58, 160, 255, 1);
text-shadow: 0 0 8px rgba(58, 160, 255, 0.5); text-shadow: 0 0 8px rgba(58, 160, 255, 0.5);
@ -462,33 +462,21 @@ const handleDropdownChange = () => {
} }
} }
.header-title{ .header-title {
position: absolute; position: absolute;
top: 0; top: 0;
height: 45px; height: 45px;
line-height: 45px; line-height: 45px;
left: 80px; left: 70px;
font-size: 16px; white-space: nowrap;
font-weight: bold; font-family: 'CustomFont';
color: #eee; font-style: italic;
font-style: italic; letter-spacing: 0.5px;
text-shadow: 0 0 10px #00E5FF; color: #eee;
white-space: nowrap; text-shadow: 1px 3px 10px #000000;
font-size: 16px;
} }
.header-title{
position: absolute;
top: 0;
height: 45px;
line-height: 45px;
left: 80px;
font-size: 16px;
font-weight: bold;
color: #eee;
font-style: italic;
text-shadow: 0 0 10px #00E5FF;
white-space: nowrap;
}
.svg { .svg {
width: 100%; width: 100%;

View File

@ -1,11 +1,13 @@
import { MapConfig } from './Map' import { MapConfig } from './Map'
import { PieCircleCommenConfig } from './PieCircleCommen' import { PieCircleCommenConfig } from './PieCircleCommen'
import { AlarmNowListConfig } from './AlarmNowList' import { AlarmNowListConfig } from './AlarmNowList'
import { LineDropdownConfig } from './LineDropdown' // import { LineDropdownConfig } from './LineDropdown'
// import { SmallBorder01CoConfig } from './SmallBorder01Co' // import { SmallBorder01CoConfig } from './SmallBorder01Co'
import { videoCheckConfig } from './videoCheck' import { videoCheckConfig } from './videoCheck'
import {FiniteSpatialDistributionConfig} from './FiniteSpatialDistribution' import { FiniteSpatialDistributionConfig } from './FiniteSpatialDistribution'
export default [MapConfig, videoCheckConfig, LineDropdownConfig, PieCircleCommenConfig, AlarmNowListConfig,FiniteSpatialDistributionConfig] export default [MapConfig, videoCheckConfig,
// LineDropdownConfig,
PieCircleCommenConfig, AlarmNowListConfig, FiniteSpatialDistributionConfig]