@xysfe/actui 1.5.31-beta.16 → 1.5.31-beta.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/noscroll.js"),require("@xysfe/actui/es/assets/mixins/popup.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/BaseInput/index.js"),require("@xysfe/actui/es/GoldProtocol/index.js"),require("@xysfe/actui/es/Jigsaw/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/noscroll.js","@xysfe/actui/es/assets/mixins/popup.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/common/popup.js","@xysfe/actui/es/BaseInput/index.js","@xysfe/actui/es/GoldProtocol/index.js","@xysfe/actui/es/Jigsaw/index.js"],t):"object"==typeof exports?exports.LoginLayer=t(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/noscroll.js"),require("@xysfe/actui/es/assets/mixins/popup.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/BaseInput/index.js"),require("@xysfe/actui/es/GoldProtocol/index.js"),require("@xysfe/actui/es/Jigsaw/index.js")):e.LoginLayer=t(e["@xysfe/actui/es/assets/utils/create/index.js"],e["@xysfe/actui/es/assets/mixins/visible.js"],e["@xysfe/actui/es/assets/utils/helpers.js"],e["@xysfe/actui/es/assets/mixins/noscroll.js"],e["@xysfe/actui/es/assets/mixins/popup.js"],e["@xysfe/actui/es/assets/utils/post.js"],e["@xysfe/actui/es/assets/common/popup.js"],e["@xysfe/actui/es/BaseInput/index.js"],e["@xysfe/actui/es/GoldProtocol/index.js"],e["@xysfe/actui/es/Jigsaw/index.js"])}("undefined"!=typeof self?self:this,function(e,t,i,s,n,r,o,a,c,u){return function(e){function t(s){if(i[s])return i[s].exports;var n=i[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,s){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:s})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../es",t(t.s=1307)}({0:function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},10:function(e,t,i){var s=i(0),n=i(2),r=i(17),o=i(5),a=i(8),c=function(e,t,i){var u,f,l,p=e&c.F,d=e&c.G,g=e&c.S,h=e&c.P,y=e&c.B,v=e&c.W,m=d?n:n[t]||(n[t]={}),x=m.prototype,w=d?s:g?s[t]:(s[t]||{}).prototype;d&&(i=t);for(u in i)(f=!p&&w&&void 0!==w[u])&&a(m,u)||(l=f?w[u]:i[u],m[u]=d&&"function"!=typeof w[u]?i[u]:y&&f?r(l,s):v&&w[u]==l?function(e){var t=function(t,i,s){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,i)}return new e(t,i,s)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):h&&"function"==typeof l?r(Function.call,l):l,h&&((m.virtual||(m.virtual={}))[u]=l,e&c.R&&x&&!x[u]&&o(x,u,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},12:function(e,t,i){var s=i(30),n=i(16);e.exports=function(e){return s(n(e))}},13:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},1307:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i(21),n=i.n(s),r=i(391);r.a.install=function(e){e.component(r.a.name,r.a),e.prototype.$createLoginLayer=n()(r.a,e)},t.default=r.a},14:function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},143:function(e,t){e.exports=a},15:function(e,t){var i=Math.ceil,s=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?s:i)(e)}},16:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},17:function(e,t,i){var s=i(19);e.exports=function(e,t,i){if(s(e),void 0===t)return e;switch(i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,s){return e.call(t,i,s)};case 3:return function(i,s,n){return e.call(t,i,s,n)}}return function(){return e.apply(t,arguments)}}},18:function(e,t){e.exports=!0},19:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},2:function(e,t){var i=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=i)},20:function(e,t,i){var s=i(27)("keys"),n=i(24);e.exports=function(e){return s[e]||(s[e]=n(e))}},207:function(e,t){e.exports=c},208:function(e,t){e.exports=u},21:function(t,i){t.exports=e},22:function(e,t,i){var s=i(6),n=i(0).document,r=s(n)&&s(n.createElement);e.exports=function(e){return r?n.createElement(e):{}}},23:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},24:function(e,t){var i=0,s=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+s).toString(36))}},248:function(e,t,i){"use strict";var s=i(89),n=i.n(s),r=i(85),o=i.n(r),a=i(32),c=i.n(a),u=i(82),f=i.n(u),l=i(143),p=i.n(l),d=i(207),g=i.n(d),h=i(393),y=i(34),v=(i.n(y),i(86)),m=i.n(v);t.a={name:"ActLoginLayer",mixins:[o.a,c.a,f.a],components:{ActPopup:n.a,ActBaseInput:p.a,Jigsaw:h.a,ActGoldProtocol:g.a},props:{bottom:{type:Number,default:40},icon:{type:String,default:""},desc:{type:String,default:""},brandColor:{type:String,default:""},jigsawInitUrl:{type:String,default:"/user/unionVerifyInit"},jigsawVerifyUrl:{type:String,default:"/user/unionVerifyCheck"},verifyCodeUrl:{type:String,default:"/user/queryverify"},loginUrl:{type:String,default:"/user/login"},scene:{type:String,default:""},chn:{type:String,default:""},platform:{type:Number,default:0}},data:function(){return{checkState:!1,protocols:[{title:"小雨伞用户协议",data:[{title:"小雨伞用户协议",type:1,urls:["/static/html/user/useragreement.html"],src:"/static/html/user/useragreement.html"}]},{title:"隐私条款",data:[{title:"隐私条款",type:1,urls:["/static/html/user/priviteagreement.html"],src:"/static/html/user/priviteagreement.html"}]}],mobile:"",verifyCode:"",timeLeft:0,showJigsaw:!1,isLogining:!1}},computed:{jigsawChn:function(){return this.chn||Object(y.getParam)("chn")||""},jigsawScene:function(){return this.scene?this.scene:/\.baodan(100|360)\./.test(location.host)?"bdzs":/^cps_\d+$/.test(Object(y.getParam)("chn"))?"bdzs":""},jigsawPlatform:function(){return this.platform?this.platform:"bdzs"===this.jigsawScene?1:0},isCps:function(){return 1===Number(this.jigsawPlatform)},loginBrandColor:function(){return this.brandColor?this.brandColor:"bdzs"===this.jigsawScene?"#f05a4b":"#8c7fee"}},methods:{getVerifyCode:function(){this.timeLeft>0||this.$refs.jigsaw.sendVerifyCode()},jigsawSent:function(){this.errTips("验证成功,短信验证码发送中"),this.start()},jigsawError:function(e){var t=(e.ret,e.errmsg);this.errTips(t)},jigsawShow:function(){this.showJigsaw=!0},jigsawHide:function(){this.showJigsaw=!1},start:function(){this.timeLeft=60,this.startCountDown()},startCountDown:function(){this.timeLeft>0?(this.timeLeft-=1,setTimeout(this.startCountDown,1e3)):this.timeLeft=0},login:function(){var e=this;return this.mobile?Object(y.isMobile)(this.mobile)?this.verifyCode?this.isCps||this.checkState?(this.isLogining=!0,void m()(this.loginUrl,{phone:this.mobile,vercode:this.verifyCode,scene:1,client:"outwx"}).then(function(t){var i=t.data,s=void 0===i?{}:i;e.isLogining=!1,0===s.ret?e.loginSuccess():e.errTips(s.errmsg)}).catch(function(t){e.isLogining=!1,e.errTips("系统繁忙,请稍后重试")})):this.errTips("请同意用户协议及隐私条款"):this.errTips("请输入验证码"):this.errTips("请输入正确的手机号"):this.errTips("请输入手机号")},goBack:function(){this.showJigsaw=!1},loginSuccess:function(){this.hide(),this.$emit("success")},cancel:function(){this.hide(),this.$emit("cancel")},toggle:function(e){this.checkState=e},errTips:function(e){this.toast||(this.toast=this.$createToast()),this.toast.show(e)}}}},249:function(e,t,i){"use strict";var s=i(87),n=i.n(s),r=i(85),o=i.n(r),a=i(32),c=i.n(a),u=i(208),f=i.n(u),l=i(86),p=i.n(l),d=i(34);i.n(d);t.a={mixins:[c.a,o.a],data:function(){return{verifyData:{},jigsawVerifyCodeUrl:"",jigsawMobile:"",isCodeRequesting:!1}},props:{brandColor:{type:String,default:""},initUrl:{type:String,default:"/user/unionVerifyInit"},verifyUrl:{type:String,default:"/user/unionVerifyCheck"},verifyCodeUrl:{type:String,default:"/user/queryverify"},mobile:{type:String,required:!0},scene:{type:String,required:!0},chn:{type:String,required:!0},platform:{type:Number,default:0},extParam:{type:Object,default:function(){return{}}}},computed:{realMobile:function(){return this.verifyData.mobile||this.mobile},realInitUrl:function(){return this.verifyData.initUrl||this.initUrl},realVerifyUrl:function(){return this.verifyData.verifyUrl||this.verifyUrl},realVerifyCodeUrl:function(){return this.verifyData.verifyCodeUrl||this.verifyCodeUrl},realExtParam:function(){return this.verifyData.extParam||this.extParam||{}}},methods:{setData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.verifyData=e},sendVerifyCode:function(){if(this.realVerifyCodeUrl===this.jigsawVerifyCodeUrl&&this.realMobile===this.jigsawMobile)return this.showJigsaw();this._getVerifyCode({needpigsaw:0})},jigsawSuccess:function(e){var t=(e.keyword,e.token);this.showJigsaw(),this._getVerifyCode({needpigsaw:1,pigsawtoken:t})},_getVerifyCode:function(e){var t=this,i=e.needpigsaw,s=e.pigsawtoken;if(!this.isCodeRequesting){if(Object(d.isUndefined)(this.scene)||Object(d.isNull)(this.scene))return console.log("%c严重警告:发送验证码必须包含场景值参数scene","color:red;"),void(this.$throw&&this.$throw(new Error("严重警告:发送验证码必须包含场景值参数scene")));if(Object(d.isUndefined)(this.chn)||Object(d.isNull)(this.chn))return console.log("%c严重警告:发送验证码必须包含渠道参数chn","color:red;"),void(this.$throw&&this.$throw(new Error("严重警告:发送验证码必须包含渠道参数chn")));if(!this.realMobile)return this.error({errmsg:"请输入手机号"});if(!Object(d.isMobile)(this.realMobile))return this.error({errmsg:"请输入正确的手机号"});this.isCodeRequesting=!0,p()(this.realVerifyCodeUrl,n()({mobile:this.realMobile,scene:this.scene,chn:this.chn,needpigsaw:i,pigsawtoken:s},this.realExtParam)).then(function(e){var i=e.data,s=void 0===i?{}:i;t.isCodeRequesting=!1,0===s.ret?(t.hideJigsaw(),t.$emit("sent")):10056===s.ret||10065===s.ret?(t.jigsawVerifyCodeUrl=t.realVerifyCodeUrl,t.jigsawMobile=t.realMobile,t.showJigsaw()):(t.hideJigsaw(),t.error({ret:s.ret,errmsg:s.errmsg}))}).catch(function(e){t.isCodeRequesting=!1,t.error({ret:1004,errmsg:"系统繁忙,请稍后重试"})})}},error:function(e){var t=e.ret,i=void 0===t?2001:t,s=e.errmsg,n=e.data;this.$emit("error",{ret:i,errmsg:s,data:n})},showJigsaw:function(){this.$emit("show")},hideJigsaw:function(){this.$emit("hide")}},components:{ActJigsaw:f.a}}},26:function(e,t,i){var s=i(37),n=i(28);e.exports=Object.keys||function(e){return s(e,n)}},27:function(e,t,i){var s=i(2),n=i(0),r=n["__core-js_shared__"]||(n["__core-js_shared__"]={});(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:s.version,mode:i(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(e,t,i){var s=i(16);e.exports=function(e){return Object(s(e))}},3:function(e,t,i){e.exports=!i(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(e,t,i){var s=i(14);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==s(e)?e.split(""):Object(e)}},31:function(e,t,i){var s=i(15),n=Math.min;e.exports=function(e){return e>0?n(s(e),9007199254740991):0}},32:function(e,i){e.exports=t},34:function(e,t){e.exports=i},35:function(e,t,i){var s=i(6);e.exports=function(e,t){if(!s(e))return e;var i,n;if(t&&"function"==typeof(i=e.toString)&&!s(n=i.call(e)))return n;if("function"==typeof(i=e.valueOf)&&!s(n=i.call(e)))return n;if(!t&&"function"==typeof(i=e.toString)&&!s(n=i.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},36:function(e,t,i){e.exports=!i(3)&&!i(13)(function(){return 7!=Object.defineProperty(i(22)("div"),"a",{get:function(){return 7}}).a})},37:function(e,t,i){var s=i(8),n=i(12),r=i(41)(!1),o=i(20)("IE_PROTO");e.exports=function(e,t){var i,a=n(e),c=0,u=[];for(i in a)i!=o&&s(a,i)&&u.push(i);for(;t.length>c;)s(a,i=t[c++])&&(~r(u,i)||u.push(i));return u}},391:function(e,t,i){"use strict";function s(e){a||i(392)}var n=i(248),r=i(396),o=i(7),a=!1,c=s,u=Object(o.a)(n.a,r.a,r.b,!1,c,"data-v-58814476",null);u.options.__file="src\\components\\LoginLayer\\src\\index.vue",t.a=u.exports},392:function(e,t){},393:function(e,t,i){"use strict";function s(e){a||i(394)}var n=i(249),r=i(395),o=i(7),a=!1,c=s,u=Object(o.a)(n.a,r.a,r.b,!1,c,"data-v-329f3e8b",null);u.options.__file="src\\components\\LoginLayer\\src\\components\\jigsaw.vue",t.a=u.exports},394:function(e,t){},395:function(e,t,i){"use strict";i.d(t,"a",function(){return s}),i.d(t,"b",function(){return n});var s=function(){var e=this,t=e.$createElement;return(e._self._c||t)("act-jigsaw",{ref:"jigsaw",attrs:{visible:e.isVisible,brandColor:e.brandColor,initUrl:e.initUrl,verifyUrl:e.verifyUrl,keyword:e.mobile,platform:e.platform},on:{success:e.jigsawSuccess,error:e.error}})},n=[];s._withStripped=!0},396:function(e,t,i){"use strict";i.d(t,"a",function(){return s}),i.d(t,"b",function(){return n});var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("transition",{attrs:{name:"act-popup-fade"}},[s("act-popup",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],attrs:{type:"login",mask:!0,center:!1,zIndex:e.zIndex},on:{touchmove:function(e){e.preventDefault()},"mask-click":e.cancel}},[s("transition",{attrs:{name:"act-popup-move"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],staticClass:"popup-container",style:"background-color:"+(e.isCps?"#fff":"#fdfcff"),on:{click:function(e){e.stopPropagation()}}},[s("div",{staticClass:"popup-hd"},[s("i",{directives:[{name:"show",rawName:"v-show",value:e.showJigsaw,expression:"showJigsaw"}],staticClass:"icon-back",on:{click:function(t){return t.stopPropagation(),e.goBack(t)}}}),e._v(" "),e.isCps||e.showJigsaw?e._e():s("section",{staticClass:"title"},[s("img",{staticClass:"icon",attrs:{src:e.icon||i(397),alt:""}}),e._v(" "),s("p",{staticClass:"desc"},[e._v("\n "+e._s(e.desc||"新人福利:3万元保额意外保障")+"\n ")])]),e._v(" "),s("i",{staticClass:"icon-cancel",on:{click:function(t){return t.stopPropagation(),e.cancel(t)}}})]),e._v(" "),s("div",{staticClass:"popup-content",style:"padding-top:"+(e.isCps?"0":"18")+"px;"},[s("div",{staticClass:"login-box act-iphonex-margin",style:"padding-bottom:"+e.bottom+"px;"},[s("div",{directives:[{name:"show",rawName:"v-show",value:!e.showJigsaw,expression:"!showJigsaw"}],staticClass:"form-sign",style:"padding: "+(e.isCps?"0 37px 12px":"0 25px 12px")+";"},[e.isCps?s("h3",[e._v("\n 验证手机号\n ")]):e._e(),e._v(" "),s("div",{class:[e.isCps?"form-sign-box-cps":"form-sign-box"]},[s("label",{staticClass:"form-sign-label"},[e._v("\n 手机号:\n ")]),e._v(" "),s("div",{staticClass:"form-input-group"},[s("div",{staticClass:"col-1"},[s("act-base-input",{staticClass:"form-sign-input",attrs:{type:"mobile",placeholder:"请输入手机号"},model:{value:e.mobile,callback:function(t){e.mobile=t},expression:"mobile"}})],1)])]),e._v(" "),s("div",{class:[e.isCps?"form-sign-box-cps":"form-sign-box"]},[s("label",{staticClass:"form-sign-label"},[e._v("\n 短信验证码:\n ")]),e._v(" "),s("div",{staticClass:"form-input-group middle"},[s("div",{staticClass:"col-1"},[s("act-base-input",{staticClass:"form-sign-input",attrs:{type:"tel",placeholder:"请输入验证码"},model:{value:e.verifyCode,callback:function(t){e.verifyCode=t},expression:"verifyCode"}})],1),e._v(" "),s("div",{staticClass:"form-sign-btn",class:{"form-sign-disabled":e.timeLeft>0},style:{color:e.loginBrandColor},on:{click:function(t){return t.stopPropagation(),e.getVerifyCode(t)}}},[e._v("\n "+e._s(0===e.timeLeft?"获取验证码":"剩余"+e.timeLeft+"秒")+"\n ")])])]),e._v(" "),s("a",{staticClass:"btn",class:{active:!e.isLogining&&e.mobile&&e.verifyCode,primary:!e.isCps},style:{"background-color":e.loginBrandColor},attrs:{href:"javascript:;"},on:{click:function(t){return t.stopPropagation(),e.login(t)}}},[e._v("\n "+e._s(e.isCps?"确定":"验证并登录")+"\n ")]),e._v(" "),e.isCps?e._e():s("act-gold-protocol",{ref:"protocol",staticClass:"protocol",attrs:{text:"未注册手机号登录将自动注册,且代表您已经同意",protocols:e.protocols,checkState:e.checkState,zIndex:1001},on:{toggle:e.toggle}})],1),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:e.showJigsaw,expression:"showJigsaw"}],staticClass:"login-jigsaw"},[s("h3",[e._v("\n 滑动模块完成验证\n ")]),e._v(" "),s("h4",[e._v("\n 为了您的账号安全,本次登录需完成验证\n ")])]),e._v(" "),s("jigsaw",{ref:"jigsaw",staticClass:"jigsaw-box",attrs:{visible:e.showJigsaw,brandColor:e.loginBrandColor,mobile:e.mobile,initUrl:e.jigsawInitUrl,verifyUrl:e.jigsawVerifyUrl,verifyCodeUrl:e.verifyCodeUrl,chn:e.jigsawChn,scene:e.jigsawScene,platform:e.jigsawPlatform},on:{sent:e.jigsawSent,error:e.jigsawError,show:e.jigsawShow,hide:e.jigsawHide}})],1)])])])],1)],1)},n=[];s._withStripped=!0},397:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAMAAADwSaEZAAAAxlBMVEUAAACNgO+MgPCNgO6Oge+OgvCOge+RgvGNgO+MgO+MgO6MgO+NgO+NgO+NgO6MgPCMgO+NgO+NgfCOge+OgPGOgu6ZiO6Ojv+qgP+RhPeRg/aOgfGMf+7///+Kfe6Ieu2Xi/Dg3PuqoPOUiO+ZjvCso/P4+P7W0vmNgO/8/P+glfGRhe+Pgu76+v7m4/zCu/aonvLt6/2vp/ONgPDc2frZ1fnOyPjHwff19P7TzvmkmfLp5/zLxfe4sPW1rfTx7/28tfWFd+3udG0eAAAAHHRSTlMAkfm1fT4wH/3s5+Xf2dLMwaxnUTYtDwkG++/vIRP2QgAAA3JJREFUWMO9mOl6ojAUhgNIrda97saAIBUBQXHf7f3f1AyxTjUnCPjwzPcTwpuzhOTkoKdqyTVBKhVyopgrlCShJrfQi6pnKiJmJFYy9eSkbKaIQ1TMZBOh3qrv+Ineq2/xURKOlBQP1xSAVVzrhGY06zOPYyr/GYFqCziBhPbTHJaTsAguP8lr4wMn0/yjEcaSezixunIIS8QvqMOlNXr4JXU5nmbjxgvGDWShHZ5HclU4rsyuEIGEkBQF27qq6g5RQoECs+7DbFJ3/mW92m4P3mlqOUoI7uFfaOa5LGydtrP+TV+DtaHycCbON++d5JrlL8/9R43d9VCJcPSNs08o+oEaxeIGPo/2/rsjSRyWtRj3uTp7mOOq9M8wDPStubeP3dXFN4yTN9rcYrcyObSbaVVo13Tfp5qstGGwKhRiq9bRvT3k2Fb9WfsmiL3189lyp9/WKyHEHB43V9pagVHLUlgGsOzlNdiXv6iHF441oG82x29Ay1BYETi5ntD5fYeAedTrPHsLvCrSsxZ8oM2oXb6DoYi+oLQtjFqd5yUe0eEXyoIa0qnOvsLzs8LObdDRC53wYeaULsAReF1BqCWyEVtRJ3c4TDYdsJ+yNLGFZBAUl8aEGsbXbsxfHjKqgTV2DgwzcKiITjO6BLPVwIahGMG8syG5+5qReaK/mUrA1iGxMDpyezfS1IePUv1gyMwi4GcvMT6YXjDSs8mvV96AkRsYv9mxQSuhAvsrHQLY0bxb9KM+T5MpCyugHAs7BnNPcSRsrLGwHALHuGM7jm3GgBksTIQwmjwMYJMvRhsNwnKYJwjzptqDDE0nwM1CTJj2rTAiGCSgFBMGIgRVQlJ6MAkJ6cEEVEsPVkNyejAZbI4JYHBzRJW0YBVwoCSCwQOlnhaszjuE4bkbC1aE5QEUsfZg9+J6CQoXiCK2x60HYOHClFRQpm55tPA46BGwKij2gGxvdi17DMjiF3tPfnZ90KdaRxkmgQIZ6qfmcUGNHV4gI+EpbLyITKUALhVc2Jd7MOwoVr75eN3hx8TZaZYONmj+dSfaUXD9gppjAVwR5/g1maTchpdX8zVY5yOLgBrdl1jzHreBIHdeYYlh7YNu4rh1enJaTZK5+dF43r5JkAdSzqbdWEq/5ZV+My79NiHEVUEaQAMztdbq/2j6ptqO/gNuLgOnFCbPsgAAAABJRU5ErkJggg=="},4:function(e,t,i){var s=i(6);e.exports=function(e){if(!s(e))throw TypeError(e+" is not an object!");return e}},41:function(e,t,i){var s=i(12),n=i(31),r=i(42);e.exports=function(e){return function(t,i,o){var a,c=s(t),u=n(c.length),f=r(o,u);if(e&&i!=i){for(;u>f;)if((a=c[f++])!=a)return!0}else for(;u>f;f++)if((e||f in c)&&c[f]===i)return e||f||0;return!e&&-1}}},42:function(e,t,i){var s=i(15),n=Math.max,r=Math.min;e.exports=function(e,t){return e=s(e),e<0?n(e+t,0):r(e,t)}},45:function(e,t){t.f={}.propertyIsEnumerable},5:function(e,t,i){var s=i(9),n=i(23);e.exports=i(3)?function(e,t,i){return s.f(e,t,n(1,i))}:function(e,t,i){return e[t]=i,e}},6:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},60:function(e,t){t.f=Object.getOwnPropertySymbols},63:function(e,t,i){e.exports={default:i(64),__esModule:!0}},64:function(e,t,i){i(65),e.exports=i(2).Object.assign},65:function(e,t,i){var s=i(10);s(s.S+s.F,"Object",{assign:i(66)})},66:function(e,t,i){"use strict";var s=i(3),n=i(26),r=i(60),o=i(45),a=i(29),c=i(30),u=Object.assign;e.exports=!u||i(13)(function(){var e={},t={},i=Symbol(),s="abcdefghijklmnopqrst";return e[i]=7,s.split("").forEach(function(e){t[e]=e}),7!=u({},e)[i]||Object.keys(u({},t)).join("")!=s})?function(e,t){for(var i=a(e),u=arguments.length,f=1,l=r.f,p=o.f;u>f;)for(var d,g=c(arguments[f++]),h=l?n(g).concat(l(g)):n(g),y=h.length,v=0;y>v;)d=h[v++],s&&!p.call(g,d)||(i[d]=g[d]);return i}:u},7:function(e,t,i){"use strict";function s(e,t,i,s,n,r,o,a){e=e||{};var c=typeof e.default;"object"!==c&&"function"!==c||(e=e.default);var u="function"==typeof e?e.options:e;t&&(u.render=t,u.staticRenderFns=i,u._compiled=!0),s&&(u.functional=!0),r&&(u._scopeId=r);var f;if(o?(f=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=f):n&&(f=a?function(){n.call(this,this.$root.$options.shadowRoot)}:n),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(e,t){return f.call(t),l(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,f):[f]}return{exports:e,options:u}}t.a=s},8:function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},82:function(e,t){e.exports=s},85:function(e,t){e.exports=n},86:function(e,t){e.exports=r},87:function(e,t,i){"use strict";t.__esModule=!0;var s=i(63),n=function(e){return e&&e.__esModule?e:{default:e}}(s);t.default=n.default||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e}},89:function(e,t){e.exports=o},9:function(e,t,i){var s=i(4),n=i(36),r=i(35),o=Object.defineProperty;t.f=i(3)?Object.defineProperty:function(e,t,i){if(s(e),t=r(t,!0),s(i),n)try{return o(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}}})});
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/noscroll.js"),require("@xysfe/actui/es/assets/mixins/popup.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/BaseInput/index.js"),require("@xysfe/actui/es/GoldProtocol/index.js"),require("@xysfe/actui/es/Jigsaw/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/noscroll.js","@xysfe/actui/es/assets/mixins/popup.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/common/popup.js","@xysfe/actui/es/BaseInput/index.js","@xysfe/actui/es/GoldProtocol/index.js","@xysfe/actui/es/Jigsaw/index.js"],t):"object"==typeof exports?exports.LoginLayer=t(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/noscroll.js"),require("@xysfe/actui/es/assets/mixins/popup.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/BaseInput/index.js"),require("@xysfe/actui/es/GoldProtocol/index.js"),require("@xysfe/actui/es/Jigsaw/index.js")):e.LoginLayer=t(e["@xysfe/actui/es/assets/utils/create/index.js"],e["@xysfe/actui/es/assets/mixins/visible.js"],e["@xysfe/actui/es/assets/utils/helpers.js"],e["@xysfe/actui/es/assets/mixins/noscroll.js"],e["@xysfe/actui/es/assets/mixins/popup.js"],e["@xysfe/actui/es/assets/utils/post.js"],e["@xysfe/actui/es/assets/common/popup.js"],e["@xysfe/actui/es/BaseInput/index.js"],e["@xysfe/actui/es/GoldProtocol/index.js"],e["@xysfe/actui/es/Jigsaw/index.js"])}("undefined"!=typeof self?self:this,function(e,t,i,s,n,r,o,a,c,u){return function(e){function t(s){if(i[s])return i[s].exports;var n=i[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,s){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:s})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../es",t(t.s=1307)}({0:function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},10:function(e,t,i){var s=i(0),n=i(2),r=i(17),o=i(5),a=i(8),c=function(e,t,i){var u,f,l,p=e&c.F,d=e&c.G,g=e&c.S,h=e&c.P,y=e&c.B,v=e&c.W,m=d?n:n[t]||(n[t]={}),x=m.prototype,w=d?s:g?s[t]:(s[t]||{}).prototype;d&&(i=t);for(u in i)(f=!p&&w&&void 0!==w[u])&&a(m,u)||(l=f?w[u]:i[u],m[u]=d&&"function"!=typeof w[u]?i[u]:y&&f?r(l,s):v&&w[u]==l?function(e){var t=function(t,i,s){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,i)}return new e(t,i,s)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):h&&"function"==typeof l?r(Function.call,l):l,h&&((m.virtual||(m.virtual={}))[u]=l,e&c.R&&x&&!x[u]&&o(x,u,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},12:function(e,t,i){var s=i(30),n=i(16);e.exports=function(e){return s(n(e))}},13:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},1307:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=i(21),n=i.n(s),r=i(391);r.a.install=function(e){e.component(r.a.name,r.a),e.prototype.$createLoginLayer=n()(r.a,e)},t.default=r.a},14:function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},143:function(e,t){e.exports=a},15:function(e,t){var i=Math.ceil,s=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?s:i)(e)}},16:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},17:function(e,t,i){var s=i(19);e.exports=function(e,t,i){if(s(e),void 0===t)return e;switch(i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,s){return e.call(t,i,s)};case 3:return function(i,s,n){return e.call(t,i,s,n)}}return function(){return e.apply(t,arguments)}}},18:function(e,t){e.exports=!0},19:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},2:function(e,t){var i=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=i)},20:function(e,t,i){var s=i(27)("keys"),n=i(24);e.exports=function(e){return s[e]||(s[e]=n(e))}},207:function(e,t){e.exports=c},208:function(e,t){e.exports=u},21:function(t,i){t.exports=e},22:function(e,t,i){var s=i(6),n=i(0).document,r=s(n)&&s(n.createElement);e.exports=function(e){return r?n.createElement(e):{}}},23:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},24:function(e,t){var i=0,s=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+s).toString(36))}},248:function(e,t,i){"use strict";var s=i(89),n=i.n(s),r=i(85),o=i.n(r),a=i(32),c=i.n(a),u=i(82),f=i.n(u),l=i(143),p=i.n(l),d=i(207),g=i.n(d),h=i(393),y=i(34),v=(i.n(y),i(86)),m=i.n(v);t.a={name:"ActLoginLayer",mixins:[o.a,c.a,f.a],components:{ActPopup:n.a,ActBaseInput:p.a,Jigsaw:h.a,ActGoldProtocol:g.a},props:{bottom:{type:Number,default:40},icon:{type:String,default:""},desc:{type:String,default:""},brandColor:{type:String,default:""},jigsawInitUrl:{type:String,default:"/user/unionVerifyInit"},jigsawVerifyUrl:{type:String,default:"/user/unionVerifyCheck"},verifyCodeUrl:{type:String,default:"/user/queryverify"},loginUrl:{type:String,default:"/user/login"},scene:{type:String,default:""},chn:{type:String,default:""},platform:{type:Number,default:0}},data:function(){return{checkState:!1,protocols:[{title:"小雨伞用户协议",data:[{title:"小雨伞用户协议",type:1,urls:["/static/html/books/onlineUserAgreement.html"],src:"/static/html/books/onlineUserAgreement.html"}]},{title:"小雨伞隐私政策",data:[{title:"小雨伞隐私政策",type:1,urls:["/static/html/books/onlinePrivacyClause.html"],src:"/static/html/books/onlinePrivacyClause.html"}]}],mobile:"",verifyCode:"",timeLeft:0,showJigsaw:!1,isLogining:!1}},computed:{jigsawChn:function(){return this.chn||Object(y.getParam)("chn")||""},jigsawScene:function(){return this.scene?this.scene:/\.baodan(100|360)\./.test(location.host)?"bdzs":/^cps_\d+$/.test(Object(y.getParam)("chn"))?"bdzs":""},jigsawPlatform:function(){return this.platform?this.platform:"bdzs"===this.jigsawScene?1:0},isCps:function(){return 1===Number(this.jigsawPlatform)},loginBrandColor:function(){return this.brandColor?this.brandColor:"bdzs"===this.jigsawScene?"#f05a4b":"#8c7fee"}},methods:{getVerifyCode:function(){this.timeLeft>0||this.$refs.jigsaw.sendVerifyCode()},jigsawSent:function(){this.errTips("验证成功,短信验证码发送中"),this.start()},jigsawError:function(e){var t=(e.ret,e.errmsg);this.errTips(t)},jigsawShow:function(){this.showJigsaw=!0},jigsawHide:function(){this.showJigsaw=!1},start:function(){this.timeLeft=60,this.startCountDown()},startCountDown:function(){this.timeLeft>0?(this.timeLeft-=1,setTimeout(this.startCountDown,1e3)):this.timeLeft=0},login:function(){var e=this;return this.mobile?Object(y.isMobile)(this.mobile)?this.verifyCode?this.isCps||this.checkState?(this.isLogining=!0,void m()(this.loginUrl,{phone:this.mobile,vercode:this.verifyCode,scene:1,client:"outwx"}).then(function(t){var i=t.data,s=void 0===i?{}:i;e.isLogining=!1,0===s.ret?e.loginSuccess():e.errTips(s.errmsg)}).catch(function(t){e.isLogining=!1,e.errTips("系统繁忙,请稍后重试")})):this.errTips("请同意用户协议及隐私条款"):this.errTips("请输入验证码"):this.errTips("请输入正确的手机号"):this.errTips("请输入手机号")},goBack:function(){this.showJigsaw=!1},loginSuccess:function(){this.hide(),this.$emit("success")},cancel:function(){this.hide(),this.$emit("cancel")},toggle:function(e){this.checkState=e},errTips:function(e){this.toast||(this.toast=this.$createToast()),this.toast.show(e)}}}},249:function(e,t,i){"use strict";var s=i(87),n=i.n(s),r=i(85),o=i.n(r),a=i(32),c=i.n(a),u=i(208),f=i.n(u),l=i(86),p=i.n(l),d=i(34);i.n(d);t.a={mixins:[c.a,o.a],data:function(){return{verifyData:{},jigsawVerifyCodeUrl:"",jigsawMobile:"",isCodeRequesting:!1}},props:{brandColor:{type:String,default:""},initUrl:{type:String,default:"/user/unionVerifyInit"},verifyUrl:{type:String,default:"/user/unionVerifyCheck"},verifyCodeUrl:{type:String,default:"/user/queryverify"},mobile:{type:String,required:!0},scene:{type:String,required:!0},chn:{type:String,required:!0},platform:{type:Number,default:0},extParam:{type:Object,default:function(){return{}}}},computed:{realMobile:function(){return this.verifyData.mobile||this.mobile},realInitUrl:function(){return this.verifyData.initUrl||this.initUrl},realVerifyUrl:function(){return this.verifyData.verifyUrl||this.verifyUrl},realVerifyCodeUrl:function(){return this.verifyData.verifyCodeUrl||this.verifyCodeUrl},realExtParam:function(){return this.verifyData.extParam||this.extParam||{}}},methods:{setData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.verifyData=e},sendVerifyCode:function(){if(this.realVerifyCodeUrl===this.jigsawVerifyCodeUrl&&this.realMobile===this.jigsawMobile)return this.showJigsaw();this._getVerifyCode({needpigsaw:0})},jigsawSuccess:function(e){var t=(e.keyword,e.token);this.showJigsaw(),this._getVerifyCode({needpigsaw:1,pigsawtoken:t})},_getVerifyCode:function(e){var t=this,i=e.needpigsaw,s=e.pigsawtoken;if(!this.isCodeRequesting){if(Object(d.isUndefined)(this.scene)||Object(d.isNull)(this.scene))return console.log("%c严重警告:发送验证码必须包含场景值参数scene","color:red;"),void(this.$throw&&this.$throw(new Error("严重警告:发送验证码必须包含场景值参数scene")));if(Object(d.isUndefined)(this.chn)||Object(d.isNull)(this.chn))return console.log("%c严重警告:发送验证码必须包含渠道参数chn","color:red;"),void(this.$throw&&this.$throw(new Error("严重警告:发送验证码必须包含渠道参数chn")));if(!this.realMobile)return this.error({errmsg:"请输入手机号"});if(!Object(d.isMobile)(this.realMobile))return this.error({errmsg:"请输入正确的手机号"});this.isCodeRequesting=!0,p()(this.realVerifyCodeUrl,n()({mobile:this.realMobile,scene:this.scene,chn:this.chn,needpigsaw:i,pigsawtoken:s},this.realExtParam)).then(function(e){var i=e.data,s=void 0===i?{}:i;t.isCodeRequesting=!1,0===s.ret?(t.hideJigsaw(),t.$emit("sent")):10056===s.ret||10065===s.ret?(t.jigsawVerifyCodeUrl=t.realVerifyCodeUrl,t.jigsawMobile=t.realMobile,t.showJigsaw()):(t.hideJigsaw(),t.error({ret:s.ret,errmsg:s.errmsg}))}).catch(function(e){t.isCodeRequesting=!1,t.error({ret:1004,errmsg:"系统繁忙,请稍后重试"})})}},error:function(e){var t=e.ret,i=void 0===t?2001:t,s=e.errmsg,n=e.data;this.$emit("error",{ret:i,errmsg:s,data:n})},showJigsaw:function(){this.$emit("show")},hideJigsaw:function(){this.$emit("hide")}},components:{ActJigsaw:f.a}}},26:function(e,t,i){var s=i(37),n=i(28);e.exports=Object.keys||function(e){return s(e,n)}},27:function(e,t,i){var s=i(2),n=i(0),r=n["__core-js_shared__"]||(n["__core-js_shared__"]={});(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:s.version,mode:i(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(e,t,i){var s=i(16);e.exports=function(e){return Object(s(e))}},3:function(e,t,i){e.exports=!i(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(e,t,i){var s=i(14);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==s(e)?e.split(""):Object(e)}},31:function(e,t,i){var s=i(15),n=Math.min;e.exports=function(e){return e>0?n(s(e),9007199254740991):0}},32:function(e,i){e.exports=t},34:function(e,t){e.exports=i},35:function(e,t,i){var s=i(6);e.exports=function(e,t){if(!s(e))return e;var i,n;if(t&&"function"==typeof(i=e.toString)&&!s(n=i.call(e)))return n;if("function"==typeof(i=e.valueOf)&&!s(n=i.call(e)))return n;if(!t&&"function"==typeof(i=e.toString)&&!s(n=i.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},36:function(e,t,i){e.exports=!i(3)&&!i(13)(function(){return 7!=Object.defineProperty(i(22)("div"),"a",{get:function(){return 7}}).a})},37:function(e,t,i){var s=i(8),n=i(12),r=i(41)(!1),o=i(20)("IE_PROTO");e.exports=function(e,t){var i,a=n(e),c=0,u=[];for(i in a)i!=o&&s(a,i)&&u.push(i);for(;t.length>c;)s(a,i=t[c++])&&(~r(u,i)||u.push(i));return u}},391:function(e,t,i){"use strict";function s(e){a||i(392)}var n=i(248),r=i(396),o=i(7),a=!1,c=s,u=Object(o.a)(n.a,r.a,r.b,!1,c,"data-v-58814476",null);u.options.__file="src\\components\\LoginLayer\\src\\index.vue",t.a=u.exports},392:function(e,t){},393:function(e,t,i){"use strict";function s(e){a||i(394)}var n=i(249),r=i(395),o=i(7),a=!1,c=s,u=Object(o.a)(n.a,r.a,r.b,!1,c,"data-v-329f3e8b",null);u.options.__file="src\\components\\LoginLayer\\src\\components\\jigsaw.vue",t.a=u.exports},394:function(e,t){},395:function(e,t,i){"use strict";i.d(t,"a",function(){return s}),i.d(t,"b",function(){return n});var s=function(){var e=this,t=e.$createElement;return(e._self._c||t)("act-jigsaw",{ref:"jigsaw",attrs:{visible:e.isVisible,brandColor:e.brandColor,initUrl:e.initUrl,verifyUrl:e.verifyUrl,keyword:e.mobile,platform:e.platform},on:{success:e.jigsawSuccess,error:e.error}})},n=[];s._withStripped=!0},396:function(e,t,i){"use strict";i.d(t,"a",function(){return s}),i.d(t,"b",function(){return n});var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("transition",{attrs:{name:"act-popup-fade"}},[s("act-popup",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],attrs:{type:"login",mask:!0,center:!1,zIndex:e.zIndex},on:{touchmove:function(e){e.preventDefault()},"mask-click":e.cancel}},[s("transition",{attrs:{name:"act-popup-move"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],staticClass:"popup-container",style:"background-color:"+(e.isCps?"#fff":"#fdfcff"),on:{click:function(e){e.stopPropagation()}}},[s("div",{staticClass:"popup-hd"},[s("i",{directives:[{name:"show",rawName:"v-show",value:e.showJigsaw,expression:"showJigsaw"}],staticClass:"icon-back",on:{click:function(t){return t.stopPropagation(),e.goBack(t)}}}),e._v(" "),e.isCps||e.showJigsaw?e._e():s("section",{staticClass:"title"},[s("img",{staticClass:"icon",attrs:{src:e.icon||i(397),alt:""}}),e._v(" "),s("p",{staticClass:"desc"},[e._v("\n "+e._s(e.desc||"新人福利:3万元保额意外保障")+"\n ")])]),e._v(" "),s("i",{staticClass:"icon-cancel",on:{click:function(t){return t.stopPropagation(),e.cancel(t)}}})]),e._v(" "),s("div",{staticClass:"popup-content",style:"padding-top:"+(e.isCps?"0":"18")+"px;"},[s("div",{staticClass:"login-box act-iphonex-margin",style:"padding-bottom:"+e.bottom+"px;"},[s("div",{directives:[{name:"show",rawName:"v-show",value:!e.showJigsaw,expression:"!showJigsaw"}],staticClass:"form-sign",style:"padding: "+(e.isCps?"0 37px 12px":"0 25px 12px")+";"},[e.isCps?s("h3",[e._v("\n 验证手机号\n ")]):e._e(),e._v(" "),s("div",{class:[e.isCps?"form-sign-box-cps":"form-sign-box"]},[s("label",{staticClass:"form-sign-label"},[e._v("\n 手机号:\n ")]),e._v(" "),s("div",{staticClass:"form-input-group"},[s("div",{staticClass:"col-1"},[s("act-base-input",{staticClass:"form-sign-input",attrs:{type:"mobile",placeholder:"请输入手机号"},model:{value:e.mobile,callback:function(t){e.mobile=t},expression:"mobile"}})],1)])]),e._v(" "),s("div",{class:[e.isCps?"form-sign-box-cps":"form-sign-box"]},[s("label",{staticClass:"form-sign-label"},[e._v("\n 短信验证码:\n ")]),e._v(" "),s("div",{staticClass:"form-input-group middle"},[s("div",{staticClass:"col-1"},[s("act-base-input",{staticClass:"form-sign-input",attrs:{type:"tel",placeholder:"请输入验证码"},model:{value:e.verifyCode,callback:function(t){e.verifyCode=t},expression:"verifyCode"}})],1),e._v(" "),s("div",{staticClass:"form-sign-btn",class:{"form-sign-disabled":e.timeLeft>0},style:{color:e.loginBrandColor},on:{click:function(t){return t.stopPropagation(),e.getVerifyCode(t)}}},[e._v("\n "+e._s(0===e.timeLeft?"获取验证码":"剩余"+e.timeLeft+"秒")+"\n ")])])]),e._v(" "),s("a",{staticClass:"btn",class:{active:!e.isLogining&&e.mobile&&e.verifyCode,primary:!e.isCps},style:{"background-color":e.loginBrandColor},attrs:{href:"javascript:;"},on:{click:function(t){return t.stopPropagation(),e.login(t)}}},[e._v("\n "+e._s(e.isCps?"确定":"验证并登录")+"\n ")]),e._v(" "),e.isCps?e._e():s("act-gold-protocol",{ref:"protocol",staticClass:"protocol",attrs:{text:"未注册手机号登录将自动注册,且代表您已经同意",protocols:e.protocols,checkState:e.checkState,zIndex:1001},on:{toggle:e.toggle}})],1),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:e.showJigsaw,expression:"showJigsaw"}],staticClass:"login-jigsaw"},[s("h3",[e._v("\n 滑动模块完成验证\n ")]),e._v(" "),s("h4",[e._v("\n 为了您的账号安全,本次登录需完成验证\n ")])]),e._v(" "),s("jigsaw",{ref:"jigsaw",staticClass:"jigsaw-box",attrs:{visible:e.showJigsaw,brandColor:e.loginBrandColor,mobile:e.mobile,initUrl:e.jigsawInitUrl,verifyUrl:e.jigsawVerifyUrl,verifyCodeUrl:e.verifyCodeUrl,chn:e.jigsawChn,scene:e.jigsawScene,platform:e.jigsawPlatform},on:{sent:e.jigsawSent,error:e.jigsawError,show:e.jigsawShow,hide:e.jigsawHide}})],1)])])])],1)],1)},n=[];s._withStripped=!0},397:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAMAAADwSaEZAAAAxlBMVEUAAACNgO+MgPCNgO6Oge+OgvCOge+RgvGNgO+MgO+MgO6MgO+NgO+NgO+NgO6MgPCMgO+NgO+NgfCOge+OgPGOgu6ZiO6Ojv+qgP+RhPeRg/aOgfGMf+7///+Kfe6Ieu2Xi/Dg3PuqoPOUiO+ZjvCso/P4+P7W0vmNgO/8/P+glfGRhe+Pgu76+v7m4/zCu/aonvLt6/2vp/ONgPDc2frZ1fnOyPjHwff19P7TzvmkmfLp5/zLxfe4sPW1rfTx7/28tfWFd+3udG0eAAAAHHRSTlMAkfm1fT4wH/3s5+Xf2dLMwaxnUTYtDwkG++/vIRP2QgAAA3JJREFUWMO9mOl6ojAUhgNIrda97saAIBUBQXHf7f3f1AyxTjUnCPjwzPcTwpuzhOTkoKdqyTVBKhVyopgrlCShJrfQi6pnKiJmJFYy9eSkbKaIQ1TMZBOh3qrv+Ineq2/xURKOlBQP1xSAVVzrhGY06zOPYyr/GYFqCziBhPbTHJaTsAguP8lr4wMn0/yjEcaSezixunIIS8QvqMOlNXr4JXU5nmbjxgvGDWShHZ5HclU4rsyuEIGEkBQF27qq6g5RQoECs+7DbFJ3/mW92m4P3mlqOUoI7uFfaOa5LGydtrP+TV+DtaHycCbON++d5JrlL8/9R43d9VCJcPSNs08o+oEaxeIGPo/2/rsjSRyWtRj3uTp7mOOq9M8wDPStubeP3dXFN4yTN9rcYrcyObSbaVVo13Tfp5qstGGwKhRiq9bRvT3k2Fb9WfsmiL3189lyp9/WKyHEHB43V9pagVHLUlgGsOzlNdiXv6iHF441oG82x29Ay1BYETi5ntD5fYeAedTrPHsLvCrSsxZ8oM2oXb6DoYi+oLQtjFqd5yUe0eEXyoIa0qnOvsLzs8LObdDRC53wYeaULsAReF1BqCWyEVtRJ3c4TDYdsJ+yNLGFZBAUl8aEGsbXbsxfHjKqgTV2DgwzcKiITjO6BLPVwIahGMG8syG5+5qReaK/mUrA1iGxMDpyezfS1IePUv1gyMwi4GcvMT6YXjDSs8mvV96AkRsYv9mxQSuhAvsrHQLY0bxb9KM+T5MpCyugHAs7BnNPcSRsrLGwHALHuGM7jm3GgBksTIQwmjwMYJMvRhsNwnKYJwjzptqDDE0nwM1CTJj2rTAiGCSgFBMGIgRVQlJ6MAkJ6cEEVEsPVkNyejAZbI4JYHBzRJW0YBVwoCSCwQOlnhaszjuE4bkbC1aE5QEUsfZg9+J6CQoXiCK2x60HYOHClFRQpm55tPA46BGwKij2gGxvdi17DMjiF3tPfnZ90KdaRxkmgQIZ6qfmcUGNHV4gI+EpbLyITKUALhVc2Jd7MOwoVr75eN3hx8TZaZYONmj+dSfaUXD9gppjAVwR5/g1maTchpdX8zVY5yOLgBrdl1jzHreBIHdeYYlh7YNu4rh1enJaTZK5+dF43r5JkAdSzqbdWEq/5ZV+My79NiHEVUEaQAMztdbq/2j6ptqO/gNuLgOnFCbPsgAAAABJRU5ErkJggg=="},4:function(e,t,i){var s=i(6);e.exports=function(e){if(!s(e))throw TypeError(e+" is not an object!");return e}},41:function(e,t,i){var s=i(12),n=i(31),r=i(42);e.exports=function(e){return function(t,i,o){var a,c=s(t),u=n(c.length),f=r(o,u);if(e&&i!=i){for(;u>f;)if((a=c[f++])!=a)return!0}else for(;u>f;f++)if((e||f in c)&&c[f]===i)return e||f||0;return!e&&-1}}},42:function(e,t,i){var s=i(15),n=Math.max,r=Math.min;e.exports=function(e,t){return e=s(e),e<0?n(e+t,0):r(e,t)}},45:function(e,t){t.f={}.propertyIsEnumerable},5:function(e,t,i){var s=i(9),n=i(23);e.exports=i(3)?function(e,t,i){return s.f(e,t,n(1,i))}:function(e,t,i){return e[t]=i,e}},6:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},60:function(e,t){t.f=Object.getOwnPropertySymbols},63:function(e,t,i){e.exports={default:i(64),__esModule:!0}},64:function(e,t,i){i(65),e.exports=i(2).Object.assign},65:function(e,t,i){var s=i(10);s(s.S+s.F,"Object",{assign:i(66)})},66:function(e,t,i){"use strict";var s=i(3),n=i(26),r=i(60),o=i(45),a=i(29),c=i(30),u=Object.assign;e.exports=!u||i(13)(function(){var e={},t={},i=Symbol(),s="abcdefghijklmnopqrst";return e[i]=7,s.split("").forEach(function(e){t[e]=e}),7!=u({},e)[i]||Object.keys(u({},t)).join("")!=s})?function(e,t){for(var i=a(e),u=arguments.length,f=1,l=r.f,p=o.f;u>f;)for(var d,g=c(arguments[f++]),h=l?n(g).concat(l(g)):n(g),y=h.length,v=0;y>v;)d=h[v++],s&&!p.call(g,d)||(i[d]=g[d]);return i}:u},7:function(e,t,i){"use strict";function s(e,t,i,s,n,r,o,a){e=e||{};var c=typeof e.default;"object"!==c&&"function"!==c||(e=e.default);var u="function"==typeof e?e.options:e;t&&(u.render=t,u.staticRenderFns=i,u._compiled=!0),s&&(u.functional=!0),r&&(u._scopeId=r);var f;if(o?(f=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=f):n&&(f=a?function(){n.call(this,this.$root.$options.shadowRoot)}:n),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(e,t){return f.call(t),l(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,f):[f]}return{exports:e,options:u}}t.a=s},8:function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},82:function(e,t){e.exports=s},85:function(e,t){e.exports=n},86:function(e,t){e.exports=r},87:function(e,t,i){"use strict";t.__esModule=!0;var s=i(63),n=function(e){return e&&e.__esModule?e:{default:e}}(s);t.default=n.default||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e}},89:function(e,t){e.exports=o},9:function(e,t,i){var s=i(4),n=i(36),r=i(35),o=Object.defineProperty;t.f=i(3)?Object.defineProperty:function(e,t,i){if(s(e),t=r(t,!0),s(i),n)try{return o(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}}})});