|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5cfe7d3b"],{"37f3":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"knowledge"},[a("div",{staticClass:"knowledge-wrapper"},[a("div",{staticClass:"zlxc-container",staticStyle:{overflow:"visible"}},[a("div",{staticClass:"bread-crumbs"},[a("el-breadcrumb",{attrs:{separator:"/"}},[a("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),a("el-breadcrumb-item",[t._v("学驾服务")]),a("el-breadcrumb-item",[t._v(t._s("drive"==t.curAtom?"学车须知":"驾驶常识"))])],1)],1),a("div",{staticClass:"cutover"},[a("div",{class:["atom",{action:"drive"===t.curAtom}],on:{click:function(e){return t.tapAtom("drive")}}},[a("p",{staticClass:"atom-title"},[t._v("学车须知")]),t._m(0)]),a("div",{class:["atom",{action:"pilot"===t.curAtom}],on:{click:function(e){return t.tapAtom("pilot")}}},[a("p",{staticClass:"atom-title"},[t._v("驾驶常识")]),t._m(1)])]),a("div",{staticClass:"download-concrete"},[a("div",{staticClass:"list-content"},[t._m(2),a("ul",{staticClass:"list-ul"},t._l(t.dataSheetList,(function(e){return a("li",{key:e.id,staticClass:"list-li",on:{click:function(a){return t.tapJumpDetail(e.id)}}},[a("p",{staticClass:"li-caption"},[t._v(t._s(e.title))]),a("p",{staticClass:"li-time"},[t._v(t._s(e.createTime))])])})),0)])]),a("div",{staticClass:"newest-page"},[a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:t.pageObj.total,"current-page":t.pageObj.pageIndex},on:{"current-change":t.handleCurrentChange}})],1)])])])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"atom-footer"},[s("img",{staticClass:"img",attrs:{src:a("b3e1")}})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticClass:"atom-footer"},[s("img",{staticClass:"img",attrs:{src:a("b3e1")}})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content-title"},[a("p",{staticClass:"caption"},[t._v("标题")]),a("p",{staticClass:"time"},[t._v("发布时间")])])}],c=(a("d3b7"),a("159b"),a("1825")),n=a("cf45"),r={name:"DriveKnowledge",data:function(){return{curAtom:"drive",pageObj:{pageIndex:1,pageSize:10,total:0},dataSheetList:[]}},computed:{},created:function(){this.curAtom=this.$route.query.atomtype,this.getQueryEssayList()},methods:{tapAtom:function(t){t!==this.curAtom&&(this.curAtom=t,this.pageObj.pageIndex=1,this.getQueryEssayList())},getQueryEssayList:function(){var t=this;Object(c["f"])({pageIndex:this.pageObj.pageIndex,pageSize:this.pageObj.pageSize,type:"drive"==this.curAtom?1:2}).then((function(e){e.data.length>0&&(e.data.forEach((function(t){t.createTime=Object(n["a"])(t.createTime)})),t.dataSheetList=e.data,t.pageObj.total=e.count)}))},handleCurrentChange:function(t){this.pageObj.pageIndex=t,this.getQueryEssayList()},tapJumpDetail:function(t){this.$router.push({name:"Details",query:{id:t,type:"knowledge"}})}}},o=r,l=(a("ddd5"),a("2877")),u=Object(l["a"])(o,s,i,!1,null,"4e6f7bf8",null);e["default"]=u.exports},"7a4b":function(t,e,a){},b3e1:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAAAWCAMAAABT/GGLAAAAAXNSR0IArs4c6QAAAJNQTFRFAAAA/5Ur/5I3/5kz/5Yt/54x/5s3/5kz/5s3/5c4/5Y1/5wy/5Y0/5g3+Zo1+pg2+psy+5c0/Jg0/Jo0/Jg0/Jo0/Jo0/Jg0/Zk0/Zk0/Jk0/Jg1/Jo0/Jk0/Jk0/Jk0/Zk0/Zk0/Zk0+5k0/Jk0/Jk0/Jk0/Jk0/Jk0/Jk1/Jk0/Jk0/Jk0/Jk0/Jk0/Jk0/Jk0F557eQAAADB0Uk5TAAwODxEVFxkcICIkJyorLzhASk5UWF1jZ3HAwsTFyMrNztLY3OLj5eju8vb5+/z+QSmIXgAAAJ5JREFUGBntwVdSAgEURcEDQxxJBhBJSlAMhLv/1VkURZFm3i983G6QhQBZCJCFAFkIkIUAWQiQhQBZCEhvrzVVnu1bemPch9K7sm372F4yUpbNK3ZQGOrapocdFUa6tO5ip4pjnVu9YOeSiU6tnrFLyYeO/p6wa+WZDn4fsSyVufZ+Oli22kI7320sT/1T0lcDy/ew1KKORZqDKnflH/PK3xXnN6WQAAAAAElFTkSuQmCC"},ddd5:function(t,e,a){"use strict";a("7a4b")}}]); //# sourceMappingURL=chunk-5cfe7d3b.5a97f420.js.map
|