(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Information-Information"],{"2d22":function(e,t,a){"use strict";a("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("a9e3");var i={props:{accept:{type:String,default:uni.$u.props.upload.accept},capture:{type:[String,Array],default:uni.$u.props.upload.capture},compressed:{type:Boolean,default:uni.$u.props.upload.compressed},camera:{type:String,default:uni.$u.props.upload.camera},maxDuration:{type:Number,default:uni.$u.props.upload.maxDuration},uploadIcon:{type:String,default:uni.$u.props.upload.uploadIcon},uploadIconColor:{type:String,default:uni.$u.props.upload.uploadIconColor},useBeforeRead:{type:Boolean,default:uni.$u.props.upload.useBeforeRead},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:uni.$u.props.upload.previewFullImage},maxCount:{type:[String,Number],default:uni.$u.props.upload.maxCount},disabled:{type:Boolean,default:uni.$u.props.upload.disabled},imageMode:{type:String,default:uni.$u.props.upload.imageMode},name:{type:String,default:uni.$u.props.upload.name},sizeType:{type:Array,default:uni.$u.props.upload.sizeType},multiple:{type:Boolean,default:uni.$u.props.upload.multiple},deletable:{type:Boolean,default:uni.$u.props.upload.deletable},maxSize:{type:[String,Number],default:uni.$u.props.upload.maxSize},fileList:{type:Array,default:uni.$u.props.upload.fileList},uploadText:{type:String,default:uni.$u.props.upload.uploadText},width:{type:[String,Number],default:uni.$u.props.upload.width},height:{type:[String,Number],default:uni.$u.props.upload.height},previewImage:{type:Boolean,default:uni.$u.props.upload.previewImage}}};t.default=i},3258:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i}));var i={uUpload:a("c34a").default,DialogBox:a("766d").default,uToast:a("e220").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page"},[a("v-uni-view",{staticClass:"user-list"},[a("v-uni-view",{staticClass:"list",staticStyle:{height:"160rpx"}},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",[e._v("头像")])],1),a("v-uni-view",{staticClass:"more-content"},[a("u-upload",{ref:"upload",staticStyle:{display:"none"},attrs:{fileList:e.finishImageList,previewFullImage:!1,width:"50",height:"50",name:"1"},on:{afterRead:function(t){arguments[0]=t=e.$handleEvent(t),e.afterRead.apply(void 0,arguments)}}}),a("v-uni-image",{attrs:{src:e.avatarUrl,mode:""},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadAvatar.apply(void 0,arguments)}}}),a("v-uni-text",{staticClass:"iconfont icon-more more"})],1)],1),a("v-uni-view",{staticClass:"list",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onNickname.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",[e._v("昵称")])],1),a("v-uni-view",{staticClass:"more-content"},[a("v-uni-text",{staticClass:"content"},[e._v(e._s(e.nickname))]),a("v-uni-text",{staticClass:"iconfont icon-more more"})],1)],1)],1),a("DialogBox",{ref:"DialogBox"}),a("u-toast",{ref:"uToast"})],1)},o=[]},"38c1":function(e,t,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.chooseFile=function(e){var t=e.accept,a=e.multiple,i=e.capture,s=e.compressed,r=e.maxDuration,l=e.sizeType,c=e.camera,d=e.maxCount;return new Promise((function(e,p){switch(t){case"image":uni.chooseImage({count:a?Math.min(d,9):1,sourceType:i,sizeType:l,success:function(t){return e(function(e){return e.tempFiles.map((function(e){return(0,n.default)((0,n.default)({},o(e,["path"])),{},{type:"image",url:e.path,thumb:e.path,size:e.size,name:e.name})}))}(t))},fail:p});break;case"video":uni.chooseVideo({sourceType:i,compressed:s,maxDuration:r,camera:c,success:function(t){return e(function(e){return[(0,n.default)((0,n.default)({},o(e,["tempFilePath","thumbTempFilePath","errMsg"])),{},{type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size,name:e.name})]}(t))},fail:p});break;case"file":uni.chooseFile({count:a?d:1,type:t,success:function(t){return e(u(t))},fail:p});break;default:uni.chooseFile({count:a?d:1,type:"all",success:function(t){return e(u(t))},fail:p})}}))};var n=i(a("5530"));function o(e,t){return["[object Object]","[object File]"].includes(Object.prototype.toString.call(e))?Object.keys(e).reduce((function(a,i){return t.includes(i)||(a[i]=e[i]),a}),{}):{}}function u(e){return e.tempFiles.map((function(e){return(0,n.default)((0,n.default)({},o(e,["path"])),{},{url:e.path,size:e.size,name:e.name,type:e.type})}))}a("caad"),a("d3b7"),a("13d5"),a("b64b"),a("2532"),a("d81d")},"4d7a":function(e,t,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("99af"),a("d81d"),a("14d9"),a("d3b7");var n=i(a("c7eb")),o=i(a("5530")),u=i(a("1da1")),s=a("a5ba"),r=a("2c89"),l={data:function(){return{finishImageList:[],fileList1:[],DialogBox:{},nickname:"",finishName:"",avatarUrl:"",avatarUrl_short:""}},onLoad:function(e){this.nickname=e.name,this.avatarUrl=e.avatar},methods:{uploadAvatar:function(){this.$refs.upload.chooseFile()},afterRead:function(e){var t=this;return(0,u.default)((0,n.default)().mark((function a(){var i,u,s;return(0,n.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:i=[].concat(e.file),t["fileList".concat(e.name)].length,i.map((function(a){t["fileList".concat(e.name)].push((0,o.default)((0,o.default)({},a),{},{status:"uploading",message:"上传中"}))})),u=0;case 4:if(!(ut})):e.size>t;i?this.$emit("oversize",Object.assign({file:e},this.getDetail())):("function"===typeof a&&a(e,this.getDetail()),this.$emit("afterRead",Object.assign({file:e},this.getDetail())))},deleteItem:function(e){this.$emit("delete",Object.assign(Object.assign({},this.getDetail(e)),{file:this.fileList[e]}))},onPreviewImage:function(e){var t=this;e.isImage&&this.previewFullImage&&uni.previewImage({urls:this.lists.filter((function(e){return"image"===t.accept||uni.$u.test.image(e.url||e.thumb)})).map((function(e){return e.url||e.thumb})),current:e.url||e.thumb,fail:function(){uni.$u.toast("预览图片失败")}})},onPreviewVideo:function(e){if(this.data.previewFullImage){var t=e.currentTarget.dataset.index,a=this.data.lists;wx.previewMedia({sources:a.filter((function(e){return isVideoFile(e)})).map((function(e){return Object.assign(Object.assign({},e),{type:"video"})})),current:t,fail:function(){uni.$u.toast("预览视频失败")}})}},onClickPreview:function(e){var t=e.currentTarget.dataset.index,a=this.data.lists[t];this.$emit("clickPreview",Object.assign(Object.assign({},a),this.getDetail(t)))}}};t.default=s},"99d5":function(e,t,a){"use strict";var i=a("a2ea"),n=a.n(i);n.a},a2ea:function(e,t,a){var i=a("b9ec");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("34a45229",i,!0,{sourceMap:!1,shadowMode:!1})},a32e:function(e,t,a){"use strict";a.r(t);var i=a("99c4"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);t["default"]=n.a},b7e4:function(e,t,a){"use strict";a.r(t);var i=a("4d7a"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);t["default"]=n.a},b9ec:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page[data-v-a3ea99b0]{position:absolute;left:0;bottom:0;width:100%;height:100%;background-color:#f6f6f6;padding:0 %?24?%}\r\n/* 用户信息列表 */.user-list[data-v-a3ea99b0]{padding:0 4%;background-color:#fff;border-radius:%?20?%;margin:%?20?% auto}.user-list .list[data-v-a3ea99b0]{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.user-list .list .title[data-v-a3ea99b0]{display:flex;align-items:center}.user-list .list .title uni-text[data-v-a3ea99b0]{font-size:%?28?%;color:#222}.user-list .list .more-content[data-v-a3ea99b0]{display:flex;align-items:center}.user-list .list .more-content uni-image[data-v-a3ea99b0]{width:%?100?%;height:%?100?%;border-radius:100%}.user-list .list .more-content .content[data-v-a3ea99b0]{font-size:%?28?%;color:#959595}.user-list .list .more-content .more[data-v-a3ea99b0]{font-size:%?24?%;color:#959595;margin-left:%?20?%}.user-list .list .picker[data-v-a3ea99b0]{position:absolute;width:100%;height:100%;opacity:0}[data-v-a3ea99b0] .u-upload__deletable{display:none}',""]),e.exports=t},c34a:function(e,t,a){"use strict";a.r(t);var i=a("d3fa"),n=a("a32e");for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);a("740e");var u=a("f0c5"),s=Object(u["a"])(n["default"],i["b"],i["c"],!1,null,"5f2310ee",null,!1,i["a"],void 0);t["default"]=s.exports},d3fa:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i}));var i={uIcon:a("83ea").default,uLoadingIcon:a("3080").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"u-upload",style:[e.$u.addStyle(e.customStyle)]},[a("v-uni-view",{staticClass:"u-upload__wrap"},[e.previewImage?e._l(e.lists,(function(t,i){return a("v-uni-view",{key:i,staticClass:"u-upload__wrap__preview"},[t.isImage||t.type&&"image"===t.type?a("v-uni-image",{staticClass:"u-upload__wrap__preview__image",style:[{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}],attrs:{src:t.thumb||t.url,mode:e.imageMode},on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.onPreviewImage(t)}}}):a("v-uni-view",{staticClass:"u-upload__wrap__preview__other"},[a("u-icon",{attrs:{color:"#80CBF9",size:"26",name:t.isVideo||t.type&&"video"===t.type?"movie":"folder"}}),a("v-uni-text",{staticClass:"u-upload__wrap__preview__other__text"},[e._v(e._s(t.isVideo||t.type&&"video"===t.type?"视频":"文件"))])],1),"uploading"===t.status||"failed"===t.status?a("v-uni-view",{staticClass:"u-upload__status"},[a("v-uni-view",{staticClass:"u-upload__status__icon"},["failed"===t.status?a("u-icon",{attrs:{name:"close-circle",color:"#ffffff",size:"25"}}):a("u-loading-icon",{attrs:{size:"22",mode:"circle",color:"#ffffff"}})],1),t.message?a("v-uni-text",{staticClass:"u-upload__status__message"},[e._v(e._s(t.message))]):e._e()],1):e._e(),"uploading"!==t.status&&(e.deletable||t.deletable)?a("v-uni-view",{staticClass:"u-upload__deletable",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.deleteItem(i)}}},[a("v-uni-view",{staticClass:"u-upload__deletable__icon"},[a("u-icon",{attrs:{name:"close",color:"#ffffff",size:"10"}})],1)],1):e._e(),"success"===t.status?a("v-uni-view",{staticClass:"u-upload__success"},[a("v-uni-view",{staticClass:"u-upload__success__icon"},[a("u-icon",{attrs:{name:"checkmark",color:"#ffffff",size:"12"}})],1)],1):e._e()],1)})):e._e(),e.isInCount?[e.$slots.default||e.$slots.$default?a("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseFile.apply(void 0,arguments)}}},[e._t("default")],2):a("v-uni-view",{staticClass:"u-upload__button",class:[e.disabled&&"u-upload__button--disabled"],style:[{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}],attrs:{"hover-class":e.disabled?"":"u-upload__button--hover","hover-stay-time":"150"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseFile.apply(void 0,arguments)}}},[a("u-icon",{attrs:{name:e.uploadIcon,size:"26",color:e.uploadIconColor}}),e.uploadText?a("v-uni-text",{staticClass:"u-upload__button__text"},[e._v(e._s(e.uploadText))]):e._e()],1)]:e._e()],2)],1)},o=[]},d495:function(e,t,a){"use strict";a("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={watch:{accept:{immediate:!0,handler:function(e){"all"!==e&&"media"!==e||uni.$u.error("只有微信小程序才支持把accept配置为all、media之一")}}}};t.default=i},f5ae:function(e,t,a){"use strict";a.r(t);var i=a("3258"),n=a("b7e4");for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);a("99d5");var u=a("f0c5"),s=Object(u["a"])(n["default"],i["b"],i["c"],!1,null,"a3ea99b0",null,!1,i["a"],void 0);t["default"]=s.exports},fc1a:function(e,t,a){var i=a("97c5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("64ef78a4",i,!0,{sourceMap:!1,shadowMode:!1})}}]);