chunk-b1855c92.4435d748.js 13 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b1855c92"],{"163b":function(t,a,e){},"32b6":function(t,a,e){},5705:function(t,a,e){},6835:function(t,a,e){"use strict";e("57e7"),e("28a5");var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"contribute-info"},[a("div",{staticClass:"header"},[a("div",{staticClass:"left"},[a("img",{staticClass:"icon",attrs:{src:t.icon,alt:""}}),a("div",{staticClass:"name"},[t._v("\n "+t._s(t.params.title)+"."+t._s(t.params[t.file_path]?t.params[t.file_path].split(".")[t.params[t.file_path].split(".").length-1]:"")+"\n ")])]),a("div",{staticClass:"again",on:{click:function(a){return t.$emit("handleAgain")}}},[t._v("重新上传")])]),t.showFileIcon?a("div",{staticClass:"item"},[a("div",{staticClass:"label"},[t._v("*文件:")]),a("div",{staticClass:"file-icon"},[a("div",{staticClass:"file-icon-content"},[a("div",{staticClass:"file-icon-img-box"},[a("img",{staticClass:"file-icon-img",attrs:{src:t.fileIcon}})]),t._m(0)])])]):t._e(),a("div",{staticClass:"item"},[a("div",{staticClass:"label"},[t._v("*标题:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.params.title,expression:"params.title"}],staticClass:"title",domProps:{value:t.params.title},on:{input:function(a){a.target.composing||t.$set(t.params,"title",a.target.value)}}})]),a("div",{staticClass:"item"},[a("div",{staticClass:"label"},[t._v("*标签:")]),a("div",{staticClass:"tags-box"},[t._l(t.tagsList,(function(s,i){return a("div",{key:i,staticClass:"tag"},[a("span",[t._v(t._s(s))]),a("img",{staticClass:"icon",attrs:{src:e("f2c3")},on:{click:function(a){return t.delTag(i)}}})])})),a("input",{directives:[{name:"model",rawName:"v-model",value:t.tagValue,expression:"tagValue"},{name:"show",rawName:"v-show",value:20!=t.tagsList.length,expression:"tagsList.length != 20"}],staticClass:"entry",attrs:{type:"text",placeholder:"按回车键Enter创建标签"},domProps:{value:t.tagValue},on:{keydown:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.addTag.apply(null,arguments)},input:function(a){a.target.composing||(t.tagValue=a.target.value)}}}),a("div",{staticClass:"tips"},[t._v("还可以添加"+t._s(20-t.tagsList.length)+"个标签")])],2)]),a("div",{staticClass:"item"},[a("div",{staticClass:"label"},[t._v("简介:")]),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.params.desc,expression:"params.desc"}],staticClass:"desc",attrs:{placeholder:"填写更全面的信息,让更多人看到你吧!"},domProps:{value:t.params.desc},on:{input:function(a){a.target.composing||t.$set(t.params,"desc",a.target.value)}}})]),a("div",{staticClass:"item"},[a("div",{staticClass:"label"}),a("div",{staticClass:"btn-box"},[a("div",{staticClass:"btn confirm",on:{click:function(a){return t.$emit("confirm")}}},[t._v("立即投稿")]),a("div",{staticClass:"btn cancel",on:{click:function(a){return t.$emit("cancel")}}},[t._v("取消")])])])])},i=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"file-icon-tips"},[a("span",[t._v("支持pdf、word、压缩文件等多种格式,单个文件最大支持20MB")])])}],n=e("325c"),c=e("f523"),r={name:"ContributeInfo",props:{params:{type:Object},icon:{type:String},file_path:{type:String},showFileIcon:{type:Boolean,default:!1}},data:function(){return{tagsList:[],tagValue:""}},computed:{fileType:function(){return Object(n["f"])(this.params[this.file_path]||"")},fileIcon:function(){return Object(n["e"])("".concat(this.fileType,"_refer"))}},methods:{addTag:function(){this.tagValue&&20!=this.tagsList.length&&(this.tagsList.push(this.tagValue),this.params.label=this.tagsList.join(","),this.tagValue="")},delTag:function(t){this.tagsList.splice(t,1),this.params.label=this.tagsList.join(",")},uploadImage:function(t){var a=this;Object(c["n"])(t.file).then((function(t){var e=t.data;a.params.cover=e}))}}},l=r,o=(e("ecc3"),e("2877")),p=Object(o["a"])(l,s,i,!1,null,"30ad7116",null);a["a"]=p.exports},"6ffc":function(t,a,e){"use strict";e("7f7f");var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"contribute-tab"},t._l(t.tabList,(function(e,s){return a("div",{staticClass:"tab-item",class:{select:s==t.current},on:{click:function(a){s?t.$router.push("contact-online"):t.$emit("changeTab",s)}}},[t._v("\n "+t._s(e.name)+"\n ")])})),0)},i=[],n=(e("c5f6"),{name:"ContributeTab",props:{current:{type:Number,default:0}},data:function(){return{tabList:[{name:"无偿投稿"},{name:"有偿投稿"}]}}}),c=n,r=(e("b729"),e("2877")),l=Object(r["a"])(c,s,i,!1,null,"11e1fca0",null);a["a"]=l.exports},"7be6":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAABoCAYAAAAdHLWhAAAAAXNSR0IArs4c6QAADZtJREFUeF7tXX10FNUV/73Z2dkJJLaKpa0KAoogiAYt4uGjCn4RxCKeLKBU0ET8SJEvo4AKRCmIGJAYP1pFUBGEJAVE1CqKpxi/Gi2KVED0KKDIARE1UXZmd+f1vN0uJEt2583szOxs2Dknf+V93Hd/e9+779777iXIfq7mAHE1dVnikAXI5T+CLEBZgGzmgJ9KAHLhRR7Cal5kNo9UjyDqATSgmqg2U2Dr8JkhQQwEEuoFhLoBpAs0dAEif+0B6kvOIaIA2AVgOwRsB+h2QPwUVKzLBPDcCVAZFbAt2AshOhCEDgDQD5TmWPpTJeQQgFpQ8iZEsgFdvXUoI5qlc1gwmLsA8is9AHodQEeB4iQL1sc/BMEegCwDyFJU+z7h72hvy/QD5Kc5IEoRKG4Epfn2LpdzdEI+AsEiUN9iVEckLW1f+gAqonloUEugaZMBtE0bB5JPvA+CsAC50mNYTJjS4fjnPEDXUxkNaikInQxKj3d8xWYmJOQgKGFAleNpEjAzhNk+zgI0IlAADZWg9DSzBKe1HyFfQMBtWCm/4hQdzgA0krZDWKkApcOcWpit8xCyGh7fBKwgu22dB3DA1DNCGQqNLsmY7YyX42zbE8gNWOl7gbeLmXb2SVDkcqk8AI1ONENYxvQRyEJQ3xS7Lr32AOSnJwOB1aDolTGMToVQgjpAHoZq8k0qwzTX13qArlG6IqS9CsrMM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YCQ02//NPoadjSWUjW5070jJXFokYVyBi69cauk9yufQ4lpY59iNyQWLz1j7gk/kSZq8K46kNLtbcHE9sHjEBuaM0wAWdCTZ9SQ2/H0phszLWNW2lAaIgZYtrJIMrrcU1YoRly9MkgsgF5WlipGULPDUFyVUFno7cj7Il0hgvGDgEV6FKft3YYdV869R9yo3HzRYZdHGRwcZnUrZMpxXCExnDWgk6vN1lC91ahZA9AMXuSdlS0SnjZB9AMdKyxdZTAsl+gI4YWCtaTGEoZpX2+CYYraZlBilnADosTYECaKjM2BpEzNkm4DYjBZrMgNK4j7MAsZmZZ7ZBLQWhkzOm3A1zFVCyALlSOW9hplSBifV3HqDYzCwQpUEtgaZNdnFllX0QBAbMYzy1fqwCJb0SFL8KVv4GSjGAYtcU8WARnwSLQH2L9crH2AGKuwBqTA2LBQe9DqCjHC9JwF4ZgCwDyNJkxS7sBiR+/PRtcclWWkYFbAv2QogOBKEDAfS1PId3JFc13gYlGyCSDejqrUtUP8FpUNwrQYk4wZyDJNQLCHUDSBdo6AJE/trrZ0QhLHvkLgDbIWA7QLcD4qegYp3Z+tpOAuZOCTLCAQZeDvKgBvJAhdyoAUtrgCTX4xDqMwGEZMvNfICMgJmBbbMAuRy0LEBZgFzOAZeT9z/C376lwgux6QAAAABJRU5ErkJggg=="},"842c":function(t,a,e){t.exports=e.p+"img/yunshangchuan.04bc9d18.png"},"96be":function(t,a,e){"use strict";var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"contribute-upload"},[a("el-upload",{ref:"upload",staticClass:"upload-body",attrs:{drag:"",action:"-","show-file-list":!1,"http-request":t.httpRequest,accept:t.accept}},[a("div",{staticClass:"upload-content"},[a("img",{staticClass:"icon",attrs:{src:e("842c"),alt:""}}),a("div",{staticClass:"info"},[t._v(t._s(t.tipValue))]),a("div",{staticClass:"btn"},[t._v(t._s(t.btnValue))])])]),t.maskShow?a("div",{staticClass:"mask"},[a("el-progress",{attrs:{type:"circle",percentage:t.percentage}})],1):t._e()],1)},i=[],n=(e("c5f6"),{name:"ContributeUpload",props:{accept:{type:String,default:""},httpRequest:{type:Function,required:!0},btnValue:{type:String,default:""},tipValue:{type:String,default:""},maskShow:{type:Boolean,default:!1},percentage:{type:Number,default:0}}}),c=n,r=(e("fa8d"),e("2877")),l=Object(r["a"])(c,s,i,!1,null,"4a70bb2a",null);a["a"]=l.exports},aa77:function(t,a,e){var s=e("5ca1"),i=e("be13"),n=e("79e5"),c=e("fdef"),r="["+c+"]",l="​…",o=RegExp("^"+r+r+"*"),p=RegExp(r+r+"*$"),A=function(t,a,e){var i={},r=n((function(){return!!c[t]()||l[t]()!=l})),o=i[t]=r?a(u):c[t];e&&(i[e]=o),s(s.P+s.F*r,"String",i)},u=A.trim=function(t,a){return t=String(i(t)),1&a&&(t=t.replace(o,"")),2&a&&(t=t.replace(p,"")),t};t.exports=A},b729:function(t,a,e){"use strict";e("163b")},c5f6:function(t,a,e){"use strict";var s=e("7726"),i=e("69a8"),n=e("2d95"),c=e("5dbc"),r=e("6a99"),l=e("79e5"),o=e("9093").f,p=e("11e9").f,A=e("86cc").f,u=e("aa77").trim,g="Number",f=s[g],d=f,v=f.prototype,m=n(e("2aeb")(v))==g,C="trim"in String.prototype,b=function(t){var a=r(t,!1);if("string"==typeof a&&a.length>2){a=C?a.trim():u(a,3);var e,s,i,n=a.charCodeAt(0);if(43===n||45===n){if(e=a.charCodeAt(2),88===e||120===e)return NaN}else if(48===n){switch(a.charCodeAt(1)){case 66:case 98:s=2,i=49;break;case 79:case 111:s=8,i=55;break;default:return+a}for(var c,l=a.slice(2),o=0,p=l.length;o<p;o++)if(c=l.charCodeAt(o),c<48||c>i)return NaN;return parseInt(l,s)}}return+a};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var a=arguments.length<1?0:t,e=this;return e instanceof f&&(m?l((function(){v.valueOf.call(e)})):n(e)!=g)?c(new d(b(a)),e,f):b(a)};for(var h,E=e("9e1e")?o(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;E.length>k;k++)i(d,h=E[k])&&!i(f,h)&&A(f,h,p(d,h));f.prototype=v,v.constructor=f,e("2aba")(s,g,f)}},ecc3:function(t,a,e){"use strict";e("32b6")},f2c3:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAwtJREFUWEfNmM9PE1EQx7/T7QKBlEC7e+Biol408QASIVHCyejBs0biXSVR459iIok/zhKNdw4aTwRNgFS4GDhoTLxAsq+F0EAs23bMLF2zlHb37bZN2uO+eTOfvpl582YIMX/7+/vnXde9TUQzAC4z8zkAmbqaEhH9AbDFzCumaX4aGRn5HccE6Qgzc0opdQ/AEwDXAWjtA8AAvgFYsCzrIxHVouxFKlZK3WTmlwAuRSkLWyeiLQDPLMv6EirXapGZB4rF4gtmfsjMkeA6sETERPQ2m80+J6K/zfY0NbSzs2On0+klANd0DCWQWa9UKnfGxsacxr1ngATGNM1lZm7LRVGQRLTtuu5sI9QpIHFToVAQmG6dTCPnumVZs0H3nQIqFAqva7Xao6h/18n1VCr1JpfLPfZ1/geSbALwuVMBrAstgQ7glp99HlD9nvnRbmrrQpwJZKKtXC53Re4pD6hYLN6vVqvvkyrsxD7DMOay2ewHD8hxnBUAN6IU5/N5uK6LiYkJ9Pf3h4qXy2VsbGzANE1MTk5GqZb1r7Ztz9Du7u4FwzB+6pSDtbU1HBwcYHBw0DPSCkpgBP7o6AjDw8OYmprSAWLTNC+S4zgS4a90dhwfH3uGDg8PW0IFYYaGhjzwvr4+HfUiM09KqXfM/EB3RxhUmzAgokUByjPzVV0gkWsGJd99NyU4Gc88EX0Xl0k9seIANYOSbxIzSWHq9pUASdUNT5kWtMGTEpE2YURFuS2gYMyItqjs0/CCB5TIZUEYAfFd1iaUShTUjTD+xecHdVIoL6jjpn0zGP+CDFvTcNdJ2se5GHUM6siEwM1Tva35pVM6VldXUSqVIoM3CJXJZDA9Pa1zQCelI25xrVQqGB8f1yqum5ubSKfT8YqrAPXC8wPAnG3bJ8+PnnugCVRPPWH9iOupR37ddQNKqeUuNoiN2RbeBol0TzWKPn4daqlbDSMRrbuuq9dK+1A9NWwIOrpT4xgA20T0NPE4JgjFzMbe3t7darWaaGBlGMbC6OhoZwZWjWnR7ZHeP2HLCzN5PiMhAAAAAElFTkSuQmCC"},fa8d:function(t,a,e){"use strict";e("5705")},fdef:function(t,a){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
  2. //# sourceMappingURL=chunk-b1855c92.4435d748.js.map