love_php/public/dist/static/js/25.2e679f950883cf724dd2.js
2026-04-02 09:20:51 +08:00

2 lines
8.2 KiB
JavaScript

webpackJsonp([25],{"/v73":function(t,e,o){var a=o("ahH9");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);o("FIqI")("7c064258",a,!0,{})},"1cHr":function(t,e,o){"use strict";function a(t){o("/v73")}Object.defineProperty(e,"__esModule",{value:!0});var i=o("6Jh3");o.n(i);for(var n in i)"default"!==n&&function(t){o.d(e,t,function(){return i[t]})}(n);var r=o("oDXz"),s=o.n(r),c=o("GpnT"),d=o("C7Lr"),l=a,p=d(s.a,c.a,!1,l,"data-v-5a85fcd9",null);e.default=p.exports},"6Jh3":function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("EuEE");e.default={name:"register",components:{},data:function(){return{mobile:"",code:"",value:"",time:60,warn:!0,text:"获取验证码",timer:"",paas:""}},watch:{time:function(){0===this.time&&(clearInterval(this.timer),this.time=60,this.text="重新发送")},mobile:function(){/^1(3|4|5|7|8)\d{9}$/.test(this.mobile)?this.warn=!1:this.warn=!0}},methods:{getCode:function(){var t=this,e={mobile:this.mobile};this.$http.post("/official/sms/register",e).then(function(e){e.data;(0,a.$toastSuccess)("发送成功"),t.timer=setInterval(function(){t.time--},1e3)}).catch(function(t){console.log(t)})},register:function(){var t=this,e={mobile:this.mobile,code:this.code,paas:localStorage.getItem("paas")};this.$http.post("/official/login/mobile",e).then(function(e){var o=e.data;localStorage.setItem("ACCESS_TOKEN",o.token),o.user&&o.user.type?t.$router.push({name:"home"}):t.$router.push({name:"personalData"})}).catch(function(t){console.log(t)})}},mounted:function(){console.log(this.$store.state.route),console.log(this.$wechat)}}},GpnT:function(t,e,o){"use strict";var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"wrapper text-center",attrs:{id:"register"}},[o("div",{staticClass:"center"}),t._v(" "),o("div",{staticStyle:{position:"relative"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.mobile,expression:"mobile"}],staticClass:"font30 colorff mobile",attrs:{type:"number",placeholder:"手机号"},domProps:{value:t.mobile},on:{input:function(e){e.target.composing||(t.mobile=e.target.value)}}}),t._v(" "),o("img",{staticClass:"icon",attrs:{src:"http://images.ufutx.com/201903/28/8026e39a4bd864b41293b4276203026d.png",alt:"icon"}}),t._v(" "),o("img",{directives:[{name:"show",rawName:"v-show",value:t.mobile,expression:"mobile"}],staticClass:"del_icon",attrs:{src:"http://images.ufutx.com/201903/28/f04cd2fd382dbd6da45260e825ff61ef.png",alt:"icon"},on:{click:function(e){t.mobile=""}}}),t._v(" "),o("img",{directives:[{name:"show",rawName:"v-show",value:t.warn&&t.mobile,expression:"warn && mobile"}],staticClass:"del_icon",staticStyle:{right:"12px"},attrs:{src:"http://images.ufutx.com/201903/28/458109eca8206129719b768be914382f.png",alt:"icon"}})]),t._v(" "),o("div",{staticStyle:{position:"relative"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.code,expression:"code"}],staticClass:"font30 colorff code",attrs:{type:"number",placeholder:"验证码"},domProps:{value:t.code},on:{input:function(e){e.target.composing||(t.code=e.target.value)}}}),t._v(" "),o("img",{staticClass:"icon",staticStyle:{top:"7.2vw"},attrs:{src:"http://images.ufutx.com/201903/28/0d60138223b3bf6ca002682946adacf6.png",alt:"icon"}}),t._v(" "),60==t.time?o("p",{staticClass:"getCode font30",on:{click:t.getCode}},[t._v(t._s(t.text))]):o("p",{staticClass:"getCode font28"},[t._v(t._s(t.time)+" 秒后重试")])]),t._v(" "),o("button",{staticClass:"colorff button text-center",on:{click:t.register}},[t._v("立即登录")]),t._v(" "),o("p",{staticClass:"font26 protocol"},[o("span",{staticStyle:{color:"#9a9a9a"}},[t._v("\n 点击立即登录默认您同意\n ")]),t._v(" "),o("span",{staticStyle:{color:"#cadefc","text-decoration":"underline"}},[o("router-link",{staticStyle:{color:"#cadefc","text-decoration":"none"},attrs:{to:"protocol"}},[t._v("《福恋注册协议》")])],1)])])},i=[],n={render:a,staticRenderFns:i};e.a=n},ahH9:function(t,e,o){e=t.exports=o("UTlt")(!0),e.push([t.i,'\nbody .wrapper[data-v-5a85fcd9]{width:100%;height:100vh;background:#1a1a1a;background-size:contain;background-repeat:no-repeat;background-image:url(http://images.ufutx.com/201903/27/eab72e299990c7264ed4385556e471b6.jpeg)\n}\nbody .wrapper input[data-v-5a85fcd9]{width:65.067vw;height:13.333vw;background:none;border:1px solid grey;border-radius:.533vw;margin-top:2.667vw\n}\nbody .wrapper .center[data-v-5a85fcd9]{padding-top:40vw\n}\nbody .wrapper .mobile[data-v-5a85fcd9]{padding:0 6.667vw 0 10.133vw\n}\nbody .wrapper .getCode[data-v-5a85fcd9]{width:21.867vw;color:#c1e0fa;position:relative;position:absolute;right:12.667vw;top:6.667vw\n}\nbody .wrapper .getCode[data-v-5a85fcd9]:before{content:"";background:#404040;width:.267vw;height:6.933vw;position:absolute;left:-6.933vw;top:-.533vw\n}\nbody .wrapper .icon[data-v-5a85fcd9]{width:4vw;position:absolute;left:12.667vw;top:6.4vw\n}\nbody .wrapper .del_icon[data-v-5a85fcd9]{width:4vw;position:absolute;right:12.667vw;top:7.467vw\n}\nbody .wrapper .code[data-v-5a85fcd9]{width:39.333vw;padding:0 32.533vw 0 10.133vw\n}\nbody .wrapper .button[data-v-5a85fcd9]{width:82vw;height:13.333vw;background:#344a5d;border:none;border-radius:.8vw;margin-top:2.667vw\n}\nbody .protocol[data-v-5a85fcd9]{margin-top:4vw;letter-spacing:1px\n}',"",{version:3,sources:["E:/project/ufutx.love.h5/src/pages/register.vue"],names:[],mappings:";AACA,+BAA+B,WAAW,aAAa,mBAAmB,wBAAwB,4BAA4B,6FAA6F;CAC1N;AACD,qCAAqC,eAAe,gBAAgB,gBAAgB,sBAAsB,qBAAqB,kBAAkB;CAChJ;AACD,uCAAuC,gBAAgB;CACtD;AACD,uCAAuC,4BAA4B;CAClE;AACD,wCAAwC,eAAe,cAAc,kBAAkB,kBAAkB,eAAe,WAAW;CAClI;AACD,+CAA+C,WAAW,mBAAmB,aAAa,eAAe,kBAAkB,cAAc,WAAW;CACnJ;AACD,qCAAqC,UAAU,kBAAkB,cAAc,SAAS;CACvF;AACD,yCAAyC,UAAU,kBAAkB,eAAe,WAAW;CAC9F;AACD,qCAAqC,eAAe,6BAA6B;CAChF;AACD,uCAAuC,WAAW,gBAAgB,mBAAmB,YAAY,mBAAmB,kBAAkB;CACrI;AACD,gCAAgC,eAAe,kBAAkB;CAChE",file:"register.vue",sourcesContent:['\nbody .wrapper[data-v-5a85fcd9]{width:100%;height:100vh;background:#1a1a1a;background-size:contain;background-repeat:no-repeat;background-image:url(http://images.ufutx.com/201903/27/eab72e299990c7264ed4385556e471b6.jpeg)\n}\nbody .wrapper input[data-v-5a85fcd9]{width:65.067vw;height:13.333vw;background:none;border:1px solid grey;border-radius:.533vw;margin-top:2.667vw\n}\nbody .wrapper .center[data-v-5a85fcd9]{padding-top:40vw\n}\nbody .wrapper .mobile[data-v-5a85fcd9]{padding:0 6.667vw 0 10.133vw\n}\nbody .wrapper .getCode[data-v-5a85fcd9]{width:21.867vw;color:#c1e0fa;position:relative;position:absolute;right:12.667vw;top:6.667vw\n}\nbody .wrapper .getCode[data-v-5a85fcd9]:before{content:"";background:#404040;width:.267vw;height:6.933vw;position:absolute;left:-6.933vw;top:-.533vw\n}\nbody .wrapper .icon[data-v-5a85fcd9]{width:4vw;position:absolute;left:12.667vw;top:6.4vw\n}\nbody .wrapper .del_icon[data-v-5a85fcd9]{width:4vw;position:absolute;right:12.667vw;top:7.467vw\n}\nbody .wrapper .code[data-v-5a85fcd9]{width:39.333vw;padding:0 32.533vw 0 10.133vw\n}\nbody .wrapper .button[data-v-5a85fcd9]{width:82vw;height:13.333vw;background:#344a5d;border:none;border-radius:.8vw;margin-top:2.667vw\n}\nbody .protocol[data-v-5a85fcd9]{margin-top:4vw;letter-spacing:1px\n}'],sourceRoot:""}])},oDXz:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("EuEE");e.default={name:"register",components:{},data:function(){return{mobile:"",code:"",value:"",time:60,warn:!0,text:"获取验证码",timer:"",paas:""}},watch:{time:function(){0===this.time&&(clearInterval(this.timer),this.time=60,this.text="重新发送")},mobile:function(){/^1(3|4|5|7|8)\d{9}$/.test(this.mobile)?this.warn=!1:this.warn=!0}},methods:{getCode:function(){var t=this,e={mobile:this.mobile};this.$http.post("/official/sms/register",e).then(function(e){e.data;(0,a.$toastSuccess)("发送成功"),t.timer=setInterval(function(){t.time--},1e3)}).catch(function(t){console.log(t)})},register:function(){var t=this,e={mobile:this.mobile,code:this.code,paas:localStorage.getItem("paas")};this.$http.post("/official/login/mobile",e).then(function(e){var o=e.data;localStorage.setItem("ACCESS_TOKEN",o.token),o.user&&o.user.type?t.$router.push({name:"home"}):t.$router.push({name:"personalData"})}).catch(function(t){console.log(t)})}},mounted:function(){console.log(this.$store.state.route),console.log(this.$wechat)}}}});
//# sourceMappingURL=25.2e679f950883cf724dd2.js.map