Compare commits

..

6 Commits

Author SHA1 Message Date
Zzc
bbf1da3493 Merge branch 'dev' of http://222.212.85.86:8222/bdzl2/bxztApp into dev 2025-11-28 15:20:06 +08:00
Zzc
923eef659f feat(ui): 将 3D 态势感知视图中的 footer slot 重命名为 extraButtons。 2025-11-28 15:19:55 +08:00
Zzc
66b719695c feat(ui): 为可伸缩弹窗新增额外按钮插槽并调整可折叠面板边距
- 在 `StretchableModal` 头部新增名为 `extraButtons` 的插槽,用于放置附加控制组件
- 确保 `StretchableModal` 始终渲染底部插槽(footer slot),移除条件显示逻辑
- 调整 `CollapsiblePanel` 的下边距(margin-bottom),使其仅在非最后一个子元素时生效,从而消除末尾的冗余空间
- 为额外按钮区域添加悬停发光效果样式
2025-11-28 15:13:28 +08:00
Zzc
50dd4cf76b feat(ui): 将悬停发光效果添加到右侧面板并隐藏滚动条 2025-11-28 15:12:19 +08:00
Zzc
1e8e61a442 feat(ui): 为左侧面板添加悬停发光效果并隐藏滚动条
- 为 location 面板添加了 box-shadow 悬停效果,以提供视觉反馈
- 将左侧面板 index 中的滚动条宽度设置为 0,从而隐藏了滚动条
2025-11-28 15:11:46 +08:00
Zzc
3a3e89da78 chore: 更新 事件icon 2025-11-28 15:11:12 +08:00
6 changed files with 39 additions and 5 deletions

View File

@ -78,6 +78,11 @@ const locationInfo = [
min-width: 248px; min-width: 248px;
max-width: 100%; max-width: 100%;
// min-height: 160px; // min-height: 160px;
&:hover {
// border: 2px solid rgba(255, 80, 80, 0.6);
box-shadow: 0 0 10px rgba(255, 80, 80, 0.6), 0 0 20px rgba(255, 0, 0, 0.4),
0 0 35px rgba(255, 0, 0, 0.25);
}
} }
// 2x2 // 2x2

View File

@ -173,7 +173,7 @@ const handleQuickResponseToggle = () => {
box-sizing: border-box; box-sizing: border-box;
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: vw(6); width: vw(0);
} }
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {

View File

@ -1,5 +1,6 @@
<template> <template>
<div class="right-panel"> <div class="right-panel">
<div class="right-panel__content">
<CollapsiblePanel title="快速处置" subtitle="「调度指挥」"> <CollapsiblePanel title="快速处置" subtitle="「调度指挥」">
<DispatchCommand /> <DispatchCommand />
</CollapsiblePanel> </CollapsiblePanel>
@ -18,6 +19,7 @@
<!-- <CollapsiblePanel title="协同信息" subtitle="「多部门联动」"> <!-- <CollapsiblePanel title="协同信息" subtitle="「多部门联动」">
</CollapsiblePanel> --> </CollapsiblePanel> -->
<CollaborationInfo /> <CollaborationInfo />
</div>
</div> </div>
</template> </template>
@ -42,10 +44,18 @@ import CollaborationInfo from './CollaborationInfo.vue'
overscroll-behavior: contain; overscroll-behavior: contain;
padding-right: vw(40); // padding-right: vw(40); //
padding-top: var(--sa-header-height); padding-top: var(--sa-header-height);
padding-left: 10px;
box-sizing: border-box; box-sizing: border-box;
&__content {
&:hover {
// border: 2px solid rgba(255, 80, 80, 0.6);
box-shadow: 0 0 10px rgba(255, 80, 80, 0.6), 0 0 20px rgba(255, 0, 0, 0.4),
0 0 35px rgba(255, 0, 0, 0.25);
}
}
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: vw(6); width: vw(0);
} }
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {

View File

@ -160,7 +160,9 @@ function onAfterLeave(el) {
.collapsible-panel { .collapsible-panel {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: vh(17); &:not(:last-child) {
margin-bottom: vh(17);
}
border: 2px solid transparent; /* 防止 hover 时抖动 */ border: 2px solid transparent; /* 防止 hover 时抖动 */
&__header { &__header {

View File

@ -15,6 +15,9 @@
<div class="stretchable-modal__header"> <div class="stretchable-modal__header">
<slot name="header"> <slot name="header">
<h3 class="stretchable-modal__title">{{ title }}</h3> <h3 class="stretchable-modal__title">{{ title }}</h3>
<div class="stretchable-modal__extra">
<slot name="extraButtons"></slot>
</div>
</slot> </slot>
<button <button
v-if="showClose" v-if="showClose"
@ -36,7 +39,7 @@
</div> </div>
<!-- 底部大弹窗bottom切图.png --> <!-- 底部大弹窗bottom切图.png -->
<div v-if="$slots.footer" class="stretchable-modal__footer"> <div class="stretchable-modal__footer">
<slot name="footer"></slot> <slot name="footer"></slot>
</div> </div>
</div> </div>
@ -212,6 +215,20 @@ onUnmounted(() => {
margin: 0; margin: 0;
} }
&__extra {
position: absolute;
right: 125px;
top: 18px;
display: flex;
align-items: center;
justify-content: center;
&:hover {
// border: 2px solid rgba(255, 80, 80, 0.6);
box-shadow: 0 0 10px rgba(255, 80, 80, 0.6), 0 0 20px rgba(255, 0, 0, 0.4),
0 0 35px rgba(255, 0, 0, 0.25);
}
}
&__close { &__close {
position: absolute; position: absolute;
top: 34px; top: 34px;

View File

@ -204,7 +204,7 @@
/> />
<!-- 底部一键启动按钮 --> <!-- 底部一键启动按钮 -->
<template #footer> <template #extraButtons>
<ActionButton <ActionButton
text="响应调度" text="响应调度"
type="inModal" type="inModal"