Cov txheej txheem:

Batch Login Screen: 5 Kauj Ruam
Batch Login Screen: 5 Kauj Ruam

Video: Batch Login Screen: 5 Kauj Ruam

Video: Batch Login Screen: 5 Kauj Ruam
Video: Login & Register UI Tutorial in React Native for Beginners 2024, Kaum ib hlis
Anonim
Batch ID nkag mus Screen
Batch ID nkag mus Screen

Nov yog qhov haujlwm me uas tso cai rau koj sau npe thiab nkag mus rau hauv pawg vam tias koj txaus siab!

Kauj ruam 1: Teeb tsa

Teeb
Teeb

Yog li qhov koj xav tau yog daim ntawv qhia nrog lwm daim ntawv qhia sab hauv nws, qhov no ua rau nws yooj yim dua rau kev siv cov ntaub ntawv

(saib duab)

Kauj ruam 2: Pib Screen

Pib Screen
Pib Screen
Pib Screen
Pib Screen

Ntawm no peb yuav tsim lub vijtsam koj yuav pom thaum qhib qhov program

(NCO TSEG: Kuv ntaus 'cd Log-Data' hauv tus lej hauv daim duab tab sis qhov no rov ua qhov yuam kev siv 'Log' raws li daim ntawv npe)

@echo tawm

REM qhov no hais txog daim ntawv qhia thib ob uas koj tau ua, hauv qhov no lub npe ntawm daim duab qhia chaw

REM tsuav yog txoj haujlwm thiab daim ntawv qhia xav tau nyob hauv tib phau ntawv koj tuaj yeem yooj yim ntaus 'cd (daim ntawv npe)'

cd LogJ

: pib

cls ua

xim F0

REM qhov no yog rau tso saib lub vijtsam siv koj tus kheej kev tsim ntawm no kom ua rau nws ci tiag tiag

echo ID nkag mus, Sau npe

ncha.

ncha (L) ogin (R) egister

teev /p logreg = ""

yog %logreg %== L tau nkag mus

yog %logreg %== kuv tau nkag mus

yog %logreg %== R goto sau npe

yog %logreg %== r goto sau npe

: tus ID nkag mus

cls ua

: npe

cls ua

Kauj Ruam 3: Daim Ntawv Sau Npe

Daim Ntawv Sau Npe
Daim Ntawv Sau Npe
Daim Ntawv Sau Npe
Daim Ntawv Sau Npe

Yog li pom tseeb tom qab tus neeg siv muab nws cov tswv yim peb xav kom nws mus qhov twg,

nov peb yuav daws qhov kev coj ua thaum tus neeg siv xav sau npe ua tus siv tshiab

(NCO TSEG: peb tab tom pib los ntawm: sau npe hais kom ua)

: npe

cls ua

echo Sau npe

ncha.

echo Username ?: Xus

set /p neeg siv = ""

REM peb khaws lub npe siv hauv.dll cov ntaub ntawv hauv Cov ntaub ntawv qhia chaw

REM ua ke nrog tus password

ncha.

Ncha Password?:

set /p dhau = ""

REM peb xa tawm ntawm no

REM peb siv cov ntaub ntawv dll vim nws nyuaj rau nyeem ua tus siv, koj tuaj yeem txuag nws hauv txt ib yam nkaus!

ncha%pass%>%user%.dll

tau txais regsuccess

: kev ua tiav

cls ua

echo Ua tiav sau npe

ncha.

ncha %neeg siv %

ncha.

ncha %dhau %

ncua

tsum tsum

Kauj ruam 4: ID nkag mus Screen; ID nkag mus Fail; ID nkag mus tau zoo

ID nkag mus; ID nkag mus Fail; ID nkag mus tau zoo
ID nkag mus; ID nkag mus Fail; ID nkag mus tau zoo
ID nkag mus; ID nkag mus Fail; ID nkag mus tau zoo
ID nkag mus; ID nkag mus Fail; ID nkag mus tau zoo
ID nkag mus; ID nkag mus Fail; ID nkag mus tau zoo
ID nkag mus; ID nkag mus Fail; ID nkag mus tau zoo

Peb xav tau ntau dua li tsuas yog tuaj yeem tso npe tus neeg siv peb kuj xav ua kom lawv nkag mus,

qhov no yuav ua tiav hauv cov kauj ruam no

(Nco tseg: Peb tab tom pib los ntawm: nkag mus hais kom ua)

: tus ID nkag mus

cls ua

echo Nkag mus

ncha.

echo Username ?: Xus

teeb /p user2 = ""

yog tias tsis muaj %user2 %.dll nkag mus tsis tau

rau /f "Delims =" %% a hauv (%user2%.dll) ua (teeb tsa passconfirm = %% a)

ncha.

Ncha Password?:

teeb /p pass2 = ""

yog%pass2%==%passconfirm%tau txais kev nkag mus tau zoo

yog tias tsis%pass2%==%passconfirm%goto loginfail

: kev loginsuccess

cls ua

echo ua tau zoo

ncha.

echo Txoj haujlwm zoo koj ua tiav rau npe

echo thiab nkag mus rau koj tus account

ncua

tsum tsum

: loginfail tsis tau

cls ua

echo ua tsis tau tejyam

ncha.

Echo NCO TSEG: nws yog cov ntaub ntawv rhiab!

ncua

tsum tsum

Kauj Ruam 5: Rub Cov Ntawv (yog tias Koj Xav Tau)

koj tuaj yeem rub tawm qhov program yog tias koj tsis xav ua nws tus kheej

nov:

(koj tseem yuav tsum tau ua daim duab qhia chaw, qhov no tsuas yog cov ntawv txt)

Pom zoo: