ui: 战略地图泳道重新设计 — 圆角阴影卡片+浅灰内容区

This commit is contained in:
Hermes CI Fix
2026-07-20 15:16:26 +08:00
parent 43af7cd99d
commit 1e0262e162
@@ -148,31 +148,37 @@ export default {
<style scoped>
.strategy-layer {
border: 2px solid #e8e8e8;
border-radius: 10px;
border: none;
border-radius: 12px;
display: flex;
flex-direction: column;
background: #fafafa;
background: #fff;
min-height: 120px;
transition: border-color 0.2s;
overflow: hidden;
width: 100%;
box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
transition: box-shadow 0.2s;
overflow: hidden;
}
.strategy-layer:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.layer-header {
padding: 10px 14px;
padding: 12px 16px;
color: #fff;
display: flex;
align-items: center;
gap: 8px;
gap: 10px;
font-size: 14px;
font-weight: 600;
flex-shrink: 0;
user-select: none;
letter-spacing: 0.3px;
}
.layer-icon {
font-size: 18px;
line-height: 1;
}
.layer-name {
@@ -181,8 +187,11 @@ export default {
.layer-objective-count {
font-size: 11px;
opacity: 0.8;
opacity: 0.85;
font-weight: 400;
background: rgba(255,255,255,0.2);
padding: 2px 10px;
border-radius: 10px;
}
.layer-more-btn {
@@ -194,12 +203,13 @@ export default {
}
.layer-body {
padding: 10px 14px;
padding: 12px 14px;
flex: 1;
display: flex;
flex-direction: column;
gap: 4px;
gap: 6px;
overflow-y: auto;
background: #f8f9fb;
}
/* vuedraggable 容器 */
@@ -229,6 +239,6 @@ export default {
.layer-add-btn {
width: 100% !important;
flex-shrink: 0;
margin-top: 4px;
margin-top: 6px;
}
</style>