content.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  1. <!-- eslint-disable vue/multi-word-component-names -->
  2. <template>
  3. <!-- 主体内容部分 -->
  4. <div class="content">
  5. <!-- 背景 -->
  6. <img v-if="background.show && background.type === 'image'" class="content__background" :src="background.link" />
  7. <video
  8. v-if="background.show && background.type === 'video' && background.isBoard"
  9. class="content__background"
  10. width="100%"
  11. autoplay
  12. loop
  13. muted
  14. disablepictureinpicture
  15. playsinline
  16. >
  17. <source :src="background.link" />
  18. Not Supportted Link Or Browser
  19. </video>
  20. <video
  21. v-if="background.show && background.type === 'video' && !background.isBoard"
  22. class="content__background_1"
  23. width="100%"
  24. autoplay
  25. loop
  26. muted
  27. disablepictureinpicture
  28. playsinline
  29. >
  30. <source :src="background.link" />
  31. Not Supportted Link Or Browser
  32. </video>
  33. <div class="flex w-full h-full" :style="{ flexDirection: layout.direction }">
  34. <div v-for="config in layoutConfig" :key="config.name" :style="{ flexBasis: config.basis, overflow: config.overflow ? 'auto' : 'hidden' }">
  35. <!-- 告示板部分 -->
  36. <template v-if="config.name === 'board'">
  37. <div
  38. v-if="config.pageType == 'vent_New'"
  39. style="padding-top: 11%"
  40. class="content__module content__module1 flex flex-justify-around flex-items-center flex-wrap"
  41. >
  42. <MiniBoard
  43. v-for="item in config.items"
  44. :key="item.prop"
  45. :label="item.label"
  46. :value="item.value"
  47. :type="config.type"
  48. :layout="config.layout"
  49. />
  50. </div>
  51. <div v-else-if="config.pageType == 'New_fire'" class="content__module flex flex-justify-around flex-items-center flex-wrap">
  52. <MiniBoardNew
  53. v-for="item in config.items"
  54. :key="item.prop"
  55. :label="item.label"
  56. :value="item.value"
  57. :type="config.type"
  58. :layout="config.layout"
  59. />
  60. </div>
  61. <div v-else class="content__module flex flex-justify-around flex-items-center flex-wrap">
  62. <MiniBoard
  63. v-for="item in config.items"
  64. :key="item.prop"
  65. :label="item.label"
  66. :value="item.value"
  67. :unit="item.unit"
  68. :type="config.type"
  69. :layout="config.layout"
  70. />
  71. </div>
  72. </template>
  73. <!-- 图表部分,这部分通常需要填充,有告示板、Header等内容需要填充父级 -->
  74. <template v-if="config.name === 'chart'">
  75. <CustomChart v-if="config.pageType == 'New_dust'" class="content__module_dust" :chart-config="config.config" :chart-data="config.data" />
  76. <CustomChart v-else class="content__module" :chart-config="config.config" :chart-data="config.data" />
  77. </template>
  78. <!-- 通常列表部分 -->
  79. <template v-if="config.name === 'list'">
  80. <template v-if="config.type === 'timeline'">
  81. <TimelineList class="content__module" :list-config="config.items" />
  82. </template>
  83. <template v-else-if="config.type === 'timelineNew'">
  84. <TimelineListNew class="content__module" :list-config="config.items" />
  85. </template>
  86. <template v-else>
  87. <CustomList class="content__module" :type="config.type" :list-config="config.items" />
  88. </template>
  89. </template>
  90. <template v-if="config.name === 'fireList'">
  91. <CustomList class="content__module" :type="config.type" :list-config="config.items" />
  92. </template>
  93. <!-- 画廊部分 -->
  94. <template v-if="config.name === 'gallery'">
  95. <CustomGallery class="content__module" :type="config.type" :gallery-config="config.items" />
  96. </template>
  97. <!-- 复杂列表部分 -->
  98. <template v-if="config.name === 'gallery_list'">
  99. <GalleryList class="content__module" :type="config.type" :list-config="config.items" :gallery-config="config.galleryItems" />
  100. </template>
  101. <!-- 复杂列表部分 -->
  102. <template v-if="config.name === 'complex_list'">
  103. <ComplexList class="content__module" :type="config.type" :list-config="config.items" />
  104. </template>
  105. <!-- 表格部分,这部分通常是占一整个模块的 -->
  106. <template v-if="config.name === 'table'">
  107. <CustomTable
  108. class="content__module text-center overflow-auto"
  109. :type="config.type"
  110. :columns="config.columns"
  111. :auto-scroll="config.autoScroll"
  112. :data="config.data"
  113. />
  114. </template>
  115. <template v-if="config.name === 'tabs'">
  116. <CustomTabs class="content__module" :type="config.type" :tab-config="config.items" :overflow="config.overflow" />
  117. </template>
  118. <template v-if="config.name === 'blast_delta'">
  119. <BlastDelta
  120. v-if="config.pageType === 'New_fire'"
  121. class="content__moduleFire"
  122. :pos-monitor="config.data"
  123. :canvasSize="{ width: 250, height: 200 }"
  124. />
  125. <BlastDelta v-else class="content__module" :pos-monitor="config.data" :canvasSize="{ width: 250, height: 200 }" />
  126. </template>
  127. <template v-if="config.name === 'qh_curve'">
  128. <QHCurve class="content__module" :mainfan="config.data" :fan1-prop="config.config.fan1Prop" :fan2-prop="config.config.fan2Prop" />
  129. </template>
  130. <template v-if="config.name === 'ai_chat'">
  131. <AIChat class="content__module" />
  132. </template>
  133. <template v-if="config.name === 'device_alarm'">
  134. <DeviceAlarm class="content__module" :devicedata="config.data" :config="config.config" />
  135. </template>
  136. <!-- lxh -->
  137. <template v-if="config.name === 'select_cs'">
  138. <SelectCs :devicedata="config.data" :config="config.config" />
  139. </template>
  140. <template v-if="config.name === 'measure_detail'">
  141. <MeasureDetail
  142. class="content__module"
  143. :show-title="false"
  144. :composite-data="config.data"
  145. :topconfig="config.config.topconfig"
  146. :btnconfig="config.config.btnconfig"
  147. />
  148. </template>
  149. <template v-if="config.name === 'partition'">
  150. <Partition class="content__module" :type="config.type" :label="config.label" :icon="config.icon" />
  151. </template>
  152. <template v-if="config.name === 'selector_dual_chart'">
  153. <SelectorDualChart :data="config.data" :moduleData="props.moduleData" :config="config" />
  154. </template>
  155. <template v-if="config.name === 'radio_label'">
  156. <RadioLabel class="content__module" :type="config.config.type" :config="config.config" />
  157. </template>
  158. <template v-if="config.name === 'button_list'">
  159. <ButtonList class="content__module" :type="config.config.type" :config="config.config" :buttonList="config.config.buttonList" />
  160. </template>
  161. <template v-if="config.name === 'card_list'">
  162. <cardList class="content__module" :cardData="config.data" />
  163. </template>
  164. <template v-else-if="config.name === 'generalist'">
  165. <generalList class="content__module" :generalData="config.data" />
  166. </template>
  167. <template v-else-if="config.name === 'jk-video'">
  168. <cameraModal class="content__module" :deviceId="config.data" />
  169. </template>
  170. <template v-if="config.name === 'gallery_new'">
  171. <CustomGalleryNew class="content__module" :type="config.config.type" :option="config.config.items" :galleryData="config.data" />
  172. </template>
  173. <template v-if="config.name === 'card_new'">
  174. <ImageCardNew :option="config.config.items" :cardData="config.data"></ImageCardNew>
  175. </template>
  176. <template v-if="config.name === 'btn_new'">
  177. <BtnListNew :option="config.config.items" :data="config.data"></BtnListNew>
  178. </template>
  179. <template v-if="config.name === 'oerate_new'">
  180. <OperateNew :option="config.config.items" :btnOption="config.config.option" :data="config.data"></OperateNew>
  181. </template>
  182. <template v-if="config.name === 'long_list'">
  183. <LongList></LongList>
  184. </template>
  185. <template v-if="config.name === 'long_list1'">
  186. <LongList1></LongList1>
  187. </template>
  188. <template v-if="config.name === 'long_list2'">
  189. <LongList2></LongList2>
  190. </template>
  191. <template v-if="config.name === 'search_table'">
  192. <SearchTable></SearchTable>
  193. </template>
  194. <template v-if="config.name === 'mixed_warn'">
  195. <MixedWarn></MixedWarn>
  196. </template>
  197. <template v-if="config.name === 'rule_list'">
  198. <RuleList></RuleList>
  199. </template>
  200. <template v-if="config.name === 'echart_bar_new'">
  201. <EchartBarNew></EchartBarNew>
  202. </template>
  203. <template v-if="config.name === 'user_list'">
  204. <UserList></UserList>
  205. </template>
  206. <template v-if="config.name === 'log_audit'">
  207. <LogAudit></LogAudit>
  208. </template>
  209. <template v-if="config.name === 'user_edit'">
  210. <UserEdit></UserEdit>
  211. </template>
  212. <template v-if="config.name === 'permission_info'">
  213. <PermissionManager></PermissionManager>
  214. </template>
  215. <template v-if="config.name === 'permission_set'">
  216. <PermissionSet></PermissionSet>
  217. </template>
  218. <template v-if="config.name === 'statistic_day'">
  219. <StatisticDay></StatisticDay>
  220. </template>
  221. <template v-if="config.name === 'system_view'">
  222. <SystemView></SystemView>
  223. </template>
  224. <template v-if="config.name === 'rule_table'">
  225. <RuleTable :config="config.config" :data="config.data" :selected-row="selectRuleRow" @row-change="onRowClick"></RuleTable>
  226. </template>
  227. <template v-if="config.name === 'link_log'"> <LinkLog></LinkLog> </template>
  228. <template v-if="config.name === 'rule_num'"> <RuleNum></RuleNum> </template>
  229. <template v-if="config.name === 'link_edit'"> <LinkRuleEdit :selected-row="selectRuleRow"> </LinkRuleEdit></template>
  230. </div>
  231. </div>
  232. </div>
  233. </template>
  234. <script lang="ts" setup>
  235. import { computed, reactive, watch, ref } from 'vue';
  236. import {
  237. CommonItem,
  238. Config,
  239. // ModuleDataBoard,
  240. // ModuleDataChart,
  241. // ModuleDataList,
  242. // ModuleDataPreset,
  243. // ModuleDataTable,
  244. } from '../../../deviceManager/configurationTable/types';
  245. import MiniBoard from './detail/MiniBoard.vue';
  246. import TimelineList from './detail/TimelineList.vue';
  247. import TimelineListNew from './detail/TimelineListNew.vue';
  248. import CustomList from './detail/CustomList.vue';
  249. import CustomGallery from './detail/CustomGallery.vue';
  250. import ComplexList from './detail/ComplexList.vue';
  251. import GalleryList from './detail/GalleryList.vue';
  252. import CustomTable from './detail/CustomTable.vue';
  253. import CustomChart from './detail/CustomChart.vue';
  254. import { clone } from 'lodash-es';
  255. import { getData, getFormattedText } from '../hooks/helper';
  256. import BlastDelta from '../../../monitorManager/deviceMonitor/components/device/modal/blastDelta.vue';
  257. import QHCurve from './preset/QHCurve.vue';
  258. import MeasureDetail from './preset/MeasureDetail.vue';
  259. import CustomTabs from './preset/CustomTabs.vue';
  260. import AIChat from '/@/components/AIChat/MiniChat.vue';
  261. import DeviceAlarm from './preset/DeviceAlarm.vue';
  262. import SelectCs from './preset/SelectCs.vue';
  263. import MiniBoardNew from './detail/MiniBoard-New.vue';
  264. import Partition from './preset/partition.vue';
  265. import SelectorDualChart from './preset/selectorDualChart.vue';
  266. import RadioLabel from './preset/radioLabel.vue';
  267. import ButtonList from './preset/buttonList.vue';
  268. import cardList from './preset/cardList.vue';
  269. import generalList from './preset/generalList.vue';
  270. import cameraModal from './preset/cameraModal.vue';
  271. import CustomGalleryNew from './preset/CustomGalleryNew.vue';
  272. import ImageCardNew from './preset/ImageCardNew.vue';
  273. import BtnListNew from './preset/BtnListNew.vue';
  274. import OperateNew from './preset/OperateNew.vue';
  275. import LongList from './preset/LongList.vue';
  276. import LongList1 from './preset/LongList1.vue';
  277. import LongList2 from './preset/LongList2.vue';
  278. import SearchTable from './preset/SearchTable.vue';
  279. import MixedWarn from './preset/MixedWarn.vue';
  280. import RuleList from './preset/RuleList.vue';
  281. import EchartBarNew from './preset/EchartBarNew.vue';
  282. import UserList from './preset/UserList.vue';
  283. import LogAudit from './preset/LogAudit.vue';
  284. import UserEdit from './preset/UserEdit.vue';
  285. import PermissionManager from './preset/PermissionManager.vue';
  286. import PermissionSet from './preset/PermissionSet.vue';
  287. import StatisticDay from './preset/StatisticDay.vue';
  288. import SystemView from './preset/SystemView.vue';
  289. import RuleTable from './preset/ruleTable.vue';
  290. import LinkLog from './preset/linkLog.vue';
  291. import RuleNum from './preset/ruleNum.vue';
  292. import LinkRuleEdit from './preset/linkRuleEdit.vue';
  293. // import FIreWarn from './preset/FIreWarn.vue';
  294. // import FIreControl from './preset/FIreControl.vue';
  295. const props = defineProps<{
  296. data: any;
  297. moduleData: Config['moduleData'];
  298. chartData: any;
  299. }>();
  300. const { background, layout } = props.moduleData;
  301. // 存储当前选中行
  302. const selectRuleRow = ref<null | Record<string, any>>(null);
  303. const onRowClick = (singleRow) => {
  304. selectRuleRow.value = singleRow;
  305. };
  306. // 获取当原始配置带 items 项时的最终 items 配置
  307. function getItems(raw, items: CommonItem[]) {
  308. return items.map((i) => {
  309. return {
  310. ...i,
  311. label: getFormattedText(raw, i.label, i.trans),
  312. value: getFormattedText(raw, i.value, i.trans),
  313. };
  314. });
  315. }
  316. // 获取当 List 组件配置带 items 项时的最终 items 配置
  317. function getListItems(raw: any, items: CommonItem[], mapFromData?: boolean) {
  318. if (mapFromData && Array.isArray(raw)) {
  319. return raw.map((data) => {
  320. const item = items[0];
  321. return {
  322. ...item,
  323. label: getFormattedText(data, item.label, item.trans),
  324. value: getFormattedText(data, item.value, item.trans),
  325. };
  326. });
  327. }
  328. return getItems(raw, items);
  329. }
  330. /** 根据配置里的layout将配置格式化为带 key 的具体配置,例如:[{ key: 'list', value: any, ...ModuleDataList }] */
  331. const layoutConfig = computed(() => {
  332. const refData = props.data;
  333. const board = clone(props.moduleData.board) || [];
  334. const list = clone(props.moduleData.list) || [];
  335. const gallery = clone(props.moduleData.gallery) || [];
  336. const complex_list = clone(props.moduleData.complex_list) || [];
  337. const gallery_list = clone(props.moduleData.gallery_list) || [];
  338. const tabs = clone(props.moduleData.tabs) || [];
  339. const chart = clone(props.moduleData.chart) || [];
  340. const table = clone(props.moduleData.table) || [];
  341. const preset = clone(props.moduleData.preset) || [];
  342. const partition = clone(props.moduleData.partition) || [];
  343. const mockData = clone(props.chartData) || [];
  344. return layout.items.reduce((arr: any[], item) => {
  345. switch (item.name) {
  346. case 'board': {
  347. const cfg = board.shift();
  348. if (!cfg) break;
  349. const data = getData(refData, cfg.readFrom, cfg.parser);
  350. arr.push({
  351. overflow: true,
  352. ...item,
  353. ...cfg,
  354. items: getItems(data, cfg.items),
  355. });
  356. break;
  357. }
  358. case 'list': {
  359. const cfg = list.shift();
  360. if (!cfg) break;
  361. const data = getData(refData, cfg.readFrom, cfg.parser);
  362. arr.push({
  363. overflow: true,
  364. ...item,
  365. ...cfg,
  366. items: getListItems(data, cfg.items, cfg.mapFromData),
  367. });
  368. break;
  369. }
  370. case 'gallery': {
  371. const cfg = gallery.shift();
  372. if (!cfg) break;
  373. const data = getData(refData, cfg.readFrom, cfg.parser);
  374. arr.push({
  375. overflow: true,
  376. ...item,
  377. ...cfg,
  378. items: getItems(data, cfg.items),
  379. });
  380. break;
  381. }
  382. case 'complex_list': {
  383. const cfg = complex_list.shift();
  384. if (!cfg) break;
  385. const data = getData(refData, cfg.readFrom, cfg.parser);
  386. if (cfg.mapFromData) {
  387. const firstListItem = cfg.items[0];
  388. arr.push({
  389. overflow: true,
  390. ...item,
  391. ...cfg,
  392. items: (data || []).map((d) => {
  393. return {
  394. title: getFormattedText(d, firstListItem.title, firstListItem.trans),
  395. contents: firstListItem.contents.map((e) => {
  396. return {
  397. ...e,
  398. label: getFormattedText(d, e.label, e.trans),
  399. value: getFormattedText(d, e.value, e.trans),
  400. };
  401. }),
  402. };
  403. }),
  404. });
  405. } else {
  406. arr.push({
  407. overflow: true,
  408. ...item,
  409. ...cfg,
  410. items: cfg.items.map((i) => {
  411. return {
  412. title: getFormattedText(data, i.title, i.trans),
  413. contents: i.contents.map((e) => {
  414. return {
  415. ...e,
  416. label: getFormattedText(data, e.label, e.trans),
  417. value: getFormattedText(data, e.value, e.trans),
  418. };
  419. }),
  420. };
  421. }),
  422. });
  423. }
  424. break;
  425. }
  426. case 'gallery_list': {
  427. const cfg = gallery_list.shift();
  428. if (!cfg) break;
  429. const data = getData(refData, cfg.readFrom, cfg.parser);
  430. arr.push({
  431. overflow: true,
  432. ...item,
  433. ...cfg,
  434. items: getItems(data, cfg.items),
  435. galleryItems: getItems(data, cfg.galleryItems),
  436. });
  437. break;
  438. }
  439. case 'tabs': {
  440. const cfg = tabs.shift();
  441. if (!cfg) break;
  442. const data = getData(refData, cfg.readFrom, cfg.parser);
  443. if (cfg.mapFromData) {
  444. const firstListItem = cfg.items[0];
  445. arr.push({
  446. overflow: true,
  447. ...item,
  448. ...cfg,
  449. items: (data || []).map((d) => {
  450. return {
  451. title: getFormattedText(d, firstListItem.title, firstListItem.trans),
  452. contents: firstListItem.contents.map((e) => {
  453. return {
  454. ...e,
  455. label: getFormattedText(d, e.label, e.trans),
  456. value: getFormattedText(d, e.value, e.trans),
  457. };
  458. }),
  459. };
  460. }),
  461. });
  462. } else {
  463. arr.push({
  464. overflow: true,
  465. ...item,
  466. ...cfg,
  467. items: cfg.items.map((i) => {
  468. return {
  469. title: getFormattedText(data, i.title, i.trans),
  470. contents: i.contents.map((e) => {
  471. return {
  472. ...e,
  473. label: getFormattedText(data, e.label, e.trans),
  474. value: getFormattedText(data, e.value, e.trans),
  475. };
  476. }),
  477. };
  478. }),
  479. });
  480. }
  481. break;
  482. }
  483. case 'chart': {
  484. const cfg = chart.shift();
  485. if (cfg?.type == 'scatter') {
  486. if (!cfg) break;
  487. const data = getData(mockData, cfg.readFrom, cfg.parser);
  488. arr.push({
  489. ...item,
  490. config: cfg,
  491. data,
  492. });
  493. break;
  494. } else {
  495. if (!cfg) break;
  496. const data = getData(refData, cfg.readFrom, cfg.parser);
  497. arr.push({
  498. ...item,
  499. config: cfg,
  500. data,
  501. });
  502. break;
  503. }
  504. }
  505. case 'table': {
  506. const cfg = table.shift();
  507. if (!cfg) break;
  508. const data = getData(refData, cfg.readFrom, cfg.parser);
  509. arr.push({
  510. ...cfg,
  511. ...item,
  512. columns: cfg.columns,
  513. data,
  514. });
  515. break;
  516. }
  517. case 'partition': {
  518. const cfg = partition.shift();
  519. if (!cfg) break;
  520. const data = getData(refData, cfg.readFrom, cfg.parser);
  521. arr.push({
  522. overflow: true,
  523. ...item,
  524. data,
  525. ...cfg,
  526. });
  527. break;
  528. }
  529. default: {
  530. const cfg = preset.shift();
  531. if (!cfg) break;
  532. const data = getData(refData, cfg.readFrom, cfg.parser);
  533. arr.push({
  534. ...item,
  535. data,
  536. config: cfg,
  537. });
  538. break;
  539. }
  540. }
  541. // console.log(arr,'arr---')
  542. return arr;
  543. }, []);
  544. });
  545. </script>
  546. <style lang="less" scoped>
  547. @import '@/design/theme.less';
  548. .content {
  549. height: calc(100% - 30px);
  550. position: relative;
  551. // z-index: -2;
  552. display: flex;
  553. flex-direction: column;
  554. overflow-y: auto; // 这里会导致样式无故添加滚动条
  555. overflow-x: hidden;
  556. }
  557. .content__background {
  558. width: 100%;
  559. // height: 100%;
  560. height: calc(100% - 65px);
  561. position: absolute;
  562. top: 65px;
  563. left: 0;
  564. z-index: 0;
  565. object-fit: fill;
  566. padding: 5px;
  567. box-sizing: border-box;
  568. }
  569. .content__background_1 {
  570. width: 100%;
  571. height: 100%;
  572. position: absolute;
  573. top: 0px;
  574. left: 0;
  575. z-index: 0;
  576. object-fit: fill;
  577. }
  578. .image__background {
  579. width: 35%;
  580. height: 61%;
  581. left: 30%;
  582. }
  583. .content__module {
  584. // margin-top: 5px;
  585. // margin-bottom: 5px;
  586. width: 100%;
  587. height: 100%;
  588. }
  589. .content__module1 {
  590. background: url('@/assets/images/vent/homeNew/databg/4.png');
  591. background-repeat: no-repeat;
  592. background-size: 100% 100%;
  593. height: 129px;
  594. margin-top: 20%;
  595. }
  596. .content__moduleFire {
  597. width: 100%;
  598. height: 100%;
  599. margin-left: -24% !important;
  600. }
  601. .content__module_dust {
  602. background: url('@/assets/images/vent/homeNew/bottomBg.png');
  603. background-repeat: no-repeat;
  604. background-size: 100% 100%;
  605. width: 100%;
  606. height: 100%;
  607. }
  608. // .content__module:first-of-type {
  609. // margin-top: 0;
  610. // }
  611. // .content__module:last-of-type {
  612. // margin-bottom: 0;
  613. // }
  614. ::-webkit-scrollbar {
  615. width: 5px !important;
  616. }
  617. ::-webkit-scrollbar-thumb {
  618. width: 5px !important;
  619. }
  620. :deep(.zxm-select:not(.zxm-select-customize-input) .zxm-select-selector) {
  621. /* background-color: transparent; */
  622. color: #fff;
  623. }
  624. :deep(.zxm-select-arrow) {
  625. color: #fff;
  626. }
  627. :deep(.zxm-select-selection-item) {
  628. color: #fff !important;
  629. }
  630. :deep(.zxm-select-selection-placeholder) {
  631. color: #fff !important;
  632. }
  633. :deep(.dialog-overlay) {
  634. width: 100%;
  635. height: 100%;
  636. position: unset;
  637. box-shadow: unset;
  638. }
  639. ::-webkit-scrollbar {
  640. width: 5px !important;
  641. }
  642. ::-webkit-scrollbar-thumb {
  643. width: 5px !important;
  644. }
  645. </style>