conditionAssistance.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  1. <template>
  2. <BasicModal
  3. @register="register"
  4. title="风机运行工况辅助决策"
  5. :maskStyle="{ backgroundColor: '#000000aa' }"
  6. width="1200px"
  7. v-bind="$attrs"
  8. @ok="onSubmit"
  9. @cancel="onSubmit"
  10. :canFullscreen="false"
  11. :destroyOnClose="true"
  12. :footer="null"
  13. >
  14. <div class="modal-box">
  15. <div class="right-box">
  16. <!-- <div class="box-title">风机信息</div> -->
  17. <dv-decoration7 style="height: 20px">
  18. <div class="box-title">风机信息</div>
  19. </dv-decoration7>
  20. <div class="info-container">
  21. <template v-if="isMock">
  22. <div v-for="(item, index) in fanInfo" class="info-item" :key="index">
  23. <div class="title">{{ item.title }}:</div>
  24. <div class="value">{{ fanInfoData && fanInfoData[item.code] ? fanInfoData[item.code] : '-' }}</div>
  25. </div>
  26. </template>
  27. <template v-else>
  28. <div v-for="(item, index) in columns" class="info-item" :key="index">
  29. <div class="title">{{ item['title'] }}:</div>
  30. <div class="value">{{ selectData && selectData[item['dataIndex']] ? selectData[item['dataIndex']] : '-' }}</div>
  31. </div>
  32. </template>
  33. </div>
  34. </div>
  35. <div class="center-box">
  36. <a-spin :spinning="loadding" tip="正在计算,请稍等。。。">
  37. <div ref="chartRef" class="info-echarts" style="width: 450px; height: 375px"></div>
  38. <div v-if="resultObj" class="result-tip">
  39. 最佳工况点为
  40. <span style="color: #9a60b4; padding: 0 10px; font-weight: 600">{{ parseInt(resultObj.Hz) }}°</span>
  41. <span style="color: #c60000; padding: 0 10px; font-weight: 600">{{ formatNum(resultObj.x) }} m³/s</span>
  42. <span style="color: #c60000; padding: 0 10px; font-weight: 600">{{ formatNum(resultObj.y) }} Pa</span></div
  43. >
  44. </a-spin>
  45. </div>
  46. <div class="left-box">
  47. <!-- <div class="box-title">曲线方程</div> -->
  48. <dv-decoration7 style="height: 20px">
  49. <div class="box-title">曲线方程</div>
  50. </dv-decoration7>
  51. <div class="info-lines">
  52. <div v-for="(item, index) in lineEquation" class="info-item" :key="index">
  53. <div class="title">{{ item }}</div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. <div class="setting-box">
  59. <!-- <div class="left-buttons"> -->
  60. <!-- <div class="btn btn1" @click="edit('info')">编辑风机信息</div> -->
  61. <!-- <div class="btn btn1" @click="edit('line')">编辑特性曲线</div> -->
  62. <!-- 风机当前角度:<span>{{ selectData.bladeAngle }} &nbsp;°</span> -->
  63. <!-- </div> -->
  64. <!-- <div class="border-clip"></div> -->
  65. <div class="right-inputs">
  66. <div class="vent-flex-row">
  67. <div class="input-title">风量(m³/s):</div>
  68. <Input class="input-box" size="large" v-model:value="uQ" />
  69. <div class="input-title">风压(Pa):</div>
  70. <Input class="input-box" size="large" v-model:value="uH" />
  71. </div>
  72. <div class="btn btn1" @click="makeLine">决策工况</div>
  73. </div>
  74. </div>
  75. <!-- <div v-if="formShow" class="is-close" :class="{ 'is-open': formShow }">
  76. <a-divider orientation="left" style="border-color: #00d8ff22">{{ formType }}</a-divider>
  77. <BasicForm @register="registerForm" @submit="handleSubmit" :schemas="columns" />
  78. </div> -->
  79. </BasicModal>
  80. </template>
  81. <script lang="ts" setup>
  82. //ts语法
  83. import { ref, onMounted, reactive, nextTick, defineProps, defineEmits, watch } from 'vue';
  84. import echarts from '/@/utils/lib/echarts';
  85. import { setOption, initData, fanInfoData, fanInfo, getSchamas, getSchamas1, lineFormData } from '../main.data.ts';
  86. import { BasicModal, useModalInner } from '/@/components/Modal';
  87. import { BasicForm, useForm } from '/@/components/Form/index';
  88. import { Input } from 'ant-design-vue';
  89. import { Decoration7 as DvDecoration7 } from '@kjgl77/datav-vue3';
  90. import { message } from 'ant-design-vue';
  91. import { formatNum } from '/@/utils/ventutil';
  92. import { getTableHeaderColumns } from '/@/hooks/web/useWebColumns';
  93. import { useGlobSetting } from '/@/hooks/setting';
  94. const { sysOrgCode } = useGlobSetting();
  95. const props = defineProps({
  96. deviceType: {
  97. type: String,
  98. },
  99. selectData: {
  100. type: Object,
  101. default: () => {},
  102. },
  103. m3: {
  104. type: Number,
  105. default: 670.8,
  106. },
  107. });
  108. const emit = defineEmits(['close', 'register', 'openModal']);
  109. type AssistanceItemType = {
  110. angle: number;
  111. Hz: number;
  112. a: number;
  113. b: number;
  114. c: number;
  115. min: number;
  116. max: number;
  117. };
  118. const columns = ref([]);
  119. const isMock = true;
  120. let option = reactive({});
  121. // 注册 modal
  122. const [register, { closeModal }] = useModalInner(() => {
  123. nextTick(() => {
  124. computeAssistance();
  125. option = setOption(props.deviceType);
  126. if (option['xAxis']) option['xAxis']['data'] = xData;
  127. option['series'] = yDataList;
  128. initEcharts();
  129. });
  130. });
  131. const loadding = ref<boolean>(false);
  132. const formShow = ref(false);
  133. const formType = ref('');
  134. const chartRef = ref();
  135. const myChart = ref();
  136. const refresh = ref(true);
  137. const xData: any[] = [];
  138. const yDataList: [] = [];
  139. let lineNum = 0;
  140. const lineEquation = ref<string[]>([]);
  141. const deviceData = ref({});
  142. const uQ = ref<string | undefined>(undefined); // 100 - 400
  143. const uH = ref<number | undefined>(undefined); // - 1000
  144. const resultObj = ref<{ x: number; y: number; Hz: number } | null>(null);
  145. const [registerForm, {}] = useForm({
  146. labelWidth: 120,
  147. actionColOptions: {
  148. span: 24,
  149. },
  150. compact: true,
  151. showSubmitButton: true,
  152. submitButtonOptions: {
  153. text: '提交',
  154. preIcon: '',
  155. },
  156. showResetButton: true,
  157. resetButtonOptions: {
  158. text: '关闭',
  159. preIcon: '',
  160. },
  161. resetFunc: async () => {
  162. formShow.value = false;
  163. },
  164. });
  165. function computeAssistance() {
  166. const assistanceData = initData(props.deviceType);
  167. lineNum = 0;
  168. const assistanceDataList = [];
  169. const lineEquationList: string[] = [];
  170. for (const key in assistanceData) {
  171. const item = assistanceData[key];
  172. assistanceDataList.push(item);
  173. lineEquationList.push(
  174. `H${parseInt(item['Hz'])} = ${item['a']}Q² ${Number(item['b']) > 0 ? '+' : '-'} ${Math.abs(Number(item['b'])).toFixed(5)}Q ${
  175. Number(item['c']) > 0 ? '+' : '-'
  176. } ${Math.abs(Number(item['c'])).toFixed(5)}`
  177. );
  178. }
  179. lineEquation.value = lineEquationList;
  180. lineNum = assistanceDataList.length;
  181. // const xDataMin =
  182. // Math.min.apply(
  183. // Math,
  184. // assistanceDataList.map((item) => {
  185. // return item.min;
  186. // })
  187. // ) - 10;
  188. let xDataMin = Math.min.apply(
  189. Math,
  190. assistanceDataList.map((item) => {
  191. return item.min;
  192. })
  193. );
  194. xDataMin = Number((xDataMin - xDataMin / 10).toFixed(0));
  195. let xDataMax =
  196. Math.max.apply(
  197. Math,
  198. assistanceDataList.map((item) => {
  199. return item.max;
  200. })
  201. ) + 10;
  202. xDataMax = Number(xDataMax.toFixed(0));
  203. fanInfoData.flfw = `${xDataMin}~${xDataMax}`;
  204. const computeItem = (item: AssistanceItemType) => {
  205. const min = item.min;
  206. const max = item.max;
  207. const HList: number[] = [];
  208. for (let i = xDataMin; i <= xDataMax; i++) {
  209. if (i < min) {
  210. HList.push(null);
  211. } else if (i > max) {
  212. HList.push(null);
  213. } else {
  214. HList.push(item.a * i * i + item.b * i + item.c);
  215. }
  216. }
  217. return HList;
  218. };
  219. for (const key in assistanceData) {
  220. const element: AssistanceItemType = assistanceData[key];
  221. const yData: number[] = computeItem(element);
  222. const series = {
  223. name: `${element['Hz']}°`,
  224. type: 'line',
  225. smooth: true,
  226. showSymbol: false,
  227. symbol: 'none',
  228. emphasis: {
  229. focus: 'series',
  230. },
  231. itemStyle: { normal: { label: { show: true } } },
  232. lineStyle: {
  233. width: 1,
  234. color: '#ffffff88',
  235. },
  236. zlevel: 0,
  237. z: 1,
  238. endLabel: {
  239. show: true,
  240. formatter: '{a}',
  241. distance: 0,
  242. color: '#39E9FE99',
  243. backgroundColor: 'transparent',
  244. padding: [3, 3, 2, 3],
  245. },
  246. data: yData,
  247. };
  248. yDataList.push(series);
  249. }
  250. for (let i = xDataMin; i <= xDataMax; i++) {
  251. xData.push(i);
  252. }
  253. }
  254. function computeRLine() {
  255. if (uH.value && uQ.value) {
  256. const R = uH.value / Number(uQ.value) / Number(uQ.value);
  257. const yAxis: number[] = [];
  258. for (let i = 0; i < xData.length; i++) {
  259. const x = xData[i];
  260. const y = R * x * x;
  261. if (x == uQ.value) {
  262. uH.value = y;
  263. }
  264. yAxis.push(y);
  265. }
  266. const series = {
  267. name: 'R',
  268. type: 'line',
  269. smooth: true,
  270. showSymbol: false,
  271. zlevel: 0,
  272. emphasis: {
  273. focus: 'series',
  274. },
  275. itemStyle: { normal: { label: { show: true } } },
  276. lineStyle: {
  277. width: 2,
  278. color: '#D0A343',
  279. },
  280. endLabel: {
  281. show: true,
  282. formatter: '{a}',
  283. distance: 0,
  284. color: '#D0A343',
  285. },
  286. data: yAxis,
  287. };
  288. yDataList[lineNum] = series;
  289. }
  290. }
  291. function reSetLine() {
  292. let minIndex = -1;
  293. for (let i = 0; i < yDataList.length; i++) {
  294. if (i !== lineNum && i != lineNum + 1) {
  295. if (yDataList[i]['lineStyle']) yDataList[i]['lineStyle']['color'] = '#ffffff88';
  296. if (yDataList[i]['lineStyle']) yDataList[i]['lineStyle']['width'] = 1;
  297. if (yDataList[i]['endLabel'] && yDataList[i]['endLabel']['color']) {
  298. yDataList[i]['endLabel']['color'] = '#39E9FE99';
  299. }
  300. if (yDataList[i]['endLabel'] && yDataList[i]['endLabel']['backgroundColor']) yDataList[i]['endLabel']['backgroundColor'] = 'transparent';
  301. if (yDataList[i]['z']) yDataList[i]['z'] = 1;
  302. }
  303. if (resultObj.value && `${resultObj.value.Hz}°` == yDataList[i]['name']) {
  304. minIndex = i;
  305. }
  306. }
  307. if (minIndex != -1) {
  308. yDataList[minIndex]['lineStyle']['color'] = '#9A60B4';
  309. yDataList[minIndex]['lineStyle']['width'] = 2;
  310. yDataList[minIndex]['endLabel']['color'] = '#9A60B4';
  311. yDataList[minIndex]['endLabel']['backgroundColor'] = '#111';
  312. yDataList[minIndex]['z'] = 999;
  313. }
  314. }
  315. // 根据风量计算压差
  316. function computePa() {
  317. const R = uH.value / Number(uQ.value) / Number(uQ.value);
  318. const pointX = Number(uQ.value);
  319. const pointY = Number(uH.value);
  320. type ItemType = {
  321. x: number;
  322. y: number;
  323. Hz: number;
  324. };
  325. const assistanceData = initData(props.deviceType);
  326. const paList = new Map<number, ItemType>(); // key 是最近距离
  327. const getIntersectionPoint = (a, b, c, R, min, max) => {
  328. const obj: { x: undefined | number; y: undefined | number } = { x: undefined, y: undefined };
  329. // 计算二次方程的判别式
  330. const discriminant = b * b - 4 * (a - R) * c;
  331. if (discriminant > 0) {
  332. // 有两个实根
  333. const x1 = (-b + Math.sqrt(discriminant)) / (2 * (a - R));
  334. const x2 = (-b - Math.sqrt(discriminant)) / (2 * (a - R));
  335. const y1 = R * x1 * x1;
  336. const y2 = R * x2 * x2;
  337. if (x1 >= min && x1 <= max) {
  338. obj.x = x1;
  339. obj.y = y1;
  340. } else {
  341. obj.x = x2;
  342. obj.y = y2;
  343. }
  344. } else if (discriminant === 0) {
  345. // 有一个实根
  346. const x = -b / (2 * (a - R));
  347. const y = R * x * x;
  348. if (x >= min && x <= max) {
  349. obj.x = x;
  350. obj.y = y;
  351. }
  352. // console.log(`唯一交点: (${x}, ${y})`);
  353. } else {
  354. // 没有实根,交点在虚数域
  355. console.log('没有实数交点');
  356. }
  357. return obj;
  358. };
  359. for (let key in assistanceData) {
  360. const item: AssistanceItemType = assistanceData[key];
  361. paList.set(item.Hz, getIntersectionPoint(item.a, item.b, item.c, R, item.min, item.max));
  362. }
  363. const min = (points: Map<number, ItemType>) => {
  364. const targetX = uQ.value;
  365. const targetY = uH.value;
  366. let minDistance = Number.POSITIVE_INFINITY;
  367. let closestPoint = null;
  368. let keyVal = '';
  369. // 遍历已知点数组,计算距离并更新最小距离和对应的点
  370. for (const [key, point] of points) {
  371. const distance = Math.sqrt((targetX - point.x) ** 2 + (targetY - point.y) ** 2);
  372. if (distance < minDistance) {
  373. minDistance = distance;
  374. closestPoint = point;
  375. keyVal = key;
  376. }
  377. }
  378. if (closestPoint !== null) {
  379. console.log(`距离最小的点是 (${closestPoint.x}, ${closestPoint.y}), 距离为 ${minDistance}`);
  380. resultObj.value = { x: closestPoint.x, y: closestPoint.y, Hz: keyVal };
  381. } else {
  382. console.log('没有找到最小距离的点');
  383. }
  384. };
  385. min(paList);
  386. reSetLine();
  387. }
  388. function computeR() {
  389. if (uQ.value && uH.value) {
  390. computeRLine();
  391. computePa();
  392. if (resultObj.value && resultObj.value.x && resultObj.value.y) {
  393. const series = {
  394. type: 'effectScatter',
  395. symbolSize: 5,
  396. // symbolOffset:[1, 1],
  397. showEffectOn: 'render',
  398. // 涟漪特效相关配置。
  399. rippleEffect: {
  400. // 波纹的绘制方式,可选 'stroke' 和 'fill'。
  401. brushType: 'stroke',
  402. },
  403. zlevel: 1,
  404. z: 999,
  405. itemStyle: {
  406. color: '#C60000',
  407. },
  408. data: [[resultObj.value.x.toFixed(0), Number(resultObj.value.y.toFixed(0))]],
  409. };
  410. yDataList[lineNum + 1] = series;
  411. }
  412. }
  413. }
  414. function edit(flag) {
  415. if (flag == 'info') {
  416. formType.value = '编辑风机信息';
  417. }
  418. if (flag == 'line') {
  419. formType.value = '编辑特性曲线';
  420. }
  421. if (formShow.value == true) {
  422. formShow.value = false;
  423. nextTick(() => {
  424. formShow.value = true;
  425. });
  426. } else {
  427. formShow.value = true;
  428. }
  429. }
  430. async function onSubmit() {
  431. emit('close');
  432. closeModal();
  433. chartRef.value = null;
  434. uQ.value = undefined;
  435. uH.value = undefined;
  436. formType.value = '';
  437. myChart.value = undefined;
  438. refresh.value = true;
  439. xData.length = 0;
  440. yDataList.length = 0;
  441. lineNum = 0;
  442. lineEquation.value = [];
  443. resultObj.value = null;
  444. }
  445. function initEcharts() {
  446. if (chartRef.value) {
  447. computeR();
  448. myChart.value = echarts.init(chartRef.value);
  449. option && myChart.value.setOption(option);
  450. refresh.value = false;
  451. nextTick(() => {
  452. setTimeout(() => {
  453. refresh.value = true;
  454. }, 0);
  455. });
  456. }
  457. }
  458. function makeLine() {
  459. if (uQ.value && uH.value) {
  460. loadding.value = true;
  461. setTimeout(() => {
  462. initEcharts();
  463. loadding.value = false;
  464. }, 1200);
  465. }
  466. }
  467. function handleSubmit() {
  468. message.success('提交成功');
  469. setTimeout(() => {
  470. formShow.value = false;
  471. }, 800);
  472. }
  473. function getColumn() {
  474. let lineColumns = [];
  475. if (props.deviceType) {
  476. lineColumns = getTableHeaderColumns(props.deviceType + '_input') as [];
  477. if (lineColumns && lineColumns.length < 1) {
  478. lineColumns = getTableHeaderColumns(props.deviceType.split('_')[0] + '_input') as [];
  479. }
  480. if (lineColumns.length > 0) {
  481. lineColumns = lineColumns.filter((item) => item['dataIndex'] && item['dataIndex'].includes('_line_'));
  482. columns.value = lineColumns;
  483. }
  484. }
  485. }
  486. watch(
  487. () => props.deviceType,
  488. async () => {
  489. getColumn();
  490. // deviceData.value = await list({ devicetype: 'fanmain', pagetype: 'normal' });
  491. }
  492. );
  493. watch(
  494. () => props.selectData,
  495. async (selectData) => {
  496. debugger;
  497. deviceData.value = selectData;
  498. }
  499. );
  500. onMounted(() => {});
  501. </script>
  502. <style scoped lang="less">
  503. .modal-box {
  504. display: flex;
  505. flex-direction: row;
  506. background-color: #ffffff05;
  507. padding: 20px 8px;
  508. border: 1px solid #00d8ff22;
  509. // min-height: 600px;
  510. .box-title {
  511. width: calc(100% - 40px);
  512. text-align: center;
  513. background-color: #1dc1f522;
  514. }
  515. .info-item {
  516. display: flex;
  517. justify-content: space-between;
  518. align-items: center;
  519. padding: 2px 0px;
  520. margin: 4px 0;
  521. background-image: linear-gradient(to right, #39deff15, #3977e500);
  522. &:first-child {
  523. margin-top: 0;
  524. }
  525. .title {
  526. width: 200px;
  527. text-align: left;
  528. padding-left: 20px;
  529. color: #f1f1f1cc;
  530. }
  531. .value {
  532. width: 150px;
  533. color: #00d8ff;
  534. padding-right: 20px;
  535. text-align: right;
  536. }
  537. }
  538. .right-box {
  539. width: 350px;
  540. .info-container {
  541. width: calc(100% - 2px);
  542. margin-top: 5px;
  543. box-shadow: 0px 0px 50px #86baff08 inset;
  544. }
  545. }
  546. .left-box {
  547. width: 350px;
  548. .info-lines {
  549. width: calc(100% - 2px);
  550. height: 390px;
  551. box-shadow: 0px 0px 50px #86baff08 inset;
  552. overflow-y: auto;
  553. margin-top: 5px;
  554. .title {
  555. width: 100%;
  556. color: #f1f1f1cc;
  557. }
  558. }
  559. .info-item {
  560. padding: 8px 0px;
  561. margin: 4px 0;
  562. }
  563. }
  564. .center-box {
  565. margin: 0 10px;
  566. .info-echarts {
  567. // background-color: #ffffff11;
  568. }
  569. .result-tip {
  570. text-align: center;
  571. background-color: #00000011;
  572. line-height: 28px;
  573. margin: 10px 50px 0 50px;
  574. border: 1px solid #00d8ff22;
  575. border-radius: 2px;
  576. }
  577. }
  578. }
  579. .setting-box {
  580. width: 1170px;
  581. height: 70px;
  582. margin: 10px 0;
  583. background-color: #ffffff05;
  584. border: 1px solid #00d8ff22;
  585. display: flex;
  586. align-items: center;
  587. justify-content: center;
  588. .right-inputs {
  589. display: flex;
  590. height: 40px;
  591. margin-right: 10px;
  592. }
  593. .left-buttons {
  594. display: flex;
  595. height: 40px;
  596. margin-left: 15px;
  597. .btn {
  598. margin: 0 10px;
  599. }
  600. span {
  601. color: #00d8ff;
  602. }
  603. }
  604. .border-clip {
  605. width: 1px;
  606. height: 25px;
  607. border-right: 1px solid #8b8b8b77;
  608. }
  609. .input-title {
  610. width: 120px;
  611. }
  612. .input-box {
  613. width: 300px !important;
  614. background: transparent !important;
  615. border-color: #00d8ff44 !important;
  616. margin-right: 20px;
  617. color: #fff !important;
  618. }
  619. .btn {
  620. padding: 8px 20px;
  621. position: relative;
  622. border-radius: 2px;
  623. color: #fff;
  624. width: fit-content;
  625. cursor: pointer;
  626. &::before {
  627. position: absolute;
  628. display: block;
  629. content: '';
  630. width: calc(100% - 4px);
  631. height: calc(100% - 4px);
  632. top: 2px;
  633. left: 2px;
  634. border-radius: 2px;
  635. z-index: -1;
  636. }
  637. }
  638. .btn1 {
  639. border: 1px solid #5cfaff;
  640. &::before {
  641. background-image: linear-gradient(#2effee92, #0cb1d592);
  642. }
  643. &:hover {
  644. border: 1px solid #5cfaffaa;
  645. &::before {
  646. background-image: linear-gradient(#2effee72, #0cb1d572);
  647. }
  648. }
  649. }
  650. }
  651. .is-open {
  652. animation: open 0.5s;
  653. animation-iteration-count: 1;
  654. animation-fill-mode: forwards;
  655. animation-timing-function: ease-in;
  656. }
  657. .is-close {
  658. height: 0px;
  659. }
  660. @keyframes open {
  661. 0% {
  662. height: 0px;
  663. }
  664. 100% {
  665. height: fit-content;
  666. }
  667. }
  668. @keyframes close {
  669. 0% {
  670. height: fit-content;
  671. }
  672. 100% {
  673. height: 0px;
  674. }
  675. }
  676. :deep(.zxm-divider-inner-text) {
  677. color: #cacaca88 !important;
  678. }
  679. :deep(.zxm-form-item) {
  680. margin-bottom: 10px;
  681. }
  682. </style>