feat: 物联网卡管理
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
/* ========== 玻璃拟态变量 ========== */
|
||||
@glass-border: rgba(65, 170, 255, 0.28);
|
||||
@glass-border-light: rgba(92, 211, 255, 0.18);
|
||||
@accent-cyan: #00d4ff;
|
||||
@accent-blue: #0096ff;
|
||||
@text-primary: #eaf6ff;
|
||||
@text-secondary: rgba(255, 255, 255, 0.55);
|
||||
@text-dim: rgba(255, 255, 255, 0.35);
|
||||
@card-bg: linear-gradient(145deg, rgba(10, 24, 48, 0.7), rgba(8, 18, 38, 0.5));
|
||||
@card-bg-active: linear-gradient(145deg, rgba(0, 80, 160, 0.2), rgba(0, 120, 200, 0.1));
|
||||
@card-shadow: 0 2px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||
@card-shadow-active: 0 2px 20px rgba(0, 112, 212, 0.2), inset 0 1px 0 rgba(0, 180, 255, 0.12);
|
||||
@transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
.panel {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
@@ -6,54 +20,74 @@
|
||||
|
||||
/* ========== 头部 ========== */
|
||||
.header {
|
||||
padding: 18px 16px;
|
||||
border-bottom: 1px solid rgba(0, 212, 255, 0.12);
|
||||
padding: 20px 16px 16px;
|
||||
border-bottom: 1px solid @glass-border-light;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: 12px;
|
||||
position: relative;
|
||||
|
||||
// 底部渐变高光
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -1px;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
height: 1px;
|
||||
background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
|
||||
}
|
||||
}
|
||||
|
||||
.headerIcon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(135deg, rgba(0, 112, 212, 0.3), rgba(0, 180, 255, 0.15));
|
||||
background: linear-gradient(135deg, rgba(0, 100, 200, 0.35), rgba(0, 180, 255, 0.15));
|
||||
backdrop-filter: blur(8px);
|
||||
border: 1px solid rgba(0, 150, 255, 0.25);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #00d4ff;
|
||||
color: @accent-cyan;
|
||||
font-size: 16px;
|
||||
flex-shrink: 0;
|
||||
box-shadow: 0 2px 8px rgba(0, 100, 200, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.headerTitle {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
color: @text-primary;
|
||||
line-height: 1.3;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.headerSub {
|
||||
font-size: 11px;
|
||||
color: rgba(255, 255, 255, 0.35);
|
||||
color: @text-dim;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
.count {
|
||||
margin-left: auto;
|
||||
background: rgba(0, 112, 212, 0.2);
|
||||
color: #00b4ff;
|
||||
background: linear-gradient(135deg, rgba(0, 100, 200, 0.25), rgba(0, 150, 255, 0.15));
|
||||
border: 1px solid rgba(0, 150, 255, 0.2);
|
||||
color: @accent-cyan;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
padding: 2px 10px;
|
||||
font-weight: 700;
|
||||
font-family: 'Rajdhani', 'DIN', monospace;
|
||||
padding: 2px 12px;
|
||||
border-radius: 10px;
|
||||
flex-shrink: 0;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
/* ========== 列表 ========== */
|
||||
.list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
padding: 12px 10px;
|
||||
}
|
||||
|
||||
.center {
|
||||
@@ -65,27 +99,58 @@
|
||||
|
||||
/* ========== 线路卡片 ========== */
|
||||
.routeCard {
|
||||
padding: 14px;
|
||||
padding: 14px 16px;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
transition: all 0.25s;
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
transition: @transition-fast;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
background: @card-bg;
|
||||
backdrop-filter: blur(6px);
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
// 左侧指示条
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 20%;
|
||||
bottom: 20%;
|
||||
width: 2px;
|
||||
background: transparent;
|
||||
border-radius: 1px;
|
||||
transition: @transition-fast;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgba(0, 150, 220, 0.08);
|
||||
border-color: rgba(0, 180, 255, 0.2);
|
||||
background: linear-gradient(145deg, rgba(0, 80, 160, 0.12), rgba(0, 120, 200, 0.06));
|
||||
border-color: rgba(0, 150, 255, 0.25);
|
||||
box-shadow: @card-shadow;
|
||||
transform: translateX(2px);
|
||||
|
||||
&::before {
|
||||
background: rgba(0, 180, 255, 0.4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.routeCardActive {
|
||||
background: rgba(0, 112, 212, 0.12);
|
||||
background: @card-bg-active;
|
||||
border-color: rgba(0, 150, 255, 0.4);
|
||||
box-shadow: 0 0 16px rgba(0, 112, 212, 0.12);
|
||||
box-shadow: @card-shadow-active;
|
||||
|
||||
&::before {
|
||||
background: linear-gradient(180deg, @accent-cyan, @accent-blue);
|
||||
width: 3px;
|
||||
top: 12%;
|
||||
bottom: 12%;
|
||||
}
|
||||
|
||||
.routeName {
|
||||
color: #00d4ff;
|
||||
color: @accent-cyan;
|
||||
text-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +159,8 @@
|
||||
font-weight: 600;
|
||||
color: rgba(255, 255, 255, 0.92);
|
||||
margin-bottom: 8px;
|
||||
transition: color 0.2s;
|
||||
transition: @transition-fast;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
/* ========== 标签行 ========== */
|
||||
@@ -110,15 +176,18 @@
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 11px;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
color: @text-secondary;
|
||||
background: rgba(0, 100, 180, 0.1);
|
||||
border: 1px solid rgba(0, 150, 255, 0.1);
|
||||
padding: 2px 8px;
|
||||
border-radius: 4px;
|
||||
font-family: 'Rajdhani', 'DIN', sans-serif;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
.tagIcon {
|
||||
font-size: 10px;
|
||||
color: rgba(0, 180, 255, 0.6);
|
||||
color: rgba(0, 180, 255, 0.65);
|
||||
}
|
||||
|
||||
/* ========== 航点路径 ========== */
|
||||
@@ -126,42 +195,53 @@
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
gap: 5px;
|
||||
padding: 10px 0 4px;
|
||||
border-top: 1px dashed rgba(255, 255, 255, 0.08);
|
||||
border-top: 1px solid rgba(65, 170, 255, 0.1);
|
||||
}
|
||||
|
||||
.waypointDot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 180, 255, 0.6);
|
||||
background: @accent-cyan;
|
||||
box-shadow: 0 0 4px rgba(0, 212, 255, 0.4);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.waypointName {
|
||||
font-size: 12px;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
letter-spacing: 0.2px;
|
||||
}
|
||||
|
||||
.waypointArrow {
|
||||
font-size: 11px;
|
||||
color: rgba(0, 180, 255, 0.5);
|
||||
color: rgba(0, 180, 255, 0.45);
|
||||
margin: 0 1px;
|
||||
}
|
||||
|
||||
/* ========== 开始航行按钮 ========== */
|
||||
.startBtn {
|
||||
margin-top: 12px;
|
||||
height: 36px;
|
||||
height: 38px;
|
||||
border-radius: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
letter-spacing: 1px;
|
||||
letter-spacing: 1.5px;
|
||||
background: linear-gradient(135deg, #0070d4, #0096ff);
|
||||
border: none;
|
||||
border: 1px solid rgba(0, 150, 255, 0.3);
|
||||
box-shadow: 0 2px 12px rgba(0, 112, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
transition: @transition-fast;
|
||||
|
||||
&:hover {
|
||||
background: linear-gradient(135deg, #0080e8, #00a8ff);
|
||||
box-shadow: 0 4px 20px rgba(0, 112, 212, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translateY(0);
|
||||
box-shadow: 0 1px 6px rgba(0, 112, 212, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user