System.register(["./index-legacy.a084919e.js"],(function(t,e){"use strict";var a,i,o,r=document.createElement("style");return r.textContent=".upload[data-v-db05e91a]{position:relative;width:800px;height:476px;color:var(--color-black);background:var(--color-white);box-shadow:0 0 20px rgba(0,0,0,.16);border-radius:34px;margin:206px auto 398px}.upload .back[data-v-db05e91a]{position:absolute;top:40px;left:40px;cursor:pointer}.upload .back img[data-v-db05e91a]{width:46px;height:46px;box-shadow:0 0 6px rgba(0,0,0,.16);border-radius:50%}.upload .center[data-v-db05e91a]{width:480px;font-size:24px;line-height:33px;text-align:center;margin:0 auto;padding-top:53px}.upload .center ul[data-v-db05e91a]{margin-top:76px}.center ul li[data-v-db05e91a]{font-size:18px;line-height:26px;margin-bottom:6px;display:flex;align-items:center;justify-content:space-between}ul li .left[data-v-db05e91a]{display:flex;align-items:center}li .left .point[data-v-db05e91a]{width:11px;height:11px;background:#dbdbdb;border-radius:50%;margin-right:20px}li .right .el-button[data-v-db05e91a]{width:86px;height:40px;color:var(--color-white);font-size:14px;background:#999;border:1px solid #999;border-radius:20px}\n",document.head.appendChild(r),{setters:[function(t){a=t.n,i=t.m,o=t._}],execute:function(){t("default",a({name:"upload",data:function(){return{categories:[]}},mounted:function(){var t=this,e=this.$t("common.failure");this.$axios.get("/api/upload_type_list").then((function(a){var i=a.data,o=i.code,r=i.msg,n=void 0===r?e:r,d=i.data,s=void 0===d?[]:d;0==o?(t.categories=s,sessionStorage.setItem("conf_categories",JSON.stringify(s))):t.errors=n})).catch((function(){t.errors=e}))},methods:{toSubcategory:function(t){this.$router.push({path:"/upload/information",query:{id:t,category:i[t]}})}},computed:{nameKey:function(){return this.$store.state.nameKey}}},(function(){var t=this,e=t._self._c;return e("div",{staticClass:"upload"},[e("div",{staticClass:"back"},[e("router-link",{attrs:{to:"/me/profile"}},[e("img",{attrs:{src:o,alt:"back"}})])],1),e("div",{staticClass:"center"},[e("span",{domProps:{innerHTML:t._s(t.$t("upload.index.title"))}}),e("ul",t._l(t.categories,(function(a){return e("li",{key:a.id},[e("div",{staticClass:"left"},[e("div",{staticClass:"point"}),t._v(" "+t._s(a[t.nameKey])+" ")]),e("div",{staticClass:"right"},[e("el-button",{attrs:{type:"primary",round:""},on:{click:function(e){return t.toSubcategory(a.id)}}},[t._v(t._s(t.$t("common.select")))])],1)])})),0)])])}),[],!1,null,"db05e91a",null,null).exports)}}}));
