user-regist.html 13 KB

1
  1. <!doctype html><html><head><meta charset="utf-8"><title>注册</title><meta name="keywords" content="注册"><meta name="description" content="注册"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,shrink-to-fit=no,user-scalable=no" viewport="cover"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta content="telephone=no" name="format-detection"><meta content="email=no" name="format-detection"><meta name="apple-mobile-web-app-title" content="注册"><meta http-equiv="Cache-Control" content="no-siteapp"><link rel="icon" href="favicon.ico"><script>(function(){"use strict";var n={},r={};function t(e){var o=r[e];if(void 0!==o)return o.exports;var u=r[e]={exports:{}};return n[e].call(u.exports,u,u.exports,t),u.exports}t.m=n,function(){var n=[];t.O=function(r,e,o,u){if(!e){var i=1/0;for(l=0;l<n.length;l++){e=n[l][0],o=n[l][1],u=n[l][2];for(var f=!0,c=0;c<e.length;c++)(!1&u||i>=u)&&Object.keys(t.O).every((function(n){return t.O[n](e[c])}))?e.splice(c--,1):(f=!1,u<i&&(i=u));if(f){n.splice(l--,1);var a=o();void 0!==a&&(r=a)}}return r}u=u||0;for(var l=n.length;l>0&&n[l-1][2]>u;l--)n[l]=n[l-1];n[l]=[e,o,u]}}(),function(){t.n=function(n){var r=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(r,{a:r}),r}}(),function(){t.d=function(n,r){for(var e in r)t.o(r,e)&&!t.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:r[e]})}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"===typeof window)return window}}()}(),function(){t.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)}}(),function(){t.p=""}(),function(){var n={86:0,582:0};t.O.j=function(r){return 0===n[r]};var r=function(r,e){var o,u,i=e[0],f=e[1],c=e[2],a=0;if(i.some((function(r){return 0!==n[r]}))){for(o in f)t.o(f,o)&&(t.m[o]=f[o]);if(c)var l=c(t)}for(r&&r(e);a<i.length;a++)u=i[a],t.o(n,u)&&n[u]&&n[u][0](),n[u]=0;return t.O(l)},e=self["webpackChunkskb"]=self["webpackChunkskb"]||[];e.forEach(r.bind(null,0)),e.push=r.bind(null,e.push.bind(e))}()})();</script><script defer="defer" src="./static/js/public.chunk.js"></script><script defer="defer" src="./static/js/npm.vant.chunk.js"></script><script defer="defer" src="./static/js/npm.vue.chunk.js"></script><script defer="defer" src="./static/js/npm.crypto-js.chunk.js"></script><script defer="defer" src="./static/js/npm.axios.chunk.js"></script><script defer="defer" src="./static/js/npm.core-js.chunk.js"></script><script defer="defer" src="./static/js/npm.md5.chunk.js"></script><script defer="defer" src="./static/js/npm.crypt.chunk.js"></script><script defer="defer" src="./static/js/npm.charenc.chunk.js"></script><script defer="defer" src="./static/js/npm.is-buffer.chunk.js"></script><script defer="defer" src="./static/js/npm.babel.chunk.js"></script><script defer="defer" src="./static/js/npm.vue-loader.chunk.js"></script><script defer="defer" src="./static/js/npm.form-data.chunk.js"></script><script>(self["webpackChunkskb"]=self["webpackChunkskb"]||[]).push([[124],{4697:function(e,s,z){"use strict";var i=z(9242),c=z(3396),A=z(7139);const o={class:"bgc-back vh100 nopb regist"},M={id:"app"},t=["src"],n={class:"regist-box-input pt8 pb32 pl32 pr32"},l=(0,c._)("div",{class:"f24 c333 b"},"注册创业帮",-1),r={key:0,class:"f12 c999 pb32"},a={key:1,class:"f12 c999 pb32 cstrong_color"},u={key:2,class:"f12 c999 pb32 cstrong_color"},d=(0,c._)("div",{class:"f12 c666 mb6"},"新用户注册",-1),h=(0,c._)("div",{class:"f12 c666 mb6"},"验证码",-1),g=(0,c._)("div",{class:"f12 c666 mb6"},"推荐码(必填)",-1),f=(0,c._)("div",{class:"f12 c666 mb6"},"登录密码",-1),p=["src"],w={class:"df pt16"},k=(0,c._)("span",{class:"f14 c999"},"我已阅读并同意",-1),v={class:"pt16"},m=(0,c._)("div",{class:"pt16 tc"},[(0,c._)("div",{class:"f12 more"},"注意:用户年龄必须18-60周岁")],-1);function b(e,s,i,b,N,P){const I=(0,c.up)("van-nav-bar"),E=(0,c.up)("van-field"),y=(0,c.up)("van-button"),C=(0,c.up)("van-checkbox");return(0,c.wg)(),(0,c.iD)("div",o,[(0,c._)("div",M,[N.toptitleisshow?((0,c.wg)(),(0,c.j4)(I,{key:0,class:"bgc-back user_rank_explan_title","left-arrow":"",onClickLeft:P.backlogin},{left:(0,c.w5)((()=>[(0,c._)("img",{src:z(5786),alt:""},null,8,t)])),_:1},8,["onClickLeft"])):(0,c.kq)("",!0),(0,c._)("div",n,[l,N.phoneissure&&N.passwordissure?((0,c.wg)(),(0,c.iD)("div",r,"请填写以下注册信息")):(0,c.kq)("",!0),N.phoneissure?(0,c.kq)("",!0):((0,c.wg)(),(0,c.iD)("div",a,"手机号填写有误")),N.passwordissure?(0,c.kq)("",!0):((0,c.wg)(),(0,c.iD)("div",u,"密码长度应为6~20位")),d,(0,c.Wm)(E,{class:"mb12",modelValue:N.userinfo.Mobile,"onUpdate:modelValue":s[0]||(s[0]=e=>N.userinfo.Mobile=e),onInput:P.checkRegist,placeholder:"请输入注册手机号"},null,8,["modelValue","onInput"]),h,(0,c.Wm)(E,{class:"user-phone mb12",center:"",clearable:"",placeholder:"请输入验证码",onInput:P.checkRegist,modelValue:N.userinfo.MobileCode,"onUpdate:modelValue":s[1]||(s[1]=e=>N.userinfo.MobileCode=e)},{button:(0,c.w5)((()=>[N.codeisclick?((0,c.wg)(),(0,c.j4)(y,{key:0,class:"fl",plain:"",color:"#FF502A",onClick:P.getsmscode},{default:(0,c.w5)((()=>[(0,c.Uk)("获取验证码")])),_:1},8,["onClick"])):((0,c.wg)(),(0,c.j4)(y,{key:1,class:"fl",plain:"",color:"#FF502A",disabled:""},{default:(0,c.w5)((()=>[(0,c.Uk)((0,A.zw)(N.countdown)+"s",1)])),_:1}))])),_:1},8,["onInput","modelValue"]),g,(0,c.Wm)(E,{class:"mb12",modelValue:N.userinfo.ReferenceCode,"onUpdate:modelValue":s[2]||(s[2]=e=>N.userinfo.ReferenceCode=e),placeholder:"请输入推荐码",onInput:P.checkRegist},null,8,["modelValue","onInput"]),f,(0,c.Wm)(E,{modelValue:N.userinfo.LoginPwd,"onUpdate:modelValue":s[4]||(s[4]=e=>N.userinfo.LoginPwd=e),onInput:P.checkRegist,type:N.isShowPwd?"text":"password",placeholder:"请设置登录密码"},{button:(0,c.w5)((()=>[(0,c.Wm)(y,{class:"fr",onClick:s[3]||(s[3]=e=>P.showPwd())},{default:(0,c.w5)((()=>[(0,c._)("img",{class:"fr",src:N.isShowPwd?z(4530):z(4218),alt:""},null,8,p)])),_:1})])),_:1},8,["modelValue","onInput","type"]),(0,c._)("div",w,[(0,c.Wm)(C,{modelValue:N.agreement,"onUpdate:modelValue":s[6]||(s[6]=e=>N.agreement=e),"icon-size":".426667rem","checked-color":"#ec5e3b",onChange:P.checkRegist},{default:(0,c.w5)((()=>[k,(0,c._)("span",{class:"f14 more",onClick:s[5]||(s[5]=(...e)=>P.goservice&&P.goservice(...e))},"「创业帮服务协议」")])),_:1},8,["modelValue","onChange"])]),(0,c._)("div",v,[(0,c.Wm)(y,{type:"primary",block:"",color:"#FF502A",disabled:!N.canRegist,onClick:P.regist},{default:(0,c.w5)((()=>[(0,c.Uk)("注册")])),_:1},8,["disabled","onClick"])]),m])])])}var N=z(6539),P=z(6265),I=z(3753),E={data(){return{toptitleisshow:!1,isShowPwd:!1,userinfo:{Mobile:"",ReferenceCode:"",LoginPwd:"",MobileCode:""},agreement:!1,canRegist:!1,phoneissure:!0,passwordissure:!0,codeisclick:!0,countdown:60}},created(){this.toptitleisshow=N.Z.isTitle},methods:{showPwd(){this.isShowPwd=!this.isShowPwd},checkRegist(){this.canRegist=""!==this.userinfo.Mobile&&""!==this.userinfo.ReferenceCode&&""!==this.userinfo.LoginPwd&&""!==this.userinfo.MobileCode&&1==this.agreement},async getsmscode(){if(P.Z.verification(this.userinfo.Mobile))return;this.codeisclick=!1,setTimeout((()=>{this.codeisclick=!0}),6e4);const e=setInterval((()=>{this.countdown--,0===this.countdown&&(this.countdown=60,clearInterval(e))}),1e3),s=await(0,I.j0)("/api/v1/mobilecodecheck/sendsms",{Mobile:this.userinfo.Mobile});s&&P.Z.tips("验证码已发送,请注意查收")},async regist(){if(8!==this.userinfo.ReferenceCode.length)return P.Z.tips("推荐码长度为8位");if("K"!==this.userinfo.ReferenceCode[0])return P.Z.tips("推荐码以大写K开头");if(!P.Z.verificationphonenumber(this.userinfo.Mobile))return this.phoneissure=!1;if(this.userinfo.LoginPwd.length<6&&this.userinfo.LoginPwd.length>20)return this.passwordissure=!1;if(P.Z.verificationpassword(this.userinfo.LoginPwd))return;this.phoneissure=!0,this.passwordissure=!0;const e=JSON.stringify(this.userinfo),s=await(0,I.j0)("/api/v1/users/register",e);if("1"!==s.status)return P.Z.tips(s.info);P.Z.tips("注册成功!"),setTimeout((()=>{this.backlogin()}),2e3)},backlogin(){N.Z.GoBack({Level:1})},goservice(){N.Z.Goto({Url:"user-servce-agreement"})}}},y=z(89);const C=(0,y.Z)(E,[["render",b]]);var R=C,Q=z(1086);z(6028),z(6931);const U=(0,i.ri)(R);U.use(Q.ZP),U.mount("#app")},5786:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAAD4UlEQVRoBe2ZSU9TURiGaUsVbOOKhHHRlRsSI1P4BTKIC+M8RIkmJooQdefaH+EUFdi48kewcWGAIiBx4UTEluIUDEZACfi8TW9zISbSc8+pJHCSk/Pd2zO87/e93zn39paU7JQdD2xvD0T+J/36+vpdsVgsOj8/v2KKI2w6MOi4pqamrvLy8mcVFRXPsY+YzhcyHRhkXEtLy9HV1dXBcD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DA4ODxAYHiAgIigqKywtLzEzPUBBRlJTW2Bhampsbnd8hIuNkJKVmaKjpKasrbfDxMfIyc7c3+Xn6Orq7e7w8/P09ff3+Pv8/P3+pbI0UQAAAehJREFUWMPtlld7wiAUht111r23VluNW+PeWvde+f//pMYkRH1EEx/uyncF5PAqfBw4EgkWFhYW1htSmd1xstNfrfodMu42q97EqEPp1ooCWrXSIfUbGKm3PtpTN9qP6l6pWIw5NaUeaJoyi0Ipw00KomZYKQKU+D3BQKdhQjDGkAHTNj0y4jQYnBGytwGDGYMwjim/Zmcc20kLuyVSS7J9ZIfXeZMQjqKy5Vwq2WT8uMxW4lzcVhSvOboCcLuov/2kL4LzUNC94miIJbeu0oUj98WIH3aavsStbkloXoCiM+5H2za6by8Plocc57itzX2dRZ9zXICzSdL74+3SbT/YpyTwbuZ6xrE2gMc9C/1/LhzKCAIsPRDQsMI52uwOxJFn3+Vlpu3gU4cEAbusFgoKLvgTHDn3fQOmnfsAIRE+Yh6AgmpXqeA892Osg5MvmqSkvXNehVShoPFVFJ0GxIHNr0nOYfTnvs9Dn1chEyhoAgExOhB3oDEUVIUsjT2Esbul1aCgwPzxZjMa+G43exEUbT+jslyw/bADeVHXLvxAwlLkwvGKSRFI0h6Wg7JdXNI+vkaImE8u9hpBdrGhu2rRXf7oniP6gRwieSARPtnIigh0ZQ3CQosp/Tx86ed5u/TDwsLC+uf6AyK8NtZHImxKAAAAAElFTkSuQmCC"},2480:function(){}},function(e){var s=function(s){return e(e.s=s)};e.O(0,[501,196,445,134,252,580,808,927,854,959,447,116,344,582],(function(){return s(4697)}));e.O()}]);</script><link href="./static/css/npm.vant.chunk.css" rel="stylesheet"><link href="./static/css/SkbChunk.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 注册 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>