index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893
  1. <template>
  2. <div>
  3. <basic-container>
  4. <div class="home-container">
  5. <div style="display: flex;justify-content: center;">
  6. <div class="content">
  7. <div class="content-item" @click="handleClick('')">
  8. <div class="card">
  9. <div class="card-title card-title1">
  10. <span>
  11. </span>
  12. </div>
  13. <div class="card-content">
  14. <span class="card-content-num">{{ totalData.all }}</span>
  15. <span class="card-content-text">全部</span>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="divider"/>
  20. <div class="content-item" @click="handleClick('2')">
  21. <div class="card">
  22. <div class="card-title card-title4">
  23. <span>
  24. </span>
  25. </div>
  26. <div class="card-content">
  27. <span class="card-content-num">{{ totalData.two }}</span>
  28. <span class="card-content-text">未受理</span>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="divider"/>
  33. <div class="content-item" @click="handleClick('3')">
  34. <div class="card">
  35. <div class="card-title card-title5">
  36. <span>
  37. </span>
  38. </div>
  39. <div class="card-content">
  40. <span class="card-content-num">{{ totalData.three }}</span>
  41. <span class="card-content-text">未完工</span>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="divider"/>
  46. <div class="content-item" @click="handleClick('4')">
  47. <div class="card">
  48. <div class="card-title card-title6">
  49. <span>
  50. </span>
  51. </div>
  52. <div class="card-content">
  53. <span class="card-content-num">{{ totalData.four }}</span>
  54. <span class="card-content-text">已完工</span>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </basic-container>
  62. <basic-container v-if="key>0">
  63. <avue-crud
  64. :data="goodsList"
  65. :option="goodsOptionCrud"
  66. :table-loading="loading"
  67. :page.sync="page"
  68. ref="crud"
  69. @on-load="onLoad"
  70. @resetColumn="resetColumn"
  71. @saveColumn="saveColumn"
  72. @search-change="searchChange"
  73. @search-criteria-switch="searchCriteriaSwitch"
  74. @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
  75. @row-update="rowSave">
  76. <template slot-scope="{row}" slot="fleetId">
  77. <span>{{ row.fleetName }}</span>
  78. </template>
  79. <template slot-scope="{row}" slot="fleetIdSearch">
  80. <crop-select
  81. v-model="row.fleetId"
  82. corpType="CD"
  83. ></crop-select>
  84. </template>
  85. <template slot-scope="{row,index}" slot="menu">
  86. <el-button
  87. type="text"
  88. size="small"
  89. v-if="row.status === 2"
  90. @click="rowSaveT(row,index)"
  91. >{{ row.$cellEdit ? '保 存' : '修 改' }}
  92. </el-button>
  93. <el-button
  94. size="small"
  95. type="text"
  96. @click="designate(row, index)"
  97. v-if="row.status===2"
  98. >受 理
  99. </el-button>
  100. <el-button
  101. size="small"
  102. type="text"
  103. @click="cancelDesignate(row, index)"
  104. v-if="row.status===5"
  105. >取消受理
  106. </el-button>
  107. <el-button
  108. size="small"
  109. type="text"
  110. @click="confirmArrival(row, index)"
  111. v-if="row.status === 5"
  112. >确认到厂
  113. </el-button>
  114. <el-button
  115. size="small"
  116. type="text"
  117. @click="confirmCompletion(row, index)"
  118. v-if="row.status === 3"
  119. >确认完工
  120. </el-button>
  121. <el-button
  122. size="small"
  123. type="text"
  124. @click="suitcase(row, index)"
  125. v-if="row.status === 6"
  126. >提箱
  127. </el-button>
  128. <el-button
  129. size="small"
  130. type="text"
  131. @click="annexOpen(row, index)"
  132. >附 件
  133. </el-button>
  134. </template>
  135. <template slot="addressDetail" slot-scope="{ row,index}">
  136. <el-tooltip class="item" effect="dark" placement="top">
  137. <div v-html="ToBreak(row.addressDetail)" slot="content"></div>
  138. <div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{row.addressDetail}}</div>
  139. </el-tooltip>
  140. </template>
  141. </avue-crud>
  142. <el-dialog
  143. title="附件"
  144. :visible.sync="dialogVisible"
  145. append-to-body
  146. width="70%">
  147. <c-upload
  148. typeUpload="GZ"
  149. :basic="true"
  150. deleteUrl="/api/blade-client/common-file/remove"
  151. :data="orderList"
  152. :disabled="form.status===4"
  153. :enumerationValue="76"
  154. ></c-upload>
  155. <span slot="footer" class="dialog-footer">
  156. <el-button @click="dialogVisible = false" size="small">取 消</el-button>
  157. <el-button type="primary" @click="saveAnnex" size="small" :disabled="form.status===4">保 存</el-button>
  158. </span>
  159. </el-dialog>
  160. </basic-container>
  161. </div>
  162. </template>
  163. <script>
  164. import {
  165. driverQueryCollection,
  166. acceptanceCollection,
  167. acceptanceDispatchCollection,
  168. confirmCompletion,
  169. fleetList, motorcadeDriver, fleetDriverSave, getAttachment, saveAttached, arrival,borrow
  170. } from "@/api/landTransportation";
  171. export default {
  172. name: "index",
  173. data() {
  174. return {
  175. key:0,
  176. form: {},
  177. orderList:[],
  178. dialogVisible: false,
  179. loading: false,
  180. activeName:'',
  181. page: {
  182. pageSize: 10,
  183. currentPage: 1,
  184. total: 0,
  185. pageSizes: [10, 50, 100, 200, 300]
  186. },
  187. roleName: localStorage.getItem("roleName").split(',')[0],
  188. goodsList: [],
  189. goodsOptionCrud:{},
  190. optionList: {
  191. stripe:true,
  192. index: true,
  193. addBtn: false,
  194. delBtn: false,
  195. cellBtn: false,
  196. cancelBtn: false,
  197. editBtn: false,
  198. addRowBtn: false,
  199. searchIcon: true,
  200. searchIndex: 2,
  201. searchSpan: 8,
  202. searchMenuPosition: "right",
  203. searchMenuSpan: 6,
  204. align: 'center',
  205. height: "auto",
  206. showSummary: true,
  207. summaryText: "合计",
  208. sumColumnList: [
  209. {
  210. name: 'landWeight',
  211. type: 'sum',
  212. decimals: 2
  213. }, {
  214. name: 'landAmountC',
  215. type: 'sum',
  216. decimals: 2
  217. }, {
  218. name: 'ctnQuantity',
  219. type: 'count'
  220. },{
  221. name: 'oneFeeC',
  222. type: 'sum',
  223. decimals: 2
  224. },{
  225. name: 'twoFeeC',
  226. type: 'sum',
  227. decimals: 2
  228. },{
  229. name: 'threeFeeC',
  230. type: 'sum',
  231. decimals: 2
  232. },{
  233. name: 'fourFeeC',
  234. type: 'sum',
  235. decimals: 2
  236. },{
  237. name: 'fiveFeeC',
  238. type: 'sum',
  239. decimals: 2
  240. }],
  241. column: [{
  242. label: '货运日期',
  243. prop: 'arrivalTime',
  244. overHidden: true,
  245. type: "date",
  246. searchRange: true,
  247. defaultTime: ['00:00:00', '23:59:59'],
  248. format: "yyyy-MM-dd HH:mm:ss",
  249. valueFormat: "yyyy-MM-dd HH:mm:ss",
  250. index: 1,
  251. width: 140,
  252. search: true,
  253. },{
  254. label: '货运地点',
  255. index: 2,
  256. width: 160,
  257. search: true,
  258. prop: 'addressDetail'
  259. },{
  260. label: '提单号',
  261. width: 100,
  262. index:3,
  263. search: true,
  264. overHidden: true,
  265. prop: 'billNo'
  266. }, {
  267. label: '平台号',
  268. width: 100,
  269. index: 4,
  270. search: true,
  271. overHidden: true,
  272. prop: 'orderNo'
  273. }, {
  274. label: '场站',
  275. prop: 'station',
  276. overHidden: true,
  277. index: 5,
  278. width: 140,
  279. search: true,
  280. }, {
  281. label: '车队',
  282. width: 200,
  283. search: true,
  284. index:6,
  285. overHidden: true,
  286. prop: 'fleetId'
  287. },{
  288. label: '车号',
  289. width: 150,
  290. prop: 'vehicleId',
  291. overHidden: true,
  292. index:7,
  293. type: 'select',
  294. search: true,
  295. dicUrl: "/api/blade-client/land-vehicle/vehicle-list?fleetId={{key}}",
  296. props: {
  297. label: "plateNo",
  298. value: "id"
  299. }
  300. }, {
  301. label: '司机',
  302. width: 115,
  303. index:8,
  304. search: true,
  305. overHidden: true,
  306. prop: 'driverId',
  307. type: 'select',
  308. dicUrl: "/api/blade-client/land-driver/driver-list?vehicleId={{key}}",
  309. props: {
  310. label: "name",
  311. value: "id"
  312. },
  313. }, {
  314. label: '电话',
  315. width: 160,
  316. index:9,
  317. overHidden: true,
  318. search: true,
  319. prop: 'tel'
  320. }, {
  321. label: '箱号',
  322. cell: true,
  323. width: 245,
  324. index: 10,
  325. overHidden: true,
  326. search: true,
  327. prop: 'ctnNo'
  328. },{
  329. label: '实际到厂时间',
  330. prop: 'realArrivalTime',
  331. overHidden: true,
  332. type: "date",
  333. searchRange: true,
  334. defaultTime: ['00:00:00', '23:59:59'],
  335. format: "yyyy-MM-dd HH:mm:ss",
  336. valueFormat: "yyyy-MM-dd HH:mm:ss",
  337. index: 11,
  338. width: 140
  339. },{
  340. label: '受理日期',
  341. type: "datetime",
  342. format: 'yyyy-MM-dd HH:mm:ss',
  343. valueFormat: 'yyyy-MM-dd HH:mm:ss',
  344. width: 200,
  345. index: 12,
  346. prop: 'acceptTime'
  347. },{
  348. label: '完工日期',
  349. prop: 'finishedTime',
  350. overHidden: true,
  351. type: "date",
  352. searchRange: true,
  353. defaultTime: ['00:00:00', '23:59:59'],
  354. format: "yyyy-MM-dd HH:mm:ss",
  355. valueFormat: "yyyy-MM-dd HH:mm:ss",
  356. index:13,
  357. width: 140,
  358. search: true,
  359. },{
  360. label: '箱型',
  361. width: 100,
  362. search: true,
  363. index: 14,
  364. overHidden: true,
  365. prop: 'ctnType',
  366. type: 'select',
  367. dicUrl: "/api/blade-system/dict-biz/dictionary?code=boxType",
  368. props: {
  369. label: "dictValue",
  370. value: "dictValue"
  371. },
  372. }, {
  373. label: '箱量',
  374. width: 50,
  375. index: 15,
  376. prop: 'ctnQuantity'
  377. },{
  378. label: '货物名称',
  379. overHidden: true,
  380. width: 160,
  381. search: true,
  382. index: 16,
  383. prop: 'goods'
  384. }, {
  385. label: '件数',
  386. width: 100,
  387. search: true,
  388. index: 17,
  389. overHidden: true,
  390. controls: false,
  391. cell: true,
  392. prop: 'quantity',
  393. type: 'number',
  394. precision:0
  395. }, {
  396. label: '重量(吨)',
  397. width: 160,
  398. prop: 'landWeight',
  399. controls: false,
  400. overHidden: true,
  401. index: 18,
  402. precision: 2,
  403. type: 'number'
  404. },{
  405. label: '尺码',
  406. width: 100,
  407. search: true,
  408. index:19,
  409. overHidden: true,
  410. cell: true,
  411. prop: 'size',
  412. }, {
  413. label: '应付陆运费',
  414. overHidden: true,
  415. index: 20,
  416. prop: 'landAmountC'
  417. }, {
  418. label: '委托备注',
  419. overHidden: true,
  420. width: 245,
  421. index: 21,
  422. prop: 'remarks'
  423. }, {
  424. label: '车队备注',
  425. overHidden: true,
  426. width: 245,
  427. index: 22,
  428. prop: 'fleetRemarks'
  429. }, {
  430. label: '司机备注',
  431. overHidden: true,
  432. cell: true,
  433. width: 245,
  434. index: 23,
  435. prop: 'driverRemarks'
  436. },{
  437. label: '场站费',
  438. width: 100,
  439. precision: 2,
  440. cell: true,
  441. index: 24,
  442. controls: false,
  443. type: 'number',
  444. prop: 'oneFeeC'
  445. }, {
  446. label: '港杂费',
  447. width: 100,
  448. precision: 2,
  449. cell: true,
  450. index: 25,
  451. controls: false,
  452. type: 'number',
  453. prop: 'twoFeeC'
  454. }, {
  455. label: '扣款',
  456. width: 100,
  457. precision: 2,
  458. cell: true,
  459. index: 26,
  460. controls: false,
  461. type: 'number',
  462. prop: 'threeFeeC'
  463. }, {
  464. label: '待时费',
  465. width: 100,
  466. index: 27,
  467. precision: 2,
  468. cell: true,
  469. controls: false,
  470. type: 'number',
  471. prop: 'fourFeeC'
  472. }, {
  473. label: '其他',
  474. width: 100,
  475. precision: 2,
  476. index: 28,
  477. cell: true,
  478. type: 'number',
  479. controls: false,
  480. prop: 'fiveFeeC'
  481. }, {
  482. label: '费用备注',
  483. width: 245,
  484. index: 29,
  485. cell: true,
  486. prop: 'feeRemarksC'
  487. },{
  488. label: '制单日期',
  489. overHidden: true,
  490. prop: 'createTime',
  491. type: "date",
  492. searchRange: true,
  493. defaultTime: ['00:00:00', '23:59:59'],
  494. format: "yyyy-MM-dd HH:mm:ss",
  495. valueFormat: "yyyy-MM-dd HH:mm:ss",
  496. index: 30,
  497. width: 140,
  498. search: true,
  499. },{
  500. label: '船名航次',
  501. prop: 'factory',
  502. overHidden: true,
  503. index: 31,
  504. width: 140,
  505. search: true,
  506. },{
  507. label: '状态',
  508. width: 100,
  509. type: 'select',
  510. index:32,
  511. overHidden: true,
  512. dicUrl: "/api/blade-system/dict-biz/dictionary?code=land_order_status",
  513. props: {
  514. label: "dictValue",
  515. value: "dictKey"
  516. },
  517. dataType: "string",
  518. prop: 'status'
  519. }
  520. ],
  521. },
  522. totalData:{}
  523. }
  524. },
  525. async created() {
  526. this.goodsOptionCrud = await this.getColumnData(this.getColumnName(88), this.optionList);
  527. this.key++
  528. let i = 0;
  529. this.goodsOptionCrud.column.forEach(item => {
  530. if (item.search) i++
  531. })
  532. if (i % 3 !== 0) {
  533. const num = 3 - Number(i % 3)
  534. this.goodsOptionCrud.searchMenuSpan = num * 8;
  535. this.goodsOptionCrud.searchMenuPosition = "right";
  536. }
  537. },
  538. methods: {
  539. //自定义列保存
  540. async saveColumn() {
  541. /**
  542. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  543. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  544. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  545. */
  546. const inSave = await this.saveColumnData(this.getColumnName(88), this.goodsOptionCrud);
  547. if (inSave) {
  548. this.$message.success("保存成功");
  549. //关闭窗口
  550. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  551. }
  552. },
  553. //自定义列重置
  554. async resetColumn() {
  555. this.goodsOptionCrud = this.optionList;
  556. const inSave = await this.delColumnData(this.getColumnName(88), this.optionList);
  557. if (inSave) {
  558. this.$message.success("重置成功");
  559. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  560. }
  561. },
  562. // 获得高度
  563. searchCriteriaSwitch(type) {
  564. if (type) {
  565. this.goodsOptionCrud.height = this.goodsOptionCrud.height - 230
  566. } else {
  567. this.goodsOptionCrud.height = this.goodsOptionCrud.height + 230
  568. }
  569. this.$refs.crud.getTableHeight()
  570. },
  571. //箱信息保存
  572. rowSave(row, index, done, loading) {
  573. done()
  574. },
  575. //箱信息选择车队
  576. getfleetIdT(data, row) {
  577. this.$set(row, 'fleetName', data.cname)
  578. },
  579. //搜索
  580. searchChange(params, done) {
  581. let data = params
  582. if (params.arrivalTime) {
  583. data.beginArrivalTime = params.arrivalTime[0]
  584. data.endArrivalTime = params.arrivalTime[1]
  585. }
  586. if (params.createTime) {
  587. data.beginCrateTime = params.createTime[0]
  588. data.endCrateTime = params.createTime[1]
  589. }
  590. delete data.arrivalTime
  591. delete data.createTime
  592. this.onLoad(this.page, params)
  593. done();
  594. },
  595. //切换订单状态
  596. handleClick(tab) {
  597. this.activeName = tab
  598. this.onLoad(this.page)
  599. },
  600. //查询
  601. onLoad(page, params) {
  602. motorcadeDriver(4).then(res=>{
  603. this.totalData = res.data.data
  604. })
  605. let queryParams = {
  606. size: page.pageSize,
  607. current: page.currentPage,
  608. tag: '4',
  609. ...params
  610. }
  611. this.loading = true;
  612. driverQueryCollection(queryParams).then(res => {
  613. this.goodsList = res.data.data.records
  614. this.page.total = res.data.data.total
  615. this.goodsOptionCrud.height = window.innerHeight - 345;
  616. }).finally(() => {
  617. this.loading = false;
  618. })
  619. },
  620. //箱信息保存
  621. rowSaveT(row, index, done, loading) {
  622. if (row.$cellEdit){
  623. fleetDriverSave(row).then(res=>{
  624. this.$message.success("保存成功");
  625. })
  626. }
  627. this.$refs.crud.rowCell(row, index)
  628. },
  629. //箱信息派车
  630. designate(row) {
  631. this.$confirm('是否确定受理', '提示', {
  632. confirmButtonText: '确定',
  633. cancelButtonText: '取消',
  634. type: 'warning'
  635. }).then(() => {
  636. acceptanceCollection(row).then(res => {
  637. this.$message.success('操作成功');
  638. this.onLoad(this.page)
  639. })
  640. }).catch(() => {
  641. this.$message({
  642. type: 'info',
  643. message: '已取消'
  644. });
  645. });
  646. },
  647. //取消派车
  648. cancelDesignate(row) {
  649. this.$confirm('是否确定取消受理', '提示', {
  650. confirmButtonText: '确定',
  651. cancelButtonText: '取消',
  652. type: 'warning'
  653. }).then(() => {
  654. acceptanceDispatchCollection({id: row.id}).then(res => {
  655. this.$message.success('操作成功');
  656. this.onLoad(this.page)
  657. })
  658. }).catch(() => {
  659. this.$message({
  660. type: 'info',
  661. message: '已取消'
  662. });
  663. });
  664. },
  665. confirmCompletion(row) {
  666. if (row.realArrivalTime){
  667. this.$confirm('是否确定完工', '提示', {
  668. confirmButtonText: '确定',
  669. cancelButtonText: '取消',
  670. type: 'warning'
  671. }).then(() => {
  672. confirmCompletion({id: row.id}).then(res => {
  673. this.$message.success('操作成功');
  674. this.onLoad(this.page)
  675. })
  676. }).catch(() => {
  677. this.$message({
  678. type: 'info',
  679. message: '已取消'
  680. });
  681. });
  682. }else {
  683. this.$message({
  684. type: 'warning',
  685. message: '请选择实际到厂时间!'
  686. });
  687. }
  688. },
  689. suitcase(row){
  690. this.$confirm('是否确定提箱', '提示', {
  691. confirmButtonText: '确定',
  692. cancelButtonText: '取消',
  693. type: 'warning'
  694. }).then(() => {
  695. borrow({id: row.id}).then(res => {
  696. this.$message.success('操作成功');
  697. this.onLoad(this.page)
  698. })
  699. }).catch(() => {
  700. this.$message({
  701. type: 'info',
  702. message: '已取消'
  703. });
  704. });
  705. },
  706. confirmArrival(row) {
  707. this.$confirm('是否确定到厂', '提示', {
  708. confirmButtonText: '确定',
  709. cancelButtonText: '取消',
  710. type: 'warning'
  711. }).then(() => {
  712. arrival({id: row.id}).then(res => {
  713. this.$message.success('操作成功');
  714. this.onLoad(this.page)
  715. })
  716. }).catch(() => {
  717. this.$message({
  718. type: 'info',
  719. message: '已取消'
  720. });
  721. });
  722. },
  723. //打开附件
  724. annexOpen(row, index){
  725. this.dialogVisible = true
  726. this.form = row
  727. getAttachment({id:row.id}).then(res=>{
  728. console.log(res)
  729. this.orderList = res.data.data
  730. })
  731. },
  732. //保存
  733. saveAnnex(){
  734. saveAttached({
  735. id:this.form.id,
  736. fileList:this.orderList
  737. }).then(res=>{
  738. this.annexOpen(this.form)
  739. })
  740. },
  741. ToBreak (val) {
  742. if (val)return val.replace(/\n/g, '<br/>')
  743. }
  744. }
  745. }
  746. </script>
  747. <style lang="scss" scoped>
  748. .home-container {
  749. padding: 0px 5px 5px 5px;
  750. box-sizing: border-box;
  751. height: 100%;
  752. ::v-deep .el-card__body {
  753. padding: 10px 15px;
  754. font-size: 14px;
  755. }
  756. &__card {
  757. width: 100%;
  758. height: 100%;
  759. }
  760. .title {
  761. display: flex;
  762. justify-content: space-between;
  763. .right {
  764. display: flex;
  765. align-items: center;
  766. &_but {
  767. margin-right: 10px;
  768. border: 1px solid #409eff;
  769. width: 80px;
  770. border-radius: 3px;
  771. display: flex;
  772. &_left {
  773. width: 40px;
  774. text-align: center;
  775. color: #409eff;
  776. cursor: pointer;
  777. }
  778. &_right {
  779. width: 40px;
  780. text-align: center;
  781. color: #409eff;
  782. cursor: pointer;
  783. }
  784. &_active {
  785. color: #fff;
  786. background-color: #409eff;
  787. }
  788. }
  789. }
  790. }
  791. }
  792. .content {
  793. display: flex;
  794. justify-content: center;
  795. align-items: center;
  796. height: 6vh;
  797. width: 80vw;
  798. .divider {
  799. display: block;
  800. height: 0px;
  801. width: 100%;
  802. border-top: 1px dashed #dcdfe6;
  803. }
  804. &-item {
  805. margin-left: 1vw;
  806. .card {
  807. width: 130px;
  808. display: flex;
  809. align-items: center;
  810. &-title {
  811. width: 40px;
  812. height: 40px;
  813. text-align: center;
  814. border-radius: 50%;
  815. font-size: 20px;
  816. font-weight: 600;
  817. display: flex;
  818. justify-content: center;
  819. align-items: center;
  820. span {
  821. line-height: 20px;
  822. }
  823. }
  824. &-title1 {
  825. color: #037fe1;
  826. background-color: rgba(3, 127, 225, 0.15);
  827. }
  828. &-title2 {
  829. color: #ffa21e;
  830. background-color: rgba(255, 162, 30, 0.15);
  831. }
  832. &-title3 {
  833. color: #fb5b60;
  834. background-color: rgba(251, 91, 96, 0.15);
  835. }
  836. &-title4 {
  837. color: #42bc6f;
  838. background-color: rgba(66, 188, 111, 0.15);
  839. }
  840. &-title5 {
  841. color: #14cde1;
  842. background-color: rgba(52, 149, 161, 0.15);
  843. }
  844. &-title6 {
  845. color: rgba(4, 66, 31, 0.63);
  846. background-color: rgba(66, 188, 111, 0.15);
  847. }
  848. &-content {
  849. padding-left: 1vw;
  850. display: flex;
  851. flex-direction: column;
  852. &-num {
  853. font-size: 20px;
  854. font-weight: 600;
  855. }
  856. &-text {
  857. color: #909399;
  858. }
  859. }
  860. }
  861. }
  862. }
  863. </style>