all.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  1. <template>
  2. <div class="bookCity">
  3. <Header
  4. :headerBg="'#1F1F1F'"
  5. :headerBorder="'#5C5C5C'"
  6. :userBg="'rgba(0, 0, 0, 0.24)'"
  7. :LoginNavIndex="this.$route.query.from?1:0"
  8. />
  9. <div class="banner">
  10. <el-carousel height="320px" trigger="click" arrow="never">
  11. <el-carousel-item v-for="item in 2" :key="item">
  12. <!-- 如果有跳转链接 则跳转 否则只展示 -->
  13. <!-- <a v-if="item" href="#" target="_blank">
  14. <el-image
  15. class="image"
  16. :src="require('../../assets/banner'+item+'.png')"
  17. :fit="'cover'">
  18. </el-image>
  19. </a> -->
  20. <el-image
  21. class="image"
  22. :src="require('../../assets/banner'+(2+item)+'.png')"
  23. :fit="'cover'">
  24. </el-image>
  25. </el-carousel-item>
  26. </el-carousel>
  27. </div>
  28. <div class="filt-box">
  29. <div class="filt-inner">
  30. <el-breadcrumb separator="/">
  31. <el-breadcrumb-item :to="{ path: '/' }">{{this.$route.query.from?'精读课堂':'商城'}}</el-breadcrumb-item>
  32. <el-breadcrumb-item>{{nameTypeCn}}</el-breadcrumb-item>
  33. </el-breadcrumb>
  34. <h2>筛选:</h2>
  35. <template v-if="itemType==='kecheng'">
  36. <div class="filt-item">
  37. <label>学段</label>
  38. <ul>
  39. <li :class="[items.study_phase===courseForm.studyValue?'active':'',courseForm.categoryValue==='ZB'?'not-allow':'']" v-for="(items,indexs) in studyList" :key="indexs" @click="handleClick('courseForm','studyValue',items.study_phase)">
  40. <i v-if="items.study_phase===courseForm.studyValue" class="el-icon-success"></i>
  41. {{items.study_phase_name}}
  42. </li>
  43. </ul>
  44. </div>
  45. <div class="filt-item">
  46. <label>类别</label>
  47. <ul>
  48. <li :class="[itemt.value===courseForm.categoryValue?'active':'']" v-for="(itemt,indext) in categoryList" :key="indext" @click="handleClick('courseForm','categoryValue',itemt.value)">
  49. <i v-if="itemt.value===courseForm.categoryValue" class="el-icon-success"></i>
  50. {{itemt.label}}
  51. </li>
  52. </ul>
  53. </div>
  54. </template>
  55. <template v-else-if="itemType==='baozhi'">
  56. <div class="filt-item">
  57. <label>年份</label>
  58. <ul>
  59. <li :class="[itemy.value===baozhiForm.yearValue?'active':'']" v-for="(itemy,indexy) in yearList" :key="indexy" @click="handleClick('baozhiForm','yearValue',itemy.value)">
  60. <i v-if="itemy.value===baozhiForm.yearValue" class="el-icon-success"></i>
  61. {{itemy.label}}
  62. </li>
  63. </ul>
  64. </div>
  65. <div class="filt-item">
  66. <label>学段</label>
  67. <ul>
  68. <li :class="[items.study_phase===baozhiForm.studyValue?'active':'']" v-for="(items,indexs) in baozhiStudyList" :key="indexs" @click="handleClick('baozhiForm','studyValue',items.study_phase,items.study_phase_name)">
  69. <i v-if="items.study_phase===baozhiForm.studyValue" class="el-icon-success"></i>
  70. {{items.study_phase_name}}
  71. </li>
  72. </ul>
  73. </div>
  74. <div class="filt-item">
  75. <label>类型</label>
  76. <ul>
  77. <li :class="[itemt.value===baozhiForm.typeValue?'active':'']" v-for="(itemt,indext) in typeList" :key="indext" @click="handleClick('baozhiForm','typeValue',itemt.value)">
  78. <i v-if="itemt.value===baozhiForm.typeValue" class="el-icon-success"></i>
  79. {{itemt.label}}
  80. </li>
  81. </ul>
  82. </div>
  83. </template>
  84. <template v-if="itemType==='jingdu'">
  85. <div class="filt-item">
  86. <label>主题</label>
  87. <ul>
  88. <li :class="[itemy.value===jingduForm.categoryValue?'active':'']" v-for="(itemy,indexy) in themeList" :key="indexy" @click="handleClick('jingduForm','categoryValue',itemy.value)">
  89. <i v-if="itemy.value===baozhiForm.categoryValue" class="el-icon-success"></i>
  90. {{itemy.label}}
  91. </li>
  92. </ul>
  93. </div>
  94. <div class="filt-item" v-if="!this.$route.query.from">
  95. <label>学段</label>
  96. <ul>
  97. <li :class="[items.study_phase===jingduForm.studyValue?'active':'']" v-for="(items,indexs) in jingduStudyList" :key="indexs" @click="handleClick('jingduForm','studyValue',items.study_phase,items.study_phase_name)">
  98. <i v-if="items.study_phase===jingduForm.studyValue" class="el-icon-success"></i>
  99. {{items.study_phase_name}}
  100. </li>
  101. </ul>
  102. </div>
  103. </template>
  104. <div class="filt-item">
  105. <label>搜索</label>
  106. <el-input placeholder="搜索" v-model="searchValue" maxlength="20">
  107. <el-button slot="append" icon="el-icon-search" @click="handleData(1)"></el-button>
  108. </el-input>
  109. </div>
  110. </div>
  111. </div>
  112. <div class="main">
  113. <BookListModule
  114. :Bookinfo="Bookinfo"
  115. :showAll="false"
  116. @changeStudy="changeStudy"
  117. :headerBg="'#1F1F1F'"
  118. :headerBorder="'#5C5C5C'"
  119. :userBg="'rgba(0, 0, 0, 0.24)'"
  120. :LoginNavIndex="this.$route.query.from?1:0"
  121. />
  122. <el-pagination
  123. background
  124. :current-page="currentPages"
  125. :page-size="page_capacitys"
  126. :page-sizes="[8, 16, 24, 32, 40]"
  127. :total="Bookinfo.number"
  128. layout="total, prev, pager, next, sizes, jumper"
  129. @size-change="(val)=>handleSizeChange(val,'page_capacitys','currentPages')"
  130. @current-change="(val)=>handleCurrentChange(val,'currentPages')"
  131. v-if="Bookinfo.number>0&&(Bookinfo.bookType==='ZB'||Bookinfo.bookType==='jingdu')"
  132. />
  133. <el-pagination
  134. background
  135. :current-page="currentPage"
  136. :page-size="page_capacity"
  137. :page-sizes="[10, 20, 30, 40, 50]"
  138. :total="Bookinfo.number"
  139. layout="total, prev, pager, next, sizes, jumper"
  140. @size-change="(val)=>handleSizeChange(val,'page_capacity','currentPage')"
  141. @current-change="(val)=>handleCurrentChange(val,'currentPage')"
  142. v-else-if="Bookinfo.number>0&&Bookinfo.bookType!=='ZB'"
  143. />
  144. </div>
  145. </div>
  146. </template>
  147. <script>
  148. //这里可以导入其它文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
  149. //例如:import 《组件名称》from ‘《组件路径》';
  150. import Header from "../../components/Header.vue";
  151. import BookListModule from "@/components/common/BookAllListModule.vue"
  152. import { getLogin } from "@/api/ajax";
  153. export default {
  154. //import引入的组件需要注入到对象中才能使用
  155. components: { Header, BookListModule },
  156. props: {},
  157. data() {
  158. //这里存放数据
  159. return {
  160. Bookinfo:{
  161. BookList: [
  162. {
  163. skeleton: true
  164. },
  165. {
  166. skeleton: true
  167. },
  168. {
  169. skeleton: true
  170. },
  171. {
  172. skeleton: true
  173. },
  174. {
  175. skeleton: true
  176. },
  177. {
  178. skeleton: true
  179. },
  180. {
  181. skeleton: true
  182. },
  183. {
  184. skeleton: true
  185. },
  186. {
  187. skeleton: true
  188. },
  189. {
  190. skeleton: true
  191. }
  192. ],
  193. name: '',
  194. number: 0,
  195. numberstr: '',
  196. bookType: null
  197. },
  198. nameTypeCn: this.$route.query.name?decodeURIComponent(this.$route.query.name):'全部画刊',
  199. itemType:this.$route.query.type?this.$route.query.type:'huakan',
  200. yearList:[
  201. {
  202. value: -1,
  203. label: '全部'
  204. }
  205. ],
  206. studyList:[
  207. {
  208. study_phase: -1,
  209. study_phase_name: '全部'
  210. }
  211. ],
  212. baozhiStudyList:[],
  213. categoryList:[
  214. {
  215. value: 'LB',
  216. label: '录播'
  217. },
  218. {
  219. value: 'ZB',
  220. label: '直播'
  221. },
  222. ],
  223. typeList:[
  224. {
  225. value: 0,
  226. label: '单本'
  227. },
  228. {
  229. value: 1,
  230. label: '专辑'
  231. },
  232. ],
  233. courseForm:{
  234. studyValue: window.localStorage.getItem("courseFormstudyValue")?window.localStorage.getItem("courseFormstudyValue")*1:-1,
  235. categoryValue: this.$route.query.type&&this.$route.query.type==='kecheng'?window.localStorage.getItem("courseFormcategoryValue")?window.localStorage.getItem("courseFormcategoryValue"):'LB':'LB'
  236. },
  237. baozhiForm:{
  238. yearValue: window.localStorage.getItem("baozhiFormyearValue")?window.localStorage.getItem("baozhiFormyearValue")*1:-1,
  239. studyValue: window.localStorage.getItem("baozhiFormstudyValue")?window.localStorage.getItem("baozhiFormstudyValue")*1:-1,
  240. typeValue: window.localStorage.getItem("baozhiFormtypeValue")?window.localStorage.getItem("baozhiFormtypeValue")*1:0,
  241. },
  242. jingduForm:{
  243. studyValue: this.$route.query.from?this.$route.query.from*1:window.localStorage.getItem("jingduFormstudyValue")?window.localStorage.getItem("jingduFormstudyValue")*1:11,
  244. categoryValue: window.localStorage.getItem("jingduFormcategoryValue")?window.localStorage.getItem("jingduFormcategoryValue"):''
  245. },
  246. currentPage: 1, // 当前页码
  247. page_capacity: 10, // 每页条数
  248. currentPages: 1,
  249. page_capacitys: 8, // 每页条数
  250. searchValue: '',
  251. titleName:this.itemType==='jingdu'?window.localStorage.getItem("jingduFormstudyValueName")?window.localStorage.getItem("jingduFormstudyValueName"):this.itemType==='baozhi'?window.localStorage.getItem("baozhiFormstudyValueName")?window.localStorage.getItem("baozhiFormstudyValueName"):'':'':'',
  252. themeList:[],
  253. jingduStudyList: [
  254. {
  255. study_phase: 11,
  256. study_phase_name: '小学'
  257. },
  258. {
  259. study_phase: 21,
  260. study_phase_name: '初一'
  261. },
  262. {
  263. study_phase: 22,
  264. study_phase_name: '初二'
  265. },
  266. {
  267. study_phase: 23,
  268. study_phase_name: '初三'
  269. }
  270. ]
  271. }
  272. },
  273. //计算属性 类似于data概念
  274. computed: {},
  275. //监控data中数据变化
  276. watch: {},
  277. //方法集合
  278. methods: {
  279. handleClick(form,file,value,name){
  280. window.localStorage.setItem(form+file,value)
  281. if(form==='courseForm'&&file==='categoryValue'&&value==='ZB'){
  282. this.courseForm.studyValue = -1
  283. }else if(form==='courseForm'&&file==='categoryValue'&&value==='LB'){
  284. this.courseForm.studyValue = window.localStorage.getItem("courseFormstudyValue")?window.localStorage.getItem("courseFormstudyValue")*1:-1
  285. }
  286. if(form==='courseForm'&&file==='studyValue'&&this.courseForm.categoryValue==='ZB'){
  287. return false
  288. }
  289. if(name){
  290. this.titleName = name
  291. window.localStorage.setItem(form+'studyValueName',name)
  292. }
  293. this[form][file] = value
  294. this.currentPage = 1;
  295. this.currentPages = 1
  296. this.handleData()
  297. },
  298. handleData(val){
  299. if(val){
  300. if(this.courseForm.categoryValue==='ZB'||this.itemType==='jingdu'){
  301. this.currentPages = val
  302. }else{
  303. this.currentPage = val
  304. }
  305. // this.pageNumber = val
  306. }
  307. let MethodName = "/ShopServer/Client/ShopHomeQuery/PageQueryCourseList"
  308. let data = {
  309. page_capacity: this.courseForm.categoryValue==='ZB'||this.itemType==='jingdu'?this.page_capacitys:this.page_capacity,
  310. cur_page: this.courseForm.categoryValue==='ZB'||this.itemType==='jingdu'?this.currentPages:this.currentPage,
  311. search_content: this.searchValue.trim(),
  312. }
  313. if(this.itemType==='kecheng'){
  314. data.course_type = this.courseForm.categoryValue,
  315. data.study_phase = this.courseForm.studyValue
  316. getLogin(MethodName, data)
  317. .then((res) => {
  318. if(res.status===1){
  319. this.Bookinfo = {
  320. name: this.courseForm.categoryValue==='LB'?'课程':'直播',
  321. number: res.total_count,
  322. numberstr: '共' + res.total_count + '期',
  323. study: this.courseForm.studyValue,
  324. BookList: res.course_list,
  325. bookType: this.courseForm.categoryValue
  326. }
  327. }
  328. })
  329. .catch(() => {
  330. });
  331. }else if(this.itemType==='baozhi'){
  332. MethodName = "/ShopServer/Client/ShopHomeQuery/PageQueryIssueList"
  333. data.year_label = this.baozhiForm.yearValue
  334. data.study_phase = this.baozhiForm.studyValue
  335. data.comb_flag = this.baozhiForm.typeValue==1?null:this.baozhiForm.typeValue
  336. data.album_flag = this.baozhiForm.typeValue==0?null:this.baozhiForm.typeValue
  337. getLogin(MethodName, data)
  338. .then((res) => {
  339. if(res.status===1){
  340. res.issue_list.forEach(item => {
  341. item.course_type="baozhi"
  342. });
  343. this.Bookinfo = {
  344. name: this.titleName,
  345. number: res.total_count,
  346. numberstr: '共' + res.total_count + '期',
  347. study: this.baozhiForm.studyValue,
  348. BookList: res.issue_list,
  349. bookType: 'baozhi'
  350. }
  351. }
  352. })
  353. .catch(() => {
  354. });
  355. }else if(this.itemType==='jingdu'){
  356. if(this.$route.query.form){
  357. MethodName = "/ShopServer/Client/BookshelfQuery/PageQueryMyIreadArticleList_UsePeriod"
  358. data.label = this.jingduForm.categoryValue
  359. data.study_phase = this.$route.query.form*1
  360. getLogin(MethodName, data)
  361. .then((res) => {
  362. if(res.status===1){
  363. this.Bookinfo = {
  364. name: this.titleName,
  365. number: res.total_count,
  366. numberstr: '共' + res.total_count + '期',
  367. study: this.jingduForm.studyValue,
  368. BookList: res.iread_article_list,
  369. bookType: 'jingdu'
  370. }
  371. }
  372. })
  373. .catch(() => {
  374. });
  375. }else{
  376. MethodName = "/ShopServer/Client/ShopHomeQuery/PageQueryIreadArticleList"
  377. data.label = this.jingduForm.categoryValue
  378. data.study_phase = this.jingduForm.studyValue
  379. getLogin(MethodName, data)
  380. .then((res) => {
  381. if(res.status===1){
  382. this.Bookinfo = {
  383. name: this.titleName,
  384. number: res.total_count,
  385. numberstr: '共' + res.total_count + '期',
  386. study: this.jingduForm.studyValue,
  387. BookList: res.iread_article_list,
  388. bookType: 'jingdu'
  389. }
  390. }
  391. })
  392. .catch(() => {
  393. });
  394. }
  395. }
  396. },
  397. handleSizeChange(val,type,page) {
  398. this[type] = val
  399. this[page] = 1;
  400. this.handleData()
  401. },
  402. handleCurrentChange(val,type) {
  403. this[type] = val
  404. this.handleData()
  405. },
  406. changeStudy(form,value){
  407. this.currentPage = 1;
  408. this.currentPages = 1
  409. this[form].studyValue = value
  410. this.handleData()
  411. },
  412. // 学段列表
  413. getStudyList(){
  414. let MethodName = "/OrgServer/DictManager/GetStudyPhaseList"
  415. getLogin(MethodName, {})
  416. .then((res) => {
  417. if(res.status===1){
  418. let studyList = [
  419. {
  420. study_phase: -1,
  421. study_phase_name: '全部'
  422. }
  423. ]
  424. this.studyList = studyList.concat(res.study_phase_list)
  425. this.baozhiStudyList = res.study_phase_list
  426. this.baozhiForm.studyValue = window.localStorage.getItem("baozhiFormstudyValue")?window.localStorage.getItem("baozhiFormstudyValue")*1:res.study_phase_list[0]?res.study_phase_list[0].study_phase:-1
  427. if(this.itemType==='baozhi'){
  428. this.titleName = window.localStorage.getItem("baozhiFormstudyValueName")?window.localStorage.getItem("baozhiFormstudyValueName"):res.study_phase_list[0]?res.study_phase_list[0].study_phase_name:''
  429. }else if(this.itemType==='jingdu'){
  430. this.titleName = window.localStorage.getItem("jingduFormstudyValueName")?window.localStorage.getItem("jingduFormstudyValueName"):res.study_phase_list[0]?res.study_phase_list[0].study_phase_name:''
  431. }else if(this.itemType==='kecheng'){
  432. this.titleName = window.localStorage.getItem("courseFormstudyValueName")?window.localStorage.getItem("courseFormstudyValueName"):res.study_phase_list[0]?res.study_phase_list[0].study_phase_name:''
  433. }
  434. }
  435. })
  436. .catch(() => {
  437. });
  438. },
  439. // 获取年份列表
  440. getYearList(){
  441. this.yearList = [
  442. {
  443. value: -1,
  444. label: '全部'
  445. }
  446. ]
  447. let yearList = []
  448. let MethodName = "/ShopServer/Client/ShopHomeQuery/GetIssueYearLabelList"
  449. getLogin(MethodName, {})
  450. .then((res) => {
  451. if(res.status===1){
  452. res.year_label_list.forEach(nowYear => {
  453. let obj = {
  454. value: nowYear,
  455. label: nowYear
  456. }
  457. yearList.push(obj)
  458. })
  459. this.yearList = this.yearList.concat(yearList)
  460. }
  461. })
  462. .catch(() => {
  463. this.loading = false
  464. });
  465. },
  466. getLabelList(){
  467. this.themeList = [
  468. {
  469. value: '',
  470. label: '全部'
  471. }
  472. ]
  473. let yearList = []
  474. let MethodName = "/ShopServer/Client/ShopHomeQuery/GetIreadArticleLabelList"
  475. getLogin(MethodName, {})
  476. .then((res) => {
  477. if(res.status===1){
  478. res.label_list.forEach(nowYear => {
  479. let obj = {
  480. value: nowYear,
  481. label: nowYear
  482. }
  483. yearList.push(obj)
  484. })
  485. this.themeList = this.themeList.concat(yearList)
  486. }
  487. })
  488. .catch(() => {
  489. this.loading = false
  490. });
  491. }
  492. },
  493. //生命周期 - 创建完成(可以访问当前this实例)
  494. created() {
  495. if(this.itemType==='jingdu'){
  496. this.getLabelList()
  497. }
  498. this.getStudyList()
  499. this.getYearList()
  500. this.handleData()
  501. },
  502. //生命周期 - 挂载完成(可以访问DOM元素)
  503. mounted() {
  504. let _this = this
  505. let input = document.querySelector('input');
  506. input.addEventListener('keyup', function(event) {
  507. // 判断是否按下回车键
  508. if (event.keyCode === 13) {
  509. // 回车键被按下,执行你想要的操作
  510. _this.handleData(1)
  511. }
  512. });
  513. },
  514. //生命周期-创建之前
  515. beforeCreated() { },
  516. //生命周期-挂载之前
  517. beforeMount() { },
  518. //生命周期-更新之前
  519. beforUpdate() { },
  520. //生命周期-更新之后
  521. updated() { },
  522. //生命周期-销毁之前
  523. beforeDestory() { },
  524. //生命周期-销毁完成
  525. destoryed() { },
  526. //如果页面有keep-alive缓存功能,这个函数会触发
  527. activated() { }
  528. }
  529. </script>
  530. <style lang="scss" scoped>
  531. /* @import url(); 引入css类 */
  532. .bookCity {
  533. min-height: 100%;
  534. padding-bottom: 50px;
  535. .banner{
  536. width: 100%;
  537. font-size: 0;
  538. img{
  539. max-width: 100%;
  540. }
  541. .image{
  542. width: 100%;
  543. height: 100%;
  544. }
  545. }
  546. .filt-box{
  547. border-bottom: 1px solid #E5E6EB;
  548. background: #FFFFFF;
  549. .filt-inner{
  550. width: 1200px;
  551. margin: 0 auto;
  552. padding: 40px 0;
  553. h2{
  554. font-weight: 600;
  555. font-size: 16px;
  556. line-height: 24px;
  557. color: #2F3742;
  558. padding: 28px 0;
  559. margin: 0;
  560. }
  561. .filt-item{
  562. display: flex;
  563. margin-bottom: 8px;
  564. label{
  565. width: 52px;
  566. font-weight: 400;
  567. font-size: 16px;
  568. line-height: 32px;
  569. color: #2F3742;
  570. flex-shrink: 0;
  571. }
  572. ul{
  573. list-style: none;
  574. display: flex;
  575. flex-flow: wrap;
  576. padding: 0;
  577. margin: 0;
  578. li{
  579. margin: 0 8px 16px 0;
  580. background: #F2F3F5;
  581. border-radius: 2px;
  582. padding: 3px 11px;
  583. font-weight: 500;
  584. font-size: 16px;
  585. line-height: 24px;
  586. color: #2F3742;
  587. cursor: pointer;
  588. border: 1px solid #F2F3F5;
  589. height: 32px;
  590. box-sizing: border-box;
  591. display: flex;
  592. align-items: center;
  593. &:hover{
  594. color: #165DFF;
  595. }
  596. &.not-allow{
  597. cursor: not-allowed;
  598. background: #F2F3F5;
  599. color: #C1C5CD;
  600. }
  601. &.active{
  602. color: #165DFF;
  603. border-color: #165DFF;
  604. background: #FFFFFF;
  605. .el-icon-success{
  606. margin-right: 4px;
  607. font-size: 12px;
  608. margin-top: 2px;
  609. }
  610. }
  611. &.not-allow.active{
  612. color: #CEDCFE;
  613. border-color: #CEDCFE;
  614. }
  615. }
  616. }
  617. .el-input{
  618. width: 240px;
  619. height: 32px;
  620. background: #F2F3F5;
  621. border-radius: 2px;
  622. }
  623. }
  624. }
  625. }
  626. .main{
  627. width: 1200px;
  628. margin: 52px auto;
  629. }
  630. }
  631. </style>
  632. <style lang="scss">
  633. .bookCity{
  634. .el-breadcrumb__inner.is-link{
  635. color: #4E5969;
  636. &:hover{
  637. color: #165DFF;
  638. }
  639. }
  640. .el-breadcrumb__separator{
  641. color: #C9CDD4;
  642. }
  643. .el-breadcrumb__item:last-child .el-breadcrumb__inner{
  644. color: #1D2129;
  645. font-weight: 500;
  646. }
  647. .filt-box{
  648. input{
  649. height: 32px;
  650. line-height: 32px;
  651. background: #F2F3F5;
  652. border: none;
  653. }
  654. .el-input__icon{
  655. line-height: 32px;
  656. cursor: pointer;
  657. color: #4E5969 !important;
  658. }
  659. .el-input-group__append{
  660. background: #F2F3F5;
  661. border: none;
  662. }
  663. .el-button{
  664. padding: 9px 12px;
  665. }
  666. }
  667. .el-pagination{
  668. text-align: left;
  669. }
  670. }
  671. </style>