[小白的Web全栈之旅]独立开发电子商务网站--管理员后台开发(一、界面开发)

哈喽大家好,今天博主要讲解的是独立开发电子商务网站的第五篇——项目创建+数据库开发,想要预览整个系列博客的参考目录请点击这里

在本博客,博主会讲解:

  • 调用Bootstrap开发管理员后台登入界面
  • 调用Bootstrap开发管理员后台界面

 

调用Bootstrap开发管理员后台登入界面

  1. 首先,进入网站根目录,创建文件Admin.php
  2. 输入以下代码:
    1. <html>
      	<head>
      		<meta charset="utf-8">
      		<meta name="viewport" content="width=device-width, initial-scale=1">
      		<title>管理员后台</title>
      		<!--调用Bootstrap-->
      		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
      		<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
      		<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
      		<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
      		
      		<!--调用sweetAlert2-->
      		<script src="https://cdn.jsdelivr.net/npm/sweetalert2@8"></script>
      		
      		<!--局内css-->
      		<style>
      			html,body{
      				margin: 0;
      				min-height: 100%;
      			}
      		</style>
      	</head>
      	<body style="background-color:grey">
      		<div  class="d-flex justify-content-center align-items-center" style="width:100%;height:100%;">
      			<div style="width:50%;height:40%;background-color:#ffffff" class="d-flex justify-content-center align-items-center">
      				<form style="width:90%;
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值