Commit 2944f87e09fdfaec154f3546b32d0e6b8bc840d5
1 parent
7ff5ea99
fix: DEFECT-801 enabled dark mode,some page not switch dark mode
Showing
7 changed files
with
36 additions
and
12 deletions
... | ... | @@ -185,7 +185,7 @@ |
185 | 185 | <PageWrapper dense contentFullHeight contentClass="flex"> |
186 | 186 | <OrganizationIdTree @select="handleSelect" ref="organizationIdTreeRef" /> |
187 | 187 | <section class="p-4 pl-9 split-screen-mode flex flex-col flex-auto w-3/4 xl:w-4/5"> |
188 | - <div class="p-3 bg-light-50 flex justify-between mb-4"> | |
188 | + <div class="p-3 bg-light-50 flex justify-between mb-4 dark:bg-dark-900"> | |
189 | 189 | <div class="flex gap-4 cursor-pointer items-center"> |
190 | 190 | <div |
191 | 191 | class="w-8 h-8 flex justify-center items-center" |
... | ... | @@ -232,7 +232,7 @@ |
232 | 232 | </Tabs> |
233 | 233 | </div> |
234 | 234 | </div> |
235 | - <section ref="videoContainer" class="bg-light-50 flex-auto"> | |
235 | + <section ref="videoContainer" class="bg-light-50 flex-auto dark:bg-dark-900"> | |
236 | 236 | <Spin :spinning="loading" class="h-full"> |
237 | 237 | <Empty |
238 | 238 | class="h-full flex flex-col justify-center items-center" | ... | ... |
1 | 1 | <template> |
2 | - <div style="background-color: #f0f2f5"> | |
3 | - <BasicTable @register="registerTable"> | |
2 | + <div style="background-color: #f0f2f5" class="dark:bg-dark-900"> | |
3 | + <BasicTable @register="registerTable" class="dark:bg-dark-900"> | |
4 | 4 | <template #toolbar> |
5 | 5 | <Authority value="api:yt:smsLog:export"> |
6 | 6 | <a-button type="primary" @click="handleCreate"> 导出 </a-button> | ... | ... |
1 | 1 | <template> |
2 | - <div style="background-color: #f0f2f5"> | |
3 | - <BasicTable @register="registerTable"> | |
2 | + <div style="background-color: #f0f2f5" class="dark:bg-dark-900"> | |
3 | + <BasicTable @register="registerTable" class="dark:bg-dark-900"> | |
4 | 4 | <template #toolbar> |
5 | 5 | <Authority value="api:yt:smsLog:export"> |
6 | 6 | <a-button type="primary" @click="handleExport"> 导出 </a-button> | ... | ... |
... | ... | @@ -45,7 +45,14 @@ |
45 | 45 | |
46 | 46 | .widget-select:deep(.ant-card-body) { |
47 | 47 | /* height: 240px; */ |
48 | - width: 240px; | |
48 | + | |
49 | + /* width: 236px; | |
50 | + height: 196px; */ | |
51 | + | |
52 | + /* width: 100%; | |
53 | + height: 100%; */ | |
54 | + width: 236px; | |
55 | + height: 236px; | |
49 | 56 | padding: 0; |
50 | 57 | box-sizing: border-box; |
51 | 58 | display: flex; |
... | ... | @@ -64,10 +71,18 @@ |
64 | 71 | } |
65 | 72 | |
66 | 73 | .widget-select .widget-container { |
67 | - width: 240px; | |
68 | - height: 200px; | |
74 | + width: 236px; | |
75 | + height: 196px; | |
69 | 76 | display: flex; |
70 | 77 | justify-content: center; |
71 | 78 | align-items: center; |
72 | 79 | } |
80 | + | |
81 | + [data-theme='dark'] .widget-select:deep(.ant-card-body) { | |
82 | + @apply bg-dark-900; | |
83 | + } | |
84 | + | |
85 | + [data-theme='dark'] .widget-select:deep(.ant-card) { | |
86 | + @apply border-dark-300; | |
87 | + } | |
73 | 88 | </style> | ... | ... |
... | ... | @@ -565,6 +565,10 @@ |
565 | 565 | background-color: #fff; |
566 | 566 | } |
567 | 567 | |
568 | + [data-theme='dark'] .board-detail:deep(.ant-page-header-heading) { | |
569 | + @apply bg-dark-900; | |
570 | + } | |
571 | + | |
568 | 572 | .board-detail:deep(.ant-page-header-heading-extra) { |
569 | 573 | margin: 0; |
570 | 574 | line-height: 78px; | ... | ... |
... | ... | @@ -189,13 +189,13 @@ |
189 | 189 | |
190 | 190 | <template> |
191 | 191 | <PageWrapper> |
192 | - <div class="flex items-center mb-3 bg-light-100 h-78px"> | |
192 | + <div class="flex items-center mb-3 bg-light-100 h-78px dark:text-gray-300 dark:bg-dark-900"> | |
193 | 193 | <div class="text-lg ml-30px mr-9px font-bold">自定义看板</div> |
194 | 194 | <Authority value="api:yt:data_board:add:post"> |
195 | 195 | <Button type="primary" @click="handleOpenDetailModal">创建看板</Button> |
196 | 196 | </Authority> |
197 | 197 | </div> |
198 | - <div class="bg-light-100 mb-6 w-full p-3 search-form"> | |
198 | + <div class="bg-light-100 mb-6 w-full p-3 search-form dark:text-gray-300 dark:bg-dark-900"> | |
199 | 199 | <BasicForm class="flex-auto w-full" @register="searchFormRegister" /> |
200 | 200 | </div> |
201 | 201 | <Spin :spinning="loading"> |
... | ... | @@ -309,4 +309,9 @@ |
309 | 309 | padding: 10px; |
310 | 310 | background-color: #fff; |
311 | 311 | } |
312 | + | |
313 | + [data-theme='dark'] .data-board-list:deep(.ant-list-pagination) { | |
314 | + padding: 10px; | |
315 | + background-color: #000; | |
316 | + } | |
312 | 317 | </style> | ... | ... |