(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2146eed7"],{"07a2":function(e,t,a){"use strict";a("3f49")},"3f49":function(e,t,a){},"6a04":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-cascader",{staticStyle:{width:"50%"},attrs:{options:e.options,filterable:"",size:"medium"},on:{change:e.valchange},model:{value:e.areaSelect,callback:function(t){e.areaSelect=t},expression:"areaSelect"}})},n=[],l=a("3835"),o=a("b85c"),r=a("1da1"),c=a("d4ec"),s=a("bee2"),u=a("262e"),d=a("2caf"),p=(a("4ec9"),a("d3b7"),a("3ca3"),a("ddb0"),a("96cf"),a("9ab4")),h=a("1b40"),v=a("bc3a"),m=a.n(v),b=function(e){Object(u["a"])(a,e);var t=Object(d["a"])(a);function a(){var e;return Object(c["a"])(this,a),e=t.apply(this,arguments),e.options=[],e.areaData={},e.areaSelect=[],e}return Object(s["a"])(a,[{key:"mounted",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.initArea&&(t=this.getCcode(this.initArea),a=this.getPcode(this.initArea),this.areaSelect=[a,t,this.initArea]),e.next=3,this.prepareRegion();case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"updateArea",value:function(e){if(e){var t=this.getCcode(e),a=this.getPcode(e);this.areaSelect=[a,t,e]}}},{key:"prepareRegion",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,a,i,n,r,c,s,u,d,p,h,v,m,b,f,y,g,j,O,C,w,k,x,_,S,I,$,P,R,q,E;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.fetchData();case 2:for(r in t=e.sent,this.areaData=t,a=new Map,i=new Map,n=new Map,t)c=+r,c%1e4==0?a.set(c,t[c]):c%100==0?(s=this.getPcode(c),i.has(s)?(u=i.get(s),u.push([c,t[c]])):i.set(s,[[c,t[c]]])):(d=this.getCcode(c),n.has(d)?(p=n.get(d),p.push([c,t[c]])):n.set(d,[[c,t[c]]]));h=Object(o["a"])(n);try{for(h.s();!(v=h.n()).done;)m=Object(l["a"])(v.value,2),b=m[0],m[1],f=this.getPcode(b),i.has(f)||i.set(f,[[b,a.get(f)]])}catch(B){h.e(B)}finally{h.f()}y=[],g=Object(o["a"])(a);try{for(g.s();!(j=g.n()).done;){if(O=Object(l["a"])(j.value,2),C=O[0],w=O[1],k=[],i.has(C)){x=i.get(C),_=Object(o["a"])(x);try{for(_.s();!(S=_.n()).done;){if(I=S.value,$=[],n.has(I[0])){P=n.get(I[0]),R=Object(o["a"])(P);try{for(R.s();!(q=R.n()).done;)E=q.value,$.push({value:E[0],label:E[1]})}catch(B){R.e(B)}finally{R.f()}}k.push({value:I[0],label:I[1],children:$})}}catch(B){_.e(B)}finally{_.f()}}y.push({value:C,label:w,children:k})}}catch(B){g.e(B)}finally{g.f()}return this.options=y,e.abrupt("return",y);case 15:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"fetchData",value:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t="https://passer-by.com/data_location/list.json",e.abrupt("return",m.a.get(t,{}).then((function(e){return e.data})));case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"valchange",value:function(e){this.$emit("update",this.areaSelect[this.areaSelect.length-1]);var t,a="",i=Object(o["a"])(this.areaSelect);try{for(i.s();!(t=i.n()).done;){var n=t.value;this.areaData.hasOwnProperty(n)&&(a&&(a+="-"),a+=this.areaData[n])}}catch(l){i.e(l)}finally{i.f()}this.$emit("area-change",a)}},{key:"getPcode",value:function(e){return 1e4*(e/1e4|0)}},{key:"getCcode",value:function(e){return 100*(e/100|0)}}]),a}(h["c"]);Object(p["a"])([Object(h["d"])("initArea")],b.prototype,"updateArea",null),b=Object(p["a"])([Object(h["a"])({name:"RegionPicker",props:["initArea"],model:{prop:"initArea",event:"update"}})],b);var f=b,y=f,g=a("0c7c"),j=Object(g["a"])(y,i,n,!1,null,null,null);t["a"]=j.exports},"6b45":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"upload-container"},[a("el-upload",{staticClass:"image-uploader",attrs:{data:e.dataObj,name:"image-file",accept:"image/jpeg,image/gif,image/png",multiple:!1,"show-file-list":!1,"on-success":e.handleImageSuccess,drag:"",action:e.uploadUrl}},[a("i",{staticClass:"el-icon-upload"}),a("div",{staticClass:"el-upload__text"},[e._v(" 将文件拖到此处,或"),a("em",[e._v("点击上传")])])]),a("div",{staticClass:"image-preview"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.imageUrl.length>1,expression:"imageUrl.length>1"}],staticClass:"image-preview-wrapper"},[a("img",{attrs:{src:e.imageUrl}}),a("div",{staticClass:"image-preview-action"},[a("i",{staticClass:"el-icon-delete",on:{click:e.rmImage}})])])])],1)},n=[],l=a("d4ec"),o=a("bee2"),r=a("262e"),c=a("2caf"),s=a("9ab4"),u=a("1b40"),d=function(e){Object(r["a"])(a,e);var t=Object(c["a"])(a);function a(){var e;return Object(l["a"])(this,a),e=t.apply(this,arguments),e.uploadUrl="https://opm.kingsome.cn/api/upload",e.tempUrl="",e.dataObj={sub_path:"game",type:"image"},e}return Object(o["a"])(a,[{key:"imageUrl",get:function(){return this.value}},{key:"emitInput",value:function(e){this.$emit("input",e)}},{key:"rmImage",value:function(){this.emitInput("")}},{key:"handleImageSuccess",value:function(e){console.log(e),this.emitInput(e.url_cdn)}}]),a}(u["c"]);Object(s["a"])([Object(u["b"])({default:""})],d.prototype,"value",void 0),d=Object(s["a"])([Object(u["a"])({name:"UploadImage"})],d);var p=d,h=p,v=(a("961d"),a("0c7c")),m=Object(v["a"])(h,i,n,!1,null,"62f54f8e",null);t["a"]=m.exports},"961d":function(e,t,a){"use strict";a("b43b")},b43b:function(e,t,a){},b804:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{style:{height:e.height,zIndex:e.zIndex}},[a("div",{class:e.className,style:{top:e.isSticky?e.stickyTop+"px":"",zIndex:e.zIndex,position:e.position,width:e.width,height:e.height}},[e._t("default",[a("div",[e._v("sticky")])])],2)])},n=[],l=a("d4ec"),o=a("bee2"),r=a("262e"),c=a("2caf"),s=(a("0d03"),a("d3b7"),a("25f0"),a("9ab4")),u=a("1b40"),d=function(e){Object(r["a"])(a,e);var t=Object(c["a"])(a);function a(){var e;return Object(l["a"])(this,a),e=t.apply(this,arguments),e.active=!1,e.position="",e.isSticky=!1,e.width="auto",e.height="auto",e}return Object(o["a"])(a,[{key:"mounted",value:function(){this.height=this.$el.getBoundingClientRect().height.toString()+"px",window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize)}},{key:"activated",value:function(){this.handleScroll()}},{key:"destroyed",value:function(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize)}},{key:"sticky",value:function(){this.active||(this.position="fixed",this.active=!0,this.width=this.width+"px",this.isSticky=!0)}},{key:"handleReset",value:function(){this.active&&(this.position="",this.width="auto",this.active=!1,this.isSticky=!1)}},{key:"handleScroll",value:function(){var e=this.$el.getBoundingClientRect().width;this.width=e.toString()+"px"||!1;var t=this.$el.getBoundingClientRect().top;t