pages-member-auth-Auth.6930cf36.js 22 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-member-auth-Auth"],{"07d0":function(e,t,i){var a=i("6d69");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("8da7eac6",a,!0,{sourceMap:!1,shadowMode:!1})},"20e9":function(e,t,i){var a=i("dec3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("0aa76e3b",a,!0,{sourceMap:!1,shadowMode:!1})},4305:function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("a9e3");var n=a(i("e8e6")),r=i("37dc"),o=a(i("6789")),u=(0,r.initVueI18n)(o.default),s=u.t,d={name:"uniPopupDialog",mixins:[n.default],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1}},data:function(){return{dialogType:"error",focus:!1,val:""}},computed:{okText:function(){return s("uni-popup.ok")},cancelText:function(){return s("uni-popup.cancel")},placeholderText:function(){return this.placeholder||s("uni-popup.placeholder")},titleText:function(){return this.title||s("uni-popup.title")}},watch:{type:function(e){this.dialogType=e},mode:function(e){"input"===e&&(this.dialogType="info")},value:function(e){this.val=e}},created:function(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog:function(){this.$emit("close"),this.beforeClose||this.popup.close()},close:function(){this.popup.close()}}};t.default=d},"4c4e":function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("5530")),r=i("0b9f"),o=a(i("cce0")),u=a(i("7b4a")),s=a(i("3618")),d=i("26cb"),c=i("a921"),l=a(i("f522")),p={name:"MemberProfileSet",data:function(){return{navHeight:0,imageValue:{},dialog:{},screenWidth:0,screenHeight:0,cropperOption:{img:"",canMove:!1,autoCrop:!0,autoCropWidth:100,autoCropHeight:100,maxImgSize:500,outputType:"png"},cropType:"",if_confirm:!1,showimage:"",realname:"",idcard:"",member_ww:""}},mounted:function(){var e=uni.getSystemInfoSync();this.screenWidth=e.windowWidth,this.screenHeight=e.windowHeight},components:{TitleHeader:o.default,MemberBase:u.default,flexLine:l.default,tuiPictureCropper:s.default},computed:(0,n.default)((0,n.default)({fontSize:function(){return(0,r.getFontSize)()}},(0,d.mapState)({user:function(e){return e.member.info}})),{},{getBannerStyle:function(){var e=this.screenWidth,t=this.screenHeight,i=e,a=t;return"max-width:"+i+"px;max-height:"+a+"px"}}),created:function(){this.user&&(this.realname=this.user.member_truename,this.idcard=this.user.member_idcard,this.user.member_idcard_image1_url&&(this.imageValue["member_idcard_image1"]=[{name:"member_idcard_image1",extname:"jpg",url:this.user.member_idcard_image1_url}]),this.user.member_idcard_image2_url&&(this.imageValue["member_idcard_image2"]=[{name:"member_idcard_image2",extname:"jpg",url:this.user.member_idcard_image2_url}]),this.user.member_idcard_image3_url&&(this.imageValue["member_idcard_image3"]=[{name:"member_idcard_image3",extname:"jpg",url:this.user.member_idcard_image3_url}]))},methods:(0,n.default)((0,n.default)({closeDialog:function(){},confirmDialog:function(e){var t=this;switch(this.dialog.condition){case 1:this.confirmSumit();break;case 2:(0,c.dropAuth)(this.dialog.data).then((function(e){t.user[t.dialog.data+"_url"]="";var i={};i[t.dialog.data+"_url"]="",t.memberEdit(i)})).catch((function(e){uni.showToast({icon:"none",title:e.message})}));break}},showPopup:function(e){this.$refs[e].open()},hidePopup:function(e){this.$refs[e].close()},goBack:function(){uni.navigateBack({delta:1})}},(0,d.mapMutations)({memberEdit:"memberEdit"})),{},{submitInformation:function(){this.if_confirm?(this.dialog={condition:1,content:"请仔细核对信息,确认上传后除非管理员审核否则无法再次上传"},this.$refs.confirm.open()):this.confirmSumit()},confirmSumit:function(){var e=this;(0,c.updateMemberAuth)(this.realname,this.idcard,this.if_confirm).then((function(t){e.if_confirm?(e.memberEdit({member_truename:e.realname,member_idcard:e.idcard,member_auth_state:1}),uni.showToast({icon:"none",title:t.message})):(e.if_confirm=!0,e.submitInformation())})).catch((function(e){uni.showToast({icon:"none",title:e.message})}))},openImage:function(e){this.showimage=e,this.showPopup("isshow")},dropImage:function(e){this.dialog={content:"确定要删除该图片吗?",data:e},this.$refs.confirm.open()},useCrop:function(e){var t=this,i=this.cropType,a={filePath:e.url,name:i,id:i};(0,c.uploadAuth)(a).then((function(e){t.user[i+"_url"]=e.result.file_path,t.imageValue[i]=[{name:i,extname:"jpg",url:e.result.file_path}];var a={};a[i+"_url"]=e.result.file_path,t.memberEdit(a),t.cropperOption.imgUrl="",t.$forceUpdate(),uni.hideLoading()})).catch((function(e){uni.showToast({icon:"none",title:e.message}),uni.hideLoading(),this.cropperOption.imgUrl="",this.$forceUpdate()}))},cropReady:function(){this.cropperOption.img=this.cropperOption.imgUrl},cropBack:function(){this.cropperOption.imgUrl="",this.$forceUpdate()},uploadInformPic:function(e,t){this.cropType=e;var i=t.tempFiles[0];this.cropperOption.imgUrl=i.path,this.cropperOption.autoCropWidth=uni.getSystemInfoSync().windowWidth,this.cropperOption.autoCropHeight=uni.getSystemInfoSync().windowWidth,this.cropperOption.maxImgSize=uni.getSystemInfoSync().windowHeight-40,this.$forceUpdate()}})};t.default=p},"5fe0":function(e,t,i){"use strict";var a=i("dade"),n=i.n(a);n.a},6789:function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("7310")),r=a(i("be7d")),o=a(i("bbf3")),u={en:n.default,"zh-Hans":r.default,"zh-Hant":o.default};t.default=u},"6d69":function(e,t,i){var a=i("24fb");t=a(!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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-popup-dialog[data-v-426fce18]{width:300px;border-radius:15px;background-color:#fff}.uni-dialog-title[data-v-426fce18]{display:flex;flex-direction:row;justify-content:center;padding-top:15px;padding-bottom:5px}.uni-dialog-title-text[data-v-426fce18]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-426fce18]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:5px 15px 15px 15px}.uni-dialog-content-text[data-v-426fce18]{font-size:14px;color:#6e6e6e}.uni-dialog-button-group[data-v-426fce18]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-426fce18]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-426fce18]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-426fce18]{font-size:14px}.uni-button-color[data-v-426fce18]{color:#007aff}.uni-dialog-input[data-v-426fce18]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-426fce18]{color:#4cd964}.uni-popup__warn[data-v-426fce18]{color:#f0ad4e}.uni-popup__error[data-v-426fce18]{color:#dd524d}.uni-popup__info[data-v-426fce18]{color:#909399}',""]),e.exports=t},"6ef3e":function(e,t,i){"use strict";i.r(t);var a=i("4c4e"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},7310:function(e){e.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')},7817:function(e,t,i){"use strict";i.r(t);var a=i("e550"),n=i("6ef3e");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("5fe0"),i("e544");var o=i("f0c5"),u=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"68e354c3",null,!1,a["a"],void 0);t["default"]=u.exports},a921:function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.uploadMemberAvatar=t.uploadAuth=t.updateMemberInfo=t.updateMemberAuth=t.logout=t.goodsPoster=t.getMemberInfo=t.getMemberIndex=t.dropAuth=void 0;var a=i("887c");t.logout=function(e){return(0,a.requestApi)("/Logout/index","POST",{username:e,client:"wap"},"member")};t.getMemberIndex=function(){return(0,a.requestApi)("/Member/index","POST",{},"member")};t.getMemberInfo=function(){return(0,a.requestApi)("/Member/information","POST",{},"member")};t.updateMemberInfo=function(e){return(0,a.requestApi)("/Member/edit_information","POST",{member_nickname:e.member_nickname,member_qq:e.member_qq,member_ww:e.member_ww,member_birthday:e.member_birthday},"member")};t.uploadMemberAvatar=function(e){return(0,a.requestApi)("/Member/edit_memberavatar","POST",e,"member",!0)};t.uploadAuth=function(e){return(0,a.requestApi)("/Member/edit_auth","POST",e,"member",!0)};t.dropAuth=function(e){return(0,a.requestApi)("/Member/drop_auth","POST",{file_name:e},"member")};t.updateMemberAuth=function(e,t,i){return(0,a.requestApi)("/Member/auth","POST",{member_truename:e,member_idcard:t,if_confirm:i},"member")};t.goodsPoster=function(e){return(0,a.requestApi)("/Member/goods_poster","POST",{goods_id:e},"member")}},ae75:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"uni-popup-dialog"},[i("v-uni-view",{staticClass:"uni-dialog-title"},[i("v-uni-text",{staticClass:"uni-dialog-title-text",class:["uni-popup__"+e.dialogType]},[e._v(e._s(e.titleText))])],1),"base"===e.mode?i("v-uni-view",{staticClass:"uni-dialog-content"},[e._t("default",[i("v-uni-text",{staticClass:"uni-dialog-content-text"},[e._v(e._s(e.content))])])],2):i("v-uni-view",{staticClass:"uni-dialog-content"},[e._t("default",[i("v-uni-input",{staticClass:"uni-dialog-input",attrs:{type:"text",placeholder:e.placeholderText,focus:e.focus},model:{value:e.val,callback:function(t){e.val=t},expression:"val"}})])],2),i("v-uni-view",{staticClass:"uni-dialog-button-group"},[i("v-uni-view",{staticClass:"uni-dialog-button",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeDialog.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"uni-dialog-button-text"},[e._v(e._s(e.cancelText))])],1),i("v-uni-view",{staticClass:"uni-dialog-button uni-border-left",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onOk.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"uni-dialog-button-text uni-button-color"},[e._v(e._s(e.okText))])],1)],1)],1)},n=[]},b0cc:function(e,t,i){"use strict";var a=i("07d0"),n=i.n(a);n.a},b44c:function(e,t,i){"use strict";i.r(t);var a=i("ae75"),n=i("d6b8");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("b0cc");var o=i("f0c5"),u=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"426fce18",null,!1,a["a"],void 0);t["default"]=u.exports},bbf3:function(e){e.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},be7d:function(e){e.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},ccd8:function(e,t,i){var a=i("24fb");t=a(!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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.common-header .btn[data-v-68e354c3]{background:#000;color:#fff;box-shadow:0 2px 4px #d2d2d2}.ds-button-large[data-v-68e354c3]{margin:0 .6rem}.member-auth[data-v-68e354c3]{background:#fff}.member-auth .main-content[data-v-68e354c3]{padding:0 .6rem;box-sizing:border-box}.member-auth .form .form-wrapper[data-v-68e354c3]{position:relative;box-shadow:0 4px 4px #f7f7f7;z-index:2}.member-auth .form .title[data-v-68e354c3]{font-size:.7rem;font-weight:700}.member-auth .idcard-wrapper .idcard-item[data-v-68e354c3]{background:#fff;padding:1rem 0}.member-auth .idcard-wrapper .idcard-item .del-btn[data-v-68e354c3]{position:absolute;font-size:1.5rem;top:-.75rem;right:-.75rem}',""]),e.exports=t},d6b8:function(e,t,i){"use strict";i.r(t);var a=i("4305"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},dade:function(e,t,i){var a=i("ccd8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("707a61c8",a,!0,{sourceMap:!1,shadowMode:!1})},dec3:function(e,t,i){var a=i("24fb");t=a(!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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.member-auth .mint-cell-title[data-v-68e354c3]{flex:unset;width:7rem}.member-auth .mint-cell-value[data-v-68e354c3]{flex:1}',""]),e.exports=t},e544:function(e,t,i){"use strict";var a=i("20e9"),n=i.n(a);n.a},e550:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var a={pageMeta:i("6d42").default,uniNavBar:i("7bfb").default,uniFilePicker:i("2645").default,uniPopup:i("3ae3").default,uniPopupDialog:i("b44c").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("page-meta",{attrs:{"root-font-size":e.fontSize+"px"}}),i("member-base",{attrs:{show:!1}},[i("v-uni-view",{staticClass:"div member-auth"},[i("v-uni-view",{staticClass:"div common-header-wrap"},[i("v-uni-view",{style:"height:"+e.navHeight+"px"}),i("v-uni-view",{staticClass:"common-header-holder"}),i("v-uni-view",{staticClass:"common-header-fixed"},[i("title-header"),i("uni-nav-bar",{staticClass:"common-header",attrs:{title:"实名认证","left-icon":"back"},on:{clickLeft:function(t){arguments[0]=t=e.$handleEvent(t),e.goBack()}}})],1)],1),i("v-uni-view",{staticClass:"div form main-content"},[i("v-uni-view",{staticClass:"div form-wrapper"},[1!=e.user.member_auth_state&&3!=e.user.member_auth_state?i("flex-line",{staticClass:"field-line menu-item",attrs:{"show-border":!0}},[i("v-uni-text",{staticClass:"span field-name"},[e._v("真实姓名:")]),i("v-uni-view",{staticClass:"div field-line-right",attrs:{slot:"right"},slot:"right"},[i("v-uni-input",{staticClass:"field-input",model:{value:e.realname,callback:function(t){e.realname=t},expression:"realname"}})],1)],1):i("flex-line",{attrs:{"show-border":!0}},[i("v-uni-text",{staticClass:"span line-name"},[e._v("真实姓名:")]),i("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.realname))])],1),1!=e.user.member_auth_state&&3!=e.user.member_auth_state?i("flex-line",{staticClass:"field-line menu-item",attrs:{"show-border":!0}},[i("v-uni-text",{staticClass:"span field-name"},[e._v("身份证号:")]),i("v-uni-view",{staticClass:"div field-line-right",attrs:{slot:"right"},slot:"right"},[i("v-uni-input",{staticClass:"field-input",model:{value:e.idcard,callback:function(t){e.idcard=t},expression:"idcard"}})],1)],1):i("flex-line",{attrs:{"show-border":!0}},[i("v-uni-text",{staticClass:"span line-name"},[e._v("身份证号:")]),i("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.idcard))])],1)],1),i("v-uni-view",{staticClass:"div idcard-wrapper pt-10"},[i("v-uni-view",{staticClass:"div title"},[e._v("手持身份证照片")]),i("v-uni-view",{staticClass:"div idcard-item"},[i("v-uni-view",{staticClass:"div img"},[i("v-uni-view",{staticClass:"div user-avatar"},[i("uni-file-picker",{staticClass:"common-avatar",attrs:{fileMediatype:"image",mode:"grid",readonly:1==e.user.member_auth_state||3==e.user.member_auth_state,limit:1,"auto-upload":!1,"image-styles":{width:"200px",height:"160px"}},on:{select:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadInformPic("member_idcard_image1",t)},delete:function(t){arguments[0]=t=e.$handleEvent(t),e.dropImage("member_idcard_image1")}},model:{value:e.imageValue["member_idcard_image1"],callback:function(t){e.$set(e.imageValue,"member_idcard_image1",t)},expression:"imageValue['member_idcard_image1']"}})],1)],1)],1),i("v-uni-view",{staticClass:"div title"},[e._v("身份证正面照片")]),i("v-uni-view",{staticClass:"div idcard-item"},[i("v-uni-view",{staticClass:"div img"},[i("v-uni-view",{staticClass:"div user-avatar"},[i("uni-file-picker",{staticClass:"common-avatar",attrs:{fileMediatype:"image",mode:"grid",readonly:1==e.user.member_auth_state||3==e.user.member_auth_state,limit:1,"auto-upload":!1,"image-styles":{width:"200px",height:"160px"}},on:{select:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadInformPic("member_idcard_image2",t)},delete:function(t){arguments[0]=t=e.$handleEvent(t),e.dropImage("member_idcard_image2")}},model:{value:e.imageValue["member_idcard_image2"],callback:function(t){e.$set(e.imageValue,"member_idcard_image2",t)},expression:"imageValue['member_idcard_image2']"}})],1)],1)],1),i("v-uni-view",{staticClass:"div title"},[e._v("身份证反面照片")]),i("v-uni-view",{staticClass:"div idcard-item"},[i("v-uni-view",{staticClass:"div img"},[i("v-uni-view",{staticClass:"div user-avatar"},[i("uni-file-picker",{staticClass:"common-avatar",attrs:{fileMediatype:"image",mode:"grid",readonly:1==e.user.member_auth_state||3==e.user.member_auth_state,limit:1,"auto-upload":!1,"image-styles":{width:"200px",height:"160px"}},on:{select:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadInformPic("member_idcard_image3",t)},delete:function(t){arguments[0]=t=e.$handleEvent(t),e.dropImage("member_idcard_image3")}},model:{value:e.imageValue["member_idcard_image3"],callback:function(t){e.$set(e.imageValue,"member_idcard_image3",t)},expression:"imageValue['member_idcard_image3']"}})],1)],1)],1)],1),i("v-uni-view",{staticClass:"div pb-10 pt-10"},[1!=e.user.member_auth_state&&3!=e.user.member_auth_state?i("v-uni-view",{staticClass:"div common-btn ds-button-large",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submitInformation.apply(void 0,arguments)}}},[e._v("保存")]):e._e()],1)],1),i("uni-popup",{ref:"isshow",staticClass:"popup",attrs:{"background-color":"#fff"}},[i("v-uni-image",{staticClass:"img",style:e.getBannerStyle,attrs:{mode:"aspectFit",src:e.showimage},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.hidePopup("isshow")}}})],1),e.cropperOption.imgUrl?i("tui-picture-cropper",{attrs:{width:e.cropperOption.autoCropWidth,height:e.cropperOption.autoCropHeight,imageUrl:e.cropperOption.img},on:{ready:function(t){arguments[0]=t=e.$handleEvent(t),e.cropReady.apply(void 0,arguments)},cropper:function(t){arguments[0]=t=e.$handleEvent(t),e.useCrop.apply(void 0,arguments)},back:function(t){arguments[0]=t=e.$handleEvent(t),e.cropBack.apply(void 0,arguments)}}}):e._e()],1),i("uni-popup",{ref:"confirm",attrs:{"background-color":"#fff",type:"dialog"}},[i("uni-popup-dialog",{attrs:{mode:e.dialog.mode,title:e.dialog.title,content:e.dialog.content,placeholder:e.dialog.content},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.confirmDialog.apply(void 0,arguments)},close:function(t){arguments[0]=t=e.$handleEvent(t),e.closeDialog.apply(void 0,arguments)}}})],1)],1)],1)},r=[]},e8e6:function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",t=this.$parent,i=t.$options.name;while(i!==e){if(t=t.$parent,!t)return!1;i=t.$options.name}return t}}};t.default=a}}]);