You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3 lines
29 KiB
3 lines
29 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["subPackages-user-infoFilling"],{2634:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
e.default=function(){return t};var t={},i=Object.prototype,a=i.hasOwnProperty,o=Object.defineProperty||function(t,e,i){t[e]=i.value},r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",u=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function c(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(V){c=function(t,e,i){return t[e]=i}}function d(t,e,i,n){var a=e&&e.prototype instanceof p?e:p,r=Object.create(a.prototype),s=new C(n||[]);return o(r,"_invoke",{value:_(t,i,s)}),r}function f(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(V){return{type:"throw",arg:V}}}t.wrap=d;var v={};function p(){}function h(){}function g(){}var b={};c(b,s,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(E([])));y&&y!==i&&a.call(y,s)&&(b=y);var w=g.prototype=p.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){var i;o(this,"_invoke",{value:function(o,r){function s(){return new e((function(i,s){(function i(o,r,s,u){var l=f(t[o],t,r);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==(0,n.default)(d)&&a.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,s,u)}),(function(t){i("throw",t,s,u)})):e.resolve(d).then((function(t){c.value=t,s(c)}),(function(t){return i("throw",t,s,u)}))}u(l.arg)})(o,r,i,s)}))}return i=i?i.then(s,s):s()}})}function _(t,e,i){var n="suspendedStart";return function(a,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw o;return I()}for(i.method=a,i.arg=o;;){var r=i.delegate;if(r){var s=L(r,i);if(s){if(s===v)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var u=f(t,e,i);if("normal"===u.type){if(n=i.done?"completed":"suspendedYield",u.arg===v)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(n="completed",i.method="throw",i.arg=u.arg)}}}function L(t,e){var i=e.method,n=t.iterator[i];if(void 0===n)return e.delegate=null,"throw"===i&&t.iterator["return"]&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var a=f(n,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,v;var o=a.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function e(){for(;++i<t.length;)if(a.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:I}}function I(){return{value:void 0,done:!0}}return h.prototype=g,o(w,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:h,configurable:!0}),h.displayName=c(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},x(k.prototype),c(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(e,i,n,a,o){void 0===o&&(o=Promise);var r=new k(d(e,i,n,a),o);return t.isGeneratorFunction(i)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},x(w),c(w,l,"Generator"),c(w,s,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=E,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(i,n){return r.type="throw",r.arg=t,e.next=i,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],r=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var r=o?o.completion:{};return r.type=t,r.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),T(i),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var a=n.arg;T(i)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:E(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),v}},t},i("6a54"),i("01a2"),i("e39c"),i("bf0f"),i("844d"),i("18f7"),i("de6c"),i("3872e"),i("4e9b"),i("114e"),i("c240"),i("926e"),i("7a76"),i("c9b5"),i("aa9c"),i("2797"),i("8a8d"),i("dc69"),i("f7a5");var n=function(t){return t&&t.__esModule?t:{default:t}}(i("fcf3"))},"2d86":function(t,e,i){"use strict";i.r(e);var n=i("c52d"),a=i("5edd");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("6f0a");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"2827b05a",null,!1,n["a"],void 0);e["default"]=s.exports},"2fdc":function(t,e,i){"use strict";function n(t,e,i,n,a,o,r){try{var s=t[o](r),u=s.value}catch(l){return void i(l)}s.done?e(u):Promise.resolve(u).then(n,a)}i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,i=arguments;return new Promise((function(a,o){var r=t.apply(e,i);function s(t){n(r,a,o,s,u,"next",t)}function u(t){n(r,a,o,s,u,"throw",t)}s(void 0)}))}},i("bf0f")},"5edd":function(t,e,i){"use strict";i.r(e);var n=i("75dc"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"6f0a":function(t,e,i){"use strict";var n=i("882c"),a=i.n(n);a.a},"75dc":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("2634")),o=n(i("9b1b")),r=n(i("2fdc"));i("aa77"),i("bf0f"),i("fd3c"),i("64aa"),i("8f71"),i("4626"),i("5ac7"),i("aa9c"),i("dd2b"),i("d4b5"),i("bd06"),i("2797");i("8f59"),i("75df");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:[],selectionItem:null,selection:{arr:[],value:[],valueStr:""},fileList:[],deleteIndex:[],deleteMode:!1}},onLoad:function(t){this.initData(t)},methods:{startVideo:function(t){var e=uni.createVideoContext(t);e.play(),e.pause()},initData:function(t){var e=this;if(uni.setNavigationBarTitle({title:""}),this.valueType="",this.inputValue="",this.inputValueStr="",this.deleteMode=!1,this.fileList=[],this.speakText=[],t.inputValue&&"null"!=t.inputValue&&"undefined"!=t.inputValue&&(this.inputValue=t.inputValue),t.valueType){this.valueType=t.valueType;var i=this.keyNames.find((function(t){return t.key==e.valueType}));i&&uni.setNavigationBarTitle({title:i.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 t=this;return(0,r.default)((0,a.default)().mark((function e(){var i,n,r,s;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.Post({},"/api/guide/getGuideLingoList");case 2:i=e.sent,n=[];try{n=(t.inputValue||"").split(",").map((function(t){return Number(t)}))}catch(a){}console.log(n),r=[{arr:i.data||[],name:"语言能力"}],t.lingoIds=r.map((function(t){var e=t.arr.filter((function(t){return n.includes(t.id)}));return(0,o.default)((0,o.default)({},t),{},{value:e.map((function(t){return t.id})),valueStr:e.map((function(t){return t.name})).join(",")})}));try{s=uni.getStorageSync("userfileList"),t.fileList=JSON.parse(s),console.log(t.fileList)}catch(a){t.fileList=[]}case 9:case"end":return e.stop()}}),e)})))()},initScenicList:function(){var t=this;return(0,r.default)((0,a.default)().mark((function e(){var i,n;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.Post({},"/api/guide/getGuideScenicList");case 2:i=e.sent,n=[];try{n=(t.inputValue||"").split(",").map((function(t){return Number(t)}))}catch(a){}console.log(n),t.scenicIds=(i.data||[]).map((function(t){var e=t.arr.filter((function(t){return n.includes(t.id)}));return(0,o.default)((0,o.default)({},t),{},{value:e.map((function(t){return t.id})),valueStr:e.map((function(t){return t.name})).join(",")})}));case 7:case"end":return e.stop()}}),e)})))()},initSparkleText:function(){var t=(this.inputValue||"").split(",").map((function(t){return{text:t}}));this.speakText=t},initVideo:function(){try{var t=uni.getStorageSync("userVideofileList");this.fileList=JSON.parse(t),console.log(this.fileList)}catch(e){this.fileList=[]}},initHonor:function(){try{var t=uni.getStorageSync("userVideofileList");this.fileList=JSON.parse(t),console.log(this.fileList)}catch(e){this.fileList=[]}},addText:function(){this.speakText.push({text:""})},delText:function(t){this.speakText.splice(t,1)},changeSelection:function(t){this.selectionItem=t,this.selection={arr:t.arr,value:JSON.parse(JSON.stringify(t.value)),valueStr:""},this.$refs.popup.open()},changeItemSelect:function(t){var e=this.selection.value.findIndex((function(e){return e==t.id}));e>=0?this.selection.value.splice(e,1):this.selection.value.push(t.id)},selectAll:function(){this.selection.value=this.selection.arr.map((function(t){return t.id}))},popSubmit:function(){var t=JSON.parse(JSON.stringify(this.selection)),e=t.arr.filter((function(e){return t.value.includes(e.id)}));["scenic_ids","lingo_ids"].includes(this.valueType)&&(this.selectionItem.value=t.value,this.selectionItem.valueStr=e.map((function(t){return t.name})).join(",")),this.$refs.popup.close()},uploadImage:function(){var t=this;this.NEWAPIURL;uni.chooseImage({count:1,success:function(e){var i=e.tempFilePaths;uni.uploadFile({url:"/api/api/Common/upload",filePath:i[0],name:"file",success:function(e){try{var i=JSON.parse(e.data);1==i.code&&t.fileList.push(i.data.url)}catch(n){}},fail:function(){uni.showToast({title:"上传失败",icon:"none"})}})},fail:function(){uni.showToast({title:"上传失败",icon:"none"})}})},uploadVideo:function(){var t=this;this.NEWAPIURL;uni.showLoading(),uni.chooseVideo({count:1,sourceType:["album"],success:function(e){var i=e.tempFilePath;uni.uploadFile({url:"/api/api/Common/upload",filePath:i,name:"file",success:function(e){uni.hideLoading();try{var i=JSON.parse(e.data);1==i.code&&t.fileList.push(i.data.url)}catch(n){}},fail:function(){uni.hideLoading(),uni.showToast({title:"上传失败",icon:"none"})}})},fail:function(){uni.hideLoading(),uni.showToast({title:"上传失败",icon:"none"})}})},removeFile:function(t){this.fileList.splice(t,1)},playVideo:function(t){var e=encodeURIComponent(t);uni.navigateTo({url:"/subPackages/video/index?url=".concat(e)})},changeDeleteMode:function(t){this.deleteIndex=[],this.deleteMode=t},changeDeleteIndex:function(t){var e=this.deleteIndex.findIndex((function(e){return e==t}));e>=0?this.deleteIndex.splice(e,1):this.deleteIndex.push(t),console.log(this.deleteIndex)},confirmDelVideo:function(){var t=this;this.fileList=this.fileList.filter((function(e,i){return!t.deleteIndex.includes(i)})),this.changeDeleteMode(!1)},handleSubmitData:function(){if(["scenic_ids","lingo_ids"].includes(this.valueType)){var t=[];"lingo_ids"==this.valueType&&(t=this.lingoIds),"scenic_ids"==this.valueType&&(t=this.scenicIds);var e=[];t.forEach((function(t){Array.isArray(t.value)&&t.value.length>0&&e.push(t)})),this.inputValue=e.map((function(t){return t.value.join(",")})).join(","),this.inputValueStr=e.map((function(t){return t.valueStr})).join(","),console.log(this.inputValue,this.inputValueStr)}if("sparkle_text"==this.valueType){if(!this.speakText[0].text)return uni.showToast({title:"主亮点必填",icon:"none"}),!0;this.inputValue=this.speakText.filter((function(t){return t.text})),this.inputValueStr=this.inputValue.map((function(t){return t.text})).join(",")}"video_list"==this.valueType&&(this.inputValue=JSON.parse(JSON.stringify(this.fileList)),this.inputValueStr="")},submit:function(){var t=this.handleSubmitData();t||(uni.$emit("updateInfo",{msgType:"registerInfo",data:{valueType:this.valueType,inputValue:this.inputValue,inputValueStr:this.inputValueStr,fileList:this.fileList}}),this.goBack())}}};e.default=s},"882c":function(t,e,i){var n=i("ae0c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("a11564ea",n,!0,{sourceMap:!1,shadowMode:!1})},ae0c:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-2827b05a]{box-sizing:initial}.bg[data-v-2827b05a]{min-height:100vh;overflow-x:hidden;background:#fff;padding-bottom:%?50?%}.empty-value[data-v-2827b05a]{font-weight:500;font-size:%?28?%;color:#999}.nickname-box[data-v-2827b05a]{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-2827b05a]{flex-shrink:0}.nickname-box uni-input[data-v-2827b05a]{flex:1;font-size:%?30?%;display:block}.user-other-info[data-v-2827b05a]{padding:%?30?%}.userinfo-item[data-v-2827b05a]{display:flex;align-items:center;font-size:%?28?%;color:#333;position:relative}.userinfo-item span[data-v-2827b05a]{flex-shrink:0;width:%?120?%}.userinfo-item > uni-view[data-v-2827b05a]{flex:1;padding:%?40?% %?10?% %?40?% 0;margin-left:%?30?%;border-bottom:1px solid #d8d8d8}.btn-tao[data-v-2827b05a]{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-2827b05a]{border-radius:%?0?%;background:#fff;overflow:hidden}.popup-box .btn-top[data-v-2827b05a]{padding:%?26?% %?26?% 0 %?26?%;color:#999;font-size:%?31?%;box-sizing:border-box}.popup-box .popup-content[data-v-2827b05a]{max-height:%?500?%;width:100%;overflow-x:hidden;overflow-y:auto}.popup-box .popup-item[data-v-2827b05a]{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.active[data-v-2827b05a]{color:#96684f}.popup-box .popup-item[data-v-2827b05a]:last-of-type{border:none}.popup-box .active-img[data-v-2827b05a]{position:absolute;right:%?10?%}.popup-box .popup-btns[data-v-2827b05a]{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-2827b05a]{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-2827b05a]{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-2827b05a]{display:flex;align-items:flex-start;padding-top:%?40?%}.language-doc-container span[data-v-2827b05a]{flex-shrink:0;width:%?120?%}.language-doc-container .img-container[data-v-2827b05a]{flex:1;flex-shrink:0;display:flex;flex-wrap:wrap;padding-left:%?20?%}.language-doc-container .img-container .doc-image[data-v-2827b05a]{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-2827b05a]{width:%?40?%;height:%?40?%;display:flex;align-items:center;justify-content:center;background:#000;color:#fff;position:absolute;top:%?-10?%;right:%?-10?%;border-radius:50%}.language-doc-container .img-container .upload-image[data-v-2827b05a]{width:%?43?%;height:%?41?%}.userinfo-item .point[data-v-2827b05a]{display:flex;align-items:center;justify-content:space-between}.userinfo-item .point uni-input[data-v-2827b05a]{font-size:%?28?%}.userinfo-item .point .del-icon[data-v-2827b05a]{padding-left:%?20?%}.add-btn[data-v-2827b05a]{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-2827b05a]{display:flex;flex-wrap:wrap;justify-content:space-between}.video-upload-container .upload-image[data-v-2827b05a]{width:%?72?%;height:%?68.67?%}.video-upload-container .video-upload-image[data-v-2827b05a]{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-2827b05a]{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-2827b05a]{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-2827b05a]{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-2827b05a]{width:%?44?%;height:%?44?%}.video-upload-container .video-upload-image .cover-div .delete-container.selected[data-v-2827b05a]{background:rgba(0,0,0,.8)}.bottom-btn[data-v-2827b05a]{padding:%?66?% %?80?% 0;display:flex;justify-content:space-between}.bottom-btn .btn[data-v-2827b05a]{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-2827b05a]:last-of-type{background:#96684f;border:none;color:#fff}.bottom-btn-fixed[data-v-2827b05a]{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-2827b05a]{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-2827b05a]:last-of-type{background:#96684f;border:none;color:#fff}',""]),t.exports=e},c52d:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uniIcons:i("21d0").default,uniPopup:i("d8ba").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"bg"},[i("v-uni-view",{staticClass:"user-other-info"},["scenic_ids"==t.valueType?i("v-uni-view",{staticClass:"scenic-container"},t._l(t.scenicIds,(function(e,n){return i("v-uni-view",{key:n,staticClass:"userinfo-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeSelection(e)}}},[i("span",[t._v(t._s(e.name))]),e.value.length>0?i("v-uni-view",{staticClass:"text-overflow"},[t._v(t._s(e.valueStr))]):i("v-uni-view",{staticClass:"empty-value"},[t._v("请选择")])],1)})),1):"lingo_ids"==t.valueType?i("v-uni-view",{staticClass:"lingo-container"},[t._l(t.lingoIds,(function(e,n){return i("v-uni-view",{key:n,staticClass:"userinfo-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeSelection(e)}}},[i("span",[t._v(t._s(e.name))]),e.value.length>0?i("v-uni-view",{staticClass:"text-overflow"},[t._v(t._s(e.valueStr))]):i("v-uni-view",{staticClass:"empty-value"},[t._v("请选择")])],1)})),i("v-uni-view",{staticClass:"language-doc-container"},[i("span",[t._v("证明材料")]),i("v-uni-view",{staticClass:"img-container"},[t._l(t.fileList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"doc-image"},[i("v-uni-image",{staticClass:"doc-image",attrs:{src:t.showImg(e)}}),i("v-uni-view",{staticClass:"doc-del",nativeOn:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.removeFile(n)}}},[t._v("x")])],1)})),i("v-uni-view",{staticClass:"doc-image flex flex-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadImage()}}},[i("v-uni-image",{staticClass:"upload-image",attrs:{src:t.showImg("/uploads/20241202/33e04a3b13241a6705616f6d6db315ce.png")}})],1)],2)],1)],2):"sparkle_text"==t.valueType?i("v-uni-view",{staticClass:"scenic-container"},[t._l(t.speakText,(function(e,n){return i("v-uni-view",{key:n,staticClass:"userinfo-item"},[i("span",[t._v(t._s(0==n?"主亮点":"副亮点"+n))]),i("v-uni-view",{staticClass:"point"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请输入内容"},model:{value:e.text,callback:function(i){t.$set(e,"text",i)},expression:"item.text"}}),0!=n?i("uni-icons",{staticClass:"del-icon",attrs:{type:"trash",size:"20"},nativeOn:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.delText(n)}}}):t._e()],1)],1)})),i("v-uni-view",{staticClass:"add-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addText.apply(void 0,arguments)}}},[t._v("+ 添加更多")])],2):"video_list"==t.valueType?i("v-uni-view",{staticClass:"video-container"},[i("v-uni-view",{staticClass:"top-del",staticStyle:{"text-align":"right","padding-bottom":"15rpx",position:"relative"}},[i("uni-icons",{attrs:{type:"trash",size:"19"},nativeOn:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeDeleteMode(!0)}}}),t.deleteIndex.length>0?i("v-uni-view",{staticClass:"del-num"},[t._v(t._s(t.deleteIndex.length))]):t._e()],1),i("v-uni-view",{staticClass:"video-upload-container"},[i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.deleteMode,expression:"!deleteMode"}],staticClass:"video-upload-image flex flex-column flex-center",staticStyle:{border:"1px dashed #ADADAD"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadVideo()}}},[i("v-uni-image",{staticClass:"upload-image",staticStyle:{"margin-bottom":"12rpx"},attrs:{src:t.showImg("/uploads/20241202/33e04a3b13241a6705616f6d6db315ce.png")}}),t._v("上传视频")],1),t._l(t.fileList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"video-upload-image"},[i("v-uni-video",{staticClass:"video-upload-image",attrs:{id:"fileList_"+n,src:t.showImg(e),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(e){arguments[0]=e=t.$handleEvent(e),t.startVideo("fileList_"+n)}}}),i("v-uni-view",{staticClass:"cover-div"},[i("v-uni-view",{staticClass:"cover-play",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.playVideo(e)}}},[i("v-uni-image",{staticStyle:{width:"66rpx",height:"66rpx"},attrs:{src:t.showImg("/uploads/20241202/44b29b02b77b0a0342bb38c2d9282f49.png")}})],1),t.deleteMode?i("v-uni-view",{class:["delete-container",t.deleteIndex.includes(n)?"selected":""],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.changeDeleteIndex(n)}}},[t.deleteIndex.includes(n)?i("v-uni-image",{attrs:{src:t.showImg("/uploads/20241202/21f56765ccdc74a07fbd3b30a72a87a0.png"),title:"选中"}}):i("v-uni-image",{attrs:{src:t.showImg("/uploads/20241202/b6e64e71e01a6cfd8ade6c639583357b.png"),title:"未选中"}})],1):t._e()],1)],1)}))],2)],1):i("v-uni-view",{staticClass:"nickname-box"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请输入内容"},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}})],1),["scenic_ids","sparkle_text","video_list"].includes(t.valueType)?t._e():i("v-uni-view",{staticClass:"btn-tao",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}},[t._v("保存")]),["scenic_ids","sparkle_text"].includes(t.valueType)?i("v-uni-view",{staticClass:"bottom-btn"},[i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack()}}},[t._v("取消")]),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit()}}},[t._v("保存")])],1):t._e(),["video_list"].includes(t.valueType)?i("v-uni-view",{staticClass:"bottom-btn-fixed"},[t.deleteMode?[i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeDeleteMode(!1)}}},[t._v("取消删除")]),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmDelVideo()}}},[t._v("确认删除")])]:[i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack()}}},[t._v("取消")]),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit()}}},[t._v("保存")])]],2):t._e()],1),i("uni-popup",{ref:"popup",attrs:{type:"bottom"}},[i("v-uni-view",{staticClass:"popup-box"},[i("v-uni-view",{staticClass:"btn-top flex flex-between w-full"},[i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.popup.close()}}},[t._v("取消")]),i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectAll.apply(void 0,arguments)}}},[t._v("全选")])],1),i("v-uni-view",{staticClass:"popup-content"},t._l(t.selection.arr,(function(e,n){return i("v-uni-view",{key:n,class:["popup-item","flex-center",t.selection.value.includes(e.id)?"active":""],on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeItemSelect(e)}}},[t._v(t._s(e.name)),i("uni-icons",{directives:[{name:"show",rawName:"v-show",value:t.selection.value.includes(e.id),expression:"selection.value.includes(item.id)"}],staticClass:"active-img",attrs:{type:"checkmarkempty",size:"23",color:"#96684F"}})],1)})),1),i("v-uni-view",{staticClass:"popup-btns flex-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.popSubmit.apply(void 0,arguments)}}},[i("v-uni-view",[t._v("确定")])],1)],1)],1)],1)},o=[]}}]);
|