trackSearch.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754
  1. <template>
  2. <div class="content-box">
  3. <div class="left">
  4. <!-- <el-icon :size="23" class="camera"><VideoCameraFilled /></el-icon> -->
  5. <div class="left_title">轨迹查询</div>
  6. </div>
  7. <div class="middle">
  8. <div class="filter">
  9. <div class="condition">
  10. <el-select
  11. v-model="searchInput.keyWord"
  12. popper-class="more-tag-data"
  13. filterable
  14. clearable
  15. remote
  16. :remote-method="keyWordMethod"
  17. :loading="conteactLoading"
  18. placeholder="请选择姓名"
  19. style="width: 200px"
  20. @change="searchBtn"
  21. >
  22. <el-option
  23. v-for="item in gradeData"
  24. :key="item.id"
  25. :label="item.name"
  26. :value="item.id"
  27. >
  28. <span style="float: left">{{ item.name }}</span>
  29. </el-option>
  30. <template #footer>
  31. <div class="addStudentMore">
  32. <el-button
  33. v-if="currentPage < totalPage && totalPage != 0"
  34. @click="addGradeMore"
  35. >加载更多+</el-button
  36. >
  37. </div>
  38. </template>
  39. </el-select>
  40. </div>
  41. <div class="condition">
  42. <el-date-picker
  43. v-model="searchInput.createTime"
  44. type="daterange"
  45. range-separator="-"
  46. start-placeholder="起始时间"
  47. end-placeholder="结束时间"
  48. format="YYYY-MM-DD"
  49. value-format="YYYY-MM-DD"
  50. :prefix-icon="Calendar"
  51. placeholder="请选择日期"
  52. style="width: 280px"
  53. @change="searchBtn"
  54. />
  55. </div>
  56. </div>
  57. </div>
  58. <div class="trackInfo">
  59. <el-timeline style="max-width: 600px">
  60. <el-timeline-item
  61. v-for="i in tableData.list"
  62. center
  63. color="rgba(30, 125, 251, 1)"
  64. :timestamp="`${i.type} ( ${i.dateTime} )`"
  65. placement="top"
  66. >
  67. <el-card>
  68. <h4>{{ i.location }}</h4>
  69. <p>{{ i.name }}</p>
  70. <div v-viewer v-if="i.image">
  71. <img :src="i.image" alt="" />
  72. </div>
  73. </el-card>
  74. </el-timeline-item>
  75. </el-timeline>
  76. </div>
  77. <div class="scroll">
  78. <div class="map" @click="xy">
  79. <svg width="1620" height="974" viewBox="0 0 1620 974">
  80. <!-- 绘制地铁线路 -->
  81. <path
  82. id="biking-road"
  83. d="M468,454 L568,346 L894,405 L870,265 L830,593 L621,261"
  84. stroke="#009900"
  85. stroke-width="3"
  86. fill="none"
  87. />
  88. <!-- 绘制站点 -->
  89. <circle
  90. cx="468"
  91. cy="454"
  92. r="8"
  93. fill="white"
  94. stroke="#009900"
  95. stroke-width="2"
  96. />
  97. <circle
  98. cx="568"
  99. cy="346"
  100. r="8"
  101. fill="white"
  102. stroke="#009900"
  103. stroke-width="2"
  104. />
  105. <circle
  106. cx="894"
  107. cy="405"
  108. r="8"
  109. fill="white"
  110. stroke="#009900"
  111. stroke-width="2"
  112. />
  113. <circle
  114. cx="870"
  115. cy="265"
  116. r="8"
  117. fill="white"
  118. stroke="#009900"
  119. stroke-width="2"
  120. />
  121. <circle
  122. cx="830"
  123. cy="593"
  124. r="8"
  125. fill="white"
  126. stroke="#009900"
  127. stroke-width="2"
  128. />
  129. <circle
  130. cx="621"
  131. cy="261"
  132. r="8"
  133. fill="white"
  134. stroke="#009900"
  135. stroke-width="2"
  136. />
  137. <text x="452" y="434" fill="#fff">探理楼</text>
  138. <text x="544" y="326" fill="#fff">探问楼</text>
  139. <text x="870" y="385" fill="#fff">探真楼</text>
  140. <text x="845" y="245" fill="#fff">探学楼</text>
  141. <text x="800" y="573" fill="#fff">学校大门</text>
  142. <text x="561" y="241" fill="#fff">地下停车场出口</text>
  143. </svg>
  144. <svg
  145. t="1685007462176"
  146. class="icon"
  147. viewBox="0 0 1024 1024"
  148. version="1.1"
  149. xmlns="http://www.w3.org/2000/svg"
  150. id="circle"
  151. width="24"
  152. height="24"
  153. >
  154. <path
  155. d="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m200.746667-478.506667l1.749333-1.664 30.165333-30.165333-330.496-330.581333a42.837333 42.837333 0 0 0-60.288 0 42.538667 42.538667 0 0 0 0 60.330666l270.08 270.165334-270.08 269.952a42.496 42.496 0 0 0 0 60.288c16.64 16.64 43.861333 16.469333 60.288 0.042666l298.581334-298.368z"
  156. fill="#ff3000"
  157. p-id="5616"
  158. ></path>
  159. </svg>
  160. </div>
  161. <!-- 家长访客配置 -->
  162. <el-dialog
  163. class="patriarchDialog"
  164. v-model="patriarchVisible"
  165. :close-on-click-modal="false"
  166. :close-on-press-escape="false"
  167. title="家长访客配置"
  168. align-center
  169. width="650"
  170. :before-close="patriarchCancel"
  171. >
  172. <el-form
  173. ref="patriarchRef"
  174. :model="patriarchRuleForm"
  175. :rules="patriarchRules"
  176. label-width="90px"
  177. class="demo-ruleForm"
  178. :size="formSize"
  179. label-position="left"
  180. status-icon
  181. >
  182. <el-form-item label="年级 :" prop="grade">
  183. <el-select
  184. v-model="patriarchRuleForm.grade"
  185. placeholder="请选择年级"
  186. style="width: 500px"
  187. clearable
  188. >
  189. <el-option v-for="i in gradeData" :label="i.name" :value="i.id" />
  190. </el-select>
  191. </el-form-item>
  192. <el-form-item label="班级 :" prop="class">
  193. <el-select
  194. v-model="patriarchRuleForm.class"
  195. placeholder="请选择班级"
  196. style="width: 500px"
  197. clearable
  198. >
  199. <el-option v-for="i in classData" :label="i.name" :value="i.id" />
  200. </el-select>
  201. </el-form-item>
  202. <p class="title">小程序设置</p>
  203. <el-form-item label="" prop="app1">
  204. <el-radio-group v-model="patriarchRuleForm.app1">
  205. <el-radio :value="3">需要审核</el-radio>
  206. <el-radio :value="6">不需要审核</el-radio>
  207. </el-radio-group>
  208. </el-form-item>
  209. <el-form-item label="" prop="app2">
  210. <el-radio-group v-model="patriarchRuleForm.app2">
  211. <el-radio :value="3">需要推送</el-radio>
  212. <el-radio :value="6">不需要推送</el-radio>
  213. </el-radio-group>
  214. </el-form-item>
  215. <el-form-item label="" prop="app3">
  216. <el-radio-group v-model="patriarchRuleForm.app3">
  217. <el-radio :value="3">需要注销</el-radio>
  218. <el-radio :value="6">不需要注销</el-radio>
  219. </el-radio-group>
  220. </el-form-item>
  221. <p class="title">大屏审批设置</p>
  222. <el-form-item label="" prop="large1">
  223. <el-radio-group v-model="patriarchRuleForm.large1">
  224. <el-radio :value="3">需要审核</el-radio>
  225. <el-radio :value="6">不需要审核</el-radio>
  226. </el-radio-group>
  227. </el-form-item>
  228. <el-form-item label="" prop="large2">
  229. <el-radio-group v-model="patriarchRuleForm.large2">
  230. <el-radio :value="3">需要推送</el-radio>
  231. <el-radio :value="6">不需要推送</el-radio>
  232. </el-radio-group>
  233. </el-form-item>
  234. <el-form-item label="" prop="large3">
  235. <el-radio-group v-model="patriarchRuleForm.large3">
  236. <el-radio :value="3">需要注销</el-radio>
  237. <el-radio :value="6">不需要注销</el-radio>
  238. </el-radio-group>
  239. </el-form-item>
  240. <p class="title">是否和门禁车闸联动</p>
  241. <el-form-item label="" prop="entrance">
  242. <el-radio-group v-model="patriarchRuleForm.entrance">
  243. <el-radio :value="3">是</el-radio>
  244. <el-radio :value="6">否</el-radio>
  245. </el-radio-group>
  246. </el-form-item>
  247. </el-form>
  248. <div class="options">
  249. <el-button
  250. color="rgba(41, 109, 227, 1)"
  251. class="queding"
  252. type="primary"
  253. @click="patriarchConfirm(patriarchMRef)"
  254. >
  255. 确认
  256. </el-button>
  257. <el-button @click="patriarchCancel">取消</el-button>
  258. </div>
  259. </el-dialog>
  260. </div>
  261. </div>
  262. <div class="bgImg" v-if="bgImg">
  263. <el-carousel
  264. @click="bgImg = false"
  265. ref="bgImgs"
  266. indicator-position
  267. arrow="always"
  268. :autoplay="false"
  269. trigger
  270. >
  271. <el-carousel-item>
  272. <img :src="showImg" alt="" />
  273. </el-carousel-item>
  274. </el-carousel>
  275. </div>
  276. </template>
  277. <script setup>
  278. import {
  279. ref,
  280. reactive,
  281. watch,
  282. nextTick,
  283. onBeforeMount,
  284. onUnmounted,
  285. } from "vue";
  286. import { useRouter } from "vue-router";
  287. import { ElMessage, ElMessageBox } from "element-plus";
  288. import { Calendar } from "@element-plus/icons-vue";
  289. import vidiconsApi from "@/api/vidicons.js";
  290. import { dayjs } from "element-plus";
  291. import lodash from "lodash";
  292. import axios from "axios";
  293. import eds from "@/utils/eds.js";
  294. import { useStore } from "vuex";
  295. const store = useStore();
  296. const api = ref("");
  297. const router = useRouter();
  298. // 表格数据
  299. const loading = ref(false);
  300. const tableData = reactive({
  301. list: [],
  302. });
  303. const searchInput = reactive({
  304. keyWord: "",
  305. createTime: "", // 创建时间
  306. }); // 搜索按钮数据
  307. const keyWord = ref();
  308. const gradeData = ref([{ name: "刘晓晓-七年级-学生", id: 1 }]); // 下拉学生数据
  309. const currentPage = ref(1); // 当前页
  310. const pageCount = ref(100);
  311. const total = ref(5); // 当前总数
  312. const totalPage = ref(100); // 总页数
  313. const bgImg = ref(false);
  314. const showImg = ref("");
  315. // 预约记录分页数据
  316. const getList = async () => {
  317. let data = {
  318. currentPage: currentPage.value,
  319. pageCount: pageCount.value,
  320. userId: searchInput.keyWord,
  321. };
  322. if (searchInput.createTime) {
  323. data.startTime = searchInput.createTime[0];
  324. data.endTime = searchInput.createTime[1];
  325. }
  326. let res = await axios({
  327. method: "get",
  328. url: api.value + "/wanzai/api/smartFaceDiscern/selectTrack",
  329. headers: {
  330. token: sessionStorage.getItem("token"),
  331. user_head: sessionStorage.getItem("userhead"),
  332. },
  333. params: data,
  334. });
  335. if (res.data.code == 200) {
  336. console.log(res, JSON.parse(eds.decryptDes(res.data.data)), "轨迹查询");
  337. loading.value = false;
  338. tableData.list = JSON.parse(eds.decryptDes(res.data.data));
  339. // total.value = JSON.parse(eds.decryptDes(res.data.data)).totalCount;
  340. } else {
  341. ElMessage({
  342. type: "error",
  343. showClose: true,
  344. message: res.data.message,
  345. center: true,
  346. });
  347. }
  348. };
  349. // 搜索功能
  350. const searchBtn = lodash.debounce(async () => {
  351. getList();
  352. }, 300);
  353. const gradeList = async () => {
  354. let data = {
  355. currentPage: currentPage.value,
  356. pageCount: pageCount.value,
  357. keyWord: keyWord.value,
  358. };
  359. let res = await axios({
  360. method: "get",
  361. url: api.value + "/wanzai/api/smartUser/getPage",
  362. headers: {
  363. token: sessionStorage.getItem("token"),
  364. user_head: sessionStorage.getItem("userhead"),
  365. },
  366. params: data,
  367. });
  368. console.log(res, JSON.parse(eds.decryptDes(res.data.data)), "用户下拉数据");
  369. gradeData.value = JSON.parse(eds.decryptDes(res.data.data)).records;
  370. totalPage.value = JSON.parse(eds.decryptDes(res.data.data)).pages;
  371. };
  372. // 联系人下拉框搜索时加载
  373. const keyWordMethod = (query) => {
  374. console.log(query);
  375. keyWord.value = query;
  376. currentPage.value = 1;
  377. gradeList();
  378. };
  379. // 搜索框加载更多
  380. const addGradeMore = async () => {
  381. if (currentPage.value < totalPage.value) {
  382. currentPage.value++;
  383. let data = {
  384. currentPage: currentPage.value,
  385. pageCount: pageCount.value,
  386. keyWord: keyWord.value,
  387. };
  388. let res = await axios({
  389. method: "get",
  390. url: api.value + "/wanzai/api/smartUser/getPage",
  391. headers: {
  392. token: sessionStorage.getItem("token"),
  393. user_head: sessionStorage.getItem("userhead"),
  394. },
  395. params: data,
  396. });
  397. console.log(
  398. res,
  399. JSON.parse(eds.decryptDes(res.data.data)).records,
  400. "加载更多用户下拉数据"
  401. );
  402. gradeData.value = [
  403. ...gradeData.value,
  404. ...JSON.parse(eds.decryptDes(res.data.data)).records,
  405. ];
  406. } else {
  407. console.log("数据全部加载完成");
  408. }
  409. };
  410. // 查看图片
  411. const imgClick = (row) => {
  412. bgImg.value = true;
  413. showImg.value = row;
  414. };
  415. const xy = (event) => {
  416. console.log("X:" + event.offsetX);
  417. console.log("Y:" + event.offsetY);
  418. };
  419. onBeforeMount(async () => {
  420. api.value = store.state.user.api;
  421. getList();
  422. gradeList();
  423. nextTick(() => {
  424. gsap.registerPlugin(MotionPathPlugin);
  425. // bikingRoad.animation = "dash 10s linear forwards";
  426. gsap.to("#circle", {
  427. duration: 25, // 多少时间完成动画
  428. repeat: 0, // 重复次数 -1为无限次
  429. ease: Linear.easeNone, //动画的运动方式(匀速)
  430. motionPath: {
  431. path: "#biking-road",
  432. align: "#biking-road",
  433. autoRotate: true,
  434. alignOrigin: [0.5, 0.5],
  435. },
  436. });
  437. });
  438. });
  439. onUnmounted(() => {
  440. // document.removeEventListener("keyup", Enters);
  441. });
  442. </script>
  443. <style scoped lang="scss">
  444. .content-box {
  445. width: calc(100vw - 260px);
  446. min-width: 1660px;
  447. height: calc(100vh - 105px);
  448. min-height: 806px;
  449. margin: 20px auto;
  450. background-color: #fff;
  451. color: #fff;
  452. display: flex;
  453. flex-direction: column;
  454. box-shadow: 0px 3px 10px rgba(0, 97, 255, 0.2);
  455. position: relative;
  456. .left {
  457. // width: calc(100wh - 40px);
  458. display: flex;
  459. align-items: center;
  460. height: 60px;
  461. margin: 0 20px;
  462. border-bottom: 1px solid #ccc;
  463. color: rgb(0, 0, 0);
  464. font-size: 18px;
  465. font-weight: 600;
  466. .left_title {
  467. height: 60px;
  468. line-height: 60px;
  469. }
  470. }
  471. .middle {
  472. width: calc(100% - 60px);
  473. margin: 0 auto;
  474. position: absolute;
  475. top: 100px;
  476. left: 50px;
  477. color: #000;
  478. // border-bottom: 1px solid rgb(231, 231, 231);
  479. .filter {
  480. display: flex;
  481. flex-wrap: wrap;
  482. align-items: center;
  483. .search {
  484. color: #fff;
  485. }
  486. .condition {
  487. display: flex;
  488. align-items: center;
  489. margin: 0 25px 0 0;
  490. :deep(.el-select) {
  491. .el-select__wrapper {
  492. box-shadow: none;
  493. background-color: rgba(133, 191, 242, 0.5);
  494. }
  495. .el-select__selected-item {
  496. color: rgba(255, 255, 255, 0.7);
  497. }
  498. .el-select__suffix {
  499. .el-icon {
  500. color: rgba(255, 255, 255, 0.7);
  501. }
  502. }
  503. }
  504. :deep(.el-date-editor) {
  505. background-color: rgba(133, 191, 242, 0.5);
  506. box-shadow: none;
  507. .el-icon {
  508. color: rgba(255, 255, 255, 0.7);
  509. }
  510. .el-range-input {
  511. color: #fff;
  512. &::placeholder {
  513. color: rgba(255, 255, 255, 0.7); /* 更改为你想要的颜色代码 */
  514. }
  515. }
  516. .el-range-separator {
  517. color: rgba(255, 255, 255, 0.7);
  518. }
  519. }
  520. }
  521. }
  522. .gongneng {
  523. margin: 10px 0 10px 0;
  524. }
  525. }
  526. .trackInfo {
  527. position: absolute;
  528. width: 357px;
  529. height: calc(100% - 141px);
  530. background: rgba(0, 0, 0, 0.5);
  531. right: 40px;
  532. top: 101px;
  533. display: flex;
  534. align-items: center;
  535. justify-content: center;
  536. :deep(.el-timeline) {
  537. height: calc(100% - 30px);
  538. overflow: auto;
  539. padding-left: 5px;
  540. padding-right: 25px;
  541. max-width: 335px !important;
  542. // 整个滚动条
  543. &::-webkit-scrollbar-track {
  544. background-color: rgba(255, 255, 255, 1);
  545. border-radius: 4px;
  546. }
  547. // 滚动条的滚动区域(轨道)
  548. &::-webkit-scrollbar {
  549. background-color: #0888f8;
  550. height: 3px;
  551. width: 4px;
  552. border-radius: 4px;
  553. }
  554. // 滚动条的可拖拽部分(滑块)
  555. &::-webkit-scrollbar-thumb {
  556. background: rgba(30, 125, 251, 1);
  557. border-radius: 4px;
  558. }
  559. .el-timeline-item__tail {
  560. border-left: 2px dashed rgba(173, 173, 173, 1);
  561. }
  562. h4 {
  563. margin: 0 0 10px 0;
  564. color: rgba(255, 255, 255, 0.6);
  565. }
  566. .el-timeline-item__wrapper {
  567. .el-timeline-item__timestamp {
  568. color: #fff;
  569. font-size: 16px;
  570. }
  571. h4 {
  572. color: rgba(255, 255, 255, 0.6);
  573. font-size: 14px;
  574. }
  575. p {
  576. color: rgba(255, 255, 255, 0.6);
  577. font-size: 14px;
  578. }
  579. img {
  580. width: 100px;
  581. }
  582. }
  583. .el-card {
  584. background-color: transparent;
  585. border: none;
  586. .el-card__body {
  587. padding: 10px;
  588. }
  589. }
  590. }
  591. }
  592. .scroll {
  593. width: calc(100% - 40px);
  594. height: calc(100% - 61px);
  595. margin: 0 auto;
  596. display: flex;
  597. align-items: center;
  598. justify-content: center;
  599. .map {
  600. width: 1620px;
  601. height: 715px;
  602. overflow: hidden;
  603. background: url("@/assets/trackImg.jpg");
  604. background-repeat: no-repeat; //是否平铺
  605. background-position: 70% 50%; //设置背景图像的起始位置
  606. background-size: 120% 140%; //规定背景图像的尺寸
  607. svg {
  608. // border: 3px solid rgba(255, 255, 255, 1);
  609. }
  610. }
  611. }
  612. // 家长访客配置
  613. :deep(.patriarchDialog) {
  614. // height: 420px;
  615. border-radius: 11px;
  616. .el-dialog__header {
  617. border-radius: 11px 11px 0 0;
  618. background: rgba(237, 241, 245, 1);
  619. font-weight: 600;
  620. margin: 0;
  621. .el-dialog__headerbtn {
  622. outline: none;
  623. }
  624. }
  625. .el-dialog__body {
  626. padding: 20px 30px;
  627. .el-form {
  628. .title {
  629. color: #000;
  630. font-weight: 800;
  631. }
  632. .el-form-item__content {
  633. margin-left: 0 !important;
  634. }
  635. }
  636. .options {
  637. margin: 30px 20px 20px 0;
  638. width: 100%;
  639. display: flex;
  640. flex-direction: row-reverse;
  641. .queding {
  642. color: #fff;
  643. margin-left: 15px;
  644. }
  645. }
  646. }
  647. }
  648. .pageSize {
  649. display: flex;
  650. align-items: center;
  651. justify-content: space-between;
  652. margin: 0 30px;
  653. span {
  654. color: #000;
  655. }
  656. .el-pagination {
  657. // width: 1600px;
  658. :deep(.el-pagination__total) {
  659. color: #000;
  660. }
  661. :deep(.el-pagination__goto) {
  662. color: #000;
  663. }
  664. :deep(.el-pagination__classifier) {
  665. color: #000;
  666. }
  667. :deep(.el-input__wrapper) {
  668. border: 1px solid rgba(0, 0, 0, 1);
  669. border-radius: 5px;
  670. box-shadow: none;
  671. }
  672. :deep(.el-pager li) {
  673. margin: 0 5px;
  674. border: 1px solid rgba(0, 0, 0, 1);
  675. border-radius: 5px;
  676. background-color: transparent;
  677. }
  678. :deep(.el-pager li.is-active) {
  679. // background-color: rgba(0, 97, 255, 0.8);
  680. border: 1px solid rgba(0, 97, 255, 1);
  681. color: rgba(0, 97, 255, 1);
  682. }
  683. :deep(.btn-prev) {
  684. margin-right: 5px;
  685. border: 1px solid rgba(0, 0, 0, 1);
  686. border-radius: 5px;
  687. background-color: transparent;
  688. }
  689. :deep(.btn-next) {
  690. margin-left: 5px;
  691. border: 1px solid rgba(0, 0, 0, 1);
  692. border-radius: 5px;
  693. background-color: transparent;
  694. }
  695. }
  696. }
  697. }
  698. .bgImg {
  699. position: absolute;
  700. left: 0;
  701. top: 0;
  702. z-index: 99999999;
  703. width: 100%;
  704. height: 100%;
  705. background-color: rgba(255, 255, 255, 0.8);
  706. :deep(.el-carousel__arrow) {
  707. display: none;
  708. }
  709. // border-radius: 50px;
  710. :deep(.el-carousel__container) {
  711. width: 100%;
  712. height: calc(100vh);
  713. .el-carousel__item {
  714. display: flex;
  715. justify-content: center;
  716. img {
  717. height: 100%;
  718. }
  719. }
  720. }
  721. }
  722. .el-input {
  723. width: 192px;
  724. }
  725. </style>