12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1893d932"],{"088b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAwlJREFUWEfNmE1oE0EUx/9vt7GLKB5WJYIIVQ8qoiBYRUtBET30JhhaPBVNNlM09KJ48uBJ9FKiZLKJ0ovSEsGbB0UUpIofKCiiPRQKIhjUHESR1CH7ZMpG0tjapI1l5jpv3vzmvXkfM4QmRz6f76hUKkcAdAHYyswbAKwM1Xwnog8A3gMYs237bjwen2xmC2pEuFAo2KVS6RiAUwD2AWhoHQAG8ATAVdd1b8Viscp8+82rOJfLHapUKlcAbKlaAcAdAA8AvFZKTUaj0W96rlgsropEIh0AdgI4CKCnxnrjtm2fTiQS9/8FNSfQ8PCwUy6Xh4gowcxaboKILhLRiOd5P+c7qZ73fX85M/cx8zkAm4mImTnnOM5gf39/eTYdswKl0+k1kUhEW2E3gLJlWecBDHmepxoBqZfxfT8CYDAIggsAHAAvlFI9qVTqS73sX0AhzKPQRZ+Y+ejAwMDThYDUr8lkMnuJ6DaAdQDGlVLd9VAzgEI3aRhtmTfhKT62AqaqI51Orw+tv0NbynGc7lr3zQCSUmYBeAA+KaU6U6lUS2HqoJ6HlvKFEMnq3B8gHU1BENxj5ilmPtAqN81l3dB9D4mo3bKsw9XomwYK88xbfW8syzrred7lVrppLl2+758JguCSvk+u627XeWoaSErZC2BEh7ZlWdsWGk3NHkJHXxAE73RKANAnhBitAo0B2E9EJ5PJ5PVmFS9GPpvNnmDmawAeCyG6KJPJbCSiCQA/LMuKNpr0FgNRu1YnzyAIigBWtLW1baJsNptkZglgVAjR16qNmtEjpdTXpZeIhAa6wczHASSEEPlmFLVKVkoZB5Ajopsa6CUz7wKwRwihc8OSDyllJ4BnRPSKpJS6nqxWSq2drbYsBV1Yrj4D+KqBdNVtd123PRaL/VoKgPo9CoXCslKpNAVgykggs1xm3KU2MezNSozGlY6w2ptTXI1sP4xr0LSVjGphq6ncqCZfQxn3DNJQRj0Ua95N5jylq1BGfTbU9ivGfMfUQhn1YVXf3enap5++/+tL7zfuJypjTGintwAAAABJRU5ErkJggg=="},"15fd":function(t,e,a){"use strict";function n(t,e){if(null==t)return{};var a,n,i={},r=Object.keys(t);for(n=0;n<r.length;n++)a=r[n],e.indexOf(a)>=0||(i[a]=t[a]);return i}function i(t,e){if(null==t)return{};var a,i,r=n(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)a=s[i],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(r[a]=t[a])}return r}a.d(e,"a",(function(){return i}))},"1be0":function(t,e,a){"use strict";a("4d4f")},"4d4f":function(t,e,a){},"4f7f":function(t,e,a){"use strict";var n=a("c26b"),i=a("b39a"),r="Set";t.exports=a("e0b8")(r,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return n.def(i(this,r),t=0===t?0:t,t)}},n)},"5df3":function(t,e,a){"use strict";var n=a("02f4")(!0);a("01f9")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,a=this._i;return a>=e.length?{value:void 0,done:!0}:(t=n(e,a),this._i+=t.length,{value:t,done:!1})}))},"67ab":function(t,e,a){var n=a("ca5a")("meta"),i=a("d3f4"),r=a("69a8"),s=a("86cc").f,o=0,c=Object.isExtensible||function(){return!0},A=!a("79e5")((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,n,{value:{i:"O"+ ++o,w:{}}})},u=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!r(t,n)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[n].i},f=function(t,e){if(!r(t,n)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[n].w},g=function(t){return A&&d.NEED&&c(t)&&!r(t,n)&&l(t),t},d=t.exports={KEY:n,NEED:!1,fastKey:u,getWeak:f,onFreeze:g}},"7a562":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAARtJREFUSEvt1DFuwjAUBuDfVqQKsTGwMFYV1wAh0Qv4ZecePURv0DGKvESEnR22jr1BJQZGS4kIikSkEBL8bFqmZLRsf/Hv9yzw5E882UMP/nnifaT/GykRfQJ4Ncas0jQ9PKIR0QTAF4Cd1vqj2uvqDpVSv0KIMYBvY8zCF71gWwBvAH601tNWMAzDeVEUKYChL9rAjlLKZRzH+1awHFRKzYQQGx/UhpX7t7aFD8rBOkHXk3Kxu2AbGgTBIoqiq+p1waygDXXFWGAXmuf5C4Cq9G+qsauH2W9ps5AADC59xsbYJ6z+toGWw06YM1iLdw0gl1K+15ua8xSyI61vRkSjLMtOSZIcOUh9jhfoivTgI4lZ1/Z3aI3IdcIZGECYHR03CRQAAAAASUVORK5CYII="},"7bcf":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA0tJREFUWEfNmEtoE0EYx//fpq+kLfVQr4JPLHgS9KClpCgbRa8FH3dtQcWDhaQIxYMmiIpYwcfZotKT2FK6PtCS9lLsQQQDWl94sj0opdmkTfaT2e22m1ezk00hc5z95vt+O99rZgiSQ72qb6eMEWJQJwgdxLyNQa1CDYEXmegXGJ8JHM9gRXsT2/JNxgS5Ee7pYd+/3XoPDFwA+JBp291ggKah4H7bF//IyAhlyy0rqzgU1o8yskMA7S2nbOPvnCD4Lk7E/K83kisJFBzkpobl1F2wcd4biHM1MYgeLzc0XX53jVLF9BYFOh5Z3Gqwb4zBB6oHs66JQDMKZU+MR1vn8/UXAAmYLHyTYPboojK/QpTwIduVD5UDJNzUmNYnN2tnCneDZtKN/i6n+3KA1Ij+sLox48LhpDzSov5eW3INyMom1gAum3kuzEiIEBNItbPPNG7WmZ36J2Bz44YZC4pCz8F8kAFHwlCibc6/T9QpE0gdSJ6CwU8lfktelOh7RqHut9f9P4ODXNeQTn4E0LGmSKHT2o3AMwsokoyD+bC8FZcrHDD2CjW89BLASUcxmNJigU46Ev67w4f6rxLtwCXFmtiPjE8Jip2xZ0IDejcbPAFwvUMZZ7Gyi0LhpV4GHshacSlfAHMsrAcN8CjAzUWKYh+p4eQTgM+6NCAjJgVjKaZhUiPJD2DeX2iJ7wHKNMCXAIgOLzMqgBE8NCtcNs9Ae641eq/FAkExZzbZdPKFiH2XRJXBWEG8IFyWArgxz9iUFmvutOckoCqGWXVZuhQQQNyvRVtuSUB5hDFjKF3CZeZHJhj9E7GW2y6gSsAYowAKsqmU6y2XlQxq11BVgbGSjGZdpP2GO7Unv+hZdUZuZxzVephC4VQvI1umMBaH8ut6+/jNwG9boTcYM8v6JFpHIZQzFrzCALBah1CqhpNxwE1zLQ5VBRgRQFZzNYGkjh/ETLjyKhq4I9ZWBwaA8/hRyQGNgTEw/hDRmSKF1WVRt8U40TbXvH5AE9M1dYS1OWvqkG830pq6Bgmomroo2q6rqat0TiM1Hxv4XPXuahU+NjhzdjX7hrzf2Tw+xzihPD1YEU2DqvhglV/hxLWpDvVq+Sc9JZ5BSvpJ7z8dYRRfFYgXpwAAAABJRU5ErkJggg=="},"7f7f":function(t,e,a){var n=a("86cc").f,i=Function.prototype,r=/^\s*function ([^ (]*)/,s="name";s in i||a("9e1e")&&n(i,s,{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(t){return""}}})},"8c08":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrap"},[e("div",{staticClass:"header"},[e("img",{staticClass:"return-img",attrs:{src:a("f5a4"),alt:""},on:{click:function(e){return t.back()}}}),e("p",{staticClass:"header-title"},[t._v("无偿投稿文章")])]),0===t.percentage&&0===t.urlTemp.length?e("div",{staticClass:"upload-wrap"},[e("van-uploader",{staticClass:"upload-box",attrs:{"after-read":t.afterRead,accept:t.INFORMATION_UPLOAD_FILE_TYPE}},[e("div",{staticClass:"upload-box"},[t._v("\n 支持上传WORD/PDF/压缩文件\n "),e("span",[t._v("上传文件")])])])],1):e("div",{staticClass:"free-articles-wrap"},[e("img",{staticClass:"free-articles-icon",attrs:{src:a("e0e8"),alt:""}}),t.percentage<100?e("div",{staticClass:"free-articles-sidebar"},[t._m(0),e("van-progress",{staticClass:"progress-bar-box",attrs:{color:"#0054F7",percentage:t.percentage,"show-pivot":!1}})],1):e("div",{staticClass:"free-articles-sidebar"},[e("div",{staticClass:"free-articles-row-between"},[e("div",{staticClass:"free-articles-left"},[t._v("\n "+t._s(t.params.fileName)+"\n ")]),t.urlTemp.length>0?e("van-uploader",{attrs:{"after-read":t.afterRead,accept:"*"}},[e("div",{staticClass:"free-articles-right"},[e("img",{attrs:{src:a("a8f9"),alt:""}}),t._v("重新上传\n ")])]):t._e()],1)])]),e("div",{staticClass:"textarea-wrap"},[e("van-field",{staticClass:"textarea",attrs:{rows:"2",autosize:"",type:"textarea",maxlength:"80",placeholder:"给文章起个标题吧(必填)","show-word-limit":""},model:{value:t.params.title,callback:function(e){t.$set(t.params,"title",e)},expression:"params.title"}})],1),e("tags-edit",{model:{value:t.params.label,callback:function(e){t.$set(t.params,"label",e)},expression:"params.label"}}),e("div",{staticClass:"brief-introduction-wrap"},[e("p",{staticClass:"brief-introduction-label"},[t._v("简介")]),e("div",{staticClass:"brief-introduction-textarea-box"},[e("van-field",{staticClass:"brief-introduction-textarea",attrs:{rows:"4",autosize:"",type:"textarea",maxlength:"300",placeholder:"请填写简介","show-word-limit":""},model:{value:t.params.desc,callback:function(e){t.$set(t.params,"desc",e)},expression:"params.desc"}})],1)]),e("div",{staticClass:"fooer"},[e("div",{staticClass:"bottom-row"},[e("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){t.selected=!t.selected}}},[t.selected?e("img",{staticClass:"circle-img",attrs:{src:a("7bcf"),alt:""}}):e("img",{staticClass:"circle-img",attrs:{src:a("088b"),alt:""}})]),t._v("\n 我已阅读并同意\n "),e("span",{staticClass:"blue",on:{click:function(e){return t.$router.push("/agreement?configKey=original_pact")}}},[t._v("《GYXQCDZ原创公约》")])]),e("div",{staticClass:"btn-box"},[e("button",{staticClass:"active",attrs:{type:"button"},on:{click:function(e){return t.submit()}}},[t._v("去投稿")])])]),e("van-overlay",{attrs:{show:t.windowAbandonSubmission,"z-index":"99999"},on:{click:function(e){t.windowAbandonSubmission=!1}}},[e("div",{staticClass:"window"},[e("span",{staticClass:"window-text"},[t._v("确定放弃投稿")]),e("div",{staticClass:"window-btn-box"},[e("button",{staticClass:"cancel",attrs:{type:"button"}},[t._v("取消")]),e("button",{staticClass:"confirm",attrs:{type:"button"},on:{click:function(e){return t.$router.back()}}},[t._v("确定")])])])])],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"free-articles-row-between"},[e("div",{staticClass:"free-articles-right"},[t._v("正在上传...")])])}],r=(a("1c01"),a("58b2"),a("8e6e"),a("f3e2"),a("d25f"),a("ac6a"),a("456d"),a("7f7f"),a("a481"),a("ade3")),s=a("15fd"),o=a("325c"),c=a("2241"),A=a("d399"),l=a("f523"),u=a("a49b"),f=a("f0a9"),g=["fileName"];function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function p(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?d(Object(a),!0).forEach((function(e){Object(r["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var h={components:{TagsEdit:f["a"]},data:function(){return{INFORMATION_UPLOAD_FILE_TYPE:u["g"],selected:!0,tagMaxSize:10,tagTemp:"",urlTemp:"",percentage:0,params:{fileName:"",document:"",title:"",label:[],desc:""},validatorParams:[["document",["notNull","请上传文件"]],["title",["notNull","请输入标题"]],["label",[function(t){return t.length>0},"请添加标签"]],["desc",["notNull","请输入简介"]]],windowAbandonSubmission:!1,DRAFT_KEY:"image-text-release-form"}},mounted:function(){var t=this;this.init(),window.addEventListener("unload",(function(){return t.saveInput()}))},destroyed:function(){var t=this;window.removeEventListener("unload",(function(){return t.saveInput()}))},methods:{back:function(){var t=this;this.saveInput().then((function(){t.windowAbandonSubmission=!0}))},init:function(){var t=this,e=this.$route.query,a=parseInt(e.id||0);if(a>0)l["d"].getUserArticleDetail({id:a}).then((function(e){var a=e.data,n=a.detail,i=n.id,r=n.title,s=n.desc,o=n.label_name,c=void 0===o?[]:o,A=n.document;t.params={id:i,title:r,desc:s,document:A,fileName:r,label:c},t.urlTemp=t.params.document,t.percentage=100}));else{var n=localStorage.getItem(this.DRAFT_KEY);n&&c["a"].confirm({message:"发现有未提交的草稿,是否加载?"}).then((function(){try{t.params=JSON.parse(n),t.params.document.length>0&&(t.urlTemp=t.params.document,t.percentage=100)}catch(e){}})),localStorage.removeItem(this.DRAFT_KEY)}},submit:function(){var t=this;if(!this.selected)return Object(A["a"])("请阅读并同意《GYXQCDZ原创公约》");var e=this.params,a=(e.fileName,Object(s["a"])(e,g)),n=Object(o["o"])(a,this.validatorParams);if(n.length>0)return Object(A["a"])(n[0].errMsg);l["d"].userReferArticle(p(p({},a),{},{label:a.label.join(",")})).then((function(e){var n=e.msg;Object(A["a"])(n),t.params={document:"",title:"",label:[],desc:""},setTimeout((function(){a.id>0?t.$router.back():t.$router.replace("/image-text-my-release")}),1500)}))},afterRead:function(t){var e=this,a=t.file,n=t.content;this.urlTemp=n,Object(l["y"])(a,(function(t){var a=t.loaded,n=t.total;e.percentage=Math.min(parseFloat((a/n*100).toFixed(2)),99)})).then((function(t){var n=t.data;e.urlTemp=n,e.params.document=n,e.params.fileName=a.name,e.percentage=100,console.log(e.params)})).catch((function(){e.urlTemp="",e.params.document="",e.params.fileName="",e.percentage=0}))},saveInput:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise((function(a){var n=t.params,i=Object(o["o"])(n,t.validatorParams);return!n.id&&i.length<t.validatorParams.length?e?void c["a"].confirm({title:"是否保存草稿?",confirmButtonColor:"#2A63F3",confirmButtonText:"保存草稿",cancelButtonText:"不保存"}).then((function(){return localStorage.setItem(t.DRAFT_KEY,JSON.stringify(n)),a(!0)})).catch((function(){return a(!1)})):(localStorage.setItem(t.DRAFT_KEY,JSON.stringify(n)),a(!0)):a(!1)}))}}},m=h,v=(a("1be0"),a("2877")),b=Object(v["a"])(m,n,i,!1,null,"517a3bce",null);e["default"]=b.exports},"90d4":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAxxJREFUWEfN2E9Ik3EYB/Dv807nn+01ijopBOHBvUshiOoS0aVEO2ZR1sG9WyV5jdBIUAs7FHSoKN1rHYSg7FIQ2KXo0CUiifaum3WpLJTqnQrp3ideN82mc+/e37vZTu/G8+ez99l+exih0I8W9ihVM9cBbgN4zEyWnPhwr+Kj3bZkN9BpXCA8fYHYvARgjIF6Ar3Ta3w70UOmnZoFBSot7EVV4isIExWSv2EmafQR6DyT1ByP+p6uO7AulDggEY8CdE7X/FcD6uxWQnKcwVpckyPrDlRCv7pAdJkkaVds0PfaAilqYhzgH7om7ygqcNupqQ3lyVINwCEAZQvNiU/r0aoBRTW+A9icAzRHoOeA71hMo6nFWFc+gymcdxTg3csRRHQ8FvXfV1TjN4BSO3cMTFf0IX+na8BsuHSDM7om31FUYxLAJltAogd61H/UFWAOHJjQHY/KfYpq6AACtoDAQ12TjwgDc+FSDWhY1/wnlXBiGMytRQPaw1k++qJX+2rqPs80Sab5pChA27i0hthzODZU+UgJJfoZ3EyE+hxQ5yPOF5cec5eu+fsXUcFI4iCbPALAnwXqDOgEx8CLuCbvz4QEwkY7MW65BnSCW/iK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4EZiAmdSNK+rcZVqyP8XOB3aHdl0vCSKaATn+ddAU2NuV92TkJYEBT74KeeTcl9KJV5BDH4qqlTiCCTwHEn0sZMUMRVJ8LmWwCWReAdODtwvAdPN8KFe3zbOyCSlRB3q6+AuXbxyRmZ/itlXoa2p9o/9Dw79a6CxvUfLnUIo5JXiuwAAAABJRU5ErkJggg=="},b39a:function(t,e,a){var n=a("d3f4");t.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},bc9b:function(t,e,a){"use strict";a("ccd0")},c26b:function(t,e,a){"use strict";var n=a("86cc").f,i=a("2aeb"),r=a("dcbc"),s=a("9b43"),o=a("f605"),c=a("4a59"),A=a("01f9"),l=a("d53b"),u=a("7a56"),f=a("9e1e"),g=a("67ab").fastKey,d=a("b39a"),p=f?"_s":"size",h=function(t,e){var a,n=g(e);if("F"!==n)return t._i[n];for(a=t._f;a;a=a.n)if(a.k==e)return a};t.exports={getConstructor:function(t,e,a,A){var l=t((function(t,n){o(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[p]=0,void 0!=n&&c(n,a,t[A],t)}));return r(l.prototype,{clear:function(){for(var t=d(this,e),a=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete a[n.i];t._f=t._l=void 0,t[p]=0},delete:function(t){var a=d(this,e),n=h(a,t);if(n){var i=n.n,r=n.p;delete a._i[n.i],n.r=!0,r&&(r.n=i),i&&(i.p=r),a._f==n&&(a._f=i),a._l==n&&(a._l=r),a[p]--}return!!n},forEach:function(t){d(this,e);var a,n=s(t,arguments.length>1?arguments[1]:void 0,3);while(a=a?a.n:this._f){n(a.v,a.k,this);while(a&&a.r)a=a.p}},has:function(t){return!!h(d(this,e),t)}}),f&&n(l.prototype,"size",{get:function(){return d(this,e)[p]}}),l},def:function(t,e,a){var n,i,r=h(t,e);return r?r.v=a:(t._l=r={i:i=g(e,!0),k:e,v:a,p:n=t._l,n:void 0,r:!1},t._f||(t._f=r),n&&(n.n=r),t[p]++,"F"!==i&&(t._i[i]=r)),t},getEntry:h,setStrong:function(t,e,a){A(t,e,(function(t,a){this._t=d(t,e),this._k=a,this._l=void 0}),(function(){var t=this,e=t._k,a=t._l;while(a&&a.r)a=a.p;return t._t&&(t._l=a=a?a.n:t._t._f)?l(0,"keys"==e?a.k:"values"==e?a.v:[a.k,a.v]):(t._t=void 0,l(1))}),a?"entries":"values",!a,!0),u(e)}}},ccd0:function(t,e,a){},e0b8:function(t,e,a){"use strict";var n=a("7726"),i=a("5ca1"),r=a("2aba"),s=a("dcbc"),o=a("67ab"),c=a("4a59"),A=a("f605"),l=a("d3f4"),u=a("79e5"),f=a("5cc5"),g=a("7f20"),d=a("5dbc");t.exports=function(t,e,a,p,h,m){var v=n[t],b=v,w=h?"set":"add",C=b&&b.prototype,E={},B=function(t){var e=C[t];r(C,t,"delete"==t||"has"==t?function(t){return!(m&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,a){return e.call(this,0===t?0:t,a),this})};if("function"==typeof b&&(m||C.forEach&&!u((function(){(new b).entries().next()})))){var D=new b,U=D[w](m?{}:-0,1)!=D,x=u((function(){D.has(1)})),I=f((function(t){new b(t)})),S=!m&&u((function(){var t=new b,e=5;while(e--)t[w](e,e);return!t.has(-0)}));I||(b=e((function(e,a){A(e,b,t);var n=d(new v,e,b);return void 0!=a&&c(a,h,n[w],n),n})),b.prototype=C,C.constructor=b),(x||S)&&(B("delete"),B("has"),h&&B("get")),(S||U)&&B(w),m&&C.clear&&delete C.clear}else b=p.getConstructor(e,t,h,w),s(b.prototype,a),o.NEED=!0;return g(b,t),E[t]=b,i(i.G+i.W+i.F*(b!=v),E),m||p.setStrong(b,t,h),b}},e0e8:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA8CAYAA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Hl81B8PFaBcIsIULp0KSysCY6r8KJK/REqdYlbsG4EsQvY1gsIkOHVK+leO6/gcALrO3TrG4pAAAAABJRU5ErkJggg=="},f0a9:function(t,e,a){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tag-wrap2"},[t._m(0),e("ul",{staticClass:"tag-list2",class:{"in-line":!t.showAllTags}},[e("li",{staticClass:"gray-tag",on:{click:function(e){t.show=!0}}},[t._v("\n +添加标签\n ")]),t._l(t.tags,(function(n,i){return e("li",{key:i,on:{click:function(e){return t.delTag(i)}}},[t._v("\n "+t._s(n)+"\n "),e("img",{attrs:{src:a("ad8c"),alt:""}})])}))],2),e("div",{staticClass:"tag-icon3-box",class:{active:t.showAllTags},on:{click:function(e){t.showAllTags=!t.showAllTags}}},[e("img",{staticClass:"tag-icon3",attrs:{src:a("7a562"),alt:""}})]),e("van-overlay",{attrs:{show:t.show,"z-index":"999"}},[e("div",{staticClass:"window-add"},[e("span",{staticClass:"window-add-text"},[t._v("添加标签")]),e("div",{staticClass:"window-add-input"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.tag,expression:"tag"}],attrs:{type:"text",placeholder:"请输入标签"},domProps:{value:t.tag},on:{input:function(e){e.target.composing||(t.tag=e.target.value)}}})]),e("div",{staticClass:"window-add-btn-box"},[e("button",{staticClass:"cancel",attrs:{type:"button"},on:{click:function(e){t.show=!1}}},[t._v("取消")]),e("button",{staticClass:"confirm",attrs:{type:"button"},on:{click:function(e){return t.addTag()}}},[t._v("确定")])])])])],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"tag-icon2-box"},[e("img",{staticClass:"tag-icon2",attrs:{src:a("90d4"),alt:""}})])}],r=(a("ac6a"),a("5df3"),a("4f7f"),a("2909")),s=a("d399"),o={name:"tags-edit",model:{prop:"tags",event:"tags"},props:{tags:{type:Array,default:function(){return[]}}},data:function(){return{show:!1,showAllTags:!1,tag:""}},methods:{addTag:function(){if(0===this.tag.length)return Object(s["a"])("请输入标签");var t=Object(r["a"])(new Set([].concat(Object(r["a"])(this.tags),[this.tag])));this.$emit("tags",t),this.tag="",this.show=!1},delTag:function(t){var e=Object(r["a"])(this.tags);e.splice(t,1),this.$emit("tags",e)}}},c=o,A=(a("bc9b"),a("2877")),l=Object(A["a"])(c,n,i,!1,null,"05d81690",null);e["a"]=l.exports},f5a4:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAm5JREFUWEft2MnLTlEYAPDfZx4yK8WCWLBgwQIbSobIkMiwYiMbJX+JWLFRSmJBUoYyLCjDQoREQgghikQiQ4/OW8eXvPfe976fV31ne8+9z+8+59xzn3O6dHjr6nCfXmCrI9RTGeyH2XiEl2XQPQEci5MJ+AlLcKkost3AcTiH6RloN3Z0AnACzmNqhvmBFTj1r4ETE25KBvmObdhbFBf92jHEgYrMBbLRvmEL9pfBtQM4LeHGZ5Cv2ITDZXF1A2fgLOLDaLQv2IhjVXB1AmfhDMZkkM9YW+aD+NNL1DEH5+I0RmYBPmJ1WmKqJu/Xfa0C5+MEhmWKD2kpudiSLN3cCnARjmNIBnmHZbhaB66VDC7HEQzKIG/Tb+x6XbiqwDU4hAEZ5BUW43aduCrA9TiIqE4a7TliuO/VjSsLjA8hSqV8zj3BQjxsB64scDRiKPPs3UzZe9MJwDBEmbSz2/J0JyFLFaJFX6jKMrMdu7oh76ehflY0cNF+VYDx7K3Ygz5ZoCjnYz4+Lhq8SL+qwHj2ZuxD3yzQ04R8UCR4kT6tAOP5G3AA/bNgL9KcvFsE0KxPq8B4fhQFUesNzIK9Tgv3rWaAZtfrAEaM+P8exeAsYPz6luJaM8TfrtcFjBjxgUTxMDQL+D7hr1RF1gkMw7xUfg3PQFF+rcSFKsi6gWGYkwrYURkoNuwxV2NLUKq1AxiAmWkLEKcKjRZbgHUpw4WR7QIGIE4T4lSh+yZqAS4XFbYTGIY4VYg9cpwyNFrHHH00QJMTchLidGFVOkwqlMR2Z7CBGIHYJsTf5UYhWerUU8Aypt/69gIrp+5/GeKfiUBcKeCBb1YAAAAASUVORK5CYII="}}]);
- //# sourceMappingURL=chunk-1893d932.d8c7c0ef.js.map
|