Compare commits
6 Commits
e0a63a5330
...
bbf1da3493
| Author | SHA1 | Date | |
|---|---|---|---|
| bbf1da3493 | |||
| 923eef659f | |||
| 66b719695c | |||
| 50dd4cf76b | |||
| 1e8e61a442 | |||
| 3a3e89da78 |
@ -78,6 +78,11 @@ const locationInfo = [
|
||||
min-width: 248px;
|
||||
max-width: 100%;
|
||||
// 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 网格布局
|
||||
|
||||
@ -173,7 +173,7 @@ const handleQuickResponseToggle = () => {
|
||||
box-sizing: border-box;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: vw(6);
|
||||
width: vw(0);
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div class="right-panel">
|
||||
<div class="right-panel__content">
|
||||
<CollapsiblePanel title="快速处置" subtitle="「调度指挥」">
|
||||
<DispatchCommand />
|
||||
</CollapsiblePanel>
|
||||
@ -19,6 +20,7 @@
|
||||
</CollapsiblePanel> -->
|
||||
<CollaborationInfo />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -42,10 +44,18 @@ import CollaborationInfo from './CollaborationInfo.vue'
|
||||
overscroll-behavior: contain;
|
||||
padding-right: vw(40); // 为右侧折叠按钮预留空间
|
||||
padding-top: var(--sa-header-height);
|
||||
padding-left: 10px;
|
||||
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 {
|
||||
width: vw(6);
|
||||
width: vw(0);
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
|
||||
@ -160,7 +160,9 @@ function onAfterLeave(el) {
|
||||
.collapsible-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
&:not(:last-child) {
|
||||
margin-bottom: vh(17);
|
||||
}
|
||||
border: 2px solid transparent; /* 防止 hover 时抖动 */
|
||||
|
||||
&__header {
|
||||
|
||||
@ -15,6 +15,9 @@
|
||||
<div class="stretchable-modal__header">
|
||||
<slot name="header">
|
||||
<h3 class="stretchable-modal__title">{{ title }}</h3>
|
||||
<div class="stretchable-modal__extra">
|
||||
<slot name="extraButtons"></slot>
|
||||
</div>
|
||||
</slot>
|
||||
<button
|
||||
v-if="showClose"
|
||||
@ -36,7 +39,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 底部:大弹窗bottom切图.png -->
|
||||
<div v-if="$slots.footer" class="stretchable-modal__footer">
|
||||
<div class="stretchable-modal__footer">
|
||||
<slot name="footer"></slot>
|
||||
</div>
|
||||
</div>
|
||||
@ -212,6 +215,20 @@ onUnmounted(() => {
|
||||
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 {
|
||||
position: absolute;
|
||||
top: 34px;
|
||||
|
||||
@ -204,7 +204,7 @@
|
||||
/>
|
||||
|
||||
<!-- 底部一键启动按钮 -->
|
||||
<template #footer>
|
||||
<template #extraButtons>
|
||||
<ActionButton
|
||||
text="响应调度"
|
||||
type="inModal"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user