|
|
|
@ -2,8 +2,14 @@ |
|
|
|
<div class="floating-header"> |
|
|
|
<div class="header-left"> |
|
|
|
<div class="system-title"> |
|
|
|
<i class="el-icon-s-promotion mr-2 logo-icon"></i> |
|
|
|
<span class="title-text blue-title">联合任务筹划系统</span> |
|
|
|
<!-- 按照实际路径引入logo.jpg --> |
|
|
|
<img |
|
|
|
src="@/views/childRoom/logo.png" |
|
|
|
class="logo-icon mr-2" |
|
|
|
alt="系统logo" |
|
|
|
style="width:24px; height:24px; object-fit:contain;" |
|
|
|
> |
|
|
|
<span class="title-text blue-title">网络化任务规划系统</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 顶部导航菜单 --> |
|
|
|
@ -28,6 +34,9 @@ |
|
|
|
> |
|
|
|
<div class="dropdown-trigger"></div> |
|
|
|
<el-dropdown-menu slot="dropdown" class="file-dropdown-menu"> |
|
|
|
<!-- 新增新建计划和打开选项 --> |
|
|
|
<el-dropdown-item @click.native="newPlan">新建计划</el-dropdown-item> |
|
|
|
<el-dropdown-item @click.native="openPlan">打开</el-dropdown-item> |
|
|
|
<el-dropdown-item @click.native="savePlan">保存</el-dropdown-item> |
|
|
|
|
|
|
|
<!-- 导入二级菜单 --> |
|
|
|
@ -298,6 +307,14 @@ export default { |
|
|
|
this.$emit('select-nav', item) |
|
|
|
}, |
|
|
|
|
|
|
|
// 文件下拉菜单新增方法 |
|
|
|
newPlan() { |
|
|
|
this.$emit('new-plan') |
|
|
|
}, |
|
|
|
openPlan() { |
|
|
|
this.$emit('open-plan') |
|
|
|
}, |
|
|
|
|
|
|
|
// 文件下拉菜单方法 |
|
|
|
savePlan() { |
|
|
|
this.$emit('save-plan') |
|
|
|
@ -475,9 +492,10 @@ export default { |
|
|
|
justify-content: space-between; |
|
|
|
z-index: 100; |
|
|
|
backdrop-filter: blur(15px); |
|
|
|
background: rgba(255, 255, 255, 0.85); |
|
|
|
border-bottom: 1px solid rgba(0, 138, 255, 0.2); |
|
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); |
|
|
|
/* 调整背景为更透明的白色 */ |
|
|
|
background: rgba(255, 255, 255, 0.3); |
|
|
|
border-bottom: 1px solid rgba(0, 138, 255, 0.1); |
|
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05); |
|
|
|
} |
|
|
|
|
|
|
|
.header-left { |
|
|
|
@ -495,6 +513,13 @@ export default { |
|
|
|
min-width: 180px; |
|
|
|
} |
|
|
|
|
|
|
|
/* 新增logo图片样式,保证显示效果 */ |
|
|
|
.logo-icon { |
|
|
|
width: 24px; |
|
|
|
height: 24px; |
|
|
|
object-fit: contain; |
|
|
|
} |
|
|
|
|
|
|
|
.system-title i { |
|
|
|
font-size: 24px; |
|
|
|
color: #008aff; |
|
|
|
@ -604,8 +629,9 @@ export default { |
|
|
|
border-radius: 6px; |
|
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); |
|
|
|
backdrop-filter: blur(15px); |
|
|
|
background: rgba(255, 255, 255, 0.85); |
|
|
|
border: 1px solid rgba(0, 138, 255, 0.2); |
|
|
|
/* 下拉菜单也同步调整为更透明的白色 */ |
|
|
|
background: rgba(255, 255, 255, 0.9); |
|
|
|
border: 1px solid rgba(0, 138, 255, 0.1); |
|
|
|
padding: 0; |
|
|
|
min-width: auto; |
|
|
|
width: fit-content; |
|
|
|
@ -660,8 +686,9 @@ export default { |
|
|
|
border-radius: 6px; |
|
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); |
|
|
|
backdrop-filter: blur(15px); |
|
|
|
background: rgba(255, 255, 255, 0.85); |
|
|
|
border: 1px solid rgba(0, 138, 255, 0.2); |
|
|
|
/* 子菜单同步调整透明度 */ |
|
|
|
background: rgba(255, 255, 255, 0.9); |
|
|
|
border: 1px solid rgba(0, 138, 255, 0.1); |
|
|
|
padding: 0; |
|
|
|
min-width: auto; |
|
|
|
width: fit-content; |
|
|
|
@ -706,17 +733,18 @@ export default { |
|
|
|
align-items: center; |
|
|
|
gap: 8px; |
|
|
|
padding: 8px 12px; |
|
|
|
background: rgba(255, 255, 255, 0.6); |
|
|
|
/* 信息框也调整为更透明的白色 */ |
|
|
|
background: rgba(255, 255, 255, 0.5); |
|
|
|
border-radius: 8px; |
|
|
|
cursor: pointer; |
|
|
|
transition: all 0.3s; |
|
|
|
border: 1px solid rgba(0, 138, 255, 0.1); |
|
|
|
border: 1px solid rgba(0, 138, 255, 0.05); |
|
|
|
} |
|
|
|
|
|
|
|
.info-box:hover { |
|
|
|
background: rgba(0, 138, 255, 0.1); |
|
|
|
transform: translateY(-2px); |
|
|
|
box-shadow: 0 4px 12px rgba(0, 138, 255, 0.2); |
|
|
|
box-shadow: 0 4px 12px rgba(0, 138, 255, 0.1); |
|
|
|
} |
|
|
|
|
|
|
|
.combat-info-group .info-box:nth-child(3) .info-value { |
|
|
|
@ -763,6 +791,6 @@ export default { |
|
|
|
|
|
|
|
.user-avatar:hover { |
|
|
|
transform: scale(1.1); |
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); |
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |