|
|
@@ -14,9 +14,12 @@ import { transportationMode } from '@/components/TransportationMode'
|
|
|
import { useRoute } from 'vue-router'
|
|
|
import { useOverflow } from '@/hooks/useOverflow'
|
|
|
import { formatTimezone } from '@/utils/tools'
|
|
|
+import { useThemeStore } from '@/stores/modules/theme'
|
|
|
|
|
|
const route = useRoute()
|
|
|
|
|
|
+const themeStore = useThemeStore()
|
|
|
+
|
|
|
// 可拖拽模块的列表
|
|
|
const boxList = ref([
|
|
|
{ id: 1, name: 'Basic Information' },
|
|
|
@@ -113,7 +116,7 @@ const { isOverflow: isDestinationOverflow } = useOverflow(destinationRef, allDat
|
|
|
|
|
|
<template>
|
|
|
<div class="tracking-detail" v-vloading="loading">
|
|
|
- <div class="header">
|
|
|
+ <div class="header" :class="{ 'is-dark': themeStore.theme === 'dark' }">
|
|
|
<div class="detail-status">
|
|
|
<span
|
|
|
class="font_family"
|
|
|
@@ -301,21 +304,23 @@ const { isOverflow: isDestinationOverflow } = useOverflow(destinationRef, allDat
|
|
|
padding-bottom: 16px;
|
|
|
& > .header {
|
|
|
background: linear-gradient(
|
|
|
- 270deg,
|
|
|
- rgba(43, 47, 54, 0.05) 1.88%,
|
|
|
- rgba(255, 182, 121, 0.05) 15.6%,
|
|
|
- rgba(118, 145, 255, 0.05) 49.92%,
|
|
|
- rgba(96, 242, 255, 0.05) 81.78%,
|
|
|
- rgba(43, 47, 54, 0.05) 97.95%
|
|
|
+ 251deg,
|
|
|
+ rgba(255, 255, 255, 0.3),
|
|
|
+ rgba(255, 244, 235, 0.5) 22.66%,
|
|
|
+ rgba(240, 243, 255, 0.5) 44.57%,
|
|
|
+ rgba(224, 247, 249, 0.6) 80.46%,
|
|
|
+ rgba(255, 255, 255, 0.3)
|
|
|
);
|
|
|
- // background: linear-gradient(
|
|
|
- // 251deg,
|
|
|
- // rgba(255, 255, 255, 0.3),
|
|
|
- // rgba(255, 244, 235, 0.5) 22.66%,
|
|
|
- // rgba(240, 243, 255, 0.5) 44.57%,
|
|
|
- // rgba(224, 247, 249, 0.6) 80.46%,
|
|
|
- // rgba(255, 255, 255, 0.3)
|
|
|
- // );
|
|
|
+ &.is-dark {
|
|
|
+ background: linear-gradient(
|
|
|
+ 270deg,
|
|
|
+ rgba(43, 47, 54, 0.1) 1.88%,
|
|
|
+ rgba(255, 182, 121, 0.1) 15.6%,
|
|
|
+ rgba(118, 145, 255, 0.1) 49.92%,
|
|
|
+ rgba(96, 242, 255, 0.1) 81.78%,
|
|
|
+ rgba(43, 47, 54, 0.1) 97.95%
|
|
|
+ );
|
|
|
+ }
|
|
|
|
|
|
.detail-status {
|
|
|
position: relative;
|
|
|
@@ -437,7 +442,7 @@ const { isOverflow: isDestinationOverflow } = useOverflow(destinationRef, allDat
|
|
|
.fallback-class {
|
|
|
opacity: 1 !important;
|
|
|
cursor: move !important;
|
|
|
- background-color: #fff;
|
|
|
+ background-color: var(--color-v-box-content-drag-bg);
|
|
|
box-shadow: 4px 4px 32px 0px rgba(0, 0, 0, 0.2);
|
|
|
border-radius: 12px;
|
|
|
}
|