(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["subPackages-user-infoFilling"],{"1ca6":function(e,t,n){"use strict";n.r(t);var i=n("26b8"),a=n("4577");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("6c7f");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"a7eb12fe",null,!1,i["a"],void 0);t["default"]=s.exports},2634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ t.default=function(){return e};var e={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",u=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(O){c=function(e,t,n){return e[t]=n}}function d(e,t,n,i){var a=t&&t.prototype instanceof p?t:p,r=Object.create(a.prototype),s=new I(i||[]);return o(r,"_invoke",{value:_(e,n,s)}),r}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}e.wrap=d;var v={};function p(){}function h(){}function g(){}var m={};c(m,s,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==n&&a.call(w,s)&&(m=w);var y=g.prototype=p.prototype=Object.create(m);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){var n;o(this,"_invoke",{value:function(o,r){function s(){return new t((function(n,s){(function n(o,r,s,l){var u=f(e[o],e,r);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==(0,i.default)(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,l)}))}l(u.arg)})(o,r,n,s)}))}return n=n?n.then(s,s):s()}})}function _(e,t,n){var i="suspendedStart";return function(a,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===a)throw o;return E()}for(n.method=a,n.arg=o;;){var r=n.delegate;if(r){var s=S(r,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=f(e,t,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function S(e,t){var n=t.method,i=e.iterator[n];if(void 0===i)return t.delegate=null,"throw"===n&&e.iterator["return"]&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=f(i,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,v;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function T(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n=0;--i){var o=this.tryEntries[i],r=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var a=i.arg;C(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),v}},e},n("6a54"),n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("3872e"),n("4e9b"),n("114e"),n("c240"),n("926e"),n("7a76"),n("c9b5"),n("aa9c"),n("2797"),n("8a8d"),n("dc69"),n("f7a5");var i=function(e){return e&&e.__esModule?e:{default:e}}(n("fcf3"))},"26b8":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uniIcons:n("5b2b").default,uniPopup:n("d93e").default},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{class:["bg","honor"==e.valueType?"honorBG":""]},[n("v-uni-view",{staticClass:"user-other-info"},["scenic_ids"==e.valueType?n("v-uni-view",{staticClass:"scenic-container"},e._l(e.scenicIds,(function(t,i){return n("v-uni-view",{key:i,staticClass:"userinfo-item",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.changeSelection(t)}}},[n("span",[e._v(e._s(t.name))]),t.value.length>0?n("v-uni-view",{staticClass:"text-overflow"},[e._v(e._s(t.valueStr))]):n("v-uni-view",{staticClass:"empty-value"},[e._v("请选择")])],1)})),1):"lingo_ids"==e.valueType?n("v-uni-view",{staticClass:"lingo-container"},[e._l(e.lingoIds,(function(t,i){return n("v-uni-view",{key:i,staticClass:"userinfo-item",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.changeSelection(t)}}},[n("span",[e._v(e._s(t.name))]),t.value.length>0?n("v-uni-view",{staticClass:"text-overflow"},[e._v(e._s(t.valueStr))]):n("v-uni-view",{staticClass:"empty-value"},[e._v("请选择")])],1)})),n("v-uni-view",{staticClass:"language-doc-container"},[n("span",[e._v("证明材料")]),n("v-uni-view",{staticClass:"img-container"},[e._l(e.fileList,(function(t,i){return n("v-uni-view",{key:i,staticClass:"doc-image"},[n("v-uni-image",{staticClass:"doc-image",attrs:{src:e.showImg(t)}}),n("v-uni-view",{staticClass:"doc-del",nativeOn:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.removeFile(i)}}},[e._v("x")])],1)})),n("v-uni-view",{staticClass:"doc-image flex flex-center",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadImage()}}},[n("v-uni-image",{staticClass:"upload-image",attrs:{src:e.showImg("/uploads/20241202/33e04a3b13241a6705616f6d6db315ce.png")}})],1)],2)],1)],2):"sparkle_text"==e.valueType?n("v-uni-view",{staticClass:"scenic-container"},[e._l(e.speakText,(function(t,i){return n("v-uni-view",{key:i,staticClass:"userinfo-item"},[n("span",[e._v(e._s(0==i?"主亮点":"副亮点"+i))]),n("v-uni-view",{staticClass:"point"},[n("v-uni-input",{attrs:{type:"text",placeholder:"请输入内容"},model:{value:t.text,callback:function(n){e.$set(t,"text",n)},expression:"item.text"}}),0!=i?n("uni-icons",{staticClass:"del-icon",attrs:{type:"trash",size:"20"},nativeOn:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delText(i)}}}):e._e()],1)],1)})),n("v-uni-view",{staticClass:"add-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.addText.apply(void 0,arguments)}}},[e._v("+ 添加更多")])],2):"video_list"==e.valueType?n("v-uni-view",{staticClass:"video-container"},[n("v-uni-view",{staticClass:"top-del",staticStyle:{"text-align":"right","padding-bottom":"15rpx",position:"relative"}},[n("uni-icons",{attrs:{type:"trash",size:"19"},nativeOn:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeDeleteMode(!0)}}}),e.deleteIndex.length>0?n("v-uni-view",{staticClass:"del-num"},[e._v(e._s(e.deleteIndex.length))]):e._e()],1),n("v-uni-view",{staticClass:"video-upload-container"},[n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!e.deleteMode,expression:"!deleteMode"}],staticClass:"video-upload-image flex flex-column flex-center",staticStyle:{border:"1px dashed #ADADAD"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadVideo()}}},[n("v-uni-image",{staticClass:"upload-image",staticStyle:{"margin-bottom":"12rpx"},attrs:{src:e.showImg("/uploads/20241202/33e04a3b13241a6705616f6d6db315ce.png")}}),e._v("上传视频")],1),e._l(e.fileList,(function(t,i){return n("v-uni-view",{key:i,staticClass:"video-upload-image"},[n("v-uni-video",{staticClass:"video-upload-image",attrs:{id:"fileList_"+i,src:e.showImg(t),preload:"metadata",controls:!1,"show-progress":!1,"show-fullscreen-btn":!1,"show-play-btn":!1,"show-center-play-btn":!1,"show-loading":!1},on:{loadedmetadata:function(t){arguments[0]=t=e.$handleEvent(t),e.startVideo("fileList_"+i)}}}),n("v-uni-view",{staticClass:"cover-div"},[n("v-uni-view",{staticClass:"cover-play",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.playVideo(t)}}},[n("v-uni-image",{staticStyle:{width:"66rpx",height:"66rpx"},attrs:{src:e.showImg("/uploads/20241202/44b29b02b77b0a0342bb38c2d9282f49.png")}})],1),e.deleteMode?n("v-uni-view",{class:["delete-container",e.deleteIndex.includes(i)?"selected":""],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.changeDeleteIndex(i)}}},[e.deleteIndex.includes(i)?n("v-uni-image",{attrs:{src:e.showImg("/uploads/20241202/21f56765ccdc74a07fbd3b30a72a87a0.png"),title:"选中"}}):n("v-uni-image",{attrs:{src:e.showImg("/uploads/20241202/b6e64e71e01a6cfd8ade6c639583357b.png"),title:"未选中"}})],1):e._e()],1)],1)}))],2)],1):"honor"==e.valueType?n("v-uni-view",{staticClass:"scenic-container"},[e._l(e.honor,(function(t,i){return n("v-uni-view",{key:i,staticClass:"honor-item"},[e.honor.length>1?n("uni-icons",{staticClass:"del-icon",attrs:{type:"trash",size:"20"},nativeOn:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.removeArr(i,e.honor)}}}):e._e(),n("v-uni-view",{staticClass:"userinfo-item",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.changeHonorSelection(t,"name")}}},[n("span",[e._v(e._s("荣誉称号"+(i+1)))]),t.nameStr?n("v-uni-view",{staticClass:"text-overflow icon-select"},[e._v(e._s(t.nameStr))]):n("v-uni-view",{staticClass:"empty-value icon-select"},[e._v("请选择")])],1),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1!=t.name,expression:"item.name!=1"}],staticClass:"userinfo-item",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.openRankOption(t)}}},[n("span",[e._v("级别")]),t.rankStr?n("v-uni-view",{staticClass:"text-overflow icon-select"},[e._v(e._s(t.rankStr))]):n("v-uni-view",{staticClass:"empty-value icon-select"},[e._v("请选择")])],1),n("v-uni-view",{staticClass:"language-doc-container"},[n("span",[e._v("证明材料")]),n("v-uni-view",{staticClass:"img-container"},[e._l(t.fileList,(function(a,o){return n("v-uni-view",{key:"honor"+i+"_"+o,staticClass:"doc-image"},[n("v-uni-image",{staticClass:"doc-image",attrs:{src:e.showImg(a)}}),n("v-uni-view",{staticClass:"doc-del",nativeOn:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.removeArr(o,t.fileList)}}},[e._v("x")])],1)})),n("v-uni-view",{staticClass:"doc-image flex flex-center",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.uploadImage(t.fileList)}}},[n("v-uni-image",{staticClass:"upload-image",attrs:{src:e.showImg("/uploads/20241202/33e04a3b13241a6705616f6d6db315ce.png")}})],1)],2)],1)],1)})),n("v-uni-view",{staticClass:"add-btn",staticStyle:{background:"white"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.addHonor.apply(void 0,arguments)}}},[e._v("+ 添加更多")])],2):n("v-uni-view",{staticClass:"nickname-box"},[n("v-uni-input",{directives:[{name:"show",rawName:"v-show",value:!["duration"].includes(e.valueType),expression:"!['duration'].includes(valueType)"}],attrs:{type:"text",placeholder:"请输入内容"},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}),n("v-uni-input",{directives:[{name:"show",rawName:"v-show",value:["duration"].includes(e.valueType),expression:"['duration'].includes(valueType)"}],attrs:{type:"number",placeholder:"请输入内容"},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}})],1),["scenic_ids","sparkle_text","video_list","honor"].includes(e.valueType)?e._e():n("v-uni-view",{staticClass:"btn-tao",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("保存")]),["scenic_ids","sparkle_text"].includes(e.valueType)?n("v-uni-view",{staticClass:"bottom-btn"},[n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goBack()}}},[e._v("取消")]),n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit()}}},[e._v("保存")])],1):e._e(),["video_list","honor"].includes(e.valueType)?n("v-uni-view",{staticClass:"bottom-btn-fixed"},[e.deleteMode?[n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeDeleteMode(!1)}}},[e._v("取消删除")]),n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.confirmDelVideo()}}},[e._v("确认删除")])]:[n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goBack()}}},[e._v("取消")]),n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit()}}},[e._v("保存")])]],2):e._e()],1),n("uni-popup",{ref:"popup",attrs:{type:"bottom"}},[n("v-uni-view",{staticClass:"popup-box"},[n("v-uni-view",{staticClass:"btn-top flex flex-between w-full"},[n("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$refs.popup.close()}}},[e._v("取消")]),e.selection.single?e._e():n("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.selectAll.apply(void 0,arguments)}}},[e._v("全选")])],1),n("v-uni-view",{staticClass:"popup-content"},e._l(e.selection.arr,(function(t,i){return n("v-uni-view",{key:i,class:["popup-item","flex-center",e.selection.value.includes(t.id)?"active":""],on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.changeItemSelect(t)}}},[e._v(e._s(t.name)),n("uni-icons",{directives:[{name:"show",rawName:"v-show",value:e.selection.value.includes(t.id),expression:"selection.value.includes(item.id)"}],staticClass:"active-img",attrs:{type:"checkmarkempty",size:"23",color:"#96684F"}})],1)})),1),n("v-uni-view",{staticClass:"popup-btns flex-center",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.popSubmit.apply(void 0,arguments)}}},[n("v-uni-view",[e._v("确定")])],1)],1)],1),n("uni-popup",{ref:"popupRank",attrs:{type:"bottom"}},[n("v-uni-view",{staticClass:"popup-box"},[n("v-uni-view",{staticClass:"btn-top flex flex-between w-full"},[n("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$refs.popupRank.close()}}},[e._v("取消")])],1),n("v-uni-view",{staticClass:"popup-content"},e._l(e.honorRankList,(function(t,i){return n("v-uni-view",{key:i,class:["popup-item","flex-center",e.selectionItem&&e.selectionItem.rank==t.id?"active":""],on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.changeRank(t)}}},[e._v(e._s(t.name)),0!=i?n("uni-icons",{staticClass:"active-img",attrs:{type:"right",size:"20",color:"#96684F"}}):e._e(),2==t.id?n("v-uni-picker",{staticClass:"cover-picker",attrs:{range:e.province,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeArea.apply(void 0,arguments)}}}):e._e(),3==t.id?n("v-uni-picker",{staticClass:"cover-picker",attrs:{range:e.mulProvince,"range-key":"name",mode:"multiSelector"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeArea.apply(void 0,arguments)},columnchange:function(t){arguments[0]=t=e.$handleEvent(t),e.pickerColumnchange.apply(void 0,arguments)}}}):e._e()],1)})),1),n("v-uni-view",{staticClass:"popup-btns flex-center",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$refs.popupRank.close()}}},[n("v-uni-view",[e._v("确定")])],1)],1)],1)],1)},o=[]},"2fdc":function(e,t,n){"use strict";function i(e,t,n,i,a,o,r){try{var s=e[o](r),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(i,a)}n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var r=e.apply(t,n);function s(e){i(r,a,o,s,l,"next",e)}function l(e){i(r,a,o,s,l,"throw",e)}s(void 0)}))}},n("bf0f")},4435:function(e,t,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.base64ToPath=function(e){return new Promise((function(t,n){if("object"===("undefined"===typeof window?"undefined":(0,a.default)(window))&&"document"in window){e=e.split(",");var i=e[0].match(/:(.*?);/)[1],s=atob(e[1]),l=s.length,u=new Uint8Array(l);while(l--)u[l]=s.charCodeAt(l);return t((window.URL||window.webkitURL).createObjectURL(new Blob([u],{type:i})))}var c=e.split(",")[0].match(/data\:\S+\/(\S+);/);c?c=c[1]:n(new Error("base64 error"));var d=function(){return Date.now()+String(r++)}()+"."+c;if("object"!==("undefined"===typeof plus?"undefined":(0,a.default)(plus)))if("object"===("undefined"===typeof wx?"undefined":(0,a.default)(wx))&&wx.canIUse("getFileSystemManager")){f=wx.env.USER_DATA_PATH+"/"+d;wx.getFileSystemManager().writeFile({filePath:f,data:o(e),encoding:"base64",success:function(){t(f)},fail:function(e){n(e)}})}else n(new Error("not support"));else{var f="_doc/uniapp_temp/"+d;if(!function(e,t){for(var n=e.split("."),i=t.split("."),a=!1,o=0;o0;break}}return a}("Android"===plus.os.name?"1.9.9.80627":"1.9.9.80472",plus.runtime.innerVersion))return void plus.io.resolveLocalFileSystemURL("_doc",(function(i){i.getDirectory("uniapp_temp",{create:!0,exclusive:!1},(function(i){i.getFile(d,{create:!0,exclusive:!1},(function(i){i.createWriter((function(i){i.onwrite=function(){t(f)},i.onerror=n,i.seek(0),i.writeAsBinary(o(e))}),n)}),n)}),n)}),n);var v=new plus.nativeObj.Bitmap(d);v.loadBase64Data(e,(function(){v.save(f,{},(function(){v.clear(),t(f)}),(function(e){v.clear(),n(e)}))}),(function(e){v.clear(),n(e)}))}}))},t.pathToBase64=function(e){return new Promise((function(t,n){if("object"===("undefined"===typeof window?"undefined":(0,a.default)(window))&&"document"in window){if("function"===typeof FileReader){var i=new XMLHttpRequest;return i.open("GET",e,!0),i.responseType="blob",i.onload=function(){if(200===this.status){var e=new FileReader;e.onload=function(e){t(e.target.result)},e.onerror=n,e.readAsDataURL(this.response)}},i.onerror=n,void i.send()}var o=document.createElement("canvas"),r=o.getContext("2d"),s=new Image;return s.onload=function(){o.width=s.width,o.height=s.height,r.drawImage(s,0,0),t(o.toDataURL()),o.height=o.width=0},s.onerror=n,void(s.src=e)}"object"!==("undefined"===typeof plus?"undefined":(0,a.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,a.default)(wx))&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:e,encoding:"base64",success:function(e){t("data:image/png;base64,"+e.data)},fail:function(e){n(e)}}):n(new Error("not support")):plus.io.resolveLocalFileSystemURL(function(e){if(0===e.indexOf("_www")||0===e.indexOf("_doc")||0===e.indexOf("_documents")||0===e.indexOf("_downloads"))return e;if(0===e.indexOf("file://"))return e;if(0===e.indexOf("/storage/emulated/0/"))return e;if(0===e.indexOf("/")){var t=plus.io.convertAbsoluteFileSystem(e);if(t!==e)return t;e=e.substr(1)}return"_www/"+e}(e),(function(e){e.file((function(e){var i=new plus.io.FileReader;i.onload=function(e){t(e.target.result)},i.onerror=function(e){n(e)},i.readAsDataURL(e)}),(function(e){n(e)}))}),(function(e){n(e)}))}))};var a=i(n("fcf3"));function o(e){var t=e.split(",");return t[t.length-1]}n("5ef2"),n("bf0f"),n("7a76"),n("c9b5"),n("5c47"),n("2c10"),n("15d1"),n("d5c6"),n("5a56"),n("f074"),n("4db2"),n("c976"),n("4d8f"),n("7b97"),n("668a"),n("c5b7"),n("8ff5"),n("2378"),n("641a"),n("64e0"),n("cce3"),n("efba"),n("d009"),n("bd7d"),n("7edd"),n("d798"),n("f547"),n("5e54"),n("b60a"),n("8c18"),n("12973"),n("f991"),n("198e"),n("8557"),n("63b1"),n("1954"),n("1cf1"),n("18f7"),n("de6c"),n("dc89"),n("2425");var r=0},4577:function(e,t,n){"use strict";n.r(t);var i=n("d2b2"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},"6c7f":function(e,t,n){"use strict";var i=n("d85c"),a=n.n(i);a.a},d2b2:function(e,t,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("2634")),o=i(n("9b1b")),r=i(n("2fdc"));n("aa77"),n("bf0f"),n("fd3c"),n("64aa"),n("8f71"),n("4626"),n("5ac7"),n("aa9c"),n("dd2b"),n("d4b5"),n("bd06"),n("2797"),n("0c26");n("8f59"),n("4435");var s={data:function(){return{valueType:"",inputValue:"",inputValueStr:"",keyNames:[{key:"nickname",value:"姓名"},{key:"mobile",value:"手机号"},{key:"certificate_number",value:"导游证号码"},{key:"duration",value:"工作年限"},{key:"bio",value:"个性签名"},{key:"scenic_ids",value:"擅长景区"},{key:"lingo_ids",value:"语言能力"},{key:"sparkle_text",value:"核心亮点"},{key:"video_list",value:"讲解视频"},{key:"honor",value:"荣誉称号"}],lingoIds:[],scenicIds:[],speakText:[],honor:[],honorNameList:[{id:1,name:"导游资源库"},{id:2,name:"文明导游"},{id:3,name:"金牌导游"},{id:4,name:"品牌导游"}],honorRankList:[{id:1,name:"全国级"},{id:2,name:"省级"},{id:3,name:"市级"}],selectionItem:null,selection:{arr:[],value:[],valueStr:"",single:!1},fileList:[],deleteIndex:[],deleteMode:!1,province:[],mulProvince:[[],[]]}},onLoad:function(e){this.initData(e)},methods:{startVideo:function(e){var t=uni.createVideoContext(e);t.play(),t.pause()},initData:function(e){var t=this;if(uni.setNavigationBarTitle({title:""}),this.valueType="",this.inputValue="",this.inputValueStr="",this.deleteMode=!1,this.fileList=[],this.speakText=[],e.inputValue&&"null"!=e.inputValue&&"undefined"!=e.inputValue&&(this.inputValue=e.inputValue),e.valueType){this.valueType=e.valueType;var n=this.keyNames.find((function(e){return e.key==t.valueType}));n&&uni.setNavigationBarTitle({title:n.value}),"lingo_ids"==this.valueType&&this.initLingoList(),"scenic_ids"==this.valueType&&this.initScenicList(),"sparkle_text"==this.valueType&&this.initSparkleText(),"video_list"==this.valueType&&this.initVideo(),"honor"==this.valueType&&this.initHonor()}else this.goBack()},initLingoList:function(){var e=this;return(0,r.default)((0,a.default)().mark((function t(){var n,i,r,s;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.Post({},"/api/guide/getGuideLingoList");case 2:n=t.sent,i=[];try{i=(e.inputValue||"").split(",").map((function(e){return Number(e)}))}catch(a){}console.log(i),r=[{arr:n.data||[],name:"语言能力"}],e.lingoIds=r.map((function(e){var t=e.arr.filter((function(e){return i.includes(e.id)}));return(0,o.default)((0,o.default)({},e),{},{value:t.map((function(e){return e.id})),valueStr:t.map((function(e){return e.name})).join(",")})}));try{s=uni.getStorageSync("userfileList"),e.fileList=JSON.parse(s),console.log(e.fileList)}catch(a){e.fileList=[]}case 9:case"end":return t.stop()}}),t)})))()},initScenicList:function(){var e=this;return(0,r.default)((0,a.default)().mark((function t(){var n,i;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.Post({},"/api/guide/getGuideScenicList");case 2:n=t.sent,i=[];try{i=(e.inputValue||"").split(",").map((function(e){return Number(e)}))}catch(a){}console.log(i),e.scenicIds=(n.data||[]).map((function(e){var t=e.arr.filter((function(e){return i.includes(e.id)}));return(0,o.default)((0,o.default)({},e),{},{value:t.map((function(e){return e.id})),valueStr:t.map((function(e){return e.name})).join(",")})}));case 7:case"end":return t.stop()}}),t)})))()},initSparkleText:function(){var e=(this.inputValue||"").split(",").map((function(e){return{text:e}}));this.speakText=e},addText:function(){this.speakText.push({text:""})},delText:function(e){this.speakText.splice(e,1)},initVideo:function(){try{var e=uni.getStorageSync("userVideofileList");this.fileList=JSON.parse(e),console.log(this.fileList)}catch(t){this.fileList=[]}},initHonor:function(){var e=[];try{e=uni.getStorageSync("userHonor"),e=JSON.parse(e),Array.isArray(e)||(e=[])}catch(t){e=[]}e.length<=0&&(e=[{nameStr:"",name:null,rank:null,rankId:null,rankStr:"",fileList:[]}]),this.honor=e,this.initAddress()},initAddress:function(){var e=this;this.Post({id:1},"/api/common/getAreaList").then((function(t){e.province=t.data||[],e.mulProvince[0]=t.data||[];var n=e.province[0];n&&e.initChildProvince(n.id)}))},initChildProvince:function(e){var t=this;this.Post({id:e},"/api/common/getAreaList").then((function(e){t.mulProvince[1]=e.data||[],t.$forceUpdate()}))},addHonor:function(){this.honor.push({nameStr:"",name:null,rank:null,rankId:null,rankStr:"",fileList:[]})},changeHonorSelection:function(e,t){this.selectionItem=e,this.selection={arr:this.honorNameList,value:e.name?[e.name]:[],valueStr:"",single:!0},this.$refs.popup.open()},openRankOption:function(e){this.selectionItem=e,this.$refs.popupRank.open()},changeRank:function(e){1==e.id&&(this.selectionItem.rank=1,this.selectionItem.rankId=null,this.selectionItem.rankStr="全国级")},changeArea:function(e){console.log(e);var t=e.detail.value;if(Array.isArray(t)){this.selectionItem.rank=3,this.selectionItem.rankId=this.mulProvince[1][t[1]].id;var n=this.mulProvince[0][t[0]].name+this.mulProvince[1][t[1]].name;this.selectionItem.rankStr="市级(".concat(n,")")}else{this.selectionItem.rank=2,this.selectionItem.rankId=this.mulProvince[0][t].id;var i=this.province[t].name;this.selectionItem.rankStr="省级(".concat(i,")")}console.log(this.selectionItem)},pickerColumnchange:function(e){if(0===e.detail.column){var t=e.detail.value,n=this.mulProvince[0][t];n&&this.initChildProvince(n.id)}},changeSelection:function(e){this.selectionItem=e;var t=e.single||!1,n=[];n=t&&e.value?[Number(e.value)]:JSON.parse(JSON.stringify(e.value)),this.selection={arr:e.arr,value:n,valueStr:"",single:t},this.$refs.popup.open()},changeItemSelect:function(e){var t=this.selection.value.findIndex((function(t){return t==e.id}));if(t>=0)this.selection.value.splice(t,1);else{var n=this.selection.single;n?this.selection.value=[e.id]:this.selection.value.push(e.id)}},selectAll:function(){this.selection.value=this.selection.arr.map((function(e){return e.id}))},popSubmit:function(){var e=JSON.parse(JSON.stringify(this.selection)),t=e.arr.filter((function(t){return e.value.includes(t.id)}));["scenic_ids","lingo_ids"].includes(this.valueType)?(this.selectionItem.value=e.value,this.selectionItem.valueStr=t.map((function(e){return e.name})).join(",")):["honor"].includes(this.valueType)&&(e.value.length>0?(this.selectionItem.name=e.value[0],this.selectionItem.nameStr=t.map((function(e){return e.name})).join(",")):(this.selectionItem.name=null,this.selectionItem.nameStr=""),console.log(this.selectionItem,this.honor)),this.$refs.popup.close()},uploadImage:function(e){var t=this;this.NEWAPIURL;uni.chooseImage({count:1,success:function(n){var i=n.tempFilePaths;uni.uploadFile({url:"/api/api/Common/upload",filePath:i[0],name:"file",success:function(n){try{var i=JSON.parse(n.data);1==i.code&&(Array.isArray(e)?e.push(i.data.url):t.fileList.push(i.data.url))}catch(a){}},fail:function(){uni.showToast({title:"上传失败",icon:"none"})}})},fail:function(){uni.showToast({title:"上传失败",icon:"none"})}})},uploadVideo:function(){var e=this;this.NEWAPIURL;uni.showLoading(),uni.chooseVideo({count:1,success:function(t){var n=t.tempFilePath;uni.uploadFile({url:"/api/api/Common/upload",filePath:n,name:"file",success:function(t){uni.hideLoading();try{var n=JSON.parse(t.data);1==n.code&&e.fileList.push(n.data.url)}catch(i){}},fail:function(){uni.hideLoading(),uni.showToast({title:"上传失败",icon:"none"})}})},fail:function(){uni.hideLoading(),uni.showToast({title:"上传失败",icon:"none"})}})},removeArr:function(e,t){t.splice(e,1)},playVideo:function(e){uni.navigateTo({url:"/subPackages/video/video?item="+encodeURIComponent(JSON.stringify(e))})},changeDeleteMode:function(e){this.deleteIndex=[],this.deleteMode=e},changeDeleteIndex:function(e){var t=this.deleteIndex.findIndex((function(t){return t==e}));t>=0?this.deleteIndex.splice(t,1):this.deleteIndex.push(e),console.log(this.deleteIndex)},confirmDelVideo:function(){var e=this;this.fileList=this.fileList.filter((function(t,n){return!e.deleteIndex.includes(n)})),this.changeDeleteMode(!1)},handleSubmitData:function(){if(["scenic_ids","lingo_ids"].includes(this.valueType)){var e=[];"lingo_ids"==this.valueType&&(e=this.lingoIds),"scenic_ids"==this.valueType&&(e=this.scenicIds);var t=[];e.forEach((function(e){Array.isArray(e.value)&&e.value.length>0&&t.push(e)})),this.inputValue=t.map((function(e){return e.value.join(",")})).join(","),this.inputValueStr=t.map((function(e){return e.valueStr})).join(","),console.log(this.inputValue,this.inputValueStr)}if("sparkle_text"==this.valueType){if(this.speakText.forEach((function(e){e.text&&e.text.trim&&(e.text=e.text.trim())})),!this.speakText[0].text)return uni.showToast({title:"主亮点必填",icon:"none"}),!0;this.inputValue=this.speakText.filter((function(e){return e.text})),this.inputValueStr=this.inputValue.map((function(e){return e.text})).join(",")}if("video_list"==this.valueType&&(this.inputValue=JSON.parse(JSON.stringify(this.fileList)),this.inputValueStr=""),"honor"==this.valueType){var n=this.honor.filter((function(e){return!(!e.name&&!e.rank&&e.fileList.length<=0)}));if(n.forEach((function(e){1==e.name&&(e.rank=null,e.rankId=null,e.rankStr="")})),n.length>0){if(!n.every((function(e){return e.name&&(1==e.name||1!=e.name&&e.rank)&&e.fileList.length>0})))return uni.showToast({title:"请补充信息",icon:"none"}),!0;this.inputValue=JSON.parse(JSON.stringify(n)),this.inputValueStr=n[0].nameStr}else this.inputValue=[],this.inputValueStr=""}},submit:function(){var e=this.handleSubmitData();if(!e){try{this.inputValue=this.inputValue.trim()}catch(t){}uni.$emit("updateInfo",{msgType:"registerInfo",data:{valueType:this.valueType,inputValue:this.inputValue,inputValueStr:this.inputValueStr,fileList:this.fileList}}),this.goBack()}}}};t.default=s},d85c:function(e,t,n){var i=n("e7ef");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("3cea3ae9",i,!0,{sourceMap:!1,shadowMode:!1})},e7ef:function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-a7eb12fe]{box-sizing:initial}.bg[data-v-a7eb12fe]{min-height:100vh;overflow-x:hidden;background:#fff;padding-bottom:%?200?%}.bg.honorBG[data-v-a7eb12fe]{background:#f1f1f1}.empty-value[data-v-a7eb12fe]{font-weight:500;font-size:%?28?%;color:#999}.nickname-box[data-v-a7eb12fe]{display:flex;align-items:center;background:#fff;margin-bottom:%?100?%;font-size:%?30?%;height:%?70?%;border-bottom:%?1?% solid #d8d8d8}.nickname-box span[data-v-a7eb12fe]{flex-shrink:0}.nickname-box uni-input[data-v-a7eb12fe]{flex:1;font-size:%?30?%;display:block}.user-other-info[data-v-a7eb12fe]{padding:%?30?%}.userinfo-item[data-v-a7eb12fe]{display:flex;align-items:center;font-size:%?28?%;color:#333;position:relative}.userinfo-item span[data-v-a7eb12fe]{flex-shrink:0;width:%?140?%}.userinfo-item > uni-view[data-v-a7eb12fe]{flex:1;padding:%?40?% %?10?% %?40?% 0;margin-left:%?30?%;border-bottom:1px solid #d8d8d8}.btn-tao[data-v-a7eb12fe]{width:%?333?%;height:%?80?%;background:#96684f;border-radius:%?40?%;text-align:center;font-size:%?30?%;line-height:%?80?%;color:#fff;margin:%?68?% auto 0}.popup-box[data-v-a7eb12fe]{border-radius:%?0?%;background:#fff;overflow:hidden}.popup-box .btn-top[data-v-a7eb12fe]{padding:%?26?% %?26?% 0 %?26?%;color:#999;font-size:%?31?%;box-sizing:border-box}.popup-box .popup-content[data-v-a7eb12fe]{max-height:%?500?%;width:100%;overflow-x:hidden;overflow-y:auto}.popup-box .popup-item[data-v-a7eb12fe]{width:%?697?%;height:%?99?%;font-weight:500;font-size:%?31?%;color:#12293c;margin:auto;border-bottom:%?1?% solid #d8d8d8;position:relative}.popup-box .popup-item .cover-picker[data-v-a7eb12fe]{position:absolute;left:0;right:0;top:0;bottom:0}.popup-box .popup-item.active[data-v-a7eb12fe]{color:#96684f}.popup-box .popup-item[data-v-a7eb12fe]:last-of-type{border:none}.popup-box .active-img[data-v-a7eb12fe]{position:absolute;right:%?10?%}.popup-box .popup-btns[data-v-a7eb12fe]{width:100%;height:%?153?%;background:#fff;color:#12293c;border-top:%?13?% solid #f2f2f2;box-shadow:%?0?% %?0?% %?13?% %?0?% rgba(82,82,82,.25);padding:%?40?% %?26?%;box-sizing:border-box}.popup-box .popup-btns uni-view[data-v-a7eb12fe]{box-sizing:border-box;width:100%;height:%?73.33?%;line-height:%?73.33?%;background:#dc2525;border-radius:%?11?%;font-weight:700;font-size:%?32?%;color:#fff;text-align:center}.del-num[data-v-a7eb12fe]{position:absolute;top:%?-5?%;right:%?-10?%;background:#e5131b;color:#fff;width:%?24?%;height:%?24?%;text-align:center;line-height:%?24?%;font-size:%?20?%;border-radius:50%}.language-doc-container[data-v-a7eb12fe]{display:flex;align-items:flex-start;padding-top:%?40?%}.language-doc-container span[data-v-a7eb12fe]{flex-shrink:0;width:%?140?%}.language-doc-container .img-container[data-v-a7eb12fe]{flex:1;flex-shrink:0;display:flex;flex-wrap:wrap;padding-left:%?20?%}.language-doc-container .img-container .doc-image[data-v-a7eb12fe]{width:%?141?%;height:%?151?%;border-radius:%?13?%;margin:0 %?40?% %?20?% 0;background:#f1f1f1;position:relative}.language-doc-container .img-container .doc-del[data-v-a7eb12fe]{width:%?40?%;height:%?40?%;text-align:center;line-height:%?40?%;background:#000;color:#fff;position:absolute;top:%?-10?%;right:%?-10?%;border-radius:50%}.language-doc-container .img-container .upload-image[data-v-a7eb12fe]{width:%?43?%;height:%?41?%}.userinfo-item .point[data-v-a7eb12fe]{display:flex;align-items:center;justify-content:space-between}.userinfo-item .point uni-input[data-v-a7eb12fe]{font-size:%?28?%}.userinfo-item .point .del-icon[data-v-a7eb12fe]{padding-left:%?20?%}.add-btn[data-v-a7eb12fe]{width:%?343?%;height:%?72?%;background:#f1f1f1;border-radius:%?13?%;line-height:%?72?%;text-align:center;font-weight:500;font-size:%?28?%;margin:%?55?% auto 0}.video-upload-container[data-v-a7eb12fe]{display:flex;flex-wrap:wrap;justify-content:space-between}.video-upload-container .upload-image[data-v-a7eb12fe]{width:%?72?%;height:%?68.67?%}.video-upload-container .video-upload-image[data-v-a7eb12fe]{width:%?330?%;height:%?330?%;background:#f1f1f1;border-radius:%?10?%;margin-bottom:%?20?%;position:relative;overflow:hidden}.video-upload-container .video-upload-image .cover-div[data-v-a7eb12fe]{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%}.video-upload-container .video-upload-image .cover-div .cover-play[data-v-a7eb12fe]{width:100%;height:100%;top:0;left:0;display:flex;align-items:center;justify-content:center;color:#fff;position:absolute;z-index:5}.video-upload-container .video-upload-image .cover-div .delete-container[data-v-a7eb12fe]{width:100%;height:100%;top:0;left:0;position:absolute;z-index:10;padding:%?20?%}.video-upload-container .video-upload-image .cover-div .delete-container uni-image[data-v-a7eb12fe]{width:%?44?%;height:%?44?%}.video-upload-container .video-upload-image .cover-div .delete-container.selected[data-v-a7eb12fe]{background:rgba(0,0,0,.8)}.bottom-btn[data-v-a7eb12fe]{padding:%?66?% %?80?% 0;display:flex;justify-content:space-between}.bottom-btn .btn[data-v-a7eb12fe]{width:%?244?%;height:%?81?%;border-radius:%?40?%;border:1px solid #000;line-height:%?81?%;text-align:center;font-weight:500;font-size:%?36?%;color:#010101}.bottom-btn .btn[data-v-a7eb12fe]:last-of-type{background:#96684f;border:none;color:#fff}.bottom-btn-fixed[data-v-a7eb12fe]{position:fixed;bottom:0;left:0;right:0;width:100%;height:%?133?%;background:#fff;box-shadow:%?0?% %?0?% %?24?% %?0?% hsla(0,0%,40%,.24);display:flex;justify-content:space-between;align-items:center;padding:0 %?92?%;box-sizing:border-box}.bottom-btn-fixed .btn[data-v-a7eb12fe]{width:%?244?%;height:%?81?%;border-radius:%?40?%;border:1px solid #000;line-height:%?81?%;text-align:center;font-weight:500;font-size:%?36?%;color:#010101}.bottom-btn-fixed .btn[data-v-a7eb12fe]:last-of-type{background:#96684f;border:none;color:#fff}.honor-item[data-v-a7eb12fe]{background:#fff;border-radius:%?13?%;padding:0 %?12?%;position:relative;margin-bottom:%?28?%}.honor-item .del-icon[data-v-a7eb12fe]{position:absolute;bottom:%?5?%;right:%?5?%}.icon-select[data-v-a7eb12fe]{display:flex;align-items:center;justify-content:space-between}.icon-select[data-v-a7eb12fe]::after{content:"";width:%?20?%;height:%?20?%;margin-left:%?6?%;background-image:url(https://static.ticket.sz-trip.com/tongli/images/user/rightIcon-gray.png);background-size:100% 100%}',""]),e.exports=t}}]);