




版權(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)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年新能源汽車智能座艙硬件升級趨勢下的軟件生態(tài)構(gòu)建策略報(bào)告
- 2025年新能源汽車充電站智能化改造方案研究報(bào)告
- 第二節(jié) 認(rèn)識非洲教學(xué)設(shè)計(jì)初中地理中華中圖版五四學(xué)制六年級下冊-中華中圖版五四學(xué)制2024
- 12.2 正確對待順境和逆境 說課稿-統(tǒng)編版道德與法治七年級上冊
- 2025年中國高安全性玻璃化吸管行業(yè)市場分析及投資價(jià)值評估前景預(yù)測報(bào)告
- Unit 4 Why dont you talk to your parents Section A 3a-3c教學(xué)設(shè)計(jì) 人教版八年級英語下冊
- 2025年工業(yè)互聯(lián)網(wǎng)平臺異構(gòu)數(shù)據(jù)庫融合技術(shù)在交通運(yùn)輸行業(yè)中的交通設(shè)施建設(shè)與運(yùn)營管理報(bào)告
- 醫(yī)療救護(hù)知識培訓(xùn)主要內(nèi)容
- 口腔醫(yī)療安全知識培訓(xùn)課件
- 2025年中國氟橡膠預(yù)混膠及混煉膠行業(yè)市場分析及投資價(jià)值評估前景預(yù)測報(bào)告
- 患兒身份識別護(hù)理質(zhì)控分析
- 共享充電寶解決方案
- 2024年4月自考財(cái)務(wù)報(bào)表分析試題后附答案
- 墊江好保風(fēng)光課件
- 黨內(nèi)法規(guī)學(xué)-形考任務(wù)一-國開(FJ)-參考資料
- 數(shù)據(jù)安全管理員職業(yè)技能競賽考試題庫(含答案)
- 天津市2024年七年級上學(xué)期數(shù)學(xué)期中考試試卷【附答案】
- 24.1.1《圓》數(shù)學(xué)人教版九年級上冊教學(xué)課件
- 寵物樂園方案
- 注塑成型技術(shù)培訓(xùn)之工藝?yán)斫庹n件
- 信息論與編碼(第4版)完整全套課件
評論
0/150
提交評論