TabelTransfer.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743
  1. <template>
  2. <div class="mymain-container">
  3. <slot name="header">
  4. <el-row class="radio">
  5. <el-radio-group v-model="region">
  6. <el-radio label="0">指定</el-radio>
  7. <el-radio label="1">广州经销商</el-radio>
  8. <el-radio label="2">佛山经销商</el-radio>
  9. </el-radio-group>
  10. <el-upload
  11. class="import-btn"
  12. :action="baseURL + 'student/import'"
  13. :http-request="handleImport"
  14. :file-list="importFileList"
  15. :show-file-list="false"
  16. >
  17. <el-button type="primary" size="mini">导入经销商</el-button>
  18. </el-upload>
  19. <el-button type="primary" size="mini" @click="hanleDownloadFiles"
  20. >下载模板</el-button
  21. >
  22. </el-row>
  23. <el-row type="flex">
  24. <el-col :xs="24" :sm="12" :lg="14">
  25. <el-input v-model="keyword" placeholder="查找经销商" size="mini" />
  26. </el-col>
  27. <el-col :xs="24" :sm="1" :lg="1" style="margin-left: 10px"
  28. ><el-button size="mini" @click="submitScreenForm"
  29. >确定</el-button
  30. ></el-col
  31. >
  32. <el-col :xs="24" :sm="1" :lg="1" style="margin-left: 20px"
  33. ><el-button size="mini" @click="resetScreenForm"
  34. >重置</el-button
  35. ></el-col
  36. >
  37. </el-row>
  38. </slot>
  39. <el-row :gutter="20">
  40. <el-col :span="10" :offset="0">
  41. <h5>未选经销商</h5>
  42. <el-divider direction="horizontal" content-position="left" />
  43. <div class="table">
  44. <el-table
  45. ref="multipleTable"
  46. :data="dataL"
  47. element-loading-text="Loading"
  48. border
  49. height="480px"
  50. fit
  51. highlight-current-row
  52. @select-all="handleSelectionAllChange"
  53. @selection-change="handleSelectionChange"
  54. >
  55. <el-table-column
  56. type="selection"
  57. width="55"
  58. :selectable="selectable"
  59. align="left"
  60. />
  61. <!-- <el-table-column-->
  62. <!-- prop="number"-->
  63. <!-- label="经销商编码"-->
  64. <!-- align="left"-->
  65. <!-- />-->
  66. <el-table-column prop="name" label="经销商名称" align="left"
  67. ><template slot-scope="scope">
  68. <CopyButton :copy-text="scope.row.name" />
  69. <span>{{ scope.row.name }}</span>
  70. </template>
  71. </el-table-column>
  72. </el-table>
  73. </div>
  74. <!-- 分页 -->
  75. <div style="margin: 20px 0">
  76. <el-pagination
  77. :current-page="currentPages"
  78. :page-sizes="[10, 20, 30, 50]"
  79. :page-size="10"
  80. layout="total, sizes, prev, pager, next, jumper"
  81. :total="clistTotal"
  82. @size-change="handleSizeChanges"
  83. @current-change="handleCurrentChanges"
  84. />
  85. </div>
  86. </el-col>
  87. <el-col :span="4" class="middle_box" :offset="0">
  88. <el-col>
  89. <el-button size="mini" :disabled="type == 2" @click="handleAllAdd"
  90. >全部添加</el-button
  91. ></el-col
  92. >
  93. <el-col>
  94. <el-button size="mini" :disabled="type == 2" @click="handleAdd"
  95. >增加</el-button
  96. ></el-col
  97. >
  98. <el-col>
  99. <el-button size="mini" :disabled="type == 1" @click="handleDelete"
  100. >删除</el-button
  101. ></el-col
  102. >
  103. <el-col>
  104. <el-button size="mini" :disabled="type == 1" @click="handleAllDelete"
  105. >全部删除</el-button
  106. ></el-col
  107. >
  108. </el-col>
  109. <el-col :span="10" :offset="0">
  110. <h5>已选经销商</h5>
  111. <el-divider direction="horizontal" content-position="left" />
  112. <div class="table">
  113. <el-table
  114. v-loading="listLoading"
  115. :data="custoList"
  116. element-loading-text="Loading"
  117. border
  118. height="480px"
  119. fit
  120. highlight-current-row
  121. stripe
  122. @select-all="handleSelectionAllChange2"
  123. @selection-change="handleSelectionChange2"
  124. >
  125. <el-table-column type="selection" width="55" align="left" />
  126. <!-- <el-table-column-->
  127. <!-- prop="customerNumber"-->
  128. <!-- label="经销商编码"-->
  129. <!-- align="left"-->
  130. <!-- />-->
  131. <el-table-column prop="customerName" label="经销商名称" align="left">
  132. <template slot-scope="scope">
  133. <CopyButton :copy-text="scope.row.customerName" />
  134. <span>{{ scope.row.customerName }}</span>
  135. </template>
  136. </el-table-column>
  137. </el-table>
  138. </div>
  139. </el-col>
  140. </el-row>
  141. <div style="margin: 20px 0">
  142. <el-upload
  143. class="import-btn"
  144. :action="baseURL + 'student/import'"
  145. :http-request="handleImports"
  146. :file-list="importFileList"
  147. :show-file-list="false"
  148. >
  149. <el-button type="primary" size="mini">导入经销商</el-button>
  150. </el-upload>
  151. <el-button type="primary" size="mini" @click="hanleDownloadFilesPolicy"
  152. >下载模板</el-button
  153. >
  154. </div>
  155. <el-row type="flex" style="margin: 20px 0">
  156. <el-col :xs="24" :sm="12" :lg="14">
  157. <el-input v-model="keyword2" placeholder="查找经销商" size="mini" />
  158. </el-col>
  159. <el-col :xs="24" :sm="1" :lg="1" style="margin-left: 10px"
  160. ><el-button size="mini" @click="submitScreenForm2"
  161. >确定</el-button
  162. ></el-col
  163. >
  164. <el-col :xs="24" :sm="1" :lg="1" style="margin-left: 20px"
  165. ><el-button size="mini" @click="resetScreenForm2"
  166. >重置</el-button
  167. ></el-col
  168. >
  169. </el-row>
  170. <div>
  171. <div class="table">
  172. <el-table
  173. v-loading="clistLoading"
  174. :data="list"
  175. element-loading-text="Loading"
  176. border
  177. fit
  178. highlight-current-row
  179. stripe
  180. @select-all="handleSelectionAllChange2"
  181. @selection-change="handleSelectionChange2"
  182. >
  183. <!-- <el-table-column type="selection" width="55" align="left" /> -->
  184. <el-table-column
  185. prop="customerNumber"
  186. label="经销商编号
  187. "
  188. align="left"
  189. >
  190. <template slot-scope="scope">
  191. <CopyButton :copy-text="scope.row.customerNumber" />
  192. <span>{{ scope.row.customerNumber }}</span>
  193. </template>
  194. </el-table-column>
  195. <el-table-column prop="customerName" label="经销商名称" align="left">
  196. <template slot-scope="scope">
  197. <CopyButton :copy-text="scope.row.customerName" />
  198. <span>{{ scope.row.customerName }}</span>
  199. </template>
  200. </el-table-column>
  201. <el-table-column
  202. prop="materialName"
  203. label="物料名称
  204. "
  205. align="left"
  206. >
  207. <template slot-scope="scope">
  208. <CopyButton :copy-text="scope.row.materialName" />
  209. <span>{{ scope.row.materialName }}</span>
  210. </template>
  211. </el-table-column>
  212. <el-table-column
  213. prop="materialNumber"
  214. label="物料编号
  215. "
  216. align="left"
  217. >
  218. <template slot-scope="scope">
  219. <CopyButton :copy-text="scope.row.materialNumber" />
  220. <span>{{ scope.row.materialNumber }}</span>
  221. </template>
  222. </el-table-column>
  223. <el-table-column
  224. prop="limitQty"
  225. label="购买量上限
  226. "
  227. align="left"
  228. >
  229. </el-table-column>
  230. </el-table>
  231. </div>
  232. <!-- 分页 -->
  233. <div style="margin: 20px 0">
  234. <el-pagination
  235. :current-page="policyList.currentPages"
  236. :page-sizes="[10, 20, 30, 50]"
  237. :page-size="10"
  238. layout="total, sizes, prev, pager, next, jumper"
  239. :total="cTotal"
  240. @size-change="handleSizeChanges2"
  241. @current-change="handleCurrentChanges2"
  242. />
  243. </div>
  244. </div>
  245. <slot name="footer">
  246. <el-row style="margin: 20px 0 0 0">
  247. <el-button type="primary" size="mini" @click="handleSave">
  248. {{ comCode ? "保存" : "提交审核" }}
  249. </el-button>
  250. <el-button type="primary" size="mini" @click="handleReset"
  251. >重置</el-button
  252. >
  253. </el-row>
  254. </slot>
  255. </div>
  256. </template>
  257. <script>
  258. import {
  259. deleteCondition,
  260. deleteMaterialPolicy,
  261. getConditionList,
  262. getCrList,
  263. getCustomerList,
  264. getPolicyList,
  265. } from "@/api/policy_list";
  266. import { downloadFiles, handleImport } from "@/utils/util";
  267. import EditCondition from "./EditCondition";
  268. import ImageUpload from "@/components/Common/image-upload.vue";
  269. import Minxin from "@/mixin";
  270. export default {
  271. name: "Examine",
  272. components: {
  273. EditCondition,
  274. ImageUpload,
  275. },
  276. mixins: [Minxin],
  277. // eslint-disable-next-line vue/require-prop-types
  278. props: ["code"],
  279. data() {
  280. return {
  281. keyword: "",
  282. keyword2:"",
  283. region: "0",
  284. baseURL: "",
  285. dcurrentPage: 1,
  286. dpageSize: 10,
  287. dlistTotal: 0,
  288. currentPages: 1, // 当前页码
  289. pageSizes: 10, // 每页数量
  290. input: "",
  291. remark: "",
  292. fileList: [],
  293. listLoading: false,
  294. imageUrl: "",
  295. dataList: [],
  296. examineStatus: "OK",
  297. options: {},
  298. value: "",
  299. detail: {},
  300. srcList: [],
  301. screenForm: {
  302. code: "",
  303. createBy: "",
  304. endCreateTime: "",
  305. endTime1: "",
  306. endTime2: "",
  307. examineBy: "",
  308. remark: "",
  309. startCreateTime: "",
  310. startTime1: "",
  311. startTime2: "",
  312. status: "",
  313. title: "",
  314. type: "",
  315. },
  316. conditionList: [],
  317. custoList: [],
  318. isEdit: 1,
  319. cid: "",
  320. cpolicyId: "",
  321. dataL: [],
  322. clistTotal: 0,
  323. clistTotals: 0,
  324. type: 1,
  325. importFileList: [],
  326. leftData: [],
  327. rightData: [],
  328. typeOptions: [
  329. {
  330. value: "PROVISION",
  331. label: "配提",
  332. },
  333. {
  334. value: "LIMIT",
  335. label: "限量",
  336. },
  337. ],
  338. comCode: "",
  339. policyList: {
  340. pageNum: 1,
  341. pageSize: 10,
  342. policyId: "",
  343. keyword: "",
  344. currentPages: 1,
  345. },
  346. list: [],
  347. cTotal: 1,
  348. clistLoading: false,
  349. };
  350. },
  351. watch: {
  352. dataL: (val, oval) => {
  353. console.log(val, oval);
  354. },
  355. },
  356. created() {
  357. this.comCode = this.code;
  358. if (this.comCode) {
  359. this.getCond();
  360. this.getPolicyList();
  361. }
  362. },
  363. methods: {
  364. getList() {
  365. this.getCrList();
  366. },
  367. getCrList() {
  368. const customerParams = {
  369. pageNum: this.currentPages,
  370. pageSize: this.pageSizes,
  371. keyword: this.keyword,
  372. region: "",
  373. };
  374. // 获取经销商列表
  375. getCrList(customerParams).then((res) => {
  376. for (let j = 0; j < this.custoList.length; j++) {
  377. for (let i = 0; i < res.data.records.length; i++) {
  378. if (res.data.records[i].id === this.custoList[j].customerId) {
  379. res.data.records[i].disabled = true;
  380. }
  381. }
  382. }
  383. this.dataL = res.data.records;
  384. for (let k = 0; k < this.dataL.length; k++) {
  385. (this.dataL[k].customerId = this.dataL[k].id),
  386. (this.dataL[k].customerName = this.dataL[k].name),
  387. (this.dataL[k].customerNumber = this.dataL[k].number);
  388. }
  389. this.clistTotal = res.data.total;
  390. });
  391. },
  392. getPolicyList() {
  393. this.clistLoading = true;
  394. getPolicyList({
  395. pageNum: this.policyList.pageNum,
  396. pageSize: this.policyList.pageSize,
  397. policyId: this.comCode || this.code,
  398. keyword: this.keyword2,
  399. }).then((res) => {
  400. this.list = res.data.records;
  401. console.log(this.list, "785787");
  402. this.cTotal = res.data.total;
  403. this.clistLoading = false;
  404. });
  405. },
  406. // 更改每页数量
  407. handleSizeChanges2(val) {
  408. this.policyList.pageSizes = val;
  409. this.policyList.currentPages = 1;
  410. this.getPolicyList();
  411. },
  412. // 更改当前页
  413. handleCurrentChanges2(val) {
  414. this.policyList.currentPages = val;
  415. this.getPolicyList();
  416. },
  417. // 更改每页数量
  418. handleSizeChanges(val) {
  419. this.pageSizes = val;
  420. this.currentPages = 1;
  421. this.getCrList();
  422. },
  423. // 更改当前页
  424. handleCurrentChanges(val) {
  425. this.currentPages = val;
  426. this.getCrList();
  427. },
  428. // 提交筛选表单
  429. submitScreenForm() {
  430. this.currentPages = 1;
  431. this.getCrList();
  432. },
  433. // 重置筛选表单
  434. resetScreenForm() {
  435. this.keyword = "";
  436. this.currentPages = 1;
  437. this.getCrList();
  438. },
  439. // 提交筛选表单
  440. submitScreenForm2() {
  441. this.policyList.currentPages = 1;
  442. this.getPolicyList();
  443. },
  444. // 重置筛选表单
  445. resetScreenForm2() {
  446. this.keyword2 = "";
  447. this.policyList.currentPages = 1;
  448. this.getPolicyList();
  449. },
  450. // 去掉相同数据
  451. resArr(arr1, arr2) {
  452. return arr1.filter((v) => arr2.every((val) => val.id !== v.id));
  453. },
  454. // 导入经销商模板
  455. async handleImport(param) {
  456. this.importLoading = true;
  457. const file = param.file;
  458. const formData = new FormData();
  459. formData.append("file", file);
  460. // formData.append('policyId', this.searchForm.code)
  461. // formData.append("mainId", this.searchForm.mainId);
  462. const result = await handleImport("/policy/importCustomer", formData);
  463. console.log(result);
  464. this.importLoading = false;
  465. this.importFileList = [];
  466. if (result.code === 200) {
  467. await this.$alert(result.message, "导入成功", {
  468. confirmButtonText: "确定",
  469. });
  470. for (let i = 0; i < result.data.length; i++) {
  471. result.data[i].customerNumber = result.data[i].number;
  472. result.data[i].customerName = result.data[i].name;
  473. }
  474. if (this.custoList.length) {
  475. this.custoList = [
  476. ...this.custoList,
  477. ...this.resArr(this.custoList, result.data),
  478. ];
  479. } else {
  480. this.custoList = result.data;
  481. }
  482. } else {
  483. await this.$alert(result.message, "导入失败", {
  484. confirmButtonText: "确定",
  485. });
  486. }
  487. },
  488. async handleImports(param) {
  489. this.importLoading = true;
  490. const file = param.file;
  491. const formData = new FormData();
  492. formData.append("file", file);
  493. formData.append("policyId", this.comCode || this.code);
  494. // formData.append("mainId", this.searchForm.mainId);
  495. const result = await handleImport("/policy/limit/import", formData);
  496. console.log(result);
  497. this.importLoading = false;
  498. this.importFileList = [];
  499. if (result.code === 200) {
  500. await this.$alert(result.message, "导入成功", {
  501. confirmButtonText: "确定",
  502. });
  503. this.list = result.data;
  504. this.getPolicyList();
  505. } else {
  506. await this.$alert(result.message, "导入失败", {
  507. confirmButtonText: "确定",
  508. });
  509. }
  510. },
  511. // 下载经销商模板
  512. hanleDownloadFiles() {
  513. downloadFiles("/policy/downloadCustomer");
  514. },
  515. hanleDownloadFilesPolicy() {
  516. downloadFiles("/policy/limit/download");
  517. },
  518. getCommonApi(row) {
  519. (this.isEdit = 2), (this.cid = row.id), (this.cpolicyId = row.policyId);
  520. console.log(
  521. this.cpolicyId,
  522. this.comCode,
  523. this.cpolicyId === this.comCode
  524. );
  525. },
  526. getCond() {
  527. this.listLoading = true;
  528. const custoParams = {
  529. pageNum: 1,
  530. pageSize: -1,
  531. policyId: this.comCode || this.code,
  532. };
  533. getCustomerList(custoParams).then((res) => {
  534. this.custoList = res.data.records;
  535. console.log(this.custoList, "已选的");
  536. this.clistTotals = res.data.total;
  537. this.listLoading = false;
  538. // this.getCrList()
  539. });
  540. },
  541. handleCondition(id, index) {
  542. deleteCondition({ id }).then((res) => {
  543. this.getConditionList();
  544. this.$successMsg("删除成功");
  545. });
  546. },
  547. getConditionList() {
  548. const condParams = {
  549. policyId: this.comCode,
  550. };
  551. getConditionList(condParams).then((res) => {
  552. this.conditionList = res.data;
  553. });
  554. },
  555. // 删除
  556. hanleDelete(id) {
  557. const params = { policyMaterialId: id };
  558. deleteMaterialPolicy(params).then((res) => {
  559. this.$successMsg("删除成功");
  560. });
  561. },
  562. /**
  563. * 根据条件禁用行复选框
  564. * 函数返回值为false则禁用选择(反之亦然)
  565. * @param {Object} row - 行数据
  566. * @param {String} index - 索引值
  567. * @return Boolean
  568. */
  569. selectable: function (row, index) {
  570. // row.disabled == undefined 才能被选中
  571. if (row.disabled === undefined || row.disabled === false) {
  572. return true;
  573. } else {
  574. return false;
  575. }
  576. // 函数必须有返回值且是布尔值
  577. // 页面刷新后该函数会执行 N 次进行判断(N 为表格行数)
  578. // 如果没有返回值则默认返回false(全部无法选中)
  579. },
  580. handleSelectionAllChange(e) {
  581. this.leftData = e;
  582. this.type = 1;
  583. },
  584. handleSelectionChange(e) {
  585. this.leftData = e;
  586. this.type = 1;
  587. },
  588. handleSelectionAllChange2(e) {
  589. this.rightData = e;
  590. this.type = 2;
  591. },
  592. handleSelectionChange2(e) {
  593. this.rightData = e;
  594. this.type = 2;
  595. },
  596. handleLeft(e) {
  597. this.type = 1;
  598. },
  599. handleRight(e) {
  600. this.type = 2;
  601. },
  602. handleAllAdd() {
  603. if (this.type === 1 && this.leftData.length) {
  604. for (let i = 0; i < this.dataL.length; i++) {
  605. for (let j = 0; j < this.leftData.length; j++) {
  606. if (this.dataL[i].id === this.leftData[j].id) {
  607. this.dataL[i].disabled = true;
  608. }
  609. }
  610. }
  611. this.custoList = [...this.custoList, ...this.leftData];
  612. this.$refs.multipleTable.clearSelection();
  613. } else {
  614. this.$errorMsg("请选择要添加的经销商");
  615. }
  616. },
  617. handleAllDelete() {
  618. if (this.type === 2 && this.rightData.length) {
  619. for (let i = 0; i < this.dataL.length; i++) {
  620. for (let j = 0; j < this.rightData.length; j++) {
  621. if (this.dataL[i].id === this.rightData[j].customerId) {
  622. this.$set(this.dataL[i], "disabled", false);
  623. // this.dataL[i].disabled = false
  624. }
  625. }
  626. }
  627. this.custoList = this.resArr(this.custoList, this.rightData);
  628. this.$refs.multipleTable.clearSelection();
  629. } else {
  630. this.$errorMsg("请选择要删除的经销商");
  631. }
  632. },
  633. handleAdd() {
  634. if (this.type === 1 && this.leftData.length) {
  635. for (let i = 0; i < this.dataL.length; i++) {
  636. for (let j = 0; j < this.leftData.length; j++) {
  637. if (this.dataL[i].id === this.leftData[j].id) {
  638. this.dataL[i].disabled = true;
  639. }
  640. }
  641. }
  642. this.custoList = [...this.custoList, ...this.leftData];
  643. this.leftData = [];
  644. this.$refs.multipleTable.clearSelection();
  645. } else {
  646. this.$errorMsg("请选择要添加的经销商");
  647. }
  648. },
  649. handleDelete() {
  650. if (this.type === 2 && this.rightData.length) {
  651. for (let i = 0; i < this.dataL.length; i++) {
  652. for (let j = 0; j < this.rightData.length; j++) {
  653. if (this.dataL[i].id === this.rightData[j].customerId) {
  654. this.$set(this.dataL[i], "disabled", false);
  655. // this.dataL[i].disabled = false
  656. }
  657. }
  658. }
  659. this.custoList = this.resArr(this.custoList, this.rightData);
  660. this.$refs.multipleTable.clearSelection();
  661. } else {
  662. this.$errorMsg("请选择要删除的经销商");
  663. }
  664. },
  665. // 提交数据
  666. async handleSave() {
  667. this.$emit("handlEditPolicy", this.custoList);
  668. },
  669. handleReset() {
  670. this.dataR = this.rightData = [];
  671. this.keyword = "";
  672. this.$emit("handleReset");
  673. },
  674. },
  675. };
  676. </script>
  677. <style lang="scss" scoped>
  678. .radio {
  679. display: flex;
  680. align-items: center;
  681. margin: 0 0 20px 0;
  682. }
  683. .import-btn {
  684. }
  685. .value {
  686. ::v-deep .el-input__prefix {
  687. display: none;
  688. }
  689. }
  690. .descriptions {
  691. // border: #EBEEF5;
  692. border: 1px solid #ebeef5;
  693. border-bottom: none;
  694. .el-row {
  695. height: 40px;
  696. line-height: 40px;
  697. }
  698. .el-col:nth-child(odd) {
  699. background-color: #ebeef5;
  700. }
  701. .el-col {
  702. padding: 0 15px;
  703. height: 100%;
  704. border-bottom: 1px solid #ebeef5;
  705. }
  706. }
  707. .el-divider--horizontal {
  708. margin: 20px 0;
  709. }
  710. .col {
  711. height: 100px;
  712. }
  713. .import-btn {
  714. margin-right: 10px;
  715. display: inline-block;
  716. }
  717. ::v-deep .el-input__icon .el-icon-time {
  718. display: none;
  719. }
  720. .middle_box {
  721. margin-top: 80px;
  722. text-align: center;
  723. height: 430px;
  724. display: flex;
  725. flex-direction: column;
  726. align-content: center;
  727. justify-content: space-between;
  728. align-items: center;
  729. }
  730. .img-box {
  731. height: 150px;
  732. display: flex;
  733. align-items: center;
  734. }
  735. </style>