You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.6 KiB

6 months ago
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-620db4f1"],{"0589":function(t,e,s){"use strict";s("5e2e")},"47e7":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"chapter"},[s("div",{staticClass:"chapter-wrapper"},[s("div",{staticClass:"zlxc-container",staticStyle:{overflow:"visible"}},[s("div",{staticClass:"bread-crumbs"},[s("el-breadcrumb",{attrs:{separator:"/"}},[s("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),s("el-breadcrumb-item",[t._v("题库练习")]),s("el-breadcrumb-item",[t._v("专项练习")])],1)],1),s("div",{staticClass:"chapter-choice"},[s("div",{staticClass:"choice-title"},[t._v(" "+t._s(1==t.stepType?"科目一":"科目四")+" 专项练习 ")]),t.chapterDataList&&t.chapterDataList.length>0?s("div",{staticClass:"choice-list"},t._l(t.chapterDataList,(function(e,a){return s("div",{key:e.id,staticClass:"choice-li"},[s("p",{staticClass:"li-title"},[s("span",{staticClass:"section"},[t._v("第"+t._s(a+1)+"项")]),t._v(t._s(e.title)+" ")]),s("ul",{staticClass:"li-question"},[s("li",{staticClass:"question",on:{click:function(s){return t.tapSequencePractise(e.id)}}},[s("p",{staticClass:"que-circle"}),s("p",{staticClass:"que-literal"},[t._v("顺序答题")])]),s("li",{staticClass:"question",on:{click:function(s){return t.tapRandomPractise(e.id)}}},[s("p",{staticClass:"que-circle"}),s("p",{staticClass:"que-literal"},[t._v("随机答题")])])])])})),0):s("el-empty",{attrs:{"image-size":200}})],1)])])])},i=[],c=s("1825"),r={name:"SpecialPractice",data:function(){return{carType:"car",stepType:1,chapterDataList:[]}},computed:{},created:function(){this.carType="trolley"==this.$route.query.carType?"car":this.$route.query.carType,this.stepType="branchOne"==this.$route.query.stepType?1:4,this._getTestCenterList()},methods:{_getTestCenterList:function(){var t=this;Object(c["b"])({carType:this.carType,stepType:this.stepType}).then((function(e){e.data.length>0&&(t.chapterDataList=e.data)}))},tapSequencePractise:function(t){this.$router.push({name:"Practise",query:{carType:this.carType,stepType:1==this.stepType?"branchOne":"branchFour",isOrder:"order",exerciseType:"special",knowType:t}})},tapRandomPractise:function(t){this.$router.push({name:"Practise",query:{carType:this.carType,stepType:1==this.stepType?"branchOne":"branchFour",isOrder:"noorder",exerciseType:"special",knowType:t}})}},watch:{}},n=r,p=(s("0589"),s("2877")),l=Object(p["a"])(n,a,i,!1,null,"0a0bbc2a",null);e["default"]=l.exports},"5e2e":function(t,e,s){}}]);
  2. //# sourceMappingURL=chunk-620db4f1.106ef061.js.map