pages-dailishang-apply-sign.fd6c96f7.js 20 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-dailishang-apply-sign"],{"28b1":function(a,t,i){var e=i("5499");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[a.i,e,""]]),e.locals&&(a.exports=e.locals);var n=i("4f06").default;n("02a6c19e",e,!0,{sourceMap:!1,shadowMode:!1})},"304a":function(a,t,i){"use strict";var e=i("fab7"),n=i.n(e);n.a},"41c2":function(a,t,i){"use strict";i.d(t,"b",(function(){return e})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var e=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("v-uni-view",{staticClass:"app"},[i("v-uni-canvas",{staticClass:"mycanvas",class:a.enable?"notempty":"",attrs:{"canvas-id":"mycanvas"},on:{touchstart:function(t){arguments[0]=t=a.$handleEvent(t),a.touchstart.apply(void 0,arguments)},touchmove:function(t){arguments[0]=t=a.$handleEvent(t),a.touchmove.apply(void 0,arguments)},touchend:function(t){arguments[0]=t=a.$handleEvent(t),a.touchend.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"footer"},[i("v-uni-view",{staticClass:"err-tips"},[a._v("签字要清晰,并与身份证姓名一致\n\t\t\t否则无法验证通过")]),i("v-uni-view",{staticClass:"ctrls"},[i("v-uni-view",{staticClass:"button big",class:a.enable?"":"gray",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.finish.apply(void 0,arguments)}}},[a._v("确认")]),i("v-uni-view",{staticClass:"button big border",class:a.enable?"":"gray",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.clear.apply(void 0,arguments)}}},[a._v("清除")])],1)],1)],1)},n=[]},5499:function(a,t,i){var e=i("24fb");t=e(!1),t.push([a.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-8a28ab3c]{height:100%;display:flex;flex-direction:column}.app[data-v-8a28ab3c]{flex:1;display:flex;flex-direction:column}.mycanvas[data-v-8a28ab3c]{width:100%;flex:1;background-color:#ececec}.mycanvas[data-v-8a28ab3c]:after{content:"请在此处手写签字";position:absolute;left:50%;top:40%;-webkit-transform:translate(-50%);transform:translate(-50%);color:#888;font-size:%?32?%}.mycanvas.notempty[data-v-8a28ab3c]:after{display:none}.footer[data-v-8a28ab3c]{position:fixed;bottom:%?32?%;left:0;width:100%}.footer .err-tips[data-v-8a28ab3c]{color:#ea5252;font-size:%?24?%;display:block;margin:0 auto %?32?%;text-align:center;width:50%}.footer .ctrls[data-v-8a28ab3c]{display:flex;justify-content:space-around;align-items:center;padding:0 %?50?%}.footer .ctrls .button[data-v-8a28ab3c]{width:30%}',""]),a.exports=t},"5ccc":function(a,t,i){"use strict";i.r(t);var e=i("41c2"),n=i("6c5f");for(var o in n)["default"].indexOf(o)<0&&function(a){i.d(t,a,(function(){return n[a]}))}(o);i("304a"),i("ebbb");var c=i("f0c5"),r=Object(c["a"])(n["default"],e["b"],e["c"],!1,null,"8a28ab3c",null,!1,e["a"],void 0);t["default"]=r.exports},"6c5f":function(a,t,i){"use strict";i.r(t);var e=i("fd26"),n=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(a){i.d(t,a,(function(){return e[a]}))}(o);t["default"]=n.a},c472:function(a,t,i){var e=i("24fb"),n=i("1de5"),o=i("f6a0"),c=i("42c3"),r=i("b8d7"),d=i("7cbe"),s=i("43dd"),l=i("2cc4"),b=i("89d8"),p=i("82da"),u=i("e820"),f=i("2334"),h=i("fe07"),g=i("3fd3"),v=i("6de6"),m=i("fb7f"),w=i("cf23"),y=i("fe0a"),k=i("ade1"),x=i("bc22"),z=i("1476"),_=i("ed31"),j=i("59b2"),C=i("0d2b"),T=i("1ded");t=e(!1);var P=n(o),E=n(c),S=n(r),F=n(d),$=n(s),L=n(l),M=n(b),O=n(p),A=n(u),B=n(f),D=n(h),J=n(g),R=n(v),X=n(m),Y=n(w),U=n(y),I=n(k),W=n(x),q=n(z),G=n(_),H=n(j),N=n(C),K=n(T);t.push([a.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-head[data-v-8a28ab3c]{display:none}uni-page-body[data-v-8a28ab3c]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-8a28ab3c]::-webkit-scrollbar{display:none}.button[data-v-8a28ab3c]{background-color:#00ae75;border-radius:%?32?%;font-size:%?32?%;line-height:%?64?%;color:#fff;padding:0 %?30?%;text-align:center;position:relative}.button.border[data-v-8a28ab3c]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-8a28ab3c]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-8a28ab3c]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-8a28ab3c]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-8a28ab3c]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-8a28ab3c]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-8a28ab3c]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-8a28ab3c]{display:flex;align-items:center}.addr[data-v-8a28ab3c]:before{content:"";background:url('+P+') no-repeat 50%;background-size:contain;display:inline-block;width:%?18?%;height:%?26?%;margin-right:%?8?%;flex-shrink:0}.price[data-v-8a28ab3c]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-8a28ab3c]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-8a28ab3c]{background:url('+E+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-8a28ab3c]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-8a28ab3c]{background:url("+S+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-8a28ab3c]{background:url("+F+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-8a28ab3c]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+$+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-8a28ab3c]{background:url("+L+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-8a28ab3c]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-xnh[data-v-8a28ab3c]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-8a28ab3c]{background:url("+A+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-8a28ab3c]{background:url("+B+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-8a28ab3c]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-8a28ab3c]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-8a28ab3c]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-8a28ab3c]{background:url("+X+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-8a28ab3c]{background:url("+Y+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-8a28ab3c]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-8a28ab3c]{background:url("+I+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-8a28ab3c]{background:url("+W+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-8a28ab3c]{background:url("+q+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-8a28ab3c]{background:url("+P+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-8a28ab3c]{background:url("+$+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-8a28ab3c]{margin-top:%?12?%;display:flex}.tag[data-v-8a28ab3c]{border:%?1?% solid #00ab78;line-height:%?28?%;font-size:%?20?%;padding:0 %?8?%;border-radius:%?4?%;margin-right:%?8?%;color:#00ab78}.tag.orange[data-v-8a28ab3c]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-8a28ab3c]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-8a28ab3c]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-8a28ab3c]{border-color:#999;color:#333}.btn-page-back[data-v-8a28ab3c], .btn-page-home[data-v-8a28ab3c]{position:fixed;background:url("+G+") no-repeat 50% rgba(0,0,0,.3);background-size:%?44?%;width:%?44?%;height:%?44?%;z-index:999;left:0}.btn-page-home[data-v-8a28ab3c]{background-image:url("+H+')}.btns-buygroup[data-v-8a28ab3c]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-8a28ab3c]{margin:0 %?15?%}.topinfo[data-v-8a28ab3c]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-8a28ab3c]{flex:1}.topinfo .address[data-v-8a28ab3c]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-8a28ab3c]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-8a28ab3c]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-8a28ab3c]{margin:0 %?16?%;color:#333;font-size:%?28?%;line-height:%?40?%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topinfo .address .adr-shop .icon-address[data-v-8a28ab3c]{flex-shrink:0}.topinfo .address .range[data-v-8a28ab3c]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-8a28ab3c]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-8a28ab3c]{font-size:%?24?%;color:#fff;padding:0 %?18?%;border-radius:%?30?%;line-height:%?38?%;display:inline-block}.topinfo .address .switch uni-text.active[data-v-8a28ab3c]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-8a28ab3c]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-8a28ab3c]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-8a28ab3c]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-8a28ab3c]:after{content:"";background:url('+N+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-8a28ab3c]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-8a28ab3c]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-8a28ab3c]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-8a28ab3c]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-8a28ab3c]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-8a28ab3c]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-8a28ab3c]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-8a28ab3c]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-8a28ab3c]{margin-bottom:%?8?%}.nav-item[data-v-8a28ab3c]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-8a28ab3c]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-8a28ab3c]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-8a28ab3c]{display:flex;align-items:baseline;color:#333;flex:1;margin-left:%?12?%;justify-content:flex-end;text-align:right}.nav-item > uni-view[data-v-8a28ab3c]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+$+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-8a28ab3c]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-8a28ab3c]{color:#999}.nav-item[data-v-8a28ab3c]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-8a28ab3c]:after{display:none}.nav-item.help[data-v-8a28ab3c]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-8a28ab3c]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-8a28ab3c]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-8a28ab3c]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-8a28ab3c]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-8a28ab3c]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-8a28ab3c]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-8a28ab3c]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-8a28ab3c], .goods-item.inorder uni-image[data-v-8a28ab3c]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-8a28ab3c]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-8a28ab3c]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-8a28ab3c]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-8a28ab3c]{position:relative}.swiper-cont .swiper[data-v-8a28ab3c]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-8a28ab3c], .swiper-cont .swiper uni-image[data-v-8a28ab3c]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-8a28ab3c]:after{content:"";position:absolute;background-color:rgba(0,0,0,.3);top:0;left:0;right:0;bottom:0}.swiper-cont .swiper .videoposter .btn-play[data-v-8a28ab3c]{background:url('+K+") no-repeat;background-size:contain;width:%?100?%;height:%?100?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1}.swiper-cont .swiper .videoposter uni-video[data-v-8a28ab3c]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-8a28ab3c], .swiper-cont .swiper .videoposter.playing[data-v-8a28ab3c]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-8a28ab3c]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-8a28ab3c]{display:block}.swiper-cont .dots[data-v-8a28ab3c]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-8a28ab3c]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-8a28ab3c]{background-color:#fff;width:%?36?%}.form[data-v-8a28ab3c]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-8a28ab3c]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-8a28ab3c]:last-child{border-bottom:0}.form .form-item .label[data-v-8a28ab3c]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-8a28ab3c]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-8a28ab3c]{flex:1}.form .form-item .content .disabled[data-v-8a28ab3c]{color:#999}.form .form-item .link[data-v-8a28ab3c]{color:#00ab78}.form .form-item .checkboxgroup[data-v-8a28ab3c]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-8a28ab3c]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-8a28ab3c]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-8a28ab3c], .form.mini .content[data-v-8a28ab3c]{font-size:%?24?%}.form.mini .form-item[data-v-8a28ab3c]{padding-bottom:%?8?%}",""]),a.exports=t},ebbb:function(a,t,i){"use strict";var e=i("28b1"),n=i.n(e);n.a},fab7:function(a,t,i){var e=i("c472");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[a.i,e,""]]),e.locals&&(a.exports=e.locals);var n=i("4f06").default;n("e27074dc",e,!0,{sourceMap:!1,shadowMode:!1})},fd26:function(a,t,i){"use strict";function e(a){a.preventDefault()}i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("14d9"),i("d3b7"),i("159b");var n={data:function(){return{ctx:"",points:[],enable:!1,order_id:"",from:""}},onLoad:function(a){this.order_id=a.order_id,this.from=a.from,this.ctx=uni.createCanvasContext("mycanvas",this),this.ctx.lineWidth=4,this.ctx.lineCap="round",this.ctx.lineJoin="round",window.addEventListener("touchmove",e,{passive:!1})},onUnload:function(){window.removeEventListener("touchmove",e)},methods:{prevDefault:function(a){a.preventDefault(),a.stopPropagation()},touchstart:function(a){var t=a.changedTouches[0].x,i=a.changedTouches[0].y,e={X:t,Y:i};this.points.push(e),this.ctx.beginPath()},touchmove:function(a){var t=a.changedTouches[0].x,i=a.changedTouches[0].y,e={X:t,Y:i};this.points.push(e);var n=this.points.length;n>=2&&this.draw()},touchend:function(){this.points=[]},draw:function(){var a=this.points[0],t=this.points[1];this.points.shift(),this.ctx.moveTo(a.X,a.Y),this.ctx.lineTo(t.X,t.Y),this.ctx.stroke(),this.ctx.draw(!0),this.enable=!0},clear:function(){var a=this;uni.getSystemInfo({success:function(t){var i=t.windowWidth,e=t.windowHeight;a.ctx.clearRect(0,0,i,e),a.ctx.draw(!0)}}),a.enable=!1},finish:function(){if(this.enable){uni.showLoading({mask:!0});var a=this;uni.canvasToTempFilePath({canvasId:"mycanvas",success:function(t){var i=t.tempFilePath;a.upload({url:"package/upload/?l=save.start",filePath:i,name:"file",formData:{key:9},success:function(t){var i=JSON.parse(t.data);if(1==i.status)if("agreement"==a.from){uni.hideLoading();var e=getCurrentPages();e.forEach((function(a){"function"==typeof a.$vm.setSign&&a.$vm.setSign(i.url)})),uni.navigateBack({})}else a.submit(i.url);else uni.hideLoading(),uni.showToast({icon:"error",title:"上传失败"})}})}})}},submit:function(a){this.enable&&this.reqByuser({url:"service/agent/?l=my.sign",method:"GET",data:{sign:a,order_id:this.order_id},success:function(a){if(uni.hideLoading(),1==a.data.status){a.data.data;uni.navigateTo({url:"/pages/dailishang/apply/signsuccess"})}else uni.showToast({icon:"error",title:a.data.msg})}})}}};t.default=n}}]);