HelpCenter.85729d9a.js 2.7 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["HelpCenter"],{"19a3":function(t,e,a){"use strict";var n=a("55b2"),s=a.n(n);s.a},"30e2":function(t,e,a){"use strict";var n=a("65d3"),s=a.n(n);s.a},"55b2":function(t,e,a){},"65d3":function(t,e,a){},d678:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mempty"},[a("div",{class:[t.icon?t.icon:"icon_nodata","icon"]}),a("div",{staticClass:"msg"},[t._v(t._s(t.msg?t.msg:"暂无内容"))])])},s=[],i={name:"mempty",props:{icon:String,msg:String}},r=i,o=(a("19a3"),a("2877")),c=Object(o["a"])(r,n,s,!1,null,"67669af7",null);e["a"]=c.exports},d817:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"help"},[t.headerStatus?a("m-header"):t._e(),t.dataStatus?a("van-collapse",{attrs:{accordion:""},model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},t._l(t.dataList,function(e,n){return a("van-collapse-item",{key:n,attrs:{"title-class":"van-ellipsis",title:e.title,name:n}},[a("div",{domProps:{innerHTML:t._s(e.content)}})])}),1):a("m-empty",{key:"data",staticClass:"empty"})],1)},s=[],i=(a("96cf"),a("3b8d")),r=a("6e6e"),o=a("d678"),c=a("ff51"),u=a("b562"),d={name:"courseApply",components:{MHeader:r["a"],MEmpty:o["a"]},data:function(){return{headerStatus:!0,activeNames:[0],dataStatus:!0,dataList:[]}},mounted:function(){var t=this.$route.query;t.Authorization&&(localStorage.setItem("Authorization",decodeURI(t.Authorization)),localStorage.setItem("userInfo",decodeURI(t.Authorization))),document.title="帮助中心",(Object(c["a"])().android||Object(c["a"])().iPhone)&&(this.headerStatus=!1),this.__init()},methods:{__init:function(){var t=Object(i["a"])(regeneratorRuntime.mark(function t(){var e,a,n=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=!0,this.$toast.loading({duration:0,message:"加载中...",forbidClick:!0,loadingType:"spinner"}),a=[],t.next=5,Object(u["g"])().then(function(t){var s=t.data;200==s.code?a=s.data:(n.$toast(s.msg),e=!1)});case 5:if(!(a.length>0)){t.next=10;break}return t.next=8,Object(u["h"])({catalogIds:a[0].id,page:1,rows:100}).then(function(t){var a=t.data;e=!1,200==a.code?(n.dataList=a.data.rows?a.data.rows:[],n.dataList.length>0?n.dataStatus=!0:n.dataStatus=!1):n.$toast(a.msg)});case 8:t.next=11;break;case 10:e=!1;case 11:e||this.$toast.clear();case 12:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},destroyed:function(){this.$toast.clear()}},l=d,m=(a("30e2"),a("2877")),p=Object(m["a"])(l,n,s,!1,null,"444735df",null);e["default"]=p.exports}}]);