Mycollect.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766
  1. <template>
  2. <!-- 购买记录 -->
  3. <div class="OrderManage personal-center">
  4. <EditTitle
  5. title="我的收藏"
  6. :isDel="1"
  7. :isShowCheckBox="isShowCheckBox"
  8. :changeIsDel="changeIsDel"
  9. :changeIsCancle="changeIsCancle"
  10. :deleteMyCollection="deleteMyCollection"
  11. :listCount="listCount"
  12. :delCount="delCount"
  13. />
  14. <div>
  15. <el-menu
  16. :default-active="activeIndex"
  17. class="el-menu-demo"
  18. mode="horizontal"
  19. @select="handleSelect"
  20. >
  21. <!-- <el-menu-item index="all">全部</el-menu-item> -->
  22. <el-menu-item index="book">教材</el-menu-item>
  23. <el-menu-item index="teaching">教学课程</el-menu-item>
  24. <el-menu-item index="video" v-if="userType != 'STUDENT'">视频</el-menu-item>
  25. <el-menu-item index="live" v-if="userType != 'STUDENT'">直播</el-menu-item>
  26. <el-menu-item index="jiaoyan" v-if="userType != 'STUDENT'">教研资料</el-menu-item>
  27. <el-menu-item index="hanzi">字词</el-menu-item>
  28. <el-menu-item index="sentence">句子</el-menu-item>
  29. </el-menu>
  30. </div>
  31. <div class="list" v-loading="loading">
  32. <template v-if="!isEmpty">
  33. <div class="main" v-for="(item, index) in list" :key="'order' + index">
  34. <div class="main-content" v-if="item.goods_type == 501">
  35. <div
  36. v-if="isShowCheckBox"
  37. class="checkBox"
  38. @click.stop="selecedGoods(item, index)"
  39. >
  40. <img
  41. :src="item.checked ? checked_img : check_img"
  42. class="check-img"
  43. />
  44. </div>
  45. <template v-if="/^[\u4e00-\u9fa5]/.test(item.new_word.new_word)">
  46. <Hanzi
  47. :item="item"
  48. :index="index"
  49. @getMyCollectionList="getMyCollectionList"
  50. />
  51. </template>
  52. <template v-else>
  53. <Enword
  54. :item="item"
  55. :index="index"
  56. @getMyCollectionList="getMyCollectionList"
  57. />
  58. </template>
  59. </div>
  60. <div class="main-content" v-else-if="item.goods_type == 502">
  61. <div
  62. v-if="isShowCheckBox"
  63. class="checkBox"
  64. @click.stop="selecedGoods(item, index)"
  65. >
  66. <img
  67. :src="item.checked ? checked_img : check_img"
  68. class="check-img"
  69. />
  70. </div>
  71. <template v-if="/^[\u4e00-\u9fa5]/.test(item.sentence.sentence_text)">
  72. <Sentence
  73. :key="item.id"
  74. :sItem="item"
  75. :index="index"
  76. @getMyCollectionList="getMyCollectionList"
  77. />
  78. </template>
  79. <template v-else>
  80. <SentenceEn
  81. :key="item.id"
  82. :sItem="item"
  83. :index="index"
  84. @getMyCollectionList="getMyCollectionList"
  85. />
  86. </template>
  87. </div>
  88. <div class="main-content" v-else>
  89. <div class="main-content-left" @click.stop="jump(item)">
  90. <div
  91. v-if="isShowCheckBox"
  92. class="checkBox"
  93. @click.stop="selecedGoods(item, index)"
  94. >
  95. <img
  96. :src="item.checked ? checked_img : check_img"
  97. class="check-img"
  98. />
  99. </div>
  100. <div class="coverUrl">
  101. <img :src="item.goods_picture_url" />
  102. </div>
  103. <div class="order-infor">
  104. <p class="name">{{ item.goods_name }}</p>
  105. <Goodstype :item="item" />
  106. <p class="author">{{ item.creator_name }}</p>
  107. </div>
  108. </div>
  109. <div class="main-content-right">
  110. <p class="collectTime">{{ item.create_time }}</p>
  111. <div class="order-btn">
  112. <div class="price">
  113. ¥<span class="price_num" v-html="item.goods_price_str"></span>
  114. </div>
  115. <button
  116. class="goPay"
  117. v-if="item.goods_is_buy == 'false'"
  118. @click="reOrder(item)"
  119. >
  120. 购买
  121. </button>
  122. <button class="goPay hasPay" v-if="item.goods_is_buy == 'true'">
  123. 已购买
  124. </button>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. <div class="paging">
  130. <el-pagination
  131. background
  132. layout="prev, pager, next"
  133. :current-page="pageNum"
  134. :total="total"
  135. :page-size="pageSize"
  136. @current-change="changecurrentPage"
  137. />
  138. </div>
  139. </template>
  140. <template v-else>
  141. <Empty :navType="navType" />
  142. </template>
  143. </div>
  144. <el-dialog
  145. class="orderDialog"
  146. title="商品详情"
  147. :visible.sync="isConfirmorder"
  148. width="720px"
  149. :before-close="closeConfirmorder"
  150. >
  151. <Confirmorder
  152. ref="Confirmorder"
  153. :data="goods_Data"
  154. :changeOrderNumber="changeOrderNumber"
  155. />
  156. </el-dialog>
  157. <el-dialog
  158. class="orderDialog"
  159. top="50px"
  160. :title="'订单号:' + orderNumber"
  161. :visible.sync="isPayment"
  162. width="720px"
  163. :before-close="closePayment"
  164. >
  165. <Payment
  166. :data="goods_Data"
  167. :orderNumber="orderNumber"
  168. :judgePayResult="judgePayResult"
  169. />
  170. </el-dialog>
  171. </div>
  172. </template>
  173. <script>
  174. import EditTitle from "../common/EditTitle.vue";
  175. import Empty from "../common/Empty.vue";
  176. import Goodstype from "../common/Goodstype.vue";
  177. import Cookies from "js-cookie";
  178. import { getLearnWebContent } from "@/api/ajax";
  179. import Confirmorder from "../common/Confirmorder.vue";
  180. import Payment from "../common/Payment.vue";
  181. import { jumpPath } from "@/utils/jumpPath";
  182. import Hanzi from "../common/Hanzi.vue";
  183. import Sentence from "../common/Sentence.vue";
  184. import SentenceEn from "../common/SentenceEn.vue"
  185. import Enword from "../common/Enword.vue"
  186. export default {
  187. name: "MyCollect",
  188. //import引入的组件需要注入到对象中才能使用
  189. components: {
  190. EditTitle,
  191. Empty,
  192. Goodstype,
  193. Confirmorder,
  194. Payment,
  195. Hanzi,
  196. Sentence,
  197. SentenceEn,
  198. Enword,
  199. },
  200. props: ['userType'],
  201. data() {
  202. //这里存放数据
  203. return {
  204. navType: "6",
  205. isEmpty: false,
  206. activeIndex: "all",
  207. list: [],
  208. goods_name: "", // 商品名称,模糊查询,空表示查询所有
  209. goods_id_list: [], // 商品 ID 列表,空表示查询所有商品
  210. goods_type_list: [101], // 商品类型列表,具体参看数据字典 6.9,商品类型。空表示查询所有类型
  211. total: 0,
  212. pageSize: 20,
  213. pageNum: 1,
  214. currPageNum: 0,
  215. loading: false,
  216. isShowCheckBox: false,
  217. selecedGoodsList: [],
  218. check_img: require("../../assets/Personalcenter/check.png"),
  219. checked_img: require("../../assets/Personalcenter/checked.png"),
  220. listCount: 0,
  221. delCount: 0,
  222. isPayment: false,
  223. isConfirmorder: false,
  224. orderNumber: "",
  225. goods_Data: null,
  226. };
  227. },
  228. //计算属性 类似于data概念
  229. computed: {},
  230. //监控data中数据变化
  231. watch: {},
  232. //方法集合
  233. methods: {
  234. jump(item) {
  235. jumpPath(item);
  236. },
  237. //完成
  238. changeIsDel(isShowCheckBox) {
  239. this.isShowCheckBox = isShowCheckBox;
  240. this.selecedGoodsList = [];
  241. this.delCount = 0;
  242. this.currPageNum = 0;
  243. this.list.map((item) => {
  244. item.checked = false;
  245. return item;
  246. });
  247. },
  248. //取消
  249. changeIsCancle(isShowCheckBox) {
  250. this.selecedGoodsList = [];
  251. this.delCount = 0;
  252. this.currPageNum = 0;
  253. this.list.map((item) => {
  254. item.checked = false;
  255. return item;
  256. });
  257. },
  258. changecurrentPage(val) {
  259. this.pageNum = val;
  260. this.getMyCollectionList();
  261. },
  262. getMyCollectionList() {
  263. let _this = this;
  264. _this.loading = true;
  265. _this.delCount = 0;
  266. if (_this.currPageNum != _this.pageNum) {
  267. _this.isShowCheckBox = false;
  268. }
  269. let MethodName = "page_query-PageQueryMyCollectionList";
  270. let data = {
  271. goods_id_list: [],
  272. goods_type_list: this.goods_type_list,
  273. goods_name: _this.goods_name,
  274. page_capacity: _this.pageSize,
  275. cur_page: _this.pageNum,
  276. };
  277. getLearnWebContent(MethodName, data)
  278. .then((res) => {
  279. _this.loading = false;
  280. _this.total = res.total_count;
  281. let collection_list = res.collection_list;
  282. if (collection_list.length > 0) {
  283. this.list = collection_list.map((item) => {
  284. let obj = this.handleGoodsType(item.goods_type);
  285. item.className = obj.className;
  286. item.goods_type_root_name = obj.rootName;
  287. if (item.goods_price) {
  288. let goods_price = this.handlePrice(item.goods_price);
  289. item.goods_price_str = goods_price.price_str;
  290. //item.goods_price = goods_price.price;
  291. }
  292. // if (item.discount_money) {
  293. // let dis_price = this.handlePrice(item.goods_price);
  294. // item.discount_money = dis_price.price;
  295. // }
  296. // if (item.receivables_money) {
  297. // let rec_price = this.handlePrice(item.receivables_money);
  298. // item.receivables_money = rec_price.rprice;
  299. // }
  300. item.checked = false;
  301. return item;
  302. });
  303. this.isEmpty = false;
  304. this.listCount = this.list.length;
  305. } else {
  306. this.isEmpty = true;
  307. this.list = [];
  308. this.listCount = 0;
  309. }
  310. console.log(this.list);
  311. })
  312. .catch((error) => {
  313. _this.loading = false;
  314. });
  315. },
  316. handlePrice(price) {
  317. let priceArr = price.toString().split(".");
  318. if (priceArr.length > 1 && priceArr[1]) {
  319. } else {
  320. price = priceArr[0] + ".00";
  321. }
  322. let price_str = this.handlePrice2(price);
  323. return { price: price, price_str: price_str };
  324. },
  325. handlePrice2(price) {
  326. price = price.toString();
  327. let arr = price.split(".");
  328. let str = `<span style="font-size:24px;">${arr[0]}</span>.<span style="font-size:16px;">${arr[1]}</span>`;
  329. return str;
  330. },
  331. handleGoodsType(type) {
  332. let className = "",
  333. rootName = "";
  334. if (type) {
  335. type = type.toString();
  336. if (type.indexOf("10") > -1) {
  337. className = "type10";
  338. rootName = "教材";
  339. }
  340. if (type.indexOf("20") > -1) {
  341. rootName = "教学课程";
  342. className = "type20";
  343. }
  344. if (type.indexOf("30") > -1) {
  345. className = "type30";
  346. rootName = "教培课程";
  347. }
  348. if (type.indexOf("40") > -1) {
  349. className = "type40";
  350. rootName = "教研资料";
  351. }
  352. }
  353. return { className: className, rootName: rootName };
  354. },
  355. handleSelect(val) {
  356. let _this = this;
  357. _this.activeIndex = val;
  358. _this.pageNum = 1;
  359. _this.goods_name = "";
  360. _this.selecedGoodsList = [];
  361. if (_this.activeIndex == "all") {
  362. _this.goods_type_list = [];
  363. } else if (_this.activeIndex == "book") {
  364. _this.goods_type_list = [101];
  365. } else if (_this.activeIndex == "teaching") {
  366. _this.goods_type_list = [201];
  367. } else if (_this.activeIndex == "video") {
  368. _this.goods_type_list = [302];
  369. } else if (_this.activeIndex == "live") {
  370. _this.goods_type_list = [301];
  371. } else if (_this.activeIndex == "jiaoyan") {
  372. _this.goods_type_list = [401];
  373. } else if (_this.activeIndex == "hanzi") {
  374. _this.goods_type_list = [501];
  375. } else if (_this.activeIndex == "sentence") {
  376. _this.goods_type_list = [502];
  377. }
  378. _this.getMyCollectionList();
  379. },
  380. //勾选我的收藏
  381. selecedGoods(item, index) {
  382. let _this = this;
  383. if (item.checked) {
  384. item.checked = false;
  385. this.delCount--;
  386. let selecedGoodsList = JSON.parse(
  387. JSON.stringify(_this.selecedGoodsList)
  388. );
  389. selecedGoodsList = selecedGoodsList.filter((ele) => ele != item.id);
  390. _this.selecedGoodsList = selecedGoodsList;
  391. } else {
  392. item.checked = true;
  393. this.delCount++;
  394. _this.selecedGoodsList.push(item.id);
  395. }
  396. },
  397. //删除我的收藏
  398. deleteMyCollection() {
  399. let _this = this;
  400. if (_this.selecedGoodsList.length < 1) {
  401. this.$message.warning("请先勾选");
  402. return;
  403. }
  404. return new Promise((resolve) => {
  405. _this.loading = true;
  406. let MethodName = "order-collection_manager-DeleteMyCollection";
  407. let data = {
  408. id_list: _this.selecedGoodsList,
  409. };
  410. getLearnWebContent(MethodName, data).then((res) => {
  411. _this.$message.success("删除成功!");
  412. _this.loading = false;
  413. setTimeout(() => {
  414. _this.currPageNum = _this.pageNum;
  415. _this.goods_name = "";
  416. _this.selecedGoodsList = [];
  417. _this.getMyCollectionList();
  418. }, 500);
  419. resolve();
  420. });
  421. });
  422. },
  423. //获取订单编号
  424. changeOrderNumber(
  425. id,
  426. back_discount_code,
  427. discount_money,
  428. receivables_money
  429. ) {
  430. this.isConfirmorder = false;
  431. this.orderNumber = id;
  432. this.isPayment = true;
  433. this.goods_Data.discount_code = back_discount_code;
  434. this.goods_Data.discount_money = discount_money;
  435. this.goods_Data.receivables_money = receivables_money;
  436. console.log(this.goods_Data);
  437. },
  438. //去购买
  439. reOrder(item) {
  440. this.isConfirmorder = true;
  441. this.goods_Data = item;
  442. console.log(this.goods_Data);
  443. },
  444. closeConfirmorder() {
  445. this.isConfirmorder = false;
  446. this.$refs.Confirmorder.clearData();
  447. },
  448. closePayment() {
  449. this.isPayment = false;
  450. this.$refs.Confirmorder.clearData();
  451. },
  452. judgePayResult(bool) {
  453. this.isPayment = false;
  454. this.isConfirmorder = false;
  455. if (bool) {
  456. this.$message.success("支付成功");
  457. } else {
  458. this.$message.warning("支付失败");
  459. }
  460. this.getMyCollectionList();
  461. },
  462. },
  463. //生命周期 - 创建完成(可以访问当前this实例)
  464. created() {},
  465. //生命周期 - 挂载完成(可以访问DOM元素)
  466. mounted() {
  467. this.getMyCollectionList();
  468. },
  469. //生命周期-创建之前
  470. beforeCreated() {},
  471. //生命周期-挂载之前
  472. beforeMount() {},
  473. //生命周期-更新之前
  474. beforUpdate() {},
  475. //生命周期-更新之后
  476. updated() {},
  477. //生命周期-销毁之前
  478. beforeDestory() {},
  479. //生命周期-销毁完成
  480. destoryed() {},
  481. //如果页面有keep-alive缓存功能,这个函数会触发
  482. activated() {},
  483. };
  484. </script>
  485. <style lang="scss" scoped>
  486. /* @import url(); 引入css类 */
  487. .OrderManage {
  488. .list {
  489. width: 100%;
  490. min-height: 400px;
  491. .main {
  492. width: 100%;
  493. box-sizing: border-box;
  494. padding: 16px 16px 16px 16px;
  495. background: #ffffff;
  496. box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.15);
  497. .checkBox {
  498. display: flex;
  499. justify-content: center;
  500. align-items: center;
  501. height: 88px;
  502. margin-right: 16px;
  503. cursor: pointer;
  504. .check-img {
  505. width: 16px;
  506. height: 16px;
  507. }
  508. }
  509. &-top {
  510. width: 100%;
  511. display: flex;
  512. justify-content: space-between;
  513. align-items: center;
  514. margin-bottom: 16px;
  515. &-left {
  516. display: flex;
  517. justify-content: flex-start;
  518. align-items: center;
  519. cursor: pointer;
  520. .orderTime {
  521. font-weight: bold;
  522. font-size: 14px;
  523. line-height: 150%;
  524. text-align: right;
  525. color: #2c2c2c;
  526. margin-right: 16px;
  527. }
  528. .orderNo {
  529. font-weight: normal;
  530. font-size: 14px;
  531. line-height: 150%;
  532. color: #2c2c2c;
  533. }
  534. }
  535. .del-order {
  536. width: 16px;
  537. height: 16px;
  538. cursor: pointer;
  539. }
  540. }
  541. &-content {
  542. display: flex;
  543. justify-content: space-between;
  544. &-left {
  545. display: flex;
  546. justify-content: flex-start;
  547. .coverUrl {
  548. width: 88px;
  549. height: 88px;
  550. margin-right: 24px;
  551. border-radius: 4px;
  552. display: flex;
  553. justify-content: center;
  554. align-items: center;
  555. > img {
  556. max-height: 100%;
  557. max-width: 100%;
  558. }
  559. }
  560. .order-infor {
  561. width: 528px;
  562. display: flex;
  563. flex-direction: column;
  564. align-items: flex-start;
  565. .name {
  566. font-weight: normal;
  567. font-size: 16px;
  568. line-height: 150%;
  569. color: #2c2c2c;
  570. overflow: hidden;
  571. white-space: nowrap;
  572. text-overflow: ellipsis;
  573. }
  574. .intro {
  575. font-weight: normal;
  576. font-size: 16px;
  577. line-height: 150%;
  578. color: #2c2c2c;
  579. opacity: 0.7;
  580. overflow: hidden;
  581. white-space: nowrap;
  582. text-overflow: ellipsis;
  583. }
  584. .author {
  585. font-weight: normal;
  586. font-size: 14px;
  587. line-height: 150%;
  588. color: #2c2c2c;
  589. opacity: 0.7;
  590. }
  591. .pinyin {
  592. font-weight: normal;
  593. font-size: 20px;
  594. line-height: 23px;
  595. color: #2c2c2c;
  596. }
  597. .en {
  598. font-style: normal;
  599. font-weight: 600;
  600. font-size: 20px;
  601. line-height: 25px;
  602. color: #2c2c2c;
  603. margin: 4px 0 12px;
  604. }
  605. .hanzi-btn {
  606. display: flex;
  607. justify-content: flex-start;
  608. align-items: center;
  609. &-img {
  610. display: flex;
  611. justify-content: center;
  612. align-items: center;
  613. width: 24px;
  614. height: 24px;
  615. background: #ff5757;
  616. border-radius: 4px;
  617. margin-right: 8px;
  618. cursor: pointer;
  619. > img {
  620. width: 16px;
  621. height: 16px;
  622. }
  623. }
  624. .more-intp {
  625. font-weight: normal;
  626. font-size: 14px;
  627. line-height: 20px;
  628. color: #2c2c2c;
  629. opacity: 0.5;
  630. cursor: pointer;
  631. }
  632. }
  633. }
  634. .hanzi {
  635. display: flex;
  636. justify-content: center;
  637. align-items: center;
  638. width: 88px;
  639. height: 88px;
  640. background: #ffffff;
  641. border: 1px solid #e0e0e0;
  642. box-sizing: border-box;
  643. border-radius: 4px;
  644. font-weight: normal;
  645. font-size: 48px;
  646. line-height: 100%;
  647. display: flex;
  648. align-items: center;
  649. text-align: center;
  650. color: #2c2c2c;
  651. margin-right: 16px;
  652. }
  653. }
  654. &-right {
  655. display: flex;
  656. flex-direction: column;
  657. justify-content: space-around;
  658. .collectTime {
  659. font-weight: normal;
  660. font-size: 14px;
  661. line-height: 150%;
  662. text-align: right;
  663. color: #2c2c2c;
  664. opacity: 0.5;
  665. margin-bottom: 16px;
  666. }
  667. .order-btn {
  668. display: flex;
  669. justify-content: flex-end;
  670. align-items: center;
  671. height: 40px;
  672. width: 240px;
  673. .price {
  674. font-weight: normal;
  675. font-size: 24px;
  676. line-height: 40px;
  677. color: #2c2c2c;
  678. margin-right: 12px;
  679. }
  680. .goPay {
  681. width: 120px;
  682. height: 40px;
  683. background: #ff9900;
  684. border-radius: 4px;
  685. font-weight: normal;
  686. font-size: 16px;
  687. line-height: 40px;
  688. text-align: center;
  689. text-transform: uppercase;
  690. color: #ffffff;
  691. cursor: pointer;
  692. border: 0;
  693. outline: 0;
  694. &.hasPay {
  695. background: #e5e5e5;
  696. color: #919191;
  697. }
  698. }
  699. }
  700. &.hanzi-right {
  701. justify-content: center;
  702. align-items: flex-start;
  703. padding-right: 24px;
  704. .resource {
  705. font-style: normal;
  706. font-weight: normal;
  707. font-size: 14px;
  708. line-height: 20px;
  709. color: #2c2c2c;
  710. opacity: 0.5;
  711. margin-bottom: 8px;
  712. }
  713. .collectTime {
  714. font-weight: normal;
  715. font-size: 14px;
  716. line-height: 20px;
  717. color: #2c2c2c;
  718. opacity: 0.5;
  719. margin: 0;
  720. }
  721. }
  722. }
  723. }
  724. }
  725. }
  726. .paging {
  727. margin-left: 16px;
  728. margin-top: 20px;
  729. }
  730. }
  731. </style>
  732. <style lang="scss">
  733. .OrderManage {
  734. .el-menu.el-menu--horizontal {
  735. border: 0;
  736. padding: 0 32px;
  737. }
  738. .el-menu--horizontal > .el-menu-item {
  739. height: 44px;
  740. font-size: 16px;
  741. line-height: 44px;
  742. text-align: center;
  743. padding: 0;
  744. margin-right: 24px;
  745. }
  746. .el-menu--horizontal > .el-menu-item.is-active {
  747. border-bottom: 1px solid #ff9900;
  748. color: #ff9900;
  749. }
  750. .el-pagination.is-background .el-pager li:not(.disabled).active {
  751. background: #ff9900;
  752. color: #fff;
  753. }
  754. }
  755. </style>