(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7d882b10"],{"0790":function(t,a,e){"use strict";var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("van-nav-bar",{attrs:{title:t.title,"left-text":"","left-arrow":""},on:{"click-left":t.back}},[e("van-icon",{attrs:{slot:"left",name:t.backHome?"wap-home":"arrow-left"},slot:"left"})],1)},i=[],s={name:"NavBar",data:function(){return{backHome:!1}},props:{title:{type:String,required:!0,default:""}},created:function(){this.$util.sessionStorage.fetch("backHome")&&(this.backHome=!0)},mounted:function(){},methods:{back:function(){this.backHome?(this.$util.sessionStorage.remove("backHome"),this.$router.push("/")):window.history.length>1?window.history.go(-1):this.$router.push("/")}}},r=s,c=(e("ba46"),e("2877")),o=Object(c["a"])(r,n,i,!1,null,"530892b0",null);o.options.__file="NavBar.vue";a["a"]=o.exports},"8d1f":function(t,a,e){},9378:function(t,a,e){"use strict";var n=e("fbce"),i=e.n(n);i.a},ba46:function(t,a,e){"use strict";var n=e("8d1f"),i=e.n(n);i.a},c427:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"card-wrap"},[e("nav-bar",{attrs:{title:"证件"}}),t._l(t.data,function(a){return e("div",{key:a.id,staticClass:"card flex_sb align-c",on:{click:function(e){t.verification(a)}}},[e("div",{staticClass:"flex align-c"},[e("img",{attrs:{src:a.cardIcon,alt:""}}),e("span",[t._v(t._s(a.cardTypeName))])]),a.content?e("p",{staticClass:"flex_c align-c",class:[{active:"1"==a.status||"2"==a.status},{error:"3"==a.status}]},[t._v(t._s(a.content))]):t._e()])})],2)},i=[],s=(e("c5f6"),e("0790")),r={name:"Card",components:{NavBar:s["a"]},data:function(){return{data:[]}},created:function(){this.getData()},methods:{getData:function(){var t=this,a={};a.url=this.$apis.api_user_card_list,this.$net.req(a,this).then(function(a){0===Number(a.code)?t.data=a.data:t.$Toast(a.meg)},function(a){t.$Toast(a.msg)})},verification:function(t){if("2"!=t.status){var a=this.$store.state.langStr;this.$util.sessionStorage.save("verificationCard",JSON.stringify(t)),this.$router.push({path:"/"+a+"/user/verificationCard"})}}}},c=r,o=(e("9378"),e("2877")),u=Object(o["a"])(c,n,i,!1,null,"c9dc03de",null);u.options.__file="card.vue";a["default"]=u.exports},fbce:function(t,a,e){}}]);
//# sourceMappingURL=chunk-7d882b10.28135b83.js.map