3 lines
49 KiB
JavaScript
3 lines
49 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e19b4aee"],{"1da1":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));i("d3b7");function o(e,t,i,o,n,a,r){try{var s=e[a](r),l=s.value}catch(c){return void i(c)}s.done?t(l):Promise.resolve(l).then(o,n)}function n(e){return function(){var t=this,i=arguments;return new Promise((function(n,a){var r=e.apply(t,i);function s(e){o(r,n,a,s,l,"next",e)}function l(e){o(r,n,a,s,l,"throw",e)}s(void 0)}))}}},"31ed":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAfCAYAAADwbH0HAAADR0lEQVRIia2XS2xNYRDHfz0tV0tVRFAalKZKPZvYaCXiESER1pISSWMhxMaCxE5jY1MsPDdCIhIsJEJDvEJJPGpBqApaVa+Upp6tq5VJ/ke+3J5z77nX/Scn59xzv5n5Zr6Z/8zJITVszVRgHbACKANGOFJfgefAWeAc8BYYiKA3KYYAy4DjQLsU+tefhN9PgaPAYsBLpTiZxzFgJbAdqNa7l8AToAP4AYwEJgEVwGStuQrUA9cy9bZGSsyb78B5YIPCng/kAQXAdKAOuAHEtd7WlkbxPBHDFba4PDsIlANDk0RnNnAG6NNGG4CJ6Rg15asUUtt9I1AZUXYecFFyHTrvQASFwrxdrjMz4dNAS0TDj4ALyvTxQJX0DUKQ4SJH4CFwSSGPCpN5LN0LgJKohi1Tx+rZPH6XhlHDB+eYioFRUQ3nOknUmwEZWHL91HNM2R/JsGVxj56LRCLpoFARy5GeX1ENW2K80fM0lVE6sDOdo/UvFPpIhr8Bd3WfBaxN4OZkiInlyhTy+8D7qJv2ZPCKzrdFfJ2KhYzNauWlyd12PI8MM7JDZ2RKbgFrwhJFpbcRaNb6Tv0uDDOYG/LehD8B/eLcSnH0FJXIGBGE8fQitcz1os024BhwAuhO12MfZuykuNdvf9Zvr4uhbip5/P8sg/cDo1MpDgsdIpIS1bLLXBN0BaFHmyzQvTdMeVCo8xSyrbqq5IGF/bcUdivr/Rr1VLf5Opoa1X+beGEQEgcBW7wa2KSzK9D7ToXVMvy1zt8mkGFqfaXaYLXDeu3i+QZNJ6HwVDZNzpl9VFPfogSLhQgbwy0FdquM/IHA7oe1sUDkaLeNzizVCuzSaBM2ALjwFAHTcwr4LD3G2weAcUFClkRHEozWSVEmMJrdB3Q5lbAtsTeb8p3ODttV/IHtLA0YbR5ySOiO+vM/LFTiDChT9zhJ9b+Yq3r3Q77XDXm9Gv6AiGFGloyi3NkMfHFm7yVWsp6+DopVk00Kdbbg8/xlPZdpICz31EE8fYY8cKaHbOGZ5rC4yGkmMN9zSqVL2defZcN94gN/hLJGU2GGzUPj1FcZDHZRYRON0adNN7YRz7jaeNV2ZIP4Pf2RbVhUrZVakjUDrX8BPB3Z/Ov9hcAAAAAASUVORK5CYII="},"4e3b":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAcCAYAAAAAwr0iAAACLUlEQVRIicWXTUhVQRTHfz4rk2yvohDlR1tdCZpF4M4WQgSB6bKVgbVxE7RI14H05dJCQRLUNqL0JZpIi5BA0SRBEZRAW4QLv14cOVePw7v3PXXe6w/33WFmzvz/c+6ZM+dlcYgqoAmoAM4De/hFDNgBfgHvgbd29RYgnuHnnRCLB24CH1TIG2AY+Auc8ewB8WiWergVyAPaZeCj7vyZZ8IolBlvs6yNyxkUIPguvDHj6niGBfyWnyAyBTkJJl0DuoF54DPwyKOAA77gE1x1JlSHnIp+TwK+uDHgCpjX/i4NmmYj4la6BRRp3x/H6Kn29/gSEAsZ3NW3O37WGfeCsE8wrf2jGowPzCe4kYRYjvR1oAa4FOUBIgRUavZyg/B5BPEdYCqBzaJmvXwz92syAYISzZCitg+oDyG+DcwZwjWgV4/wtCOmQ216UhGQCl6ZxWeBhgQ2ZeqBYJ7cPd+ArdMIuOLsri0FG/HomLFZP6kAcfm22XXFMcU/0fjatALKUzR+bHYwYI7mcTEZxMCKNs4lWUCS05Ahbz8hcYDRQMBPbbwEChJMlPLsvgZMXN+NpyTH5oEfzjERtz7UxCPHaMOMDQLFHsiPCFjQxnhETTgD3PVEfESAFCMXtaNOdyfZrBTIBlaBEX18I6hDWNJdFqaBJArjwW24qJPC0my6IHfNfj0o0V8LvNA67ZPv69ZBsV5ouVqR7+P1f/hjIp63tyP3gIkMEEvm7QQuAPwDkXIMaM28u2AAAAAASUVORK5CYII="},53227:function(e,t,i){var o=i("24fb");t=o(!1),t.push([e.i,"#newLogin[data-v-7e021e0e]{background-color:#fff;height:100vh;overflow:hidden;position:relative}#newLogin .logoTitle[data-v-7e021e0e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:120px;padding:2rem 1.3rem .906rem}#newLogin .logoTitle div[data-v-7e021e0e]{letter-spacing:.8px}#newLogin .logoTitle .title[data-v-7e021e0e]{margin-left:.563rem;color:#fff;text-align:left}#newLogin .logoTitle img[data-v-7e021e0e]{width:3.156rem;height:3.156rem;border-radius:50px}#newLogin .login[data-v-7e021e0e]{position:absolute;top:6rem;width:100%;border-radius:1.563rem 1.563rem 0 0;background-color:#fff;padding-top:36px;padding-bottom:19px}#newLogin .login .head[data-v-7e021e0e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-left:28.5px;font-weight:550}#newLogin .login .head .icon[data-v-7e021e0e]{font-size:20px;font-weight:600}#newLogin .login .head .name[data-v-7e021e0e]{font-size:1.5rem;margin-left:10px}#newLogin .login .inputBox[data-v-7e021e0e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding-left:5px;padding-right:20px;text-align:left;margin-top:25px}#newLogin .login .inputBox van-form[data-v-7e021e0e]{width:100%}#newLogin .login .inputBox .slotIphone[data-v-7e021e0e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#00001c;font-size:1rem;margin-left:15px;margin-top:-.2rem}#newLogin .login .inputBox .slotIphone .icon-jiahao[data-v-7e021e0e]{-webkit-transform:scale(.6);transform:scale(.6);margin-right:-.2rem}#newLogin .login .inputBox .slotIphone .icon[data-v-7e021e0e]{width:.375rem;height:.75rem;margin-top:-.5rem;margin-left:.35rem}#newLogin .login .inputBox .label[data-v-7e021e0e]{color:#4e4e4e;-webkit-transform:scale(.8);transform:scale(.8);margin-top:10px;margin-bottom:10px}#newLogin .login .inputBox .slotCode[data-v-7e021e0e]{color:#00001c;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-left:.2rem}#newLogin .login .inputBox .slotCode .icon[data-v-7e021e0e]{width:.66rem;height:1.35rem;margin-left:.688rem}#newLogin .login .inputBox .passwordLogin[data-v-7e021e0e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;color:#f14e4e;letter-spacing:.6px;font-size:12px;font-weight:550;margin-top:17px;margin-left:33px;margin-right:15px}#newLogin .login .loginButton[data-v-7e021e0e]{color:#6e6e79;font-size:12px;margin-top:3.469rem}#newLogin .login .loginButton .box[data-v-7e021e0e]{border-radius:50%;width:65px;height:65px;position:relative;margin:0 auto}#newLogin .login .loginButton img[data-v-7e021e0e]{width:55px}#newLogin img[data-v-7e021e0e]{margin:0}#newLogin .code_title[data-v-7e021e0e]{text-align:center;font-size:20px}#newLogin .wrp_code_2[data-v-7e021e0e]{text-align:center;width:300px;height:300px;margin:5px auto 0 auto}#newLogin .lightBorder_2[data-v-7e021e0e]{width:280px;height:280px}#newLogin #login_box[data-v-7e021e0e]{background-color:#fff;padding-top:2.5rem;padding-bottom:1.25rem}#newLogin #login_box .login_header[data-v-7e021e0e]{margin:0 auto;width:4.5rem;height:4.5rem;border-radius:50%;overflow:hidden}#newLogin #login_box .login_header img[data-v-7e021e0e]{width:100%;height:100%}#newLogin #login_box .login_info[data-v-7e021e0e]{margin:1.25rem}#newLogin #login_box .login_info li[data-v-7e021e0e]{margin:0 auto;width:20.625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:16px;height:2.5rem;line-height:2.5rem;margin-top:1.25rem;border-bottom:.0625rem solid #ccc;position:relative}#newLogin #login_box .login_info li input[data-v-7e021e0e]{width:12.5rem;border:none}#newLogin #login_box .login_info li span[data-v-7e021e0e]{font-size:14px;right:0;color:#333}#newLogin #login_box .login_info li .img[data-v-7e021e0e]{width:2.5rem;overflow:hidden;position:relative}#newLogin #login_box .login_info li .img img[data-v-7e021e0e]{position:absolute;margin-top:26%;width:48%;left:.625rem}#newLogin #login_box .login_btn[data-v-7e021e0e]{margin-top:2.8rem}#newLogin #login_box .login_btn button[data-v-7e021e0e]{width:20.625rem;height:2.8125rem;font-size:16px;margin-bottom:1.25rem;border-radius:1.875rem}#newLogin #login_box .login_btn .exclusive[data-v-7e021e0e]{background:#f15353;color:#fff;border:none}#newLogin #login_box .login_btn .register[data-v-7e021e0e]{background:#fff;color:#f15353;border:.0625rem solid #f15353}#newLogin #login_box .login_info li span[data-v-7e021e0e]{color:#f15353}#newLogin .login_info .van-cell[data-v-7e021e0e]{padding:0;height:100%}#newLogin .changeId_popup[data-v-7e021e0e]{letter-spacing:0}#newLogin .changeId_popup .changeId_main[data-v-7e021e0e]{padding:2rem;width:18.875rem;margin:0 auto}#newLogin .changeId_popup .changeId_main i[data-v-7e021e0e]{font-size:3rem;color:#d53125}#newLogin .changeId_popup .changeId_main .changeId_warnTitel[data-v-7e021e0e]{margin:.75rem 0;font-size:1.125rem;font-weight:700;color:#000}#newLogin .changeId_popup .changeId_main .changeId_warnText[data-v-7e021e0e]{text-align:left;font-size:.875rem}#newLogin .changeId_popup .changeId_main .changeId_Btn[data-v-7e021e0e]{width:5rem;border:1px solid #c5c5c5;background:#d53125;border-radius:.35rem;color:#fff;height:2rem;display:block;line-height:2rem;margin:1rem auto 0}#newLogin .changeId_popup .changeId_main .changeId_Btn_other[data-v-7e021e0e]{opacity:.5}#newLogin .city-info[data-v-7e021e0e]{border-radius:.656rem;width:20rem;height:32rem;margin:0 auto;background:#fff}#newLogin .city-info header[data-v-7e021e0e]{border-radius:.656rem .656rem 0 0}#newLogin .city-info #a_content[data-v-7e021e0e]{margin:.5rem .9rem;height:24rem;overflow-y:scroll}#newLogin .city-info #a_content[data-v-7e021e0e] ::v-deepimg{max-width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#newLogin .promptWindow[data-v-7e021e0e]{margin-bottom:6px;margin-left:-3px}#newLogin .promptWindow .content[data-v-7e021e0e]{background-color:#000;width:8rem;height:30px;border-radius:3px;color:#fff;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}#newLogin .promptWindow .triangle[data-v-7e021e0e]{width:0;height:0;padding:0;margin:0;border-top:#000;border:5px solid hsla(0,0%,78.4%,0);border-top-color:#000;position:absolute;left:3px}#newLogin .agreement[data-v-7e021e0e]{position:absolute;text-align:left;bottom:19px;margin-left:15px;color:#666}#newLogin .agreement .icon[data-v-7e021e0e]{color:#b8b8b8;font-size:13px;margin-top:2px}#newLogin .agreement .text[data-v-7e021e0e]{font-size:12px;letter-spacing:1px;line-height:18px;width:87%;margin-left:.5rem}#newLogin[data-v-7e021e0e] .van-field__control{font-size:16px}#newLogin[data-v-7e021e0e] .van-field__label{margin-right:3px}#newLogin[data-v-7e021e0e] .van-cell{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#newLogin[data-v-7e021e0e] .van-checkbox{overflow:unset}#newLogin[data-v-7e021e0e] .van-button--default{background-color:#ebebeb}",""]),e.exports=t},"6a64":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAgCAYAAAABtRhCAAACx0lEQVRIidXXTchWVRAH8J/2EpaVYJssEcqIdGEhpoH5gWmZqyRSEyRBXShuXASKKLhw4SYC+xCy/CKQQAgliAKzhEhBQXGRpAsNMxBDjSxJTSbnxulyn/d5Lq8uGrjcc+6dmf+cM3Nm5gxipJY0E2/hfryDz3CjVxW9At6H17EKz9b+ncFm7MSFgQAOxvNYjPl4qIuu6/gCu7APf3QDjC16Gs/gRczGww0yF/FeKlyJxxp4ruEgvsIhnMQvFeBw7MG02/OOdCKBdhTW9+E1rMCULvKXwy0BGH55uwNTWLYXn+BYP8qCRuENvIoJaUydNsTHYcXHsP44TuO7XoKgoLPYlE+4ZxKeyPeyiq1uxXYcaAHSia7i63xOl4CD74DyVvS/BxySPuuo904CRvB9g++x9m4DBtiXmJjzy3cTsA62JXNra8Cx+BxvtgSLrPN3J4GmbFDRAszJJw7yBwMF02WFH+Jcjt/H8oGCVYClgx8txj9hegNoW7BS56UAPFJ8mFBjPtUAerTlyl4oxoejWgzFlVztDxjTIPRk5tiy9vUCFuXqR4zGX1HEA+T3LJayAD/XIFhfaa8+m5pgQfvxZxU0uwqm1R2ET2U3MDl92TVAsKYYb1O0GENT4SOFZQcbVfROc/IcywD8Z1urFca2bixURSEePgCwEdhazNemD//TRPVlla98eBgz0pg2NCz9NT5lopF6uXJBefCvZ0/ya84j9L/NXqVXGp1GV2A/Z2r819/1TBPtwNyiKxufPc6iLh1Z/FuSjdbY/BZH7RWcLxmbUlusalb2n3KLdmade6kBaHYmj60ZfBJkehpbF+jYeT+O3UVWqShax49yvBRP1f5HEV6Y29m0Ff3eLfryPrEOD/bHmDl5Pd7FzU5M93S5MoRgBMHHuX3jcG+N57e8RcX9I9Jfvwmh7XXtAczLAAkKv33a89HBLQbYnbekmfPWAAAAAElFTkSuQmCC"},"7ea8":function(e,t,i){"use strict";i("9b26")},"8ba8":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAXCAYAAACBMvbiAAACY0lEQVRIia2WXWjPURjHP7a81FwIQ5JpQuSlRlErIqXcaHLFhVETF/q3uNjiYqKEy63khnZhktdk2YU1icKFknm5IpoLYbK8DNl09Bw9Pf3OOb/ftm/9+vX/Pd/n+3/OOc/LGUdxTAa2AuuA5UAlUAH8Aj4DL4C7QDfwfAT6uTAfOAW8B4ZzPh3AhrEMYiJwNPDnA8ADoAu4DbwL8K4DC0cbyGbglRF+DZwA1gBTDL8cWAyU5Ji03x/g0EgDaTJiH4EDwIQCGnXAI6NzE5hUJJB2I3AhYxeK4KDR6wXm5fHvMY4NEa7LgxbgGtAKrI1wVwJ9SvdLKo/0OfcDqyPck4Fkdck8NeDjdveW4n4DlmQR7yjSWynlEI4nSvtZbMWSN3rRVdp40STqjIjQAsUdAuqBaqAWeKlsTYmALituny+Mkvr4AZiTEGlR/N3G5jrxp5y743BDabmu/f/Hz8TReJwX/mDA3qnseUq418dQpuZHmfSFFIbk7RrctAx7pbx/KG4IK6zGIpN8jQmBnYp7xdh2mKqKYZV0Zc/f77l1JqB9EZHxUgGe6zpsM3DOaMTaQo3snOe2WUKDEYvNkZpEaTdHfGsNtz1ErDfEM4mArkrjctzfwGNgW8Rnj9HviHD/YZdxuJeosulyJLMTuqeN7tlUIB7r1YqH5RZXyutssMk0w9QxZqIqY2g+AfYCMxO+5RJEp/F3t8QtIac8d+DDwBHpQx6DMkLuy+1uQNr5LGAZsB2Ya3QuyUL6i+6KhZs9en4VeR7KLo05lgLHgKeyG1+B7zJKXN9weea+v5GS3Zg7AuAv6o0JX2b4OvkAAAAASUVORK5CYII="},"95e3":function(e,t,i){"use strict";i.r(t);var o=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"newLogin"}},[1==e.login_type?o("div",[o("div",{staticClass:"logoTitle",style:"background-color:var(--themeBaseColor);"},[o("div",[o("img",{attrs:{src:e.title.mailInfo_logo?e.title.mailInfo_logo:i("b17d")}})]),o("div",{staticClass:"title"},[o("div",{staticStyle:{"font-size":"1.5rem"}},[e._v(e._s(e.title.mainHeading))]),o("div",{staticStyle:{"font-size":"0.875rem","margin-top":"0.15rem"}},[e._v(e._s(e.title.subheading))])])]),o("div",{staticClass:"login"},[o("div",{staticClass:"head"},[o("div",{staticClass:"iconfont icon-member-left icon",on:{click:function(t){return e.$router.go(-1)}}}),o("div",{staticClass:"name"},[e._v("登录")])]),e.appShow?o("div",[o("div",{staticClass:"inputBox"},[o("van-form",{on:{submit:function(e){}}},[o("ul",[1==e.mobile_login_code||e.phoneAndPassword?o("li",[o("van-field",{attrs:{type:"number",clearable:"",placeholder:"请输入您的手机号",rules:[{required:!0,message:"请输入您的手机号"}],mode:!1},scopedSlots:e._u([{key:"label",fn:function(){return[o("div",{staticClass:"slotCode"},[o("img",{staticStyle:{width:"0.719rem",height:"1.063rem"},attrs:{src:i("ef49")}}),o("div",{staticClass:"iconfont icon-advertise-next icon",staticStyle:{"margin-left":"0.95rem"}})])]},proxy:!0}],null,!1,2256096779),model:{value:e.form.mobile,callback:function(t){e.$set(e.form,"mobile","string"===typeof t?t.trim():t)},expression:"form.mobile"}}),o("div"),e.mobile_login_code?o("div",{staticClass:"label"},[e._v("未注册的手机号验证后自动创建("+e._s(e.nameOfTheMall)+")账户!")]):e._e()],1):e._e(),e.accountAndPasswordLogin?o("li",[o("van-field",{attrs:{type:"text",clearable:"",placeholder:"请输入账号",rules:[{required:!0,message:"请输入账号"}],mode:!1},scopedSlots:e._u([{key:"label",fn:function(){return[o("div",{staticClass:"slotCode"},[o("img",{staticStyle:{width:"1rem",height:"1.063rem"},attrs:{src:i("31ed")}}),o("div",{staticClass:"iconfont icon-advertise-next icon"})])]},proxy:!0}],null,!1,2037166028),model:{value:e.form.mobile,callback:function(t){e.$set(e.form,"mobile","string"===typeof t?t.trim():t)},expression:"form.mobile"}}),o("div")],1):e._e(),e.phoneAndPassword||e.accountAndPasswordLogin?o("li",[o("van-field",{staticStyle:{"margin-top":"20px"},attrs:{clearable:"",type:e.passwordShow?"text":"password",placeholder:"请输入密码",rules:[{required:!0,message:"请输入密码"}],mode:!1},scopedSlots:e._u([{key:"label",fn:function(){return[o("div",{staticClass:"slotCode"},[o("div",{staticStyle:{width:"1.188rem"}},[o("img",{style:e.passwordShow?"width: 1.094rem;height: 0.719rem;":"width: 1.188rem;height: 0.563rem;",attrs:{src:e.passwordShow?i("8ba8"):i("bd0a")},on:{click:e.viewPasswordSwitching}})]),o("div",{staticClass:"iconfont icon-advertise-next icon"})])]},proxy:!0},{key:"button",fn:function(){return[o("router-link",{staticStyle:{"font-size":"0.75rem",color:"#666666"},attrs:{to:e.fun.getUrl("findpwd")}},[e._v("忘记密码? ")])]},proxy:!0}],null,!1,4280538580),model:{value:e.form.password,callback:function(t){e.$set(e.form,"password","string"===typeof t?t.trim():t)},expression:"form.password"}}),o("div")],1):e._e(),e.imgcode&&1==e.mobile_login_code?o("li",{staticStyle:{"margin-top":"15px"}},[o("van-field",{attrs:{clearable:"",type:"text",placeholder:"请输入图形信息",rules:[{required:!0,message:"请输入图形信息"}],mode:!1},scopedSlots:e._u([{key:"label",fn:function(){return[o("div",{staticClass:"slotCode"},[o("img",{staticStyle:{width:"1rem",height:"0.875rem"},attrs:{src:i("4e3b")}}),o("div",{staticClass:"iconfont icon-advertise-next icon"})])]},proxy:!0},{key:"button",fn:function(){return[o("img",{staticStyle:{width:"3.594rem",height:"1.5rem"},attrs:{src:e.imgcode},on:{click:function(t){return e.getimgdata()}}})]},proxy:!0}],null,!1,2089778407),model:{value:e.form.captcha,callback:function(t){e.$set(e.form,"captcha","string"===typeof t?t.trim():t)},expression:"form.captcha"}}),o("div")],1):e._e(),1==e.mobile_login_code?o("li",[o("van-field",{staticStyle:{"margin-top":"20px"},attrs:{clearable:"",type:"digit",placeholder:"请输入短信验证码",rules:[{required:!0,message:"请输入短信验证码"}],mode:!1},scopedSlots:e._u([{key:"label",fn:function(){return[o("div",{staticClass:"slotCode"},[o("img",{staticStyle:{width:"0.875rem",height:"1rem"},attrs:{src:i("6a64")}}),o("div",{staticClass:"iconfont icon-advertise-next icon"})])]},proxy:!0},{key:"button",fn:function(){return[o("div",{staticStyle:{"font-size":"12px"},style:"color:var(--themeBaseColor)",on:{click:e.verificationCode}},[e._v(" "+e._s(e.btnText)+" ")])]},proxy:!0}],null,!1,1358685152),model:{value:e.form.code,callback:function(t){e.$set(e.form,"code","string"===typeof t?t.trim():t)},expression:"form.code"}}),o("div")],1):e._e()]),e.loginModeSwitchButton&&!e.appPlatform?o("div",{staticClass:"passwordLogin",style:"color:var(--themeBaseColor)"},[!e.mobile_login_code&&e.loginToSwitch.mobile_login_code?o("div",{on:{click:function(t){return e.tapChange("mobile_login_code")}}},[e._v("切换手机号验证码")]):e._e(),!e.phoneAndPassword&&e.loginToSwitch.is_enable?o("div",{on:{click:function(t){return e.tapChange("phoneAndPassword")}}},[e._v("切换手机号密码 ")]):e._e(),e.accountAndPasswordLogin||"1"!=e.enable_btn?e._e():o("div",{on:{click:function(t){return e.tapChange("accountAndPasswordLogin")}}},[e._v(" 切换账号密码")])]):e._e()])],1),o("div",{staticClass:"loginButton"},[e.appPlatform?e._e():o("div",{staticClass:"box",style:e.loginStatus?"background-color:var(--themeBaseColor)":"background-color:#d4d4d4",on:{click:e.mobile_login}},[o("div",{staticClass:"iconfont icon-fontclass-jiantou",staticStyle:{"font-size":"28px",position:"absolute",top:"16px",left:"17px",transform:"rotate(90deg)",color:"white"}})]),e.appPlatform?o("div",{staticStyle:{"border-radius":"0.3rem",padding:"0.6rem","margin-left":"2rem","margin-right":"2rem","font-size":"1rem"},style:e.loginStatus?"background-color:var(--themeBaseColor);color: white;":"background-color:#e0e0e0",on:{click:e.mobile_login}},[e._v(" 登录 ")]):e._e(),!e.registryEntry&&!e.mobile_login_code||"1"==e.enable_btn&&!e.mobile_login_code&&!e.registryEntry?o("div",{staticStyle:{"margin-top":"0.8rem"}},[e._v(" 没有账号,点击这里"),o("span",{style:"color:var(--themeBaseColor)",on:{click:e.toRegisterText}},[e._v("注册")])]):e._e()])]):e._e()])]):e._e(),1==e.registrationProtocol.status&&e.isShowBottom&&!e.appPlatform||1==e.platformAgreement.status&&e.isShowBottom&&!e.appPlatform||e.appPlatform&&e.isShowBottom&&e.wetach_login||e.appPlatform&&e.isShowBottom&&e.appShow?o("div",{staticClass:"agreement set-pc-style"},[e.appPlatform&&e.appShow&&e.wetach_login?o("div",{staticStyle:{"margin-bottom":"20px",display:"flex","align-items":"center",color:"#6e6e79","letter-spacing":"0.5px"},on:{click:e.weixin}},[o("div",[e._v("其他方式登录")]),o("img",{staticStyle:{width:"30px",height:"30px","margin-left":"8px"},attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/weixin_icon.png"}})]):e._e(),e.appPlatform&&!e.appShow&&e.wetach_login?o("div",{staticStyle:{"margin-left":"25px","margin-right":"45px","text-align":"center","background-color":"#08af08","border-radius":"3px",padding:"10px",color:"white","margin-bottom":"30px","font-size":"15px"},on:{click:e.weixin}},[e._v("使用微信一键登录")]):e._e(),o("div",{directives:[{name:"show",rawName:"v-show",value:e.popUpShow,expression:"popUpShow"}],staticClass:"promptWindow"},[o("div",{staticClass:"content"},[e._v(" 请先阅读并同意协议")]),o("div",{staticClass:"triangle"})]),o("div",{staticStyle:{display:"flex"}},[o("div",{staticStyle:{"margin-top":"3px"}},[o("van-checkbox",{attrs:{"checked-color":"var(--themeBaseColor)","icon-size":"13.5px"},model:{value:e.form.login_checked,callback:function(t){e.$set(e.form,"login_checked",t)},expression:"form.login_checked"}})],1),e.appPlatform?o("div",{staticClass:"text"},[e._v("我已阅读并同意"),o("span",{style:"color:var(--themeBaseColor)",on:{click:function(t){return e.appAgreement("agreement")}}},[e._v("《用户协议》")]),o("span",[o("a",{style:"color:var(--themeBaseColor)",on:{click:function(t){return e.appAgreement("privacy")}}},[e._v("《隐私政策》")]),e._v(",并授权["+e._s(e.nameOfTheMall)+"]使用该["+e._s(e.nameOfTheMall)+"]账户信息 (如昵称,头像,收货地址等)进行统一管理")])]):o("div",{staticClass:"text"},[e._v("我已阅读并同意"),1==e.registrationProtocol.status?o("span",{style:"color:var(--themeBaseColor)",on:{click:function(t){return e.openOpenPlatformAgreement("user")}}},[e._v("《"+e._s(e.registrationProtocol.title)+"》")]):e._e(),o("span",[1==e.platformAgreement.status?o("a",{style:"color:var(--themeBaseColor)",on:{click:function(t){return e.openOpenPlatformAgreement("platform")}}},[e._v("《"+e._s(e.platformAgreement.title)+"》")]):e._e(),e._v(",并授权["+e._s(e.nameOfTheMall)+"]使用该["+e._s(e.nameOfTheMall)+"]账户信息 (如昵称,头像,收货地址等)进行统一管理")])])])]):e._e(),2!=e.login_type||e.appPlatform?e._e():o("div",{staticClass:"login_type2"},[o("div",{staticStyle:{position:"relative"}},[o("c-title",{attrs:{hide:!1,text:"用户登录"}}),e.imgcode&&1==e.pc_bind_mobile?o("img",{staticStyle:{width:"20%",height:"40px",position:"absolute",display:"block",left:"74%",top:"11rem","z-index":"999"},attrs:{src:e.imgcode},on:{click:function(t){return e.getimgdata()}}}):e._e()],1),2==e.wechat_qrcode_config.wechat_login_type&&1!=e.pc_bind_mobile?o("div",{staticClass:"wrp_code_2"},[o("div",{staticClass:"code_title"},[e._v("微信登录")]),e.account_url?o("img",{staticClass:"lightBorder_2",attrs:{src:e.account_url,alt:""}}):e._e(),e._m(0)]):e._e(),1==e.pc_bind_mobile?o("div",{staticStyle:{"padding-top":"0"},attrs:{id:"login_box"}},[o("ul",{staticClass:"login_info"},[e._m(1),o("li",[o("van-field",{staticStyle:{"font-size":"16px"},attrs:{label:"",maxlength:"20",center:"",clearable:"",placeholder:"请输入手机号"},model:{value:e.mobileForm.mobile,callback:function(t){e.$set(e.mobileForm,"mobile",t)},expression:"mobileForm.mobile"}})],1),e.imgcode?o("li",[o("van-field",{staticStyle:{"font-size":"16px"},attrs:{center:"",label:"",placeholder:"请输入右侧图形验证码"},model:{value:e.mobileForm.captcha,callback:function(t){e.$set(e.mobileForm,"captcha",t)},expression:"mobileForm.captcha"}})],1):e._e(),o("li",{staticClass:"code"},[o("van-field",{staticStyle:{"font-size":"16px"},attrs:{center:"",clearable:"",placeholder:"请输入验证码"},scopedSlots:e._u([{key:"button",fn:function(){return[o("van-button",{attrs:{type:"default",size:"small",center:"",disabled:e.btnTag,round:"",text:e.btnText},nativeOn:{click:function(t){return e.verificationCode_V2.apply(null,arguments)}}})]},proxy:!0}],null,!1,650152676),model:{value:e.mobileForm.code,callback:function(t){e.$set(e.mobileForm,"code","string"===typeof t?t.trim():t)},expression:"mobileForm.code"}})],1)]),o("div",{staticClass:"login_btn"},[o("button",{staticClass:"exclusive",on:{click:e.getPrepBind}},[e._v("开通专属服务")])])]):e._e(),o("div",{directives:[{name:"show",rawName:"v-show",value:1==e.wechat_qrcode_config.wechat_login_type&&1!=e.pc_bind_mobile,expression:"wechat_qrcode_config.wechat_login_type == 1 && pc_bind_mobile != 1"}],attrs:{id:"login_code"}}),0==e.wechat_qrcode_config.is_wechat_login&&1!=e.pc_bind_mobile?o("div",{staticStyle:{"padding-bottom":"2rem"},style:{marginTop:2==e.wechat_qrcode_config.wechat_login_type?"3rem":""}},[e._v(" 其他登录方式 "),o("span",{staticStyle:{color:"#297dd9",cursor:"pointer"},on:{click:function(t){return e.tapChange(2)}}},[o("i",{staticClass:"iconfont icon-verification_phone"}),e._v(" 手机号登录 ")])]):e._e()]),o("van-popup",{staticClass:"changeId_popup",attrs:{"close-on-click-overlay":!1,round:""},model:{value:e.showChangeID,callback:function(t){e.showChangeID=t},expression:"showChangeID"}},[o("div",{staticClass:"changeId_main"},[o("i",{staticClass:"iconfont icon-toast_warn"}),o("p",{staticClass:"changeId_warnTitel"},[e._v("重要提示")]),o("p",{staticClass:"changeId_warnText"},[e._v(" 当前绑定操作会导致用户ID变更:原会员ID:"+e._s(e.changidInfo.uid)+",变更后会员ID:"+e._s(e.changidInfo.change_uid)+";绑定后所有数据记录以变更后会员ID"+e._s(e.changidInfo.change_uid)+"为准, "),o("em",{staticStyle:{color:"#d53125"}},[e._v("原会员ID"+e._s(e.changidInfo.uid)+"数据将被删除,数据不会进行合并,且不可找回!")]),e._v("请谨慎操作! "),o("br"),e._v("绑定后请注意重新生成推广海报、重新发送推广链接! ")]),o("span",{staticClass:"changeId_Btn",on:{click:e.register_V2}},[e._v("确认合并")]),o("span",{staticClass:"changeId_Btn changeId_Btn_other",on:{click:function(t){e.showChangeID=!1}}},[e._v("取消")])])]),o("van-popup",{staticStyle:{"border-radius":"0.656rem"},model:{value:e.openPlatformAgreement,callback:function(t){e.openPlatformAgreement=t},expression:"openPlatformAgreement"}},[o("div",{staticClass:"city-info"},[o("van-nav-bar",{attrs:{title:e.popoverProtocolContent.title,fixed:""}}),o("div",{staticStyle:{height:"2.5rem",clear:"both"}}),o("div",{attrs:{id:"a_content"},domProps:{innerHTML:e._s(e.popoverProtocolContent.content)}}),o("div",{staticStyle:{width:"12.75rem",height:"2.313rem","background-color":"#f04d4d","border-radius":"0.188rem",display:"flex","align-items":"center","justify-content":"center",color:"#fff","font-size":"1.193rem",margin:"0 auto","margin-top":"1.5rem","margin-bottom":"1.063rem"},on:{click:function(t){e.openPlatformAgreement=!1}}},[e._v(" 确定 ")])],1)])],1)},n=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"tips_title"},[i("p",[e._v("请使用微信扫描二维码关注公众号登录")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("li",{staticStyle:{"border-bottom":"none"}},[i("p",{staticClass:"bind-tips"},[e._v("绑定手机号开通专属服务")])])}],a=i("c7eb"),r=i("1da1"),s=(i("e7e5"),i("d399")),l=(i("4d63"),i("c607"),i("ac1f"),i("2c3e"),i("25f0"),i("466d"),i("1276"),i("00c7")),c=i.n(l),d=(i("6968"),{data:function(){return{wetach_login:!1,appShow:!1,authCodeStatus:!0,imgcode:"",passwordShow:!1,form:{mobile:"",password:"",code:"",captcha:"",uuid:"",mid:0,mobileErr:"",passwordErr:"",login_checked:!1},btnText:"获取验证码",timer:null,loading:!1,start1:!1,ys_short_url_redirect_url:"",ys_short_url_redirect_tel:"",mobile_login_code:0,password_login_code:"",login_type:1,wechat_qrcode_config:{callback:"",is_open:"",is_wechat_login:"",wechat_login_type:""},is_enable:"",enable_btn:"",account_url:"",pc_bind_mobile:"",mobileForm:{code:"",captcha:"",mobile:""},btnTag:!1,showChangeID:!1,changidInfo:{},loginStatus:!1,title:{mainHeading:"",subheading:"",mailInfo_logo:""},registryEntry:"",loginToSwitch:{mobile_login_code:"",is_enable:""},platformAgreement:"",registrationProtocol:"",popUpShow:!1,accountAndPasswordLogin:!1,phoneAndPassword:!1,nameOfTheMall:"",openPlatformAgreement:!1,popoverProtocolContent:"",loginModeSwitchButton:"",isShowBottom:!0,clientHeight:document.documentElement.clientHeight,apptoken:"",appPlatform:!1}},mounted:function(){this.newLoginInformation(),this.realTimePageHeight(),this.start1=!1,this.ys_short_url_redirect_url=this.fun.getCookie("ys_short_url_redirect_url"),this.ys_short_url_redirect_tel=this.fun.getCookie("ys_short_url_redirect_tel"),this.ys_short_url_redirect_tel?(this.form.mobile=this.ys_short_url_redirect_tel,this.mobile_login_code=1,this.getimgdata(),this.loading=!0):this.getLoginMode();var e=this.fun.getTyep();"7"==e?(this.appPlatform=!0,this.isAppLogin()):(this.appPlatform=!1,this.appShow=!0),this.apptoken=this.$route.query.apptoken,this.init_login()},watch:{form:{handler:function(e,t){this.loginButtonStatus()},deep:!0,immediate:!0},"form.login_checked":{handler:function(e,t){this.popUpShow=!this.form.login_checked}}},methods:{loginButtonStatus:function(){var e=1==this.registrationProtocol.status||1==this.platformAgreement.status;this.phoneAndPassword?e||this.appPlatform?this.fun.isTextEmpty(this.form.password)||this.fun.isTextEmpty(this.form.mobile)||!this.form.login_checked?this.loginStatus=!1:this.loginStatus=!0:this.fun.isTextEmpty(this.form.password)||this.fun.isTextEmpty(this.form.mobile)?this.loginStatus=!1:this.loginStatus=!0:1==this.mobile_login_code&&0==this.is_enable?e?this.fun.isTextEmpty(this.form.mobile)||this.fun.isTextEmpty(this.form.code)||!this.form.login_checked?this.loginStatus=!1:this.loginStatus=!0:this.fun.isTextEmpty(this.form.mobile)||this.fun.isTextEmpty(this.form.code)?this.loginStatus=!1:this.loginStatus=!0:this.accountAndPasswordLogin&&(e?this.fun.isTextEmpty(this.form.mobile)||this.fun.isTextEmpty(this.form.password)||!this.form.login_checked?this.loginStatus=!1:this.loginStatus=!0:this.fun.isTextEmpty(this.form.mobile)||this.fun.isTextEmpty(this.form.password)?this.loginStatus=!1:this.loginStatus=!0)},realTimePageHeight:function(){var e=this;window.onresize=function(){e.clientHeight>document.documentElement.clientHeight?e.isShowBottom=!1:e.isShowBottom=!0}},init_login:function(){var e=this;this.fun.isApp()&&YDB_isWXApp&&(this.apptoken?this.login({apptoken:this.apptoken}):$http.get("member.login.index",{show_wechat_login:!0}).then((function(t){1==t.result&&(e.wetach_login=parseInt(t.data.wetach_login))})))},weixin:function(){if(!this.fun.isApp()||this.form.login_checked){s["a"].loading({duration:0,forbidClick:!0,message:"正在登录"}),window.localStorage.setItem("isWxLogin",0);var e=this.fun.getSiteRoot()+this.fun.getRealUrl("member.login.index",{uuid:YDB_UUID});YDB.WXLogin(0,e)}else Object(s["a"])("请先勾选登录即代表您同意《用户协议》和《隐私政策》!")},openOpenPlatformAgreement:function(e){this.openPlatformAgreement=!0,this.agreementContent(e)},appAgreement:function(e){this.$router.push(this.fun.getUrl("userAgreement",{},{show:e}))},agreementContent:function(e){var t=this,i="";"user"==e?i="member.member-info.register-agreement":"platform"==e&&(i="member.member-info.platform-agreement"),$http.get(i).then((function(e){1==e.result&&(t.popoverProtocolContent=e.data)}),(function(e){}))},viewPasswordSwitching:function(){this.passwordShow=!this.passwordShow},tapChange:function(e){"mobile_login_code"==e?(this.mobile_login_code=1,this.phoneAndPassword=!1,this.accountAndPasswordLogin=!1):"phoneAndPassword"==e?(this.phoneAndPassword=!0,this.mobile_login_code=0,this.accountAndPasswordLogin=!1):"accountAndPasswordLogin"==e?(this.accountAndPasswordLogin=!0,this.phoneAndPassword=!1,this.mobile_login_code=0):2==e&&(this.login_type=1),this.popUpShow=!1,this.loginButtonStatus()},mobile_login:function(){if(this.fun.isTextEmpty(this.form.mobile))Object(s["a"])(this.accountAndPasswordLogin?"请填写账号":"请填写手机号");else if(1==this.mobile_login_code&&this.fun.isTextEmpty(this.form.code))Object(s["a"])("请填写验证码");else{if(this.phoneAndPassword||this.accountAndPasswordLogin){if(this.fun.isTextEmpty(this.form.password))return void Object(s["a"])("请填写密码");delete this.form.code}if(1==this.registrationProtocol.status||1==this.platformAgreement.status||this.appPlatform){if(!this.form.login_checked)return void(this.popUpShow=!0);this.popUpShow=!1}(1==this.registrationProtocol.status||1==this.platformAgreement.status||this.appPlatform)&&(this.form.login_checked?this.popUpShow=!1:this.popUpShow=!0),this.form.uuid=0,this.form.mid=null==this.fun.isTextEmpty(window.localStorage.getItem("mid"))?0:window.localStorage.getItem("mid"),this.form.is_sms=this.mobile_login_code,1!=this.mobile_login_code&&delete this.form.code;var e=sessionStorage.getItem("yz_redirect");this.isBase64(e)||(e=c()(e)),this.fun.isTextEmpty(e)||(this.form.yz_redirect=e),this.login(this.form)}},login:function(e){var t,i,o=this,n=this,s="",l="正在获取";this.accountAndPasswordLogin?(t="plugin.account-login.frotend.member.login",i={account:e.mobile,mobileErr:e.mobileErr,password:e.password,passwordErr:e.passwordErr,uuid:e.uuid,mid:e.mid,code:e.code,captcha:e.captcha}):(t="member.login.index",i=e),n.wechat_qrcode_config.is_open&&2==n.wechat_qrcode_config.wechat_login_type&&2==n.login_type&&(s="16",this.pc_token&&(i.pc_token=this.pc_token,l=null)),$http.post(t,i,l,"",s).then(function(){var e=Object(r["a"])(Object(a["a"])().mark((function e(t){var i;return Object(a["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(1!==t.result){e.next=33;break}if(!n.fun.isPc()||11!=t.data.status){e.next=8;break}o.pc_token=t.data.pc_token,o.account_url=t.data.account_url,o.timer2&&(clearInterval(o.timer2),o.timer2=null),o.timer2||1==o.pc_bind_mobile||(o.timer2=setInterval((function(){n.login({is_pc_qrcode:1,yz_redirect:o.yz_redirect})}),5e3)),e.next=31;break;case 8:if(!n.fun.isPc()||1!=t.data.status){e.next=22;break}if(o.pc_bind_mobile=t.data.pc_bind_mobile,o.timer2&&(clearInterval(o.timer2),o.timer2=null),localStorage.setItem("siteMobile",o.form.mobile),n.$store.commit("setLoginStatus",t.data.status),window.localStorage.setItem("isWxLogin",0),o.login_back_url=t.data.url,1==o.pc_bind_mobile){e.next=20;break}if(!o.ys_short_url_redirect_url){e.next=19;break}return window.location.href=n.ys_short_url_redirect_url+"&from=mobile&"+Math.random(),e.abrupt("return");case 19:t.data.url?window.location.href=t.data.url:n.$router.push(o.fun.getUrl("home"));case 20:e.next=31;break;case 22:if(o.timer2&&(clearInterval(o.timer2),o.timer2=null),localStorage.setItem("siteMobile",o.form.mobile),n.$store.commit("setLoginStatus",t.data.status),window.localStorage.setItem("isWxLogin",0),n.fun.isApp()&&(t.msg.uid?YDB.SetUserRelationForPush(t.msg.uid):YDB.SetUserRelationForPush(t.msg.member_id)),!o.ys_short_url_redirect_url){e.next=30;break}return window.location.href=n.ys_short_url_redirect_url+"&from=mobile&"+Math.random(),e.abrupt("return");case 30:t.data.url?window.location.href=t.data.url+"&"+Math.random():n.$router.push(o.fun.getUrl("home"));case 31:e.next=34;break;case 33:n.fun.isPc()&&9==t.data.status?(i=t.msg.url,i&&(n.appid=n.getParam("appid",i),n.redirect_uri=n.getParam("redirect_uri",i),n.scope=n.getParam("scope",i),n.state=n.getParam("state",i)),o.login_obj=new WxLogin({id:"login_code",appid:n.appid,scope:n.scope,redirect_uri:encodeURIComponent(n.redirect_uri),state:n.state})):10!=t.data.status&&n.$dialog.alert({message:t.msg});case 34:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},getLoginMode:function(){var e=this,t=this,i={basic_info:1};$http.get("member.login.login-mode",i).then((function(i){if(1===i.result){if(e.loading=!0,t.fun.isPc()&&(t.wechat_qrcode_config=i.data.wechat_qrcode_config||{},t.wechat_qrcode_config.is_open&&(1==t.wechat_qrcode_config.wechat_login_type||2==t.wechat_qrcode_config.wechat_login_type))){var o=sessionStorage.getItem("yz_redirect");e.isBase64(o)||(o=c()(o)),t.login_type=2,t.login({is_pc_qrcode:1,yz_redirect:o})}i.basic_info.plugin_setting&&i.basic_info.plugin_setting.account_login}else e.loading=!0,Object(s["a"])(i.msg)}))},newLoginInformation:function(){var e=this;$http.get("member.login.new-login-mode").then((function(t){if(1===t.result){var i,o,n,a=JSON.parse(localStorage.getItem("yz_basic_info"));e.mobile_login_code=t.data.mobile_code_login,e.is_enable=t.data.password_login,e.title.mailInfo_logo=t.data.logo,e.title.mainHeading=t.data.title1,e.title.subheading=t.data.title2,e.registryEntry=t.data.get_register,e.loginToSwitch.mobile_login_code=e.mobile_login_code,e.loginToSwitch.is_enable=e.is_enable,e.enable_btn=null===a||void 0===a||null===(i=a.plugin_setting)||void 0===i||null===(o=i.account_login)||void 0===o?void 0:o.enable,e.platformAgreement=t.data.platform_agreement,e.registrationProtocol=t.data.register_agreement,e.nameOfTheMall=t.data.shop_name,e.form.login_checked=1==(null===(n=t.data.register_agreement)||void 0===n?void 0:n.default_tick),"1"==e.enable_btn&&(e.accountAndPasswordLogin=!0),"1"!=e.enable_btn&&1==e.is_enable&&(e.phoneAndPassword=!0),(e.mobile_login_code&&e.is_enable||"1"==e.enable_btn)&&(e.loginModeSwitchButton=!0),(e.mobile_login_code&&e.is_enable||"1"==e.enable_btn)&&1==e.mobile_login_code&&(e.phoneAndPassword=!1,e.accountAndPasswordLogin=!1,e.is_enable=!1),e.appPlatform&&(e.phoneAndPassword=!0,e.mobile_login_code=0,e.accountAndPasswordLogin=!1,e.form.login_checked=!1),t.data.sms&&"1"==t.data.sms.captcha.status&&(e.imgcode=t.data.sms.captcha.img)}else Object(s["a"])(t.msg)}))},verificationCode:function(){var e=this;if(!this.btnTag){var t=this;this.fun.isTextEmpty(this.form.mobile)?Object(s["a"])("请填写手机号"):this.fun.isMoblie(this.form.mobile)?Object(s["a"])("请填写正确的手机号"):this.imgcode&&1==this.mobile_login_code&&this.fun.isTextEmpty(this.form.captcha)?Object(s["a"])("请填写图形验证码"):(this.toastLogin=Object(s["a"])({duration:-1,message:"发送中..."}),$http.get("member.register.alySendCode",{mobile:this.form.mobile,captcha:this.form.captcha,sms_type:3}).then((function(i){e.toastLogin.clear(),1===i.result?t.sendCodeAnimation():(Object(s["a"])(i.msg),e.form.captcha="",e.getimgdata())}),(function(e){})))}},sendCodeAnimation:function(){var e=this,t=60;this.timer||(this.count=t,s["a"].success("验证码已发送"),this.timer=setInterval((function(){e.count>0&&e.count<=t?(e.count--,e.btnText=e.count+"s后重新获取",e.btnTag=!0):(e.btnTag=!1,e.btnText="获取验证码",clearInterval(e.timer),e.timer=null)}),1e3))},getPrepBind:function(){var e=this;this.mobileForm.mobile?!this.imgcode||this.mobileForm.captcha?this.mobileForm.code?$http.post("member.member.prepBind",this.mobileForm,"绑定中...").then((function(t){1==t.result?t.data.is_show?(e.showChangeID=!0,e.changidInfo.uid=t.data.uid,e.changidInfo.change_uid=t.data.change_uid):e.register_V2():Object(s["a"])(t.msg)}),(function(e){Object(s["a"])(e.msg)})):Object(s["a"])("请填验证码"):Object(s["a"])("图形验证码不能为空"):Object(s["a"])("请填写手机号")},isAppLogin:function(){var e=this;$http.post("member.login.phoneSetGet",{}).then((function(t){1==t.result&&(e.appShow=parseInt(t.data.phone_oauth))})).catch((function(e){}))},verificationCode_V2:function(){var e=this;this.fun.isTextEmpty(this.mobileForm.mobile)?Object(s["a"])("请填写手机号"):this.fun.isMoblie(this.mobileForm.mobile)?Object(s["a"])("请填写正确的手机号"):this.fun.isTextEmpty(this.mobileForm.captcha)&&this.imgcode?Object(s["a"])("请填图形验证码"):(s["a"].loading({duration:0,forbidClick:!0,message:"发送中"}),$http.get("member.register.sendCodeV2",{mobile:this.mobileForm.mobile,state:"86",captcha:this.mobileForm.captcha}).then((function(t){s["a"].clear(),1==t.result?e.sendCodeAnimation():(Object(s["a"])(t.msg),e.mobileForm.captcha="",e.getimgdata())}),(function(e){})))},getimgdata:function(){var e=this;$http.get("home-page.getCaptcha").then((function(t){t.data.captcha&&(e.imgcode=t.data.captcha.img)})).catch((function(e){}))},register_V2:function(){var e=this,t={country:"86",mobile:this.mobileForm.mobile,captcha:this.mobileForm.captcha,code:this.mobileForm.code,close:1};$http.post("member.member.bindMobile",t,"绑定中...").then((function(t){if(1==t.result){if(Object(s["a"])("绑定成功"),e.changidInfo&&e.changidInfo.change_uid&&window.localStorage.setItem("uid",e.changidInfo.change_uid),e.showChangeID=!1,e.ys_short_url_redirect_url)return void(window.location.href=e.ys_short_url_redirect_url+"&from=mobile");e.login_back_url?window.location.href=e.login_back_url:e.$router.push(e.fun.getUrl("home"))}else Object(s["a"])(t.msg)}),(function(e){Object(s["a"])(e.msg)}))},isBase64:function(e){return!e||!(e.indexOf("http")>-1||e.indexOf("www")>-1)},toRegisterText:function(){this.$router.push(this.fun.getUrl("register",{},{pageType:"register"}))},getParam:function(e,t){var i=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i");if(t.indexOf("?")>-1){var o=t.split("?")[1].match(i);return null!=o?unescape(o[2]):null}return null}}}),g=d,m=g,h=(i("7ea8"),i("2877")),p=Object(h["a"])(m,o,n,!1,null,"7e021e0e",null);t["default"]=p.exports},"9b26":function(e,t,i){var o=i("53227");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var n=i("499e").default;n("f0456a36",o,!0,{sourceMap:!1,shadowMode:!1})},b17d:function(e,t,i){e.exports=i.p+"static/app/img/photo-mr.5cc2c462.jpg"},bd0a:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAASCAYAAAA31qwVAAACS0lEQVRIic3W24tNcRQH8M+cGQ5iBg8olNK45IUHuSYyKUW8GEWDB7c3Xv0NHsYjSk0GU8rDuI4QJbnUREkTpZTkUh7cGmMY+rFO7c6cc8alMfOt3d5r/357re9v/b5r7V8V0/LIodvwwCj0JUKbcQVjhgGtxOEqGnORrWU4P8TkRqI9uNTkMgOrcAHjh4DUBHSgofAiEetCb9grcRdz/yOpObgdiRFcunJBZAM+xMAsdGJ/EB8sVEWM+5gdMT5hY+JUCHwp9vZZ2KPRjDtYMwjEGmLxzVGFCU+xHBcVZeQh5qMt824hLuMmtiD/D2Ty4eNWdIEFmbETYT8ovCjeqne4V8JpWslJvMIp7EA9qisQqY4522OxL8PH0hJzOzNS+onUYLP22mgbBcKtURDTywTviS14i/ehm1pMxMwKGX6O69gWdh/WhaT6EZsX1TEu7CPYixFYj6bQ29/2ui8hixacxVccxp4YTxlbgkdZYpOiOmfEpGuRvd4i5/kg1x7Z+R5Xpeo9h6O4gY9FYzXRv1aHnYpvEd4UHO7KkHqCTSVIJfTEvSruHaGluvh+ajTLpsw33SGPYlIiaynW47CTj93ZjCXnh7AVi4NcOZwOZ6LK2krMS9v9GmPxGVOisMqhPnYsFdY+fCsWf22IuBzqImA+NDG5wqmkJSoyYSeOVfDbL3axNiqRSmjMVNqZAY5KrZnnpgrzSsb+019OOiIVcHyAuakdvIjnFaG/30b1rwz+NlKTTL+rJNoDUZHlkMZS60nXwfh7pO8GBn4Aagd32Iqp7JIAAAAASUVORK5CYII="},c7eb:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0"),i("b636"),i("944a"),i("0c47"),i("23dc"),i("d9e2"),i("3410"),i("159b"),i("b0c0"),i("131a"),i("fb6a");var o=i("53ca");function n(){
|
||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
n=function(){return e};var e={},t=Object.prototype,i=t.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},r=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(P){c=function(e,t,i){return e[t]=i}}function d(e,t,i,o){var n=t&&t.prototype instanceof h?t:h,a=Object.create(n.prototype),r=new S(o||[]);return a._invoke=function(e,t,i){var o="suspendedStart";return function(n,a){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===n)throw a;return C()}for(i.method=n,i.arg=a;;){var r=i.delegate;if(r){var s=y(r,i);if(s){if(s===m)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===o)throw o="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o="executing";var l=g(e,t,i);if("normal"===l.type){if(o=i.done?"completed":"suspendedYield",l.arg===m)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(o="completed",i.method="throw",i.arg=l.arg)}}}(e,i,r),a}function g(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(P){return{type:"throw",arg:P}}}e.wrap=d;var m={};function h(){}function p(){}function u(){}var f={};c(f,r,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(L([])));w&&w!==t&&i.call(w,r)&&(f=w);var _=u.prototype=h.prototype=Object.create(f);function v(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,r,s,l){var c=g(e[a],e,r);if("throw"!==c.type){var d=c.arg,m=d.value;return m&&"object"==Object(o["a"])(m)&&i.call(m,"__await")?t.resolve(m.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(m).then((function(e){d.value=e,s(d)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var a;this._invoke=function(e,i){function o(){return new t((function(t,o){n(e,i,t,o)}))}return a=a?a.then(o,o):o()}}function y(e,t){var i=e.iterator[t.method];if(void 0===i){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=g(i,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,m;var n=o.arg;return n?n.done?(t[e.resultName]=n.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,m):n:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function L(e){if(e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,n=function t(){for(;++o<e.length;)if(i.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=u,c(_,"constructor",u),c(u,"constructor",p),p.displayName=c(u,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,c(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},v(x.prototype),c(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,i,o,n,a){void 0===a&&(a=Promise);var r=new x(d(t,i,o,n),a);return e.isGeneratorFunction(i)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},v(_),c(_,l,"Generator"),c(_,r,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var i in e)t.push(i);return t.reverse(),function i(){for(;t.length;){var o=t.pop();if(o in e)return i.value=o,i.done=!1,i}return i.done=!0,i}},e.values=L,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(i,o){return r.type="throw",r.arg=e,t.next=i,o&&(t.method="next",t.arg=void 0),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],r=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=e,r.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),k(i),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var o=i.completion;if("throw"===o.type){var n=o.arg;k(i)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:L(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=void 0),m}},e}},ef49:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAiCAYAAAC0nUK+AAABi0lEQVRIie3WsWpUQRTG8d8muyQp1BAQDARF0cL0IUEhna2VgqW2gugjWPoMtjZWVpaC+BAWISRFCKikCgrRmM2VI2dgDNnA3mzn/Zrhzp35nzlnDszXYwlW8CjHOfTQGF997OA93sXH3QTfx9UWwJO6jXnMBPwxHuISNrCPIaZagGPfLazjcsDvJPgzXmITBxiMAS0l/I0XeIobAZ/JH1/wEd9xnHUfV7FvOzP4ewF11B84bAGtdZDMZiqjyTJcOCe4cHoFXqtN+41Um47o4B28g3fwDv4fw5sJvJ+qZ/MfeLzYPycAHxbn0K8iXceTtGMRZDrne2k/5irLMcwsD8tLXx12Ldcc1dbiGp7jK35V8OncdJRjU2U8PAW+XMOL6ZzNH8unpLqVjmyQwHBoN7F4Rnmafp7sLHe1i1d4U80tZQmf4eKIfYOAfwtfV5XhpMKx3kvDVMqygNXMdpSOw5+HcXyQiyPYJLSHDwF7m6eJbrhSZVAuKUoW6+rLjzFqXy60KDKLZviE138AvFhUwJQvu6EAAAAASUVORK5CYII="}}]); |