bztang-admin/addons/yun_shop/static/app/js/chunk-7f0ab18a.9479007c.js

1 line
3.2 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7f0ab18a"],{"0647":function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"result"},[t.noIdentify?s("div",{staticClass:"success-box"},[t._m(0),s("p",{staticStyle:{"font-size":"20px","font-weight":"bold","padding-bottom":"10px"}},[t._v("签署成功")]),s("p",{staticStyle:{"line-height":"1.5"}},[t._v("恭喜你,完成了身份验证"),s("span",{staticClass:"link",on:{click:t.toPage}},[t._v("点击返回合同中心")])])]):t._e(),t.noIdentify?t._e():s("div",{staticClass:"fail-box"},[t._m(1),s("p",{staticStyle:{"font-size":"20px","font-weight":"bold"}},[t._v("签署失败")]),s("p",{staticStyle:{"padding-top":"10px"}},[t._v(t._s(t.msg))]),s("p",{staticStyle:{padding:"10px"}},[t._v("签署失败,您本次的人脸识别未通过,"),s("span",{staticClass:"link",on:{click:t.toPage}},[t._v("请重新签署")])])])])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticStyle:{"text-align":"center"}},[s("i",{staticClass:"iconfont icon-zb_successful"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticStyle:{"text-align":"center"}},[s("i",{staticClass:"iconfont icon-adsystem_icon_cancle"})])}],c={data:function(){return{noIdentify:!0,msg:"",face_sign_id:"",face_sign_token:""}},activated:function(){this.noIdentify=1==this.fun.getKey("res"),this.fun.getKey("msg")&&(this.msg=decodeURIComponent(this.fun.getKey("msg")))},methods:{toPage:function(){1==this.fun.getKey("shop_sign")?this.$router.push(this.fun.getUrl("signIndexPlu")):this.$router.push(this.fun.getUrl("signIndex"))},toSign:function(){this.$router.push(this.fun.getUrl("contractList"))},getFaceData:function(){var t=this;$http.get("plugin.yun-sign.frontend.h5.contract.face-sign-contract",{face_sign_id:this.face_sign_id,face_sign_token:this.face_sign_token},"...").then((function(e){1===e.result?t.noIdentify=!0:(t.noIdentify=!1,t.$dialog.alert({message:e.msg}))}),(function(e){t.$dialog.alert({message:e.msg})}))}},components:{}},a=c,o=(s("e63b"),s("2877")),l=Object(o["a"])(a,n,i,!1,null,"c30218ce",null);e["default"]=l.exports},2060:function(t,e,s){var n=s("52582");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=s("499e").default;i("94886d38",n,!0,{sourceMap:!1,shadowMode:!1})},52582:function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,".result[data-v-c30218ce]{background:#fff;min-height:100vh;padding-bottom:50px}.fail-box[data-v-c30218ce],.success-box[data-v-c30218ce]{position:absolute;top:40%;left:50%;width:100%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.fail-box img[data-v-c30218ce],.success-box img[data-v-c30218ce]{width:70px;height:70px;margin-bottom:10px}.fail-box .icon-adsystem_icon_cancle[data-v-c30218ce],.success-box .icon-adsystem_icon_cancle[data-v-c30218ce]{font-size:80px;color:red}.fail-box .icon-zb_successful[data-v-c30218ce],.success-box .icon-zb_successful[data-v-c30218ce]{font-size:80px;color:#32cd32}.fail-box .link[data-v-c30218ce],.success-box .link[data-v-c30218ce]{cursor:pointer;color:#409eff}",""]),t.exports=e},e63b:function(t,e,s){"use strict";s("2060")}}]);