Compare commits
6 Commits
e0a63a5330
...
bbf1da3493
| Author | SHA1 | Date | |
|---|---|---|---|
| bbf1da3493 | |||
| 923eef659f | |||
| 66b719695c | |||
| 50dd4cf76b | |||
| 1e8e61a442 | |||
| 3a3e89da78 |
@ -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 网格布局
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
@ -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>
|
||||||
@ -19,6 +20,7 @@
|
|||||||
</CollapsiblePanel> -->
|
</CollapsiblePanel> -->
|
||||||
<CollaborationInfo />
|
<CollaborationInfo />
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
@ -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 {
|
||||||
|
|||||||
@ -160,7 +160,9 @@ function onAfterLeave(el) {
|
|||||||
.collapsible-panel {
|
.collapsible-panel {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
&:not(:last-child) {
|
||||||
margin-bottom: vh(17);
|
margin-bottom: vh(17);
|
||||||
|
}
|
||||||
border: 2px solid transparent; /* 防止 hover 时抖动 */
|
border: 2px solid transparent; /* 防止 hover 时抖动 */
|
||||||
|
|
||||||
&__header {
|
&__header {
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -204,7 +204,7 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- 底部一键启动按钮 -->
|
<!-- 底部一键启动按钮 -->
|
||||||
<template #footer>
|
<template #extraButtons>
|
||||||
<ActionButton
|
<ActionButton
|
||||||
text="响应调度"
|
text="响应调度"
|
||||||
type="inModal"
|
type="inModal"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user