SpringBoot實(shí)現(xiàn)人臉識別等多種登錄方式_第1頁
SpringBoot實(shí)現(xiàn)人臉識別等多種登錄方式_第2頁
SpringBoot實(shí)現(xiàn)人臉識別等多種登錄方式_第3頁
SpringBoot實(shí)現(xiàn)人臉識別等多種登錄方式_第4頁
SpringBoot實(shí)現(xiàn)人臉識別等多種登錄方式_第5頁
已閱讀5頁,還剩2頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

第SpringBoot實(shí)現(xiàn)人臉識別等多種登錄方式目錄1.前端界面實(shí)現(xiàn)2.手機(jī)驗(yàn)證碼登錄3.人臉識別登錄(百度人臉識別)

1.前端界面實(shí)現(xiàn)

①背景閃爍效果:

!--背景星星閃爍效果--

script

window.onload=function(){

//屏幕的尺寸

varscreenW=document.documentElement.clientWidth;

varscreenH=document.documentElement.clientHeight;

//2.動態(tài)創(chuàng)建多個(gè)星星

for(vari=0;ii++){

varspan=document.createElement('span');

document.body.appendChild(span);

console.log(i);

//位置隨機(jī)

varx=parseInt(Math.random()*screenW);

vary=parseInt(Math.random()*screenH);

span.style.left=x+'px';

span.style.top=y+'px';

width:2px;

height:2px;

border-radius:5px;

background-color:whitesmoke;

position:absolute;

top:0;

left:0;

backface-visibility:hidden;

//大小隨機(jī)

varscale=Math.random()*2;

span.style.transform='scale('+scale+','+scale+')';

//頻率隨機(jī)

varrate=Math.random()*1.5;

span.style.animationDelay=rate+'s';

/script

②翻頁效果實(shí)現(xiàn)

.shu{

position:relative;

width:300px;

height:400px;

background-color:rgba(255,255,255,0.774);

transform-style:preserve-3d;

box-shadow:300px0px30pxrgb(0,0,0.6)inset;

transition:1scubic-bezier(.79,.34,.47,.92);

.shu::after{

content:'';

position:absolute;

height:3px;

width:303px;

left:0px;

bottom:-3px;

/*background-color:rgb(100,96,96);*/

background-image:linear-gradient(toright,rgb(71,68,68),rgba(124,120,120,0.3));

border-bottom-left-radius:5px;

.shu::before{

content:'';

position:absolute;

width:3px;

height:100%;

right:-3px;

top:0px;

background-color:rgb(112,108,108);

background-image:linear-gradient(totop,rgb(114,111,111),rgba(90,87,87,0.5));;

border-top-right-radius:3px;

.shu:hover{

box-shadow:30px0px30pxrgb(0,0,0.6)inset;

transform:rotate(-5deg);

.shu:hover.feng{

transform:rotateY(-140deg);

.feng{

position:absolute;

width:100%;

height:100%;

z-index:2;

background:url("../../images/img_4.png");

background-size:100%;

transform-origin:left;

transition:1scubic-bezier(.79,.34,.47,.92);

border-top-left-radius:2px;

border-bottom-left-radius:2px;

.wen{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

font-family:'fangsong';

text-align:left;

border:solidblack1px;

font-weight:bold;

transform-origin:left;/*旋轉(zhuǎn)軸*/

transition:1scubic-bezier(.79,.34,.47,.92);/*旋轉(zhuǎn)曲線*/

border-top-left-radius:2px;

border-bottom-left-radius:2px;;

}

divid="shu"

divid="feng"/div

divid="wen1"

h1id="register"用戶注冊/h1

h1id="faceregister"人臉注冊/h1

h1id="facelogin"人臉登錄/h1

h1id="numlogin"賬號登錄/h1

h1id="mailorphonelogin"郵箱/手機(jī)號登錄/h1

h1id="resetpwd"忘記密碼/h1

/div

divid="wen2"

!--用戶注冊--

divid="contain1"

h1用戶注冊/h1

form

div

inputid="num1"type="text"requiredlay-verify="required"placeholder="賬號"size="20"

/div

div

inputid="phone1"type="text"requiredlay-verify="required|phone"placeholder="手機(jī)號"size="20"

/div

div

inputid="mailbox1"type="text"requiredlay-verify="required|email"placeholder="郵箱"size="20"

/div

div

iid="show1"#xe6af;/i

inputid="pwd1"type="password"requiredlay-verify="required"placeholder="密碼"size="20"

/div

div

div

buttonid="btnofregister"type="button"lay-submit注冊/button

/div

/div

/form

/div

!--賬號登錄--

divid="contain2"

h1賬號登錄/h1

form

div

inputid="num2"type="text"requiredlay-verify="required"placeholder="賬號"size="20"

pid="tipofnum"/p

/div

div

iid="show2"#xe6af;/i

inputid="pwd2"type="password"requiredlay-verify="required"placeholder="密碼"size="20"

pid="tipofpwd"/p

/div

div

div

buttonid="btnofnumlogin"type="button"lay-submit登錄/button

/div

/div

/form

/div

!--郵箱/手機(jī)號登錄--

divid="contain3"

h1郵箱/手機(jī)號登錄/h1

form

div

inputid="mailboxorphone"type="text"requiredlay-verify="required"placeholder="郵箱/手機(jī)號"size="20"

pid="tipofmop"/p

/div

div

inputid="yzm1"type="text"requiredlay-verify="required"placeh

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論