| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- $neon-green: #00d6c0;
- $neon-blue: #00fff4;
- $neon-cyan: #00ffe6;
- .task-detail-container {
- width: 100%;
- height: 100%;
- // 主要内容区域
- display: grid;
- grid-template-columns: 750px 1fr;
- grid-template-rows: 1fr 176px;
- grid-template-areas:
- 'robot content'
- 'task-list task-list';
- gap: 40px;
- .robot-section {
- grid-area: robot;
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 30px;
- padding: 100px 0;
- .section-title {
- font-size: 48px;
- color: $neon-cyan;
- font-weight: 600;
- text-align: center;
- line-height: 72px;
- letter-spacing: 2px;
- }
- .robot-container {
- position: relative;
- margin-top: 40px;
- padding-top: 40px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- .robot-image {
- width: 486px;
- height: 438px;
- margin-left: 20px;
- }
- .placeholder-image {
- width: 100%;
- height: 100%;
- background: transparent;
- }
- .robot-pedestal {
- width: 512px;
- height: 83px;
- }
- .robot-status {
- position: absolute;
- top: 10px;
- right: 10px;
- display: flex;
- gap: 16px;
- .status-dot {
- width: 16px;
- height: 16px;
- border-radius: 50%;
- animation: scale-pulse 1.5s infinite ease-in-out;
- &:nth-child(1) {
- background: #dd3131;
- }
- &:nth-child(2) {
- background: #fa8b0d;
- animation-delay: 0.4s;
- }
- &:nth-child(3) {
- background: #fdd330;
- animation-delay: 0.8s;
- }
- }
- }
- }
- .stats-section {
- width: 100%;
- margin-top: 80px;
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 40px;
- .stat-item {
- display: flex;
- align-items: center;
- gap: 10px;
- .stat-label {
- color: $neon-cyan;
- font-weight: 600;
- font-size: 40px;
- line-height: 72px;
- letter-spacing: 2px;
- white-space: nowrap;
- }
- .number-container {
- display: flex;
- gap: 10px;
- .number-item {
- width: 82px;
- height: 95px;
- padding-bottom: 6px;
- background: url('@/assets/images/number_box.png');
- background-size: 100% 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-weight: 600;
- font-size: 73px;
- line-height: 72px;
- letter-spacing: 2px;
- color: $neon-cyan;
- }
- }
- .stat-unit {
- color: $neon-cyan;
- font-weight: 600;
- font-size: 40px;
- line-height: 72px;
- letter-spacing: 2px;
- white-space: nowrap;
- }
- }
- }
- }
- .content-section {
- grid-area: content;
- height: 100%;
- display: flex;
- flex-direction: column;
- gap: 30px;
- border: 1px solid $neon-cyan;
- border-left-color: #086f6a;
- border-right-color: #086f6a;
- // border-radius: 8px;
- padding-bottom: 20px;
- overflow: hidden;
- }
- .task-list-section {
- grid-area: task-list;
- width: calc(100% - 40px);
- height: 176px;
- margin: 0 0 0 auto;
- padding: 20px 30px;
- border-top: 2px solid rgba(0, 255, 230, 0.5);
- border-bottom: 2px solid rgba(0, 255, 230, 0.5);
- background: radial-gradient(ellipse at center, transparent 60%, rgba(9, 51, 56, 0.8) 100%);
- .task-list-container {
- height: 100%;
- display: flex;
- overflow-x: auto;
- &::-webkit-scrollbar {
- display: none;
- }
- .task-item {
- flex-shrink: 0;
- width: 408px;
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 10px;
- min-width: 150px;
- padding: 20px 0;
- border-top: 1px solid rgba(0, 255, 230, 0.3);
- border-left: 1px solid rgba(0, 255, 230, 0.3);
- cursor: pointer;
- &:last-child {
- border-right: 1px solid rgba(0, 255, 230, 0.3);
- }
- &.is-selected {
- background: rgba(0, 255, 230, 0.1);
- }
- .task-title {
- display: flex;
- align-items: center;
- font-weight: 400;
- font-size: 32px;
- color: $neon-cyan;
- line-height: 72px;
- letter-spacing: 1px;
- .clock-icon {
- color: $neon-cyan;
- margin-right: 8px;
- }
- }
- .task-time {
- font-weight: 400;
- font-size: 32px;
- color: $neon-blue;
- }
- .task-status {
- width: 28px;
- height: 28px;
- margin-left: 32px;
- border-radius: 50%;
- &.success {
- background: #13ccff;
- }
- &.warning,
- &.info {
- background: #00ff8c;
- }
- &.danger {
- background: #f72626;
- }
- }
- }
- }
- }
- }
- // 状态点动画
- @keyframes scale-pulse {
- 0%,
- 100% {
- transform: scale(1);
- }
- 50% {
- transform: scale(1.5);
- }
- }
|