先看效果图!

话不多说,直接上代码!

//布局文件:activity_login.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:custom="http://schemas.android.com/apk/res-auto"android:layout_width="fill_parent"android:layout_height="fill_parent"android:fitsSystemWindows="true"><RelativeLayout
        android:id="@+id/login_layout"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_marginLeft="20dp"android:layout_marginRight="20dp"android:gravity="center"><FrameLayout
            android:id="@+id/username_layout"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_marginTop="55dp"android:gravity="center"><EditText
                android:id="@+id/username"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_marginTop="5dp"android:inputType="number"android:maxLength="20"android:paddingLeft="55dp"android:paddingRight="60dp"android:hint="6位数字账号"/><ImageView
                android:layout_width="28dp"android:layout_height="28dp"android:layout_gravity="left|center_vertical"android:layout_marginLeft="8dp"android:layout_marginStart="8dp"android:background="@drawable/login_username"android:visibility="visible" /><Button
                android:id="@+id/bt_username_clear"android:layout_width="23dp"android:layout_height="23dp"android:layout_gravity="right|center_vertical"android:layout_marginRight="10dp"android:background="@drawable/login_delete"android:visibility="invisible" /></FrameLayout><FrameLayout
            android:id="@+id/usercode_layout"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_below="@id/username_layout"android:layout_marginTop="6dp"android:gravity="center"><EditText
                android:id="@+id/password"android:layout_width="fill_parent"android:layout_height="wrap_content"android:inputType="textPassword"android:maxLength="20"android:paddingLeft="55dp"android:paddingRight="60dp"android:hint="6位密码"/><ImageView
                android:layout_width="28dp"android:layout_height="28dp"android:layout_gravity="left|center_vertical"android:layout_marginLeft="7dp"android:layout_marginStart="7dp"android:background="@drawable/login_password" /><Button
                android:id="@+id/bt_pwd_clear"android:layout_width="23dp"android:layout_height="23dp"android:layout_gravity="right|center_vertical"android:layout_marginRight="10dp"android:background="@drawable/login_delete"android:visibility="invisible" /><!--            <Buttonandroid:id="@+id/bt_pwd_eye"android:layout_width="23dp"android:layout_height="23dp"android:layout_gravity="right|center_vertical"android:layout_marginRight="33dp"android:background="@drawable/login_illegal" />--></FrameLayout><Button
            android:id="@+id/login"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_below="@id/usercode_layout"android:layout_marginTop="30dp"android:background="#ff336699"android:gravity="center"android:text="登 录"android:textColor="@android:color/white"android:textSize="24dp" />android:layout_height="@dimen/default_button_height"</RelativeLayout><Button
        android:id="@+id/register"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_alignParentBottom="true"android:layout_alignParentEnd="true"android:layout_alignParentRight="true"android:background="#00000000"android:text="注册"android:textSize="16sp"android:textColor="#63B8FF" />android:visibility="visible"<Button
        android:id="@+id/login_error"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_alignParentBottom="true"android:layout_alignParentLeft="true"android:layout_alignParentStart="true"android:background="#00000000"android:text="忘记密码"android:textSize="16sp"android:textColor="#63B8FF"/><CheckBox
        android:id="@+id/checkBox1"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_alignLeft="@+id/login_layout"android:layout_alignStart="@+id/login_layout"android:layout_below="@+id/login_layout"android:layout_marginTop="28dp"android:text="记住密码" /><CheckBox
        android:layout_width="wrap_content"android:layout_height="wrap_content"android:text="自动登录"android:id="@+id/checkBox2"android:layout_below="@+id/checkBox1"android:layout_alignLeft="@+id/checkBox1"android:layout_alignStart="@+id/checkBox1" /><!--<RelativeLayoutandroid:id="@+id/remember_layout000"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_alignParentBottom="true"android:layout_marginBottom="1dp"android:layout_marginLeft="20dp"android:layout_marginRight="20dp" ><Buttonandroid:id="@+id/registfer"android:layout_width="wrap_content"android:layout_height="wrap_content"android:background="#00000000"android:gravity="center"android:singleLine="true"android:text="AnyLife,Make the world a better place."android:textSize="16sp"android:visibility="visible" /></RelativeLayout>-->
</RelativeLayout>
//布局文件:activity_regist.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="fill_parent"android:layout_height="fill_parent"><RelativeLayout
        android:id="@+id/regist_layout"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_marginLeft="20dp"android:layout_marginRight="20dp"android:gravity="center"><FrameLayout
            android:id="@+id/username_layout"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_marginTop="55dp"android:gravity="center"><EditText
                android:id="@+id/username_regist"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_marginTop="5dp"android:hint="6位数字账号"android:inputType="number"android:maxLength="20"android:paddingLeft="90dp"android:paddingRight="60dp" /><Button
                android:id="@+id/bt_username_clear_regist"android:layout_width="23dp"android:layout_height="23dp"android:layout_gravity="right|center_vertical"android:layout_marginRight="10dp"android:background="@drawable/login_delete"android:visibility="invisible" /><TextView
                android:layout_width="wrap_content"android:layout_height="wrap_content"android:text="注册账号:"android:textSize="16dp"android:textColor="#333333"android:layout_marginLeft="8dp"android:layout_gravity="left|center_vertical" /></FrameLayout><FrameLayout
            android:id="@+id/usercode_layout_1"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_below="@id/username_layout"android:layout_marginTop="6dp"android:gravity="center"><EditText
                android:id="@+id/password_regist_1"android:layout_width="fill_parent"android:layout_height="wrap_content"android:inputType="textPassword"android:maxLength="20"android:paddingLeft="90dp"android:paddingRight="60dp"android:hint="6位密码"/><TextView
                android:layout_width="wrap_content"android:layout_height="wrap_content"android:text="输入密码:"android:textSize="@dimen/activity_vertical_margin"android:layout_marginLeft="8dp"android:layout_gravity="left|center_vertical"android:textColor="#333333"/><Button
                android:id="@+id/bt_pwd_clear_regist_1"android:layout_width="23dp"android:layout_height="23dp"android:layout_gravity="right|center_vertical"android:layout_marginRight="10dp"android:background="@drawable/login_delete"android:visibility="invisible" /></FrameLayout><FrameLayout
            android:id="@+id/usercode_layout_2"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_below="@id/usercode_layout_1"android:layout_marginTop="6dp"android:gravity="center"><EditText
                android:id="@+id/password_regist_2"android:layout_width="fill_parent"android:layout_height="wrap_content"android:inputType="textPassword"android:maxLength="20"android:paddingLeft="90dp"android:paddingRight="60dp" /><TextView
                android:layout_width="wrap_content"android:layout_height="wrap_content"android:text="重复密码:"android:textSize="@dimen/activity_vertical_margin"android:layout_marginLeft="8dp"android:layout_gravity="left|center_vertical"android:textColor="#333333"/><Button
                android:id="@+id/bt_pwd_clear_regist_2"android:layout_width="23dp"android:layout_height="23dp"android:layout_gravity="right|center_vertical"android:layout_marginRight="10dp"android:background="@drawable/login_delete"android:visibility="invisible" /></FrameLayout><Button
            android:id="@+id/regist"android:layout_width="fill_parent"android:layout_height="wrap_content"android:layout_below="@id/usercode_layout_2"android:layout_marginTop="30dp"android:background="#ff336699"android:gravity="center"android:text="立即注册"android:textColor="@android:color/white"android:textSize="24dp" /></RelativeLayout></RelativeLayout>
//LoginActivity.java
public class LoginActivity extends Activity implements View.OnClickListener,View.OnLongClickListener {// 声明控件对象private EditText et_name, et_pass;private Button mLoginButton,mLoginError,mRegister,ONLYTEST;int selectIndex=1;boolean isReLogin=false;private RelativeLayout countryselect;private TextView coutry_phone_sn, coutryName;//private Button bt_username_clear;private Button bt_pwd_clear;// private Button bt_pwd_eye;//记录账号、密码private SharedPreferences sp_userinfo;private CheckBox cb_remenber;private CheckBox cb_autologin;private String userNameValue,passwordValue;private TextWatcher username_watcher;private TextWatcher password_watcher;@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);
//  requestWindowFeature(Window.FEATURE_NO_TITLE);
//  //不显示系统的标题栏
//  getWindow().setFlags( WindowManager.LayoutParams.FLAG_FULLSCREEN,
//    WindowManager.LayoutParams.FLAG_FULLSCREEN );setContentView(R.layout.activity_login);et_name = (EditText) findViewById(R.id.username);et_pass = (EditText) findViewById(R.id.password);bt_username_clear = (Button)findViewById(R.id.bt_username_clear);bt_pwd_clear = (Button)findViewById(R.id.bt_pwd_clear);//bt_pwd_eye = (Button)findViewById(R.id.bt_pwd_eye);bt_username_clear.setOnClickListener(this);bt_pwd_clear.setOnClickListener(this);//bt_pwd_eye.setOnClickListener(this);initWatcher();et_name.addTextChangedListener(username_watcher);et_pass.addTextChangedListener(password_watcher);mLoginButton = (Button) findViewById(R.id.login);mLoginError  = (Button) findViewById(R.id.login_error);mRegister    = (Button) findViewById(R.id.register);//ONLYTEST     = (Button) findViewById(R.id.registfer);//ONLYTEST.setOnClickListener(this);//ONLYTEST.setOnLongClickListener((OnLongClickListener) this);mLoginButton.setOnClickListener(this);mLoginError.setOnClickListener(this);mRegister.setOnClickListener(this);sp_userinfo = this.getSharedPreferences("userInfo", Context.MODE_PRIVATE);if(sp_userinfo.getBoolean("ISCHECK", false)){//设置默认是记录密码状态//rem_pw.setChecked(true);et_name.setText(sp_userinfo.getString("USER_NAME", ""));et_pass.setText(sp_userinfo.getString("PASSWORD", ""));//判断自动登陆多选框状态if(//sp_userinfo.getBoolean("AUTO_ISCHECK", false)//测试,设为falsefalse){//设置默认是自动登录状态//auto_login.setChecked(true);//跳转界面Intent intent = new Intent(LoginActivity.this,MainActivity.class);LoginActivity.this.startActivity(intent);}}cb_remenber = (CheckBox)findViewById(R.id.checkBox1);cb_autologin =(CheckBox)findViewById(R.id.checkBox2);CompoundButton.OnCheckedChangeListener listener1 = new CompoundButton.OnCheckedChangeListener() {@Overridepublic void onCheckedChanged(CompoundButton compoundButton, boolean b) {if (b){//选中,保存密码sp_userinfo.edit().putBoolean("ISCHECK", true).commit();Toast.makeText(LoginActivity.this, compoundButton.getText()+"被选择",Toast.LENGTH_SHORT ).show();}else{//取消选中,删除保存的密码sp_userinfo.edit().putBoolean("ISCHECK", false).commit();Toast.makeText(LoginActivity.this, compoundButton.getText()+"取消选择",Toast.LENGTH_SHORT ).show();}}};cb_remenber.setOnCheckedChangeListener(listener1);CompoundButton.OnCheckedChangeListener listener2 = new CompoundButton.OnCheckedChangeListener() {@Overridepublic void onCheckedChanged(CompoundButton compoundButton, boolean b) {if (b){//选中,保存密码sp_userinfo.edit().putBoolean("AUTO_ISCHECK", true).commit();Toast.makeText(LoginActivity.this, compoundButton.getText()+"被选择",Toast.LENGTH_SHORT ).show();}else{//取消选中,删除保存的密码sp_userinfo.edit().putBoolean("AUTO_ISCHECK", false).commit();Toast.makeText(LoginActivity.this, compoundButton.getText()+"取消选择",Toast.LENGTH_SHORT ).show();}}};cb_autologin.setOnCheckedChangeListener(listener2);}/*** 手机号,密码输入控件公用这一个watcher*/private void initWatcher() {username_watcher = new TextWatcher() {public void onTextChanged(CharSequence s, int start, int before, int count) {}public void beforeTextChanged(CharSequence s, int start, int count,int after) {}public void afterTextChanged(Editable s) {et_pass.setText("");if(s.toString().length()>0){bt_username_clear.setVisibility(View.VISIBLE);}else{bt_username_clear.setVisibility(View.INVISIBLE);}}};password_watcher = new TextWatcher() {public void onTextChanged(CharSequence s, int start, int before, int count) {}public void beforeTextChanged(CharSequence s, int start, int count,int after) {}public void afterTextChanged(Editable s) {if(s.toString().length()>0){bt_pwd_clear.setVisibility(View.VISIBLE);}else{bt_pwd_clear.setVisibility(View.INVISIBLE);}}};}@Overridepublic void onClick(View arg0) {// TODO Auto-generated method stubswitch (arg0.getId()) {case R.id.login:  //登陆userNameValue = et_name.getText().toString();passwordValue = et_pass.getText().toString();//判断信息是否符合if (userNameValue.toString().length()==6 ) {if (passwordValue.toString().length()==6){if (cb_remenber.isChecked()) {//记住用户名、密码、SharedPreferences.Editor editor = sp_userinfo.edit();editor.putString("USER_NAME", userNameValue);editor.putString("PASSWORD", passwordValue);editor.commit();}Intent intent_login = new Intent().setClass(LoginActivity.this, MainActivity.class);//Intent intent_login = new Intent();//intent_login.putExtra("fragment",0);startActivity(intent_login);}else{Toast.makeText(LoginActivity.this, "密码格式错误!", Toast.LENGTH_LONG).show();}}else{Toast.makeText(LoginActivity.this, "账号格式错误!", Toast.LENGTH_LONG).show();}break;case R.id.login_error: //无法登陆(忘记密码了吧)AlertDialog.Builder builder = new AlertDialog.Builder(this).setTitle("忘记密码").setIcon(R.drawable.login_illegal1).setMessage("请拨打:  110 \n").setPositiveButton("确定",null);builder.create().show();break;case R.id.register:    //注册新的用户Intent intent_regist = new Intent(LoginActivity.this, RegistActivity.class);startActivityForResult(intent_regist,0);//请求码为0break;case R.id.bt_username_clear:et_name.setText("");et_pass.setText("");break;case R.id.bt_pwd_clear:et_pass.setText("");break;}}//重写,回调方式来获取RegistActivity返回的数据@Overrideprotected void onActivityResult(int requestCode, int resultCode, Intent data) {if (requestCode == 0 && resultCode == 0){Bundle d = data.getExtras();String info = d.getString("info");et_name.setText(info);}}/*** 登陆*/private void login() {}@Overridepublic boolean onLongClick(View v) {// TODO Auto-generated method stubswitch (v.getId()) {//case R.id.registfer://  if(SERVER_FLAG>9){// }//   SERVER_FLAG++;//  break;}return true;}/*** 监听Back键按下事件,方法2:* 注意:* 返回值表示:是否能完全处理该事件* 在此处返回false,所以会继续传播该事件.* 在具体项目中此处的返回值视情况而定.*/@Overridepublic boolean onKeyDown(int keyCode, KeyEvent event) {if ((keyCode == KeyEvent.KEYCODE_BACK)) {if(isReLogin){Intent mHomeIntent = new Intent(Intent.ACTION_MAIN);mHomeIntent.addCategory(Intent.CATEGORY_HOME);mHomeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);LoginActivity.this.startActivity(mHomeIntent);}else{LoginActivity.this.finish();}return false;}else {return super.onKeyDown(keyCode, event);}}}
//RigistActivity.java
package com.example.businesstriphelper.login;import android.app.AlertDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;import com.example.businesstriphelper.R;/*** Created by Administrator on 2016/7/5.*/
public class RegistActivity extends AppCompatActivity implements View.OnClickListener{private EditText et_name, et_pass1,et_pass2;private Button mRegistButton;private Button bt_username_clear;private Button bt_pwd_clear1,bt_pwd_clear2;private TextWatcher username_watcher;private TextWatcher password_watcher1,password_watcher2;//是否显示注册信息核对框private boolean isInfoChecked = false;private String userNameValue,passwordValue1,passwordValue2;@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);requestWindowFeature(Window.FEATURE_LEFT_ICON);setContentView(R.layout.activity_regiset);getSupportActionBar().setDisplayHomeAsUpEnabled(true);getSupportActionBar().setTitle("注册");et_name = (EditText) findViewById(R.id.username_regist);et_pass1 = (EditText) findViewById(R.id.password_regist_1);et_pass2 = (EditText) findViewById(R.id.password_regist_2);bt_username_clear = (Button) findViewById(R.id.bt_username_clear_regist);bt_pwd_clear1 = (Button) findViewById(R.id.bt_pwd_clear_regist_1);bt_pwd_clear2 = (Button) findViewById(R.id.bt_pwd_clear_regist_2);bt_username_clear.setOnClickListener(this);bt_pwd_clear1.setOnClickListener(this);bt_pwd_clear2.setOnClickListener(this);initWatcher();et_name.addTextChangedListener(username_watcher);et_pass1.addTextChangedListener(password_watcher1);et_pass2.addTextChangedListener(password_watcher2);mRegistButton = (Button) findViewById(R.id.regist);mRegistButton.setOnClickListener(this);}private void initWatcher() {username_watcher = new TextWatcher() {public void onTextChanged(CharSequence s, int start, int before, int count) {}public void beforeTextChanged(CharSequence s, int start, int count,int after) {}public void afterTextChanged(Editable s) {isInfoChecked = false;if(s.toString().length()>0){bt_username_clear.setVisibility(View.VISIBLE);}else{bt_username_clear.setVisibility(View.INVISIBLE);}}};password_watcher1 = new TextWatcher() {public void onTextChanged(CharSequence s, int start, int before, int count) {}public void beforeTextChanged(CharSequence s, int start, int count,int after) {}public void afterTextChanged(Editable s) {isInfoChecked = false;et_pass2.setText("");if(s.toString().length()>0){bt_pwd_clear1.setVisibility(View.VISIBLE);}else{bt_pwd_clear1.setVisibility(View.INVISIBLE);}}};password_watcher2 = new TextWatcher() {public void onTextChanged(CharSequence s, int start, int before, int count) {}public void beforeTextChanged(CharSequence s, int start, int count,int after) {}public void afterTextChanged(Editable s) {isInfoChecked = false;if(s.toString().length()>0){bt_pwd_clear2.setVisibility(View.VISIBLE);}else{bt_pwd_clear2.setVisibility(View.INVISIBLE);}}};}@Overridepublic void onClick(View arg0) {switch (arg0.getId()) {case R.id.regist:userNameValue = et_name.getText().toString();passwordValue1 = et_pass1.getText().toString();passwordValue2 = et_pass2.getText().toString();//判断信息是否符合,//千万不要这样写,而是写一个判断方法,if (userNameValue.length()==6 ) {if (passwordValue1.length()==6){if (passwordValue1.equals(passwordValue2)){if (isInfoChecked == false) {isInfoChecked = true;AlertDialog.Builder builder = new AlertDialog.Builder(this).setTitle("注册信息").setIcon(R.drawable.login_illegal1).setMessage("账号: " + et_name.getText().toString() + "\n密码: "+ et_pass2.getText().toString()+ "\n请再次点击“立即注册”").setPositiveButton("确定", null);builder.create().show();}else {//注册,携带注册信息返回Intent intent = getIntent();intent.putExtra("info",userNameValue);RegistActivity.this.setResult(0,intent);RegistActivity.this.finish();//Intent intent_login = new Intent().setClass(RegistActivity.this, MainActivity.class);//startActivity(intent_login);}}else{Toast.makeText(RegistActivity.this, "两次密码不一致!"+"\n"+passwordValue1+"\n"+passwordValue2, Toast.LENGTH_LONG).show();}}else{Toast.makeText(RegistActivity.this, "密码格式错误!", Toast.LENGTH_LONG).show();}} else{Toast.makeText(RegistActivity.this, "账号格式错误!", Toast.LENGTH_LONG).show();}break;case R.id.bt_username_clear_regist:et_name.setText("");break;case R.id.bt_pwd_clear_regist_1:et_pass1.setText("");et_pass2.setText("");break;case R.id.bt_pwd_clear_regist_2:et_pass2.setText("");break;}}//标题栏返回按键@Overridepublic boolean onOptionsItemSelected(MenuItem item) {if (item.getItemId() == android.R.id.home) {//不反回,判断语句的问题//android.R 和R的区别://android.R是要获取系统资源时使用的;//R当前应用程序中的资源。Intent intent = getIntent();intent.putExtra("info",et_name.getText().toString());RegistActivity.this.setResult(0,intent);RegistActivity.this.finish();return true;}return super.onOptionsItemSelected(item);}//重写,防止按返回键崩溃@Overridepublic void onBackPressed() {// super.onBackPressed();   不要调用父类的方法Intent intent = getIntent();intent.putExtra("info",et_name.getText().toString());RegistActivity.this.setResult(0,intent);RegistActivity.this.finish();}
}

以上,希望对你有用!

登录+注册界面的实现(代码)相关推荐

  1. python实现用户登录注册界面_实现前后端登录注册界面

    本篇博客讲解如何实现前后端的简单登录注册界面,后端代码由node.js实现,主要阐述登录注册时网页工作原理.感兴趣的同学可以参考一下. 注册界面 功能: 判断用户是否输入邮箱,密码,验证密码(前端判断 ...

  2. AndroidStudio实现用户登录注册界面代码(一)

    首先使用Android Studio的布局文件xml实现界面设计 第一步:新建工程项目MyAPP 选择Empty Activity 点击"下一步" 1.在res/layout/ac ...

  3. 小编程(三):用户登录注册界面开发及用户信息管理案例代码详解

    用户登录注册界面开发及用户信息管理案例详解 刚开始接触Android编程,这算是我写的第一个简单工程,主要功能有:用户登录.注册.注销.修改密码.记住密码共5个基本操作,其内容涉及到以下几点: 1:B ...

  4. php mysql注册登录界面_php实现登录注册界面

    php实现登录注册界面 首先你要搭建一个自己的数据库 我用wamp64创了一个people的数据库 具体操作可以参考该搭建链接: 这里就讲下我实现的功能代码: 创建sql.func.php实现一些基本 ...

  5. Android开发:登录/注册界面的编写

    目录 新建一个空项目(或Activity) 在xml中绘制登录界面 关掉ActionBar 运行(最终效果图) 后记 在实际开发中,几乎所有的APP都会涉及到用户注册/登录页面的制作,因此本文以And ...

  6. 【Vue作业]---Vue登录注册界面

    1.引言 你是否有过相关设计结课作业,课程设计无处下手,网页要求的总数量太多?没有合适的模板?数据库,java,python,vue,html作业复杂工程量过大?毕设毫无头绪等等一系列问题.你想要解决 ...

  7. python做一个登录注册界面_Python 实现简单的登录注册界面

    Python 实现简单的登录注册界面 注意:编写代码之前需要导入很重要的包 import tkinter as tk import pickle from tkinter import message ...

  8. python做一个登录注册界面_python做一个登录注册界面的方法

    python做一个登录注册界面的方法 发布时间:2020-08-21 10:37:05 来源:亿速云 阅读:111 作者:小新 这篇文章主要介绍python做一个登录注册界面的方法,文中介绍的非常详细 ...

  9. HTML+CSS登录注册界面

    目录 一.效果演示 二.代码实现 2.1.HTML主页面 2.2.CSS代码 2.3.JS代码 一.效果演示 [注]: 这里需要我们创建三个文件,一个是index.html文件,一个是style.cs ...

  10. bootstrap 响应式带播放效果的登录注册界面

    Boostrap简单实现响应式背景播放图片效果的登录注册界面.话不多说,下面上图和重要代码: body { background: url("-/image/bg-3.jpg"); ...

最新文章

  1. 【基础】CSS实现多重边框的5种方式
  2. Python基础学习之 函数
  3. Outlook2010 Bug 一则
  4. python如何写生日快乐说说_高逼格祝福朋友生日快乐的说说
  5. xFace3.x 开发技巧(1)---从web开发转向移动开发
  6. 如何禁止使用bottomsheetdialogfragment拖动?
  7. 河南工业大学计算机网络题库,河南工业大学计算机网络复习重点
  8. opencv 直方图_OpenCV-Python 直方图-3:二维直方图 | 二十八
  9. vuex中actions配合mutation处理axios请求
  10. 工具 转_好用的语音转文字工具,总有一款适合你!
  11. [android] 百度地图开发 (两).所在地的城市定位和城市POI搜索
  12. 使用 FUMA 鉴定 Independent SNPs 和 Lead SNPs
  13. 2021年山东省职业院校技能大赛中职组”网络安全“正式赛题
  14. P3717 [AHOI2017初中组]cover
  15. html5制作涂鸦板,HTML5实现涂鸦板
  16. django接入facebook登陆设置
  17. springboot 自定义starter类
  18. 浅谈如何做好项目管理
  19. python拼图_利用python制作拼图小游戏的全过程
  20. 第一次搭建React项目以及错误:getaddrinfo ENOTFOUND registry.npmjs.org解决办法

热门文章

  1. Loadrunner中几个超时函数的用法
  2. 端口号被占用:The Tomcat connector configured to listen on port “端口号“ failed to start.
  3. 大漠找图算法_大漠找图怎么实现用资源表图片找的?(不用写出的方法)
  4. 串流直播流媒体视频发布平台功能模块和产品技术参数
  5. 以计算机专业为主的活动,院系宣传 | 计算机科学与技术系:以梦为码
  6. Centos8 安装 MySQL8.0.26
  7. 欧莱雅眉笔banner个人设计
  8. java 加密工具类
  9. 7-3 电话聊天狂人 (25 分)
  10. 都说C++难,那么它到底难在了哪里?