| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995 |
- <template>
- <div class="dashboard">
- <div class="background-image"></div>
- <div class="top-title"></div>
- <div class="system-title">测控平台 - 黑林水文站</div>
-
- <!-- 渐变装饰层(四周暗角) -->
- <GradientOverlay />
-
- <!-- 顶部按钮 -->
- <div class="sub-title left-1" @click="goBack">
- 首页
- </div>
- <div class="sub-title left-2" @click="goBackToStation">
- 测站详情
- </div>
- <div class="sub-title right-2">
- 测控平台
- </div>
- <div class="sub-title right-3" @click="goToWaterCulture">
- 智能巡检
- </div>
-
- <!-- 主要内容区域 -->
- <div class="main-content">
- <!-- 设备状态概览 -->
- <div class="status-overview">
- <div class="status-card total-devices">
- <div class="status-icon total">
- <img src="/src/assets/images/Heilin/icon/shebei.png" alt="设备总数" />
- </div>
- <div class="status-info">
- <div class="status-label">接入总数</div>
- <div class="status-value">{{ deviceStatus.total }}台</div>
- </div>
- </div>
- <div class="status-card offline-devices">
- <div class="status-icon offline">
- <img src="/src/assets/images/Heilin/icon/weilianjie.png" alt="离线设备" />
- </div>
- <div class="status-info">
- <div class="status-label">离线数量</div>
- <div class="status-value">{{ deviceStatus.offline }}台</div>
- </div>
- </div>
- <div class="status-card online-devices">
- <div class="status-icon online">
- <img src="/src/assets/images/Heilin/icon/yilianjie.png" alt="在线设备" />
- </div>
- <div class="status-info">
- <div class="status-label">在线数量</div>
- <div class="status-value">{{ deviceStatus.online }}台</div>
- </div>
- </div>
- <div class="status-card unconnected-devices">
- <div class="status-icon unconnected">
- <img src="/src/assets/images/Heilin/icon/wejieru.png" alt="未接入设备" />
- </div>
- <div class="status-info">
- <div class="status-label">未接入</div>
- <div class="status-value">{{ deviceStatus.unconnected }}台</div>
- </div>
- </div>
- </div>
-
- <!-- 设备测验内容卡片 -->
- <div class="device-cards">
- <div
- v-for="device in devices"
- :key="device.id"
- class="device-card"
- :class="{ active: selectedDeviceId === device.id }"
- @click="handleDeviceClick(device.name)"
- >
- <div class="device-icon">
- <img :src="getDeviceIcon(device.name)" :alt="device.name" />
- </div>
- <div class="device-name">{{ device.name }}</div>
- <div class="device-status" :class="device.statusClass">
- {{ device.statusText }}
- </div>
- </div>
- </div>
-
- <!-- 选中设备详情 -->
- <div v-if="selectedDevice" class="device-detail">
- <div class="detail-header">
- <h3>{{ selectedDevice.name }} - 详细信息</h3>
- <button class="close-btn" @click="selectedDevice = null">×</button>
- </div>
- <div class="detail-content">
- <div class="detail-item">
- <label>设备ID:</label>
- <span>{{ selectedDevice.id }}</span>
- </div>
- <div class="detail-item">
- <label>设备类型:</label>
- <span>{{ selectedDevice.type }}</span>
- </div>
- <div class="detail-item">
- <label>设备状态:</label>
- <span :class="selectedDevice.statusClass">{{ selectedDevice.statusText }}</span>
- </div>
- <div class="detail-item">
- <label>最后在线:</label>
- <span>{{ selectedDevice.lastOnline }}</span>
- </div>
- <div class="detail-item">
- <label>测量参数:</label>
- <span>{{ selectedDevice.parameters }}</span>
- </div>
- <div class="detail-item">
- <label>设备位置:</label>
- <span>{{ selectedDevice.location }}</span>
- </div>
- </div>
- <div class="detail-actions">
- <button class="btn-primary" @click="startMeasurement(selectedDevice.id)">
- 开始测量
- </button>
- <button class="btn-secondary" @click="restartDevice(selectedDevice.id)">
- 重启设备
- </button>
- <button class="btn-secondary" @click="updateFirmware(selectedDevice.id)">
- 更新固件
- </button>
- </div>
- </div>
- </div>
-
- <!-- 渐变装饰层(四周暗角) -->
- <GradientOverlay />
-
- <!-- 详情弹窗 -->
- <div v-if="showDetailModal" class="modal-overlay" @click="closeModal">
- <div class="modal-content" @click.stop>
- <div class="modal-header">
- <h2>测控平台详细信息</h2>
- <span class="close-btn" @click="closeModal">×</span>
- </div>
- <div class="modal-body">
- <!-- 基本信息区域 -->
- <div class="station-info-header">
- <div class="station-basic">
- <h3 class="station-name">测控平台系统</h3>
- <p class="station-code">系统版本:v1.0.0</p>
- </div>
- </div>
-
- <!-- 详细信息区域 -->
- <div class="station-info-detail">
- <h4>系统功能</h4>
- <ul>
- <li>设备状态实时监测</li>
- <li>远程测量控制</li>
- <li>设备固件管理</li>
- <li>测量数据分析</li>
- <li>异常报警处理</li>
- </ul>
-
- <h4>支持设备类型</h4>
- <ul>
- <li>双轨雷达测速</li>
- <li>原扫雷达</li>
- <li>缆道测流</li>
- <li>视频测流(御)</li>
- <li>视频测流(王)</li>
- <li>时差法测流</li>
- <li>H-ADCP测流</li>
- <li>超声波测流</li>
- <li>其他测流方式</li>
- <li>V-ADCP测流</li>
- <li>同步测流</li>
- </ul>
- </div>
- </div>
- <div class="modal-footer">
- <button class="btn-primary" @click="closeModal">关闭</button>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import GradientOverlay from '../components/gradient-overlay.vue'
- export default {
- name: 'ControlPlatformView',
- components: {
- GradientOverlay
- },
- data() {
- return {
- showDetailModal: false,
- selectedDeviceId: null,
- deviceStatus: {
- total: 11,
- offline: 0,
- online: 2,
- unconnected: 9
- },
- devices: [
- {
- id: 'device-001',
- name: '双轨雷达测速',
- type: '雷达测速',
- status: 100,
- statusText: '在线',
- statusClass: 'status-normal',
- lastOnline: '2026-03-10 14:30:25',
- parameters: '流速、流向',
- location: '黑林水文站监测点1'
- },
- {
- id: 'device-002',
- name: '原扫雷达',
- type: '雷达监测',
- status: 85,
- statusText: '在线',
- statusClass: 'status-normal',
- lastOnline: '2026-03-10 14:28:12',
- parameters: '流速分布',
- location: '黑林水文站监测点2'
- },
- {
- id: 'device-003',
- name: '缆道测流',
- type: '缆道系统',
- status: 100,
- statusText: '在线',
- statusClass: 'status-normal',
- lastOnline: '2026-03-10 14:32:45',
- parameters: '流量、水位',
- location: '黑林水文站监测点3'
- },
- {
- id: 'device-004',
- name: '视频测流(御)',
- type: '视频监测',
- status: 0,
- statusText: '离线',
- statusClass: 'status-offline',
- lastOnline: '2026-03-09 18:45:30',
- parameters: '水面流速',
- location: '黑林水文站监测点4'
- },
- {
- id: 'device-005',
- name: '地下水',
- type: '视频监测',
- status: 0,
- statusText: '离线',
- statusClass: 'status-offline',
- lastOnline: '2026-03-09 17:20:15',
- parameters: '水面流速',
- location: '黑林水文站监测点5'
- },
- {
- id: 'device-006',
- name: '时差法测流',
- type: '声学测流',
- status: 100,
- statusText: '在线',
- statusClass: 'status-normal',
- lastOnline: '2026-03-09 16:10:45',
- parameters: '流速、流量',
- location: '黑林水文站监测点6'
- },
- {
- id: 'device-007',
- name: 'H-ADCP测流',
- type: '声学多普勒',
- status: 100,
- statusText: '在线',
- statusClass: 'status-normal',
- lastOnline: '2026-03-09 15:30:20',
- parameters: '流速剖面',
- location: '黑林水文站监测点7'
- },
- {
- id: 'device-008',
- name: '量水堰',
- type: '超声波',
- status: 100,
- statusText: '在线',
- statusClass: 'status-normal',
- lastOnline: '2026-03-09 14:25:10',
- parameters: '流速',
- location: '黑林水文站监测点8'
- },
- {
- id: 'device-009',
- name: '水土保持',
- type: '其他',
- status: 0,
- statusText: '离线',
- statusClass: 'status-offline',
- lastOnline: '2026-03-09 13:15:40',
- parameters: '自定义',
- location: '黑林水文站监测点9'
- },
- {
- id: 'device-010',
- name: 'V-ADCP测流',
- type: '声学多普勒',
- status: 100,
- statusText: '在线',
- statusClass: 'status-normal',
- lastOnline: '2026-03-09 12:45:25',
- parameters: '垂直流速剖面',
- location: '黑林水文站监测点10'
- },
- {
- id: 'device-011',
- name: '蒸发量',
- type: '同步系统',
- status: 0,
- statusText: '离线',
- statusClass: 'status-offline',
- lastOnline: '2026-03-09 11:30:15',
- parameters: '多参数同步',
- location: '黑林水文站监测点11'
- }
- ]
- }
- },
- computed: {
- selectedDevice() {
- return this.devices.find(device => device.id === this.selectedDeviceId)
- }
- },
- methods: {
- goBack() {
- this.$router.push('/')
- },
-
- goBackToStation() {
- this.$router.push('/heilin-station')
- },
-
- goToWaterCulture() {
- this.$router.push('/water-culture')
- },
-
- showDetail() {
- this.showDetailModal = true
- },
-
- closeModal() {
- this.showDetailModal = false
- },
-
- selectDevice(deviceId) {
- this.selectedDeviceId = deviceId
- },
-
- handleDeviceClick(deviceName) {
- if (deviceName === '量水堰') {
- this.$router.push('/liangshuiyan')
- } else {
- this.selectedDeviceId = null
- }
- },
-
- getDeviceIcon(name) {
- const iconMap = {
- '双轨雷达测速': '/src/assets/images/Heilin/icon/cap/雷达.png',
- '原扫雷达': '/src/assets/images/Heilin/icon/cap/雷达.png',
- '缆道测流': '/src/assets/images/Heilin/icon/cap/缆道.png',
- '视频测流(御)': '/src/assets/images/Heilin/icon/cap/视频.png',
- '地下水': '/src/assets/images/Heilin/icon/cap/地下水.png',
- '时差法测流': '/src/assets/images/Heilin/icon/cap/ADCP.png',
- 'H-ADCP测流': '/src/assets/images/Heilin/icon/cap/H-adcp.png',
- '量水堰': '/src/assets/images/Heilin/icon/cap/量水堰.png',
- '水土保持': '/src/assets/images/Heilin/icon/cap/水土保持.png',
- 'V-ADCP测流': '/src/assets/images/Heilin/icon/cap/ADCP.png',
- '蒸发量': '/src/assets/images/Heilin/icon/cap/蒸发量.png'
- }
- return iconMap[name] || '/src/assets/images/Heilin/icon/cap/雷达.png'
- },
-
- startMeasurement(deviceId) {
- // 模拟开始测量
- console.log('开始测量设备:', deviceId)
- this.$message({
- message: '测量已开始',
- type: 'success'
- })
- },
-
- restartDevice(deviceId) {
- // 模拟重启设备
- console.log('重启设备:', deviceId)
- this.$message({
- message: '设备重启中...',
- type: 'info'
- })
- },
-
- updateFirmware(deviceId) {
- // 模拟更新固件
- console.log('更新固件:', deviceId)
- this.$message({
- message: '固件更新中...',
- type: 'info'
- })
- }
- }
- }
- </script>
- <style scoped>
- .dashboard {
- width: 100%;
- height: 100%;
- overflow: hidden;
- position: relative;
- background: linear-gradient(135deg, rgba(0, 20, 40, 0.95), rgba(0, 40, 80, 0.8));
- z-index: 2;
- }
- .background-image {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: url('/src/assets/images/Heilin/背景图3.jpg') no-repeat center center;
- background-size: cover;
- opacity: 0.3;
- pointer-events: none;
- z-index: 1;
- }
- .top-title {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-image: url('/src/assets/images/顶部大标题1.png');
- background-size: 100% 100%;
- background-position: center;
- background-repeat: no-repeat;
- pointer-events: none;
- z-index: 3;
- opacity: 0.9;
- }
- .system-title {
- position: absolute;
- top: 20px;
- left: 50%;
- transform: translateX(-50%);
- font-size: 36px;
- font-weight: bold;
- background: linear-gradient(to bottom, #ffffff 50%, #00d5ff 100%);
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
- text-shadow: 0 0 1px rgba(2, 217, 255, 0.205);
- z-index: 4;
- pointer-events: none;
- }
- .sub-title {
- position: absolute;
- top: 30px;
- width: 151px;
- height: 63px;
- background-image: url('/src/assets/images/顶部小标题.png');
- background-size: 100% 100%;
- background-position: center;
- background-repeat: no-repeat;
- display: flex;
- align-items: flex-start;
- padding-top: 10px;
- justify-content: center;
- font-size: 16px;
- font-weight: bold;
- color: #e0fcff;
- text-shadow: 0 0 5px rgba(0, 212, 255, 0.8);
- z-index: 4;
- cursor: pointer;
- transition: transform 0.3s ease;
- }
- .sub-title:hover {
- transform: scale(1.05);
- }
- .sub-title.left-1 {
- left: 180px;
- }
- .sub-title.left-2 {
- left: 400px;
- }
- .sub-title.right-2 {
- right: 400px;
- }
- .sub-title.right-3 {
- right: 200px;
- }
- .main-content {
- position: relative;
- display: flex;
- flex-direction: column;
- height: calc(100% - 120px);
- margin-top: 120px;
- padding: 20px;
- z-index: 3;
- gap: 30px;
- }
- /* 设备状态概览 */
- .status-overview {
- display: grid;
- grid-template-columns: repeat(4, 1fr);
- gap: 20px;
- margin-bottom: 20px;
- }
- .status-card {
- background: rgba(0, 40, 80, 0.6);
- border: 1px solid rgba(0, 213, 255, 0.3);
- border-radius: 12px;
- padding: 20px;
- display: flex;
- align-items: center;
- gap: 20px;
- backdrop-filter: blur(10px);
- transition: all 0.3s ease;
- }
- .status-card:hover {
- border-color: rgba(0, 213, 255, 0.8);
- box-shadow: 0 0 20px rgba(0, 213, 255, 0.4);
- transform: translateY(-2px);
- }
- .status-icon {
- width: 80px;
- height: 80px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .status-icon img {
- width: 100px;
- height: 100px;
- object-fit: contain;
- }
- .status-info {
- flex: 1;
- }
- .status-label {
- font-size: 14px;
- color: #e0fcff;
- margin-bottom: 5px;
- }
- .status-value {
- font-size: 24px;
- font-weight: bold;
- color: #00ffff;
- text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
- }
- /* 设备测验内容卡片 */
- .device-cards {
- display: grid;
- grid-template-columns: repeat(6, 1fr);
- gap: 30px;
- flex: 1;
- overflow-y: auto;
- padding-right: 10px;
- max-height: 100%;
- }
- .device-card {
- background: rgba(0, 40, 80, 0.6);
- border: 1px solid rgba(0, 213, 255, 0.3);
- border-radius: 4px;
- width: 250px;
- height: 300px;
- padding: 10px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 15px;
- backdrop-filter: blur(10px);
- cursor: pointer;
- transition: all 0.3s ease;
- position: relative;
- overflow: hidden;
- }
- .device-card::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- height: 3px;
- background: linear-gradient(90deg, #00d5ff, #62f6fb);
- transform: scaleX(0);
- transition: transform 0.3s ease;
- }
- .device-card:hover {
- border-color: rgba(0, 213, 255, 0.8);
- box-shadow: 0 0 20px rgba(0, 213, 255, 0.4);
- transform: translateY(-2px);
- }
- .device-card:hover::before {
- transform: scaleX(1);
- }
- .device-card.active {
- border-color: rgba(0, 213, 255, 0.8);
- box-shadow: 0 0 20px rgba(0, 213, 255, 0.6);
- }
- .device-card.active::before {
- transform: scaleX(1);
- }
- .device-icon {
- width: 150px;
- height: 150px;
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 1;
- }
- .device-icon img {
- width: 150px;
- height: 150px;
- object-fit: contain;
- }
- .device-name {
- font-size: 32px;
- font-weight: bold;
- color: #ffffff;
- text-align: center;
- z-index: 1;
- word-break: break-all;
- text-overflow: ellipsis;
- overflow: hidden;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .device-status {
- font-size: 18px;
- font-weight: bold;
- padding: 6px 12px;
- border-radius: 4px;
- z-index: 1;
- }
- .status-normal {
- color: #00ff88;
- background: rgba(0, 255, 136, 0.2);
- border: 1px solid rgba(0, 255, 136, 0.4);
- }
- .status-offline {
- color: #ff6b6b;
- background: rgba(255, 107, 107, 0.2);
- border: 1px solid rgba(255, 107, 107, 0.4);
- }
- .status-warning {
- color: #ffa502;
- background: rgba(255, 165, 2, 0.2);
- border: 1px solid rgba(255, 165, 2, 0.4);
- }
- /* 设备详情 */
- .device-detail {
- position: fixed;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- background: rgba(0, 30, 60, 0.95);
- border: 1px solid rgba(0, 213, 255, 0.5);
- border-radius: 12px;
- box-shadow: 0 0 30px rgba(0, 213, 255, 0.4);
- width: 600px;
- max-width: 90vw;
- max-height: 80vh;
- overflow-y: auto;
- z-index: 1000;
- }
- .detail-header {
- background: linear-gradient(90deg, rgba(0, 60, 120, 0.9), rgba(0, 100, 150, 0.7));
- padding: 15px 20px;
- border-bottom: 1px solid rgba(0, 213, 255, 0.4);
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .detail-header h3 {
- font-size: 18px;
- font-weight: bold;
- color: #00ffff;
- margin: 0;
- text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
- }
- .close-btn {
- font-size: 24px;
- color: #7bbef6;
- cursor: pointer;
- background: none;
- border: none;
- padding: 0;
- transition: color 0.3s;
- }
- .close-btn:hover {
- color: #ffffff;
- }
- .detail-content {
- padding: 20px;
- display: flex;
- flex-direction: column;
- gap: 15px;
- }
- .detail-item {
- display: flex;
- align-items: center;
- gap: 15px;
- }
- .detail-item label {
- font-size: 14px;
- color: #62f6fb;
- font-weight: bold;
- width: 100px;
- flex-shrink: 0;
- }
- .detail-item span {
- font-size: 14px;
- color: #e0fcff;
- flex: 1;
- }
- .detail-actions {
- padding: 20px;
- border-top: 1px solid rgba(0, 213, 255, 0.3);
- display: flex;
- gap: 10px;
- justify-content: flex-end;
- }
- .btn-primary {
- background: linear-gradient(90deg, rgba(0, 100, 200, 0.8), rgba(0, 150, 255, 0.6));
- border: 1px solid rgba(0, 213, 255, 0.5);
- border-radius: 4px;
- color: #ffffff;
- padding: 10px 20px;
- font-size: 14px;
- font-weight: bold;
- cursor: pointer;
- transition: all 0.3s ease;
- }
- .btn-primary:hover {
- background: linear-gradient(90deg, rgba(0, 120, 255, 0.9), rgba(0, 180, 255, 0.7));
- box-shadow: 0 0 10px rgba(0, 213, 255, 0.6);
- }
- .btn-secondary {
- background: rgba(0, 60, 120, 0.6);
- border: 1px solid rgba(0, 213, 255, 0.3);
- border-radius: 4px;
- color: #e0fcff;
- padding: 10px 20px;
- font-size: 14px;
- cursor: pointer;
- transition: all 0.3s ease;
- }
- .btn-secondary:hover {
- background: rgba(0, 80, 160, 0.8);
- border-color: rgba(0, 213, 255, 0.6);
- }
- /* 详情弹窗样式 */
- .modal-overlay {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 20, 40, 0.8);
- backdrop-filter: blur(5px);
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 1000;
- }
- .modal-content {
- background: rgba(0, 30, 60, 0.95);
- border: 1px solid rgba(0, 213, 255, 0.5);
- border-radius: 8px;
- box-shadow: 0 0 30px rgba(0, 213, 255, 0.4);
- width: 800px;
- max-width: 90vw;
- max-height: 80vh;
- overflow-y: auto;
- z-index: 1001;
- }
- .modal-header {
- background: linear-gradient(90deg, rgba(0, 60, 120, 0.9), rgba(0, 100, 150, 0.7));
- padding: 15px 20px;
- border-bottom: 1px solid rgba(0, 213, 255, 0.4);
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .modal-header h2 {
- font-size: 18px;
- font-weight: bold;
- color: #00ffff;
- margin: 0;
- text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
- }
- .modal-body {
- padding: 20px;
- }
- .station-info-header {
- margin-bottom: 20px;
- padding-bottom: 15px;
- border-bottom: 1px solid rgba(0, 213, 255, 0.3);
- }
- .station-basic {
- text-align: center;
- }
- .station-name {
- font-size: 24px;
- font-weight: bold;
- color: #00ffff;
- margin: 0 0 10px 0;
- text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
- }
- .station-code {
- font-size: 14px;
- color: #e0fcff;
- margin: 0;
- }
- .station-info-detail {
- display: flex;
- flex-direction: column;
- gap: 20px;
- }
- .station-info-detail h4 {
- font-size: 16px;
- font-weight: bold;
- color: #62f6fb;
- margin: 0 0 10px 0;
- text-shadow: 0 0 3px rgba(0, 212, 255, 0.5);
- }
- .station-info-detail ul {
- list-style: none;
- padding: 0;
- margin: 0;
- display: flex;
- flex-direction: column;
- gap: 5px;
- }
- .station-info-detail li {
- font-size: 14px;
- color: #e0fcff;
- padding-left: 20px;
- position: relative;
- }
- .station-info-detail li::before {
- content: '•';
- position: absolute;
- left: 0;
- color: #00d5ff;
- font-weight: bold;
- }
- .modal-footer {
- padding: 15px 20px;
- border-top: 1px solid rgba(0, 213, 255, 0.3);
- display: flex;
- justify-content: center;
- }
- /* 响应式设计 */
- @media (max-width: 1200px) {
- .status-overview {
- grid-template-columns: repeat(2, 1fr);
- }
-
- .device-cards {
- grid-template-columns: repeat(6, 1fr);
- }
- }
- @media (max-width: 768px) {
- .sub-title {
- width: 120px;
- height: 50px;
- font-size: 14px;
- }
-
- .sub-title.left-1 {
- left: 100px;
- }
-
- .sub-title.left-2 {
- left: 230px;
- }
-
- .sub-title.right-2 {
- right: 150px;
- }
-
- .sub-title.right-3 {
- right: 20px;
- }
-
- .system-title {
- font-size: 24px;
- }
-
- .status-overview {
- grid-template-columns: 1fr;
- }
-
- .device-cards {
- grid-template-columns: repeat(6, 1fr);
- }
-
- .device-detail {
- width: 95vw;
- }
- }
- /* 滚动条样式 */
- .device-cards::-webkit-scrollbar {
- width: 8px;
- }
- .device-cards::-webkit-scrollbar-track {
- background: rgba(0, 60, 120, 0.3);
- border-radius: 4px;
- }
- .device-cards::-webkit-scrollbar-thumb {
- background: rgba(0, 213, 255, 0.5);
- border-radius: 4px;
- }
- .device-cards::-webkit-scrollbar-thumb:hover {
- background: rgba(0, 213, 255, 0.8);
- }
- </style>
|