(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-auth-card-auth-card"],{"09f0":function(t,e,i){"use strict";function n(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,a=!1,o=void 0;try{for(var r,c=t[Symbol.iterator]();!(n=(r=c.next()).done);n=!0)if(i.push(r.value),e&&i.length===e)break}catch(l){a=!0,o=l}finally{try{n||null==c["return"]||c["return"]()}finally{if(a)throw o}}return i}}i("a4d3"),i("e01a"),i("d28b"),i("d3b7"),i("3ca3"),i("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},"0d21":function(t,e,i){"use strict";function n(t){if(Array.isArray(t))return t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},1858:function(t,e,i){"use strict";i.r(e);var n=i("df00"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},3835:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var n=c(i("0d21")),a=c(i("09f0")),o=c(i("06c5")),r=c(i("3d8c"));function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e){return(0,n.default)(t)||(0,a.default)(t,e)||(0,o.default)(t,e)||(0,r.default)()}},"3d8c":function(t,e,i){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},"5bed":function(t,e,i){t.exports=i.p+"static/img/auth-paper.d5bc7047.png"},"6b66":function(t,e,i){"use strict";var n=i("bbdd"),a=i.n(n);a.a},8005:function(t,e,i){(function(e){var n;function a(){var t=!1,i=plus.ios.import("UIApplication"),n=i.sharedApplication(),a=0;if(n.currentUserNotificationSettings){var o=n.currentUserNotificationSettings();a=o.plusGetAttribute("types"),e.log("enabledTypes1:"+a),0==a?e.log("推送权限没有开启"):(t=!0,e.log("已经开启推送功能!")),plus.ios.deleteObject(o)}else a=n.enabledRemoteNotificationTypes(),0==a?e.log("推送权限没有开启!"):(t=!0,e.log("已经开启推送功能!")),e.log("enabledTypes2:"+a);return plus.ios.deleteObject(n),plus.ios.deleteObject(i),t}function o(){var t=!1,i=plus.ios.import("CLLocationManager"),n=i.authorizationStatus();return t=2!=n,e.log("定位权限开启:"+t),plus.ios.deleteObject(i),t}function r(){var t=!1,i=plus.ios.import("AVAudioSession"),n=i.sharedInstance(),a=n.recordPermission();return e.log("permissionStatus:"+a),1684369017==a||1970168948==a?e.log("麦克风权限没有开启"):(t=!0,e.log("麦克风权限已经开启")),plus.ios.deleteObject(i),t}function c(){var t=!1,i=plus.ios.import("AVCaptureDevice"),n=i.authorizationStatusForMediaType("vide");return e.log("authStatus:"+n),3==n?(t=!0,e.log("相机权限已经开启")):e.log("相机权限没有开启"),plus.ios.deleteObject(i),t}function l(){var t=!1,i=plus.ios.import("PHPhotoLibrary"),n=i.authorizationStatus();return e.log("authStatus:"+n),3==n?(t=!0,e.log("相册权限已经开启")):e.log("相册权限没有开启"),plus.ios.deleteObject(i),t}function s(){var t=!1,i=plus.ios.import("CNContactStore"),n=i.authorizationStatusForEntityType(0);return 3==n?(t=!0,e.log("通讯录权限已经开启")):e.log("通讯录权限没有开启"),plus.ios.deleteObject(i),t}function d(){var t=!1,i=plus.ios.import("EKEventStore"),n=i.authorizationStatusForEntityType(0);return 3==n?(t=!0,e.log("日历权限已经开启")):e.log("日历权限没有开启"),plus.ios.deleteObject(i),t}function u(){var t=!1,i=plus.ios.import("EKEventStore"),n=i.authorizationStatusForEntityType(1);return 3==n?(t=!0,e.log("备忘录权限已经开启")):e.log("备忘录权限没有开启"),plus.ios.deleteObject(i),t}function b(t){return new Promise((function(i,n){plus.android.requestPermissions([t],(function(t){for(var n=0,a=0;ac-n*r?(uni._MASK.hide(),uni._SHARE.hide()):e.clientX<=o*r?(plus.nativeUI.showWaiting(),uni.share((0,a.default)((0,a.default)({provider:"weixin",scene:"WXSceneSession"},t),{},{success:function(){plus.nativeUI.toast("分享成功"),uni._MASK.hide(),uni._SHARE.hide()},fail:function(t){var e=t.errMsg.split(",")[0].split(":");plus.nativeUI.toast("分享失败: ".concat(e[e.length-1]))},complete:function(){plus.nativeUI.closeWaiting()}}))):e.clientX>o*r&&e.clientX<=2*o*r?(plus.nativeUI.showWaiting(),uni.share((0,a.default)((0,a.default)({provider:"weixin",scene:"WXSenceTimeline"},t),{},{success:function(){plus.nativeUI.toast("分享成功"),uni._MASK.hide(),uni._SHARE.hide()},fail:function(t){var e=t.errMsg.split(",")[0].split(":");plus.nativeUI.toast("分享失败: ".concat(e[e.length-1]))},complete:function(){plus.nativeUI.closeWaiting()}}))):e.clientX>2*o*r&&e.clientX<=3*o*r&&plus.share.sendWithSystem({content:t.href})})),uni._MASK.show(),uni._SHARE.show()}},cc46:function(t,e,i){"use strict";i.r(e);var n=i("bcea"),a=i("1858");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("6b66");var r,c=i("f0c5"),l=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"17cc0d9a",null,!1,n["a"],r);e["default"]=l.exports},df00:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("3835")),o=i("8005"),r=n(i("c678")),c=i("575d"),l={data:function(){return{title:"我的授权",drawOver:!1,name:this.$store.state.userinfo.nickname,phone:this.$store.state.userinfo.mobile,canvasWidth:uni.upx2px(750),canvasHeight:uni.upx2px(1323),url:"",code:"",long:"",src:""}},onLoad:function(t){var e=this,i=t.id;uni.showLoading({mask:!0}),(0,c._API_Auth_Code)({id:i||this.$store.state.userinfo.id}).then((function(t){uni.hideLoading(),200===t.code?e.src=t.data.url:uni.showModal({content:"暂未授权",showCancel:!1}).then((function(){uni.navigateBack()}))}))},onBackPress:function(){if(uni._SHARE&&uni._SHARE.isVisible())return uni._MASK.hide(),uni._SHARE.hide(),!0},methods:{previewImage:function(){uni.showLoading({mask:!0}),uni.canvasToTempFilePath({canvasId:"canvas"}).then((function(t){var e=(0,a.default)(t,2),i=e[1];uni.hideLoading(),uni.previewImage({urls:[i.tempFilePath]})}))},save:function(){var t=this;"iOS"==plus.os.name?(0,o.judgeIosPermission)("photoLibrary")?(uni.showLoading({mask:!0}),uni.canvasToTempFilePath({canvasId:"canvas"}).then((function(t){var e=(0,a.default)(t,2),i=e[1];uni.saveImageToPhotosAlbum({filePath:i.tempFilePath}).then((function(){uni.hideLoading(),uni.toast("保存成功")}))}))):uni.toast("大卫博士需要获取访问相册的权限,以保证图片能够保存到您的手机相册"):(0,o.requestAndroidPermission)("android.permission.WRITE_EXTERNAL_STORAGE").then((function(e){1===e?(uni.showLoading({mask:!0}),uni.canvasToTempFilePath({canvasId:"canvas"}).then((function(t){var e=(0,a.default)(t,2),i=e[1];uni.saveImageToPhotosAlbum({filePath:i.tempFilePath}).then((function(){uni.hideLoading(),uni.toast("保存成功")}))}))):t.$refs.ltm.modal("保存失败",["大卫博士需要获取访问相册的权限,以保证图片能够保存到您的手机相册"],"nocancel")}))},share:function(){var t=this;this.url?(0,r.default)({type:2,imageUrl:this.url}):(uni.showLoading({mask:!0}),uni.canvasToTempFilePath({canvasId:"canvas",quality:.5}).then((function(e){var i=(0,a.default)(e,2),n=i[1];plus.zip.compressImage({src:n.tempFilePath,dst:"_doc/a.jpg",overwrite:!0,quality:20},(function(e){(0,c._API_Auth_Share)({name:"img",filePath:e.target}).then((function(e){200==e.code&&(t.url=e.data.url,(0,r.default)({type:2,imageUrl:t.url}))}))}))})))}}};e.default=l},ff05:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-17cc0d9a]{margin-top:%?10?%}.app-item uni-input[data-v-17cc0d9a], .app-item uni-picker[data-v-17cc0d9a], .app-item uni-textarea[data-v-17cc0d9a]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-17cc0d9a]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-17cc0d9a]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-17cc0d9a]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-17cc0d9a]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-17cc0d9a]{color:#fff;background:#f76454}.small-btn[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-17cc0d9a]{color:#999;border-color:#999}.login-btn[data-v-17cc0d9a]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-17cc0d9a]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-17cc0d9a]{margin-right:%?20?%}.border-right[data-v-17cc0d9a]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-17cc0d9a]{margin-right:%?6?%}.position-center[data-v-17cc0d9a]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-17cc0d9a]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-17cc0d9a]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-17cc0d9a]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-17cc0d9a]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-17cc0d9a]{color:#f76454}.swiper-nav[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-17cc0d9a]{color:#f76454}.swiper-nav .moveBar[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-17cc0d9a]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-17cc0d9a]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-17cc0d9a]{width:100%;height:100%}.article-header[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-17cc0d9a]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-17cc0d9a]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-17cc0d9a]{color:#f76454}.article-footer[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-17cc0d9a]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-17cc0d9a]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-17cc0d9a]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\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/* 文章场景相关 */.auth-card[data-v-17cc0d9a]{height:100%;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background:#f2f2f2}.auth-card .content[data-v-17cc0d9a]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative;box-sizing:border-box}.auth-card .content .auth-paper[data-v-17cc0d9a]{width:100%;height:100%;background:#ccc}.auth-card .content .auth-paper uni-image[data-v-17cc0d9a]{width:100%;height:100%;position:absolute;z-index:9999}.auth-card .content .auth-paper uni-canvas[data-v-17cc0d9a]{width:100%;height:100%;position:absolute;z-index:-99;left:0;top:0;opacity:0}.auth-card .content .auth-paper .info[data-v-17cc0d9a]{position:absolute;font-size:%?18?%}.auth-card .content .auth-paper .info.name[data-v-17cc0d9a]{top:%?396?%;left:%?333?%}.auth-card .content .auth-paper .info.phone[data-v-17cc0d9a]{top:%?460?%;left:%?345?%}.auth-card .content .auth-paper .info.code[data-v-17cc0d9a]{top:%?752?%;left:%?228?%}.auth-card .content .auth-paper .info.long[data-v-17cc0d9a]{top:%?820?%;left:%?228?%}.auth-card .content .save[data-v-17cc0d9a], .auth-card .content .show[data-v-17cc0d9a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?315?%;height:%?88?%;color:#fff;font-size:%?34?%;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;border-radius:%?10?%;margin:%?88?% %?30?% %?0?%;background:#f76454}.auth-card .content .save uni-text[data-v-17cc0d9a], .auth-card .content .show uni-text[data-v-17cc0d9a]{font-size:%?42?%}',""]),t.exports=e}}]);