(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-interview-interview"],{"04d3":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"wrapper"},[n("v-uni-view",{staticClass:"top"},[e._v("如果您已收到货物, 请在空白区域内签字确认。")]),n("v-uni-view",{staticClass:"handCenter"},[n("v-uni-canvas",{staticClass:"handWriting",attrs:{"disable-scroll":!0,"canvas-id":"handWriting"},on:{touchstart:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadScaleStart.apply(void 0,arguments)},touchmove:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadScaleMove.apply(void 0,arguments)},touchend:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadScaleEnd.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticClass:"bottom"},[n("v-uni-view",{staticClass:"btn_box flexA"},[n("v-uni-view",{staticClass:"del_btn flexC",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.retDraw.apply(void 0,arguments)}}},[e._v("重签")]),n("v-uni-view",{staticClass:"prev_btn flexC",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.previewCanvasImg.apply(void 0,arguments)}}},[e._v("预览")]),n("v-uni-view",{staticClass:"sure_btn flexC",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.subCanvas.apply(void 0,arguments)}}},[e._v("确认")])],1),e.ads.location?n("v-uni-view",{staticClass:"address"},[e._v("地址:"+e._s(e._f("getWords")(e.ads.location)))]):e._e()],1)],1)},a=[]},"0aeb":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";.app-item[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-ee35f1c8]{margin-top:%?10?%}.app-item uni-input[data-v-ee35f1c8], .app-item uni-picker[data-v-ee35f1c8], .app-item uni-textarea[data-v-ee35f1c8]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-ee35f1c8]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-ee35f1c8]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-ee35f1c8]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-ee35f1c8]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;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-ee35f1c8]{color:#fff;background:#f76454}.small-btn[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;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-ee35f1c8]{color:#999;border-color:#999}.login-btn[data-v-ee35f1c8]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;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-ee35f1c8]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-ee35f1c8]{margin-right:%?20?%}.border-right[data-v-ee35f1c8]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-ee35f1c8]{margin-right:%?6?%}.position-center[data-v-ee35f1c8]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-ee35f1c8]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-ee35f1c8]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-ee35f1c8]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-ee35f1c8]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-ee35f1c8]{color:#f76454}.swiper-nav[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;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-ee35f1c8]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-ee35f1c8]{color:#f76454}.swiper-nav .moveBar[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-ee35f1c8]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-ee35f1c8]{flex:1;width:100%}.swiper-area uni-swiper[data-v-ee35f1c8]{width:100%;height:100%}.article-header[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-ee35f1c8]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;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-ee35f1c8]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-ee35f1c8]{color:#f76454}.article-footer[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-ee35f1c8]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-ee35f1c8]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-ee35f1c8]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-ee35f1c8]{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/* 文章场景相关 */.wrapper[data-v-ee35f1c8]{width:100vw;height:100vh;background:#fff;position:relative}.wrapper .top[data-v-ee35f1c8]{width:100%;height:%?72?%;line-height:%?72?%;padding-left:%?30?%;background:linear-gradient(101deg,#ff232c,#ff571b);color:#fff}.wrapper .handCenter[data-v-ee35f1c8]{width:100%;height:85vh;flex-shrink:0}.wrapper .handCenter .handWriting[data-v-ee35f1c8]{background:#fff;width:100%;height:100%}.wrapper .bottom[data-v-ee35f1c8]{border-top:%?2?% solid #eee;padding:%?20?% 0;position:fixed;bottom:0;left:0;width:100%;background:#fff;z-index:999}.wrapper .bottom .btn_box[data-v-ee35f1c8]{width:100%}.wrapper .bottom .btn_box > uni-view[data-v-ee35f1c8]{width:%?212?%;height:%?72?%;border-radius:%?8?%;font-size:%?36?%}.wrapper .bottom .btn_box .del_btn[data-v-ee35f1c8]{border:%?2?% solid #fb231f;color:#fb231f}.wrapper .bottom .btn_box .sure_btn[data-v-ee35f1c8]{background:linear-gradient(93deg,#ff232c,#ff571b);color:#fff}.wrapper .bottom .btn_box .prev_btn[data-v-ee35f1c8]{color:#666;border:%?2?% solid #666}.wrapper .bottom .address[data-v-ee35f1c8]{padding:%?10?% %?30?% 0;box-sizing:border-box;margin-top:%?20?%;font-size:%?28?%;border-top:%?2?% dashed #ccc}',""]),e.exports=t},"261c0":function(e,t,n){"use strict";var r=n("8fa9"),i=n.n(r);i.a},"318c":function(e,t,n){"use strict";(function(e){var r=n("4ea4");n("99af"),n("cb29"),n("fb6a"),n("ace4"),n("d3b7"),n("acd8"),n("ac1f"),n("466d"),n("1276"),n("5cc6"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("d2e1"),a=(r(n("207b")),r(n("e013")),n("4718")),o={data:function(){return{canvasName:"handWriting",ctx:"",canvasWidth:0,canvasHeight:0,transparent:1,selectColor:"black",lineColor:"#1A1A1A",lineSize:1.5,lineMin:.5,lineMax:4,pressure:1,smoothness:60,currentPoint:{},currentLine:[],firstTouch:!0,radius:1,cutArea:{top:0,right:0,bottom:0,left:0},bethelPoint:[],lastPoint:0,chirography:[],currentChirography:{},linePrack:[],ads:{location:"",province:"",city:"",area:""},order_no:"",screenWidth:""}},filters:{getWords:function(e){return e.length>29?e.slice(0,29)+"...":e}},onLoad:function(e){var t=this;this.order_no=e.order_no,uni.getSystemInfo({success:function(e){t.screenWidth=e.screenWidth}})},mounted:function(){var e=this,t=this.canvasName,n=uni.createCanvasContext(t);this.ctx=n;var r=uni.createSelectorQuery();r.select(".handCenter").boundingClientRect((function(t){e.canvasWidth=t.width,e.canvasHeight=t.height,e.setCanvasBg("#fff")})).exec(),this.getAddress()},methods:{getAds:function(e){var t=this;(0,i.getLocation)({location:e}).then((function(e){if(200==e.code){var n=e.data.regeocode.addressComponent;t.ads.province=n.province,t.ads.city=n.district,t.ads.area=n.township,t.ads.location="".concat(n.province).concat(n.district).concat(n.township)}else uni.showToast({title:"经纬度转文字失败",icon:"none"})}))},getAddress:function(){var t=this,n=window.location.href;(0,i.location)({url:n}).then((function(n){if(200==n.code){var r=JSON.parse(n.data);e.log("后端返回的wx.config的配置:",JSON.parse(n.data)),t.getLocation(r)}else e.log("获取位置失败")}))},getLocation:function(e){var t=this;a.config({debug:!1,appId:e.appId,timestamp:e.timestamp,nonceStr:e.nonceStr,signature:e.signature,jsApiList:["getLocation"]}),a.ready((function(){a.checkJsApi({jsApiList:["getLocation"],success:function(e){0!=e.checkResult.getLocation||alert("你的微信版本太低,不支持微信JS接口,请升级到最新的微信版本!")}}),a.error((function(e){alert(e.errMsg,"err")})),a.getLocation({type:"gcj02",success:function(e){var n="".concat(e.longitude,",").concat(e.latitude);t.getAds(n)},cancel:function(e){uni.showToast({title:"您已禁止获取位置信息",icon:"none"})},fail:function(e){uni.showToast({title:"获取当前位置失败",icon:"none"})}})}))},uploadScaleStart:function(e){if("touchstart"!=e.type)return!1;var t=this.ctx;t.setFillStyle(this.lineColor),t.setGlobalAlpha(this.transparent);var n={x:e.touches[0].x,y:e.touches[0].y},r=this.currentLine;r.unshift({time:(new Date).getTime(),dis:0,x:n.x,y:n.y}),this.currentPoint=n,this.firstTouch&&(this.cutArea={top:n.y,right:n.x,bottom:n.y,left:n.x},this.firstTouch=!1),this.pointToLine(r)},uploadScaleMove:function(e){if("touchmove"!=e.type)return!1;e.cancelable&&(e.defaultPrevented||e.preventDefault());var t={x:e.touches[0].x,y:e.touches[0].y};t.ythis.cutArea.right&&(this.cutArea.right=t.x),this.canvasWidth-t.x<=0&&(this.cutArea.right=this.canvasWidth),t.y>this.cutArea.bottom&&(this.cutArea.bottom=t.y),this.canvasHeight-t.y<=0&&(this.cutArea.bottom=this.canvasHeight),t.x2)n[0].time,n[n.length-1].time,n.length;this.pointToLine(n);var r={lineSize:this.lineSize,lineColor:this.lineColor},i=this.chirography;i.unshift(r),this.chirography=i;var a=this.linePrack;a.unshift(this.currentLine),this.linePrack=a,this.currentLine=[]},retDraw:function(){this.ctx.clearRect(0,0,700,730),this.ctx.draw(),this.setCanvasBg("#fff")},pointToLine:function(e){this.calcBethelLine(e)},calcBethelLine:function(e){if(e.length<=1)e[0].r=this.radius;else{var t,n,r,i,a,o,s,c,d,u,l=0,f=0,g=.5;e.length<=2?(t=e[1].x,i=e[1].y,r=e[1].x+(e[0].x-e[1].x)*g,o=e[1].y+(e[0].y-e[1].y)*g,n=t+(r-t)*g,a=i+(o-i)*g):(t=e[2].x+(e[1].x-e[2].x)*g,i=e[2].y+(e[1].y-e[2].y)*g,n=e[1].x,a=e[1].y,r=n+(e[0].x-n)*g,o=a+(e[0].y-a)*g),d=this.distance({x:r,y:o},{x:t,y:i}),u=this.radius;for(var p=0;pthis.smoothness)break;this.radius=Math.min(f/d*this.pressure+this.lineMin,this.lineMax)*this.lineSize,e[0].r=this.radius,e.length<=2?(s=(u+this.radius)/2,c=s,c):(s=(e[2].r+e[1].r)/2,c=e[1].r,(e[1].r+e[0].r)/2);for(var h=5,v=[],m=0;m