1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-dailishang-apply-sign"],{"219cb":function(t,i,e){"use strict";e.r(i);var a=e("6082"),n=e("d092");for(var o in n)"default"!==o&&function(t){e.d(i,t,(function(){return n[t]}))}(o);e("82f2"),e("eb88");var r,b=e("f0c5"),c=Object(b["a"])(n["default"],a["b"],a["c"],!1,null,"cf80bbb6",null,!1,a["a"],r);i["default"]=c.exports},"3c6c":function(t,i,e){var a=e("ee24");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("e759d9f0",a,!0,{sourceMap:!1,shadowMode:!1})},6082:function(t,i,e){"use strict";var a;e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){return a}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"app"},[e("v-uni-canvas",{staticClass:"mycanvas",class:t.enable?"notempty":"",attrs:{"canvas-id":"mycanvas"},on:{touchstart:function(i){arguments[0]=i=t.$handleEvent(i),t.touchstart.apply(void 0,arguments)},touchmove:function(i){arguments[0]=i=t.$handleEvent(i),t.touchmove.apply(void 0,arguments)},touchend:function(i){arguments[0]=i=t.$handleEvent(i),t.touchend.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"footer"},[e("v-uni-view",{staticClass:"err-tips"},[t._v("签字要清晰,并与身份证姓名一致\n\t\t\t否则无法验证通过")]),e("v-uni-view",{staticClass:"ctrls"},[e("v-uni-view",{staticClass:"button big",class:t.enable?"":"gray",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.finish.apply(void 0,arguments)}}},[t._v("确认")]),e("v-uni-view",{staticClass:"button big border",class:t.enable?"":"gray",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.clear.apply(void 0,arguments)}}},[t._v("清除")])],1)],1)],1)},o=[]},"82f2":function(t,i,e){"use strict";var a=e("3c6c"),n=e.n(a);n.a},abcb:function(t,i,e){var a=e("f014");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("661ce049",a,!0,{sourceMap:!1,shadowMode:!1})},d092:function(t,i,e){"use strict";e.r(i);var a=e("f464"),n=e.n(a);for(var o in a)"default"!==o&&function(t){e.d(i,t,(function(){return a[t]}))}(o);i["default"]=n.a},eb88:function(t,i,e){"use strict";var a=e("abcb"),n=e.n(a);n.a},ee24:function(t,i,e){var a=e("24fb"),n=e("1de5"),o=e("e516"),r=e("2457"),b=e("d5ae"),c=e("71c5"),d=e("be44"),s=e("d3a1"),l=e("6464"),f=e("c334"),p=e("af09"),u=e("68b2"),h=e("c1b7"),g=e("d609"),v=e("b275"),m=e("24a3"),w=e("2350"),y=e("d186"),k=e("f546"),x=e("f3d6"),z=e("9b34"),j=e("356a"),C=e("74ea"),T=e("5134"),_=e("5a97");i=a(!1);var P=n(o),E=n(r),S=n(b),F=n(c),$=n(d),L=n(s),M=n(l),A=n(f),B=n(p),D=n(u),J=n(h),R=n(g),X=n(v),Y=n(m),O=n(w),U=n(y),I=n(k),W=n(x),q=n(z),G=n(j),H=n(C),N=n(T),K=n(_);i.push([t.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-head[data-v-cf80bbb6]{display:none}uni-page-body[data-v-cf80bbb6]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-cf80bbb6]::-webkit-scrollbar{display:none}.button[data-v-cf80bbb6]{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-cf80bbb6]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-cf80bbb6]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-cf80bbb6]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-cf80bbb6]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-cf80bbb6]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-cf80bbb6]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-cf80bbb6]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-cf80bbb6]{display:flex;align-items:center}.addr[data-v-cf80bbb6]: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-cf80bbb6]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-cf80bbb6]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-cf80bbb6]{background:url('+E+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-cf80bbb6]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-cf80bbb6]{background:url("+S+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-cf80bbb6]{background:url("+F+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-cf80bbb6]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+$+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-cf80bbb6]{background:url("+L+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-cf80bbb6]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-xnh[data-v-cf80bbb6]{background:url("+A+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-cf80bbb6]{background:url("+B+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-cf80bbb6]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-cf80bbb6]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-cf80bbb6]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-cf80bbb6]{background:url("+X+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-cf80bbb6]{background:url("+Y+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-cf80bbb6]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-cf80bbb6]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-cf80bbb6]{background:url("+I+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-cf80bbb6]{background:url("+W+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-cf80bbb6]{background:url("+q+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-cf80bbb6]{background:url("+P+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-cf80bbb6]{background:url("+$+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-cf80bbb6]{margin-top:%?12?%;display:flex}.tag[data-v-cf80bbb6]{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-cf80bbb6]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-cf80bbb6]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-cf80bbb6]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-cf80bbb6]{border-color:#999;color:#333}.btn-page-back[data-v-cf80bbb6], .btn-page-home[data-v-cf80bbb6]{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-cf80bbb6]{background-image:url("+H+')}.btns-buygroup[data-v-cf80bbb6]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-cf80bbb6]{margin:0 %?15?%}.topinfo[data-v-cf80bbb6]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-cf80bbb6]{flex:1}.topinfo .address[data-v-cf80bbb6]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-cf80bbb6]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-cf80bbb6]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-cf80bbb6]{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-cf80bbb6]{flex-shrink:0}.topinfo .address .range[data-v-cf80bbb6]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-cf80bbb6]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-cf80bbb6]{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-cf80bbb6]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-cf80bbb6]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-cf80bbb6]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-cf80bbb6]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-cf80bbb6]: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-cf80bbb6]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-cf80bbb6]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-cf80bbb6]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-cf80bbb6]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-cf80bbb6]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-cf80bbb6]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-cf80bbb6]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-cf80bbb6]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-cf80bbb6]{margin-bottom:%?8?%}.nav-item[data-v-cf80bbb6]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-cf80bbb6]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-cf80bbb6]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-cf80bbb6]{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-cf80bbb6]: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-cf80bbb6]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-cf80bbb6]{color:#999}.nav-item[data-v-cf80bbb6]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-cf80bbb6]:after{display:none}.nav-item.help[data-v-cf80bbb6]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-cf80bbb6]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-cf80bbb6]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-cf80bbb6]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-cf80bbb6]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-cf80bbb6]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-cf80bbb6]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-cf80bbb6]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-cf80bbb6], .goods-item.inorder uni-image[data-v-cf80bbb6]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-cf80bbb6]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-cf80bbb6]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-cf80bbb6]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-cf80bbb6]{position:relative}.swiper-cont .swiper[data-v-cf80bbb6]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-cf80bbb6], .swiper-cont .swiper uni-image[data-v-cf80bbb6]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-cf80bbb6]: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-cf80bbb6]{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-cf80bbb6]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-cf80bbb6], .swiper-cont .swiper .videoposter.playing[data-v-cf80bbb6]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-cf80bbb6]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-cf80bbb6]{display:block}.swiper-cont .dots[data-v-cf80bbb6]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-cf80bbb6]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-cf80bbb6]{background-color:#fff;width:%?36?%}.form[data-v-cf80bbb6]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-cf80bbb6]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-cf80bbb6]:last-child{border-bottom:0}.form .form-item .label[data-v-cf80bbb6]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-cf80bbb6]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-cf80bbb6]{flex:1}.form .form-item .content .disabled[data-v-cf80bbb6]{color:#999}.form .form-item .link[data-v-cf80bbb6]{color:#00ab78}.form .form-item .checkboxgroup[data-v-cf80bbb6]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-cf80bbb6]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-cf80bbb6]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-cf80bbb6], .form.mini .content[data-v-cf80bbb6]{font-size:%?24?%}.form.mini .form-item[data-v-cf80bbb6]{padding-bottom:%?8?%}",""]),t.exports=i},f014:function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.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-cf80bbb6]{height:100%;display:flex;flex-direction:column}.app[data-v-cf80bbb6]{flex:1;display:flex;flex-direction:column}.mycanvas[data-v-cf80bbb6]{width:100%;flex:1;background-color:#ececec}.mycanvas[data-v-cf80bbb6]:after{content:"请在此处手写签字";position:absolute;left:50%;top:40%;-webkit-transform:translate(-50%);transform:translate(-50%);color:#888;font-size:%?32?%}.mycanvas.notempty[data-v-cf80bbb6]:after{display:none}.footer[data-v-cf80bbb6]{position:fixed;bottom:%?32?%;left:0;width:100%}.footer .err-tips[data-v-cf80bbb6]{color:#ea5252;font-size:%?24?%;display:block;margin:0 auto %?32?%;text-align:center;width:50%}.footer .ctrls[data-v-cf80bbb6]{display:flex;justify-content:space-around;align-items:center;padding:0 %?50?%}.footer .ctrls .button[data-v-cf80bbb6]{width:30%}',""]),t.exports=i},f464:function(t,i,e){"use strict";function a(t){t.preventDefault()}e("4160"),e("159b"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={data:function(){return{ctx:"",points:[],enable:!1,order_id:"",from:""}},onLoad:function(t){this.order_id=t.order_id,this.from=t.from,this.ctx=uni.createCanvasContext("mycanvas",this),this.ctx.lineWidth=4,this.ctx.lineCap="round",this.ctx.lineJoin="round",window.addEventListener("touchmove",a,{passive:!1})},onUnload:function(){window.removeEventListener("touchmove",a)},methods:{prevDefault:function(t){t.preventDefault(),t.stopPropagation()},touchstart:function(t){var i=t.changedTouches[0].x,e=t.changedTouches[0].y,a={X:i,Y:e};this.points.push(a),this.ctx.beginPath()},touchmove:function(t){var i=t.changedTouches[0].x,e=t.changedTouches[0].y,a={X:i,Y:e};this.points.push(a);var n=this.points.length;n>=2&&this.draw()},touchend:function(){this.points=[]},draw:function(){var t=this.points[0],i=this.points[1];this.points.shift(),this.ctx.moveTo(t.X,t.Y),this.ctx.lineTo(i.X,i.Y),this.ctx.stroke(),this.ctx.draw(!0),this.enable=!0},clear:function(){var t=this;uni.getSystemInfo({success:function(i){var e=i.windowWidth,a=i.windowHeight;t.ctx.clearRect(0,0,e,a),t.ctx.draw(!0)}}),t.enable=!1},finish:function(){if(this.enable){uni.showLoading({mask:!0});var t=this;uni.canvasToTempFilePath({canvasId:"mycanvas",success:function(i){var e=i.tempFilePath;t.upload({url:"package/upload/?l=save.start",filePath:e,name:"file",formData:{key:9},success:function(i){var e=JSON.parse(i.data);if(1==e.status)if("agreement"==t.from){uni.hideLoading();var a=getCurrentPages();a.forEach((function(t){"function"==typeof t.$vm.setSign&&t.$vm.setSign(e.url)})),uni.navigateBack({})}else t.submit(e.url);else uni.hideLoading(),uni.showToast({icon:"error",title:"上传失败"})}})}})}},submit:function(t){this.enable&&this.reqByuser({url:"service/agent/?l=my.sign",method:"GET",data:{sign:t,order_id:this.order_id},success:function(t){if(uni.hideLoading(),1==t.data.status){t.data.data;uni.navigateTo({url:"/pages/dailishang/apply/signsuccess"})}else uni.showToast({icon:"error",title:t.data.msg})}})}}};i.default=n}}]);
|