连云港陪玩陪聊
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.
 
 
 
 
 
 
chunwan/unpackage/dist/build/web/static/js/pages-users-renzheng-zhenre...

1 lines
5.0 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-renzheng-zhenren"],{"10fb":function(e,t,n){var a=n("c86c");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-page-body[data-v-3e549e88]{background-color:#fff}body.?%PAGE?%[data-v-3e549e88]{background-color:#fff}.phone[data-v-3e549e88]{padding:%?25?%;overflow:hidden}.phone-fd[data-v-3e549e88]{width:100%;position:fixed;left:0;bottom:%?50?%;z-index:22}.phone-fd .btn[data-v-3e549e88]{width:%?700?%;line-height:%?98?%;background:linear-gradient(0deg,#000,#3d3b38);border-radius:%?98?%;font-weight:400;font-size:%?34?%;text-align:center;color:#fff;margin:0 auto}.phone .title[data-v-3e549e88]{color:#222;font-weight:500;font-size:%?30?%;text-align:center;margin-top:%?30?%}.phone .tips[data-v-3e549e88]{font-weight:500;font-size:%?24?%;color:#999;text-align:center;margin-top:%?20?%;line-height:%?50?%}.phone-bd[data-v-3e549e88]{padding-top:%?140?%;text-align:center}.phone-bd uni-image[data-v-3e549e88]{width:%?353?%;height:%?252?%}',""]),e.exports=t},"596a":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n("2634")),r=a(n("2fdc")),o={data:function(){return{userInfo:{}}},onReady:function(){var e=this;uni.$on("uAvatarCropper",(function(t){var n=e;uni.uploadFile({url:n.$baseUrl+"/prod-api/api/user/uploadOSSFile",filePath:t,name:"file",formData:{userId:uni.getStorageSync("userInfo").id},complete:function(e){if(200==e.statusCode){var t=JSON.parse(e.data),a=t.code,i=t.data;t.msg;200==a?(uni.showToast({title:"上传成功"}),n.toReg(i)):uni.showToast({icon:"error",title:"上传失败"})}else uni.showToast({icon:"error",title:"上传失败"})}})}))},methods:{toNext:function(){this.$u.route({url:"/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-shiming",params:{destWidth:700,rectWidth:300,fileType:"jpg"}})},toReg:function(e){var t=this;return(0,r.default)((0,i.default)().mark((function n(){var a,r,o;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$api.detectLivingFace({userId:uni.getStorageSync("userInfo").id,faceImage:e});case 2:a=n.sent,r=a.code,a.data,o=a.msg,200==r?(uni.showToast({title:"提交成功"}),setTimeout((function(){uni.navigateBack({delta:1})}),2e3)):uni.showToast({icon:"none",position:"bottom",title:o});case 7:case"end":return n.stop()}}),n)})))()}}};t.default=o},"77b8":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"phone"},[n("v-uni-view",{staticClass:"phone-bd"},[n("v-uni-view",{staticClass:"item"},[1==e.userInfo.faceFlag?n("v-uni-image",{attrs:{src:"/static/renzheng-shibai.png"}}):n("v-uni-image",{attrs:{src:"/static/renzheng-zhong.png"}})],1)],1),n("v-uni-view",{staticClass:"title"},[e._v("请拍照")]),n("v-uni-view",{staticClass:"tips"},[n("v-uni-text",[e._v("提示:真人认证我们会比对实名认证的活体采集与头像\\n信息是否匹配,若匹配,认证通过;\\n若不匹配,认证失败")])],1),n("v-uni-view",{staticClass:"phone-fd"},[n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toNext.apply(void 0,arguments)}}},[e._v("上传头像")])],1)],1)},i=[]},"77e9":function(e,t,n){"use strict";n.r(t);var a=n("77b8"),i=n("f7bc");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("f80f");var o=n("828b"),s=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"3e549e88",null,!1,a["a"],void 0);t["default"]=s.exports},a799:function(e,t,n){var a=n("10fb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("b2424d88",a,!0,{sourceMap:!1,shadowMode:!1})},f7bc:function(e,t,n){"use strict";n.r(t);var a=n("596a"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},f80f:function(e,t,n){"use strict";var a=n("a799"),i=n.n(a);i.a}}]);