parent
7ce887620a
commit
759d7720cc
Binary file not shown.
Before Width: | Height: | Size: 2.9 MiB |
File diff suppressed because it is too large
Load Diff
@ -1,443 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" type="image/x-icon" href="#" />
|
||||
<link type="text/css" rel="styleSheet" href="main.css" tppabs="http://www.17sucai.com/preview/384665/2018-12-28/login/css/main.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>账号登录</title>
|
||||
<style>
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'neo';
|
||||
src: url("NEOTERICc.ttf")/*tpa=http://www.17sucai.com/preview/384665/2018-12-28/login/font/NEOTERICc.ttf*/;
|
||||
}
|
||||
input:focus{
|
||||
outline: none;
|
||||
}
|
||||
.form input{
|
||||
width: 300px;
|
||||
height: 30px;
|
||||
font-size: 18px;
|
||||
background: none;
|
||||
border: none;
|
||||
border-bottom: 1px solid #fff;
|
||||
color: #fff;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.form input::placeholder{
|
||||
color: rgba(255,255,255,0.8);
|
||||
font-size: 18px;
|
||||
font-family: "neo";
|
||||
}
|
||||
.confirm{
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
transition: .25s;
|
||||
}
|
||||
.btn{
|
||||
width:140px;
|
||||
height: 40px;
|
||||
border: 1px solid #fff;
|
||||
background: none;
|
||||
font-size:20px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
margin-top: 25px;
|
||||
font-family: "neo";
|
||||
transition: .25s;
|
||||
}
|
||||
.btn:hover{
|
||||
background: rgba(255,255,255,.25);
|
||||
}
|
||||
#login_wrap{
|
||||
width: 980px;
|
||||
min-height: 500px;
|
||||
border-radius: 10px;
|
||||
font-family: "neo";
|
||||
overflow: hidden;
|
||||
box-shadow: 0px 0px 120px rgba(0, 0, 0, 0.25);
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
right: 50%;
|
||||
margin-top: -250px;
|
||||
margin-right: -490px;
|
||||
}
|
||||
#login{
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
min-height: 500px;
|
||||
background: linear-gradient(45deg, #9a444e, #e06267);
|
||||
position: relative;
|
||||
float: right;
|
||||
}
|
||||
#login #status{
|
||||
width: 90px;
|
||||
height: 35px;
|
||||
margin: 40px auto;
|
||||
color: #fff;
|
||||
font-size: 30px;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
#login #status i{
|
||||
font-style: normal;
|
||||
position: absolute;
|
||||
transition: .5s
|
||||
}
|
||||
#login span{
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-left: -150px;
|
||||
top: 52%;
|
||||
margin-top: -140px;
|
||||
}
|
||||
#login span a{
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
display: block;
|
||||
margin-top: 80px;
|
||||
font-size: 18px;
|
||||
}
|
||||
#bg{
|
||||
background: linear-gradient(45deg, #211136, #bf5853);
|
||||
height: 100%;
|
||||
}
|
||||
/*绘图*/
|
||||
#login_img{
|
||||
width: 50%;
|
||||
min-height: 500px;
|
||||
background: linear-gradient(45deg, #221334, #6c3049);
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
#login_img span{
|
||||
position: absolute;
|
||||
display: block;
|
||||
}
|
||||
#login_img .circle{
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(45deg, #df5555, #ef907a);
|
||||
top: 70px;
|
||||
left: 50%;
|
||||
margin-left: -100px;
|
||||
overflow: hidden;
|
||||
}
|
||||
#login_img .circle span{
|
||||
width: 150px;
|
||||
height: 40px;
|
||||
border-radius: 50px;
|
||||
position: absolute;
|
||||
}
|
||||
#login_img .circle span:nth-child(1){
|
||||
top: 30px;
|
||||
left: -38px;
|
||||
background: #c55c59;
|
||||
}
|
||||
#login_img .circle span:nth-child(2){
|
||||
bottom: 20px;
|
||||
right: -35px;
|
||||
background: #934555;
|
||||
}
|
||||
#login_img .star span{
|
||||
background: radial-gradient(#fff 10%,#fff 20%,rgba(72, 34, 64, 0));
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 7px #fff;
|
||||
}
|
||||
#login_img .star span:nth-child(1){
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
top: 50px;
|
||||
left: 30px;
|
||||
}
|
||||
#login_img .star span:nth-child(2){
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
left: 360px;
|
||||
top: 80px;
|
||||
}
|
||||
#login_img .star span:nth-child(3){
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
top: 400px;
|
||||
left: 80px;
|
||||
}
|
||||
#login_img .star span:nth-child(4){
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
top: 240px;
|
||||
left: 60px;
|
||||
}
|
||||
#login_img .star span:nth-child(5){
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
top: 20px;
|
||||
left: 200px;
|
||||
}
|
||||
#login_img .star span:nth-child(6){
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
top: 460px;
|
||||
left: 410px;
|
||||
}
|
||||
#login_img .star span:nth-child(7){
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
top: 250px;
|
||||
left: 350px;
|
||||
}
|
||||
#login_img .fly_star span{
|
||||
width: 90px;
|
||||
height: 3px;
|
||||
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.67), rgba(255,255,255,0));
|
||||
background: -o-linear-gradient(left, rgba(255, 255, 255, 0.67), rgba(255,255,255,0));
|
||||
background: linear-gradient(to right, rgba(255, 255, 255, 0.67), rgba(255,255,255,0));
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
#login_img .fly_star span:nth-child(1){
|
||||
top:60px;
|
||||
left: 80px;
|
||||
}
|
||||
#login_img .fly_star span:nth-child(2){
|
||||
top: 210px;
|
||||
left: 332px;
|
||||
opacity: 0.6;
|
||||
}
|
||||
#login_img p{
|
||||
text-align: center;
|
||||
color: #af4b55;
|
||||
font-weight: 600;
|
||||
margin-top: 365px;
|
||||
font-size: 25px;
|
||||
}
|
||||
#login_img p i{
|
||||
font-style: normal;
|
||||
margin-right: 45px;
|
||||
}
|
||||
#login_img p i:nth-last-child(1){
|
||||
margin-right: 0;
|
||||
}
|
||||
/*提示*/
|
||||
#hint{
|
||||
width: 100%;
|
||||
line-height: 70px;
|
||||
background: linear-gradient(-90deg, #9b494d, #bf5853);
|
||||
text-align: center;
|
||||
font-size: 25px;
|
||||
color: #fff;
|
||||
box-shadow: 0 0 20px #733544;
|
||||
display: none;
|
||||
opacity: 0;
|
||||
transition: .5s;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
/* 响应式 */
|
||||
@media screen and (max-width:1000px ) {
|
||||
#login_img{
|
||||
display: none;
|
||||
}
|
||||
#login_wrap{
|
||||
width: 490px;
|
||||
margin-right: -245px;
|
||||
}
|
||||
#login{
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:560px ) {
|
||||
#login_wrap{
|
||||
width: 330px;
|
||||
margin-right: -165px;
|
||||
}
|
||||
#login span{
|
||||
margin-left: -125px;
|
||||
}
|
||||
.form input{
|
||||
width: 250px;
|
||||
}
|
||||
.btn{
|
||||
width: 113px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:345px ) {
|
||||
#login_wrap {
|
||||
width: 290px;
|
||||
margin-right: -145px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="bg">
|
||||
<div id="hint"><!-- 提示框 -->
|
||||
<p>登录失败</p>
|
||||
</div>
|
||||
<div id="login_wrap">
|
||||
<div id="login"><!-- 登录注册切换动画 -->
|
||||
<div id="status">
|
||||
<i style="top: 0">Log</i>
|
||||
<i style="top: 35px">Sign</i>
|
||||
<i style="right: 5px">in</i>
|
||||
</div>
|
||||
<span>
|
||||
<form action="http://www.17sucai.com/preview/384665/2018-12-28/login/post">
|
||||
<p class="form"><input type="text" id="user" placeholder="username"></p>
|
||||
<p class="form"><input type="password" id="passwd" placeholder="password"></p>
|
||||
<p class="form confirm"><input type="password" id="confirm-passwd" placeholder="confirm password"></p>
|
||||
<input type="button" value="Log in" class="btn" onclick="login()" style="margin-right: 20px;">
|
||||
<input type="button" value="Sign in" class="btn" onclick='signin()' id="btn">
|
||||
</form>
|
||||
<a href="#">Forget your password?</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div id="login_img"><!-- 图片绘制框 -->
|
||||
<span class="circle">
|
||||
<span></span>
|
||||
<span></span>
|
||||
</span>
|
||||
<span class="star">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</span>
|
||||
<span class="fly_star">
|
||||
<span></span>
|
||||
<span></span>
|
||||
</span>
|
||||
<p id="title">CLOUD</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
var onoff = true//根据此布尔值判断当前为注册状态还是登录状态
|
||||
var confirm = document.getElementsByClassName("confirm")[0]
|
||||
//var user = document.getElementById("user")
|
||||
//var passwd = document.getElementById("passwd")
|
||||
//var con_pass = document.getElementById("confirm-passwd")
|
||||
|
||||
//自动居中title
|
||||
var name_c = document.getElementById("title")
|
||||
name = name_c.innerHTML.split("")
|
||||
name_c.innerHTML = ""
|
||||
for (i = 0; i < name.length; i++)
|
||||
if (name[i] != ",")
|
||||
name_c.innerHTML += "<i>" + name[i] + "</i>"
|
||||
//引用hint()在最上方弹出提示
|
||||
function hint() {
|
||||
let hit = document.getElementById("hint")
|
||||
hit.style.display = "block"
|
||||
setTimeout("hit.style.opacity = 1", 0)
|
||||
setTimeout("hit.style.opacity = 0", 2000)
|
||||
setTimeout('hit.style.display = "none"', 3000)
|
||||
}
|
||||
//回调函数
|
||||
/*function submit(callback) {
|
||||
//if (passwd.value == con_pass.value) {
|
||||
let request = new XMLHttpRequest()
|
||||
let url = ""
|
||||
request.open("post", url, true)
|
||||
let data = new FormData()
|
||||
data.append("user", user.value)
|
||||
data.append("passwd", passwd.value)
|
||||
request.onreadystatechange = function() {
|
||||
if (this.readyState == 4) {
|
||||
callback.call(this, this.response)
|
||||
//console.log(this.responseText)
|
||||
}
|
||||
}
|
||||
request.send(data)
|
||||
}*/
|
||||
/*else {
|
||||
hit.innerHTML = "两次密码不同"
|
||||
hitting()
|
||||
}
|
||||
}*/
|
||||
//注册按钮
|
||||
function signin() {
|
||||
let status = document.getElementById("status").getElementsByTagName("i")
|
||||
let hit = document.getElementById("hint").getElementsByTagName("p")[0]
|
||||
if (onoff) {
|
||||
confirm.style.height = 51 + "px"
|
||||
status[0].style.top = 35 + "px"
|
||||
status[1].style.top = 0
|
||||
onoff = !onoff
|
||||
} else {
|
||||
/*if (!/^[A-Za-z0-9]+$/.test(user.value))
|
||||
hit.innerHTML = "账号只能为英文和数字"
|
||||
else if (user.value.length < 6)
|
||||
hit.innerHTML = "账号长度必须大于6位"
|
||||
else if (passwd.value.length < 6)
|
||||
hit.innerHTML = "密码长度必须大于6位"
|
||||
else if (passwd.value != con_pass.value)
|
||||
hit.innerHTML = "两次密码不相等"
|
||||
else if (passwd.value = con_pass.value) {
|
||||
submit(function(res) {
|
||||
if (res == "exist")
|
||||
hit.innerHTML = "该账号已存在"
|
||||
else if (res == true) {
|
||||
hit.innerHTML = "账号注册成功,两秒后自动刷新页面"
|
||||
setTimeout("window.location.reload()", 2000)
|
||||
} else if (res == false)
|
||||
hit.innerHTML = "账号注册失败"
|
||||
})
|
||||
}
|
||||
hint()*/
|
||||
}
|
||||
}
|
||||
|
||||
//登录按钮
|
||||
function login() {
|
||||
if (onoff) {
|
||||
/*let request = new XMLHttpRequest()
|
||||
let url = ""
|
||||
request.open("post", url, true)
|
||||
let data = new FormData()
|
||||
data.append("user", user.value)
|
||||
data.append("passwd", passwd.value)
|
||||
request.onreadystatechange = function() {
|
||||
if (this.readyState == 4) {
|
||||
if (this.responseText == false)
|
||||
hint()
|
||||
else
|
||||
window.location.href = this.responseText;
|
||||
}
|
||||
}
|
||||
request.send(data)*/
|
||||
} else {
|
||||
let status = document.getElementById("status").getElementsByTagName("i")
|
||||
confirm.style.height = 0
|
||||
status[0].style.top = 0
|
||||
status[1].style.top = 35 + "px"
|
||||
onoff = !onoff
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</html>
|
@ -1,155 +0,0 @@
|
||||
/*
|
||||
Navicat Premium Data Transfer
|
||||
|
||||
Source Server : mysql
|
||||
Source Server Type : MySQL
|
||||
Source Server Version : 80013
|
||||
Source Host : localhost:3306
|
||||
Source Schema : finance
|
||||
|
||||
Target Server Type : MySQL
|
||||
Target Server Version : 80013
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 07/01/2019 12:14:02
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for audit
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `audit`;
|
||||
CREATE TABLE `audit` (
|
||||
`checkNum` int(10) NOT NULL,
|
||||
`userNum` int(10) NOT NULL,
|
||||
`productNum` int(10) NOT NULL,
|
||||
`bankAccount` varchar(20) NOT NULL,
|
||||
`checkState` int(2) NOT NULL,
|
||||
`contractNum` int(10) DEFAULT NULL,
|
||||
`isSignContract` tinyint(1) DEFAULT NULL,
|
||||
`year` int(2) NOT NULL,
|
||||
`amount` double(20,0) NOT NULL,
|
||||
`applyTime` varchar(20) NOT NULL,
|
||||
`equation` int(2) NOT NULL,
|
||||
PRIMARY KEY (`checkNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bank
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bank`;
|
||||
CREATE TABLE `bank` (
|
||||
`bankNum` int(10) NOT NULL,
|
||||
`bankName` varchar(20) NOT NULL,
|
||||
`contact` varchar(20) NOT NULL,
|
||||
PRIMARY KEY (`bankNum`),
|
||||
KEY `bankNum` (`bankNum`,`bankName`,`contact`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for manager
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `manager`;
|
||||
CREATE TABLE `manager` (
|
||||
`managerNum` int(10) NOT NULL,
|
||||
`managerName` varchar(20) NOT NULL,
|
||||
`managerPwd` varchar(20) NOT NULL,
|
||||
`managerRight` varchar(2) NOT NULL,
|
||||
`telephoneNum` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
|
||||
PRIMARY KEY (`managerNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for product
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `product`;
|
||||
CREATE TABLE `product` (
|
||||
`productNum` int(10) NOT NULL,
|
||||
`productName` varchar(20) NOT NULL,
|
||||
`category` varchar(20) NOT NULL,
|
||||
`intrate` float(10,0) NOT NULL,
|
||||
`bankNum` int(10) NOT NULL,
|
||||
`productDescription` text,
|
||||
`pictureAddress` varchar(255) DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for productHistory
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `productHistory`;
|
||||
CREATE TABLE `productHistory` (
|
||||
`productNum` int(10) NOT NULL,
|
||||
`productName` varchar(20) NOT NULL,
|
||||
`category` varchar(20) NOT NULL,
|
||||
`intrate` float(10,0) NOT NULL,
|
||||
`bankNum` int(10) NOT NULL,
|
||||
`productDescription` text NOT NULL,
|
||||
`uploadTime` varchar(20) NOT NULL,
|
||||
`deleteTime` varchar(20) NOT NULL,
|
||||
`alterTime` varchar(20) NOT NULL,
|
||||
PRIMARY KEY (`productNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for transaction
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `transaction`;
|
||||
CREATE TABLE `transaction` (
|
||||
`transactionNum` int(10) NOT NULL,
|
||||
`payer` int(10) NOT NULL,
|
||||
`payee` int(10) NOT NULL,
|
||||
`transactionTime` float(20,0) NOT NULL,
|
||||
`transactionAmount` double(20,0) NOT NULL,
|
||||
`note` text,
|
||||
PRIMARY KEY (`transactionNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for usageData
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `usageData`;
|
||||
CREATE TABLE `usageData` (
|
||||
`checkNum` int(10) NOT NULL,
|
||||
`productNum` int(10) NOT NULL,
|
||||
`userNum` int(10) NOT NULL,
|
||||
`bankAccount` varchar(20) NOT NULL,
|
||||
`bankNum` int(10) NOT NULL,
|
||||
`year` int(2) NOT NULL,
|
||||
`amount` double(20,0) NOT NULL,
|
||||
`startTime` varchar(20) NOT NULL,
|
||||
`equation` int(2) NOT NULL,
|
||||
PRIMARY KEY (`checkNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for user
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `user`;
|
||||
CREATE TABLE `user` (
|
||||
`userNum` int(10) NOT NULL,
|
||||
`userName` varchar(20) NOT NULL,
|
||||
`userPwd` varchar(20) NOT NULL,
|
||||
`userRight` varchar(2) NOT NULL,
|
||||
`tureName` varchar(20) DEFAULT NULL,
|
||||
`idNum` varchar(18) DEFAULT NULL,
|
||||
`telephoneNum` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
|
||||
`address` varchar(50) DEFAULT NULL,
|
||||
`isIdentify` tinyint(1) DEFAULT NULL,
|
||||
`registerTime` varchar(20) DEFAULT NULL,
|
||||
PRIMARY KEY (`userNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for userBankIdentify
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `userBankIdentify`;
|
||||
CREATE TABLE `userBankIdentify` (
|
||||
`userNum` int(10) NOT NULL,
|
||||
`bankAccount` varchar(20) NOT NULL,
|
||||
`bankAccountIdentify` tinyint(1) DEFAULT NULL,
|
||||
PRIMARY KEY (`userNum`,`bankAccount`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
@ -1,136 +0,0 @@
|
||||
/*
|
||||
Navicat Premium Data Transfer
|
||||
|
||||
Source Server : localhost_3306
|
||||
Source Server Type : MySQL
|
||||
Source Server Version : 80013
|
||||
Source Host : localhost:3306
|
||||
Source Schema : finance
|
||||
|
||||
Target Server Type : MySQL
|
||||
Target Server Version : 80013
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 03/01/2019 20:20:18
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for audit
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `audit`;
|
||||
CREATE TABLE `audit` (
|
||||
`checkNum` varchar(20) NOT NULL,
|
||||
`userNum` varchar(20) NOT NULL,
|
||||
`productNum` varchar(20) NOT NULL,
|
||||
`bankAccount` varchar(20) NOT NULL,
|
||||
`checkState` int(2) NOT NULL,
|
||||
`contractNum` varchar(20) DEFAULT NULL,
|
||||
`isSignContract` tinyint(1) DEFAULT NULL,
|
||||
`year` int(2) NOT NULL,
|
||||
`amount` float(20,0) NOT NULL,
|
||||
`applyTime` varchar(20) NOT NULL,
|
||||
PRIMARY KEY (`checkNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for bank
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `bank`;
|
||||
CREATE TABLE `bank` (
|
||||
`bankNum` varchar(10) NOT NULL,
|
||||
`bankName` varchar(20) NOT NULL,
|
||||
`contact` varchar(20) NOT NULL,
|
||||
PRIMARY KEY (`bankNum`),
|
||||
KEY `bankNum` (`bankNum`,`bankName`,`contact`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for manager
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `manager`;
|
||||
CREATE TABLE `manager` (
|
||||
`managerNum` varchar(10) NOT NULL,
|
||||
`managerName` varchar(20) NOT NULL,
|
||||
`managerPwd` varchar(20) NOT NULL,
|
||||
`managerRight` varchar(2) NOT NULL,
|
||||
`telephoneNum` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
|
||||
PRIMARY KEY (`managerNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for product
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `product`;
|
||||
CREATE TABLE `product` (
|
||||
`productNum` varchar(20) NOT NULL,
|
||||
`productName` varchar(20) NOT NULL,
|
||||
`category` varchar(20) NOT NULL,
|
||||
`intrate` float(10,0) NOT NULL,
|
||||
`bankNum` varchar(20) NOT NULL,
|
||||
`productDescription` text,
|
||||
`pictureAddress` varchar(255) DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for transaction
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `transaction`;
|
||||
CREATE TABLE `transaction` (
|
||||
`transactionNum` varchar(20) NOT NULL,
|
||||
`payer` varchar(20) NOT NULL,
|
||||
`payee` varchar(20) NOT NULL,
|
||||
`transactionTime` float(20,0) NOT NULL,
|
||||
`transactionAmount` float(20,0) NOT NULL,
|
||||
`note` text,
|
||||
PRIMARY KEY (`transactionNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for usageData
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `usageData`;
|
||||
CREATE TABLE `usageData` (
|
||||
`checkNum` varchar(20) NOT NULL,
|
||||
`productNum` varchar(20) NOT NULL,
|
||||
`userNum` varchar(20) NOT NULL,
|
||||
`bankAccount` varchar(20) NOT NULL,
|
||||
`bankNum` varchar(20) NOT NULL,
|
||||
`year` int(2) NOT NULL,
|
||||
`amount` float(20,0) NOT NULL,
|
||||
`startTime` varchar(20) NOT NULL,
|
||||
PRIMARY KEY (`checkNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for user
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `user`;
|
||||
CREATE TABLE `user` (
|
||||
`userNum` varchar(10) NOT NULL,
|
||||
`userName` varchar(20) NOT NULL,
|
||||
`userPwd` varchar(20) NOT NULL,
|
||||
`userRight` varchar(2) NOT NULL,
|
||||
`tureName` varchar(20) DEFAULT NULL,
|
||||
`idNum` varchar(18) DEFAULT NULL,
|
||||
`telephoneNum` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
|
||||
`address` varchar(50) DEFAULT NULL,
|
||||
`isIdentify` tinyint(1) DEFAULT NULL,
|
||||
`registerTime` varchar(20) DEFAULT NULL,
|
||||
PRIMARY KEY (`userNum`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for userBankIdentify
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `userBankIdentify`;
|
||||
CREATE TABLE `userBankIdentify` (
|
||||
`userName` varchar(20) NOT NULL,
|
||||
`bankAccount` varchar(20) NOT NULL,
|
||||
`bankAccountIdentify` tinyint(1) DEFAULT NULL,
|
||||
PRIMARY KEY (`userName`,`bankAccount`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -1,274 +0,0 @@
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'neo';
|
||||
src: url("NEOTERICc-1.ttf")/*tpa=http://www.17sucai.com/preview/384665/2018-12-28/login/css/font/NEOTERICc.ttf*/;
|
||||
}
|
||||
input:focus{
|
||||
outline: none;
|
||||
}
|
||||
.form input{
|
||||
width: 300px;
|
||||
height: 30px;
|
||||
font-size: 18px;
|
||||
background: none;
|
||||
border: none;
|
||||
border-bottom: 1px solid #fff;
|
||||
color: #fff;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.form input::placeholder{
|
||||
color: rgba(255,255,255,0.8);
|
||||
font-size: 18px;
|
||||
font-family: "neo";
|
||||
}
|
||||
.confirm{
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
transition: .25s;
|
||||
}
|
||||
.btn{
|
||||
width:140px;
|
||||
height: 40px;
|
||||
border: 1px solid #fff;
|
||||
background: none;
|
||||
font-size:20px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
margin-top: 25px;
|
||||
font-family: "neo";
|
||||
transition: .25s;
|
||||
}
|
||||
.btn:hover{
|
||||
background: rgba(255,255,255,.25);
|
||||
}
|
||||
#login_wrap{
|
||||
width: 980px;
|
||||
min-height: 500px;
|
||||
border-radius: 10px;
|
||||
font-family: "neo";
|
||||
overflow: hidden;
|
||||
box-shadow: 0px 0px 120px rgba(0, 0, 0, 0.25);
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
right: 50%;
|
||||
margin-top: -250px;
|
||||
margin-right: -490px;
|
||||
}
|
||||
#login{
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
min-height: 500px;
|
||||
background: linear-gradient(45deg, #9a444e, #e06267);
|
||||
position: relative;
|
||||
float: right;
|
||||
}
|
||||
#login #status{
|
||||
width: 90px;
|
||||
height: 35px;
|
||||
margin: 40px auto;
|
||||
color: #fff;
|
||||
font-size: 30px;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
#login #status i{
|
||||
font-style: normal;
|
||||
position: absolute;
|
||||
transition: .5s
|
||||
}
|
||||
#login span{
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-left: -150px;
|
||||
top: 52%;
|
||||
margin-top: -140px;
|
||||
}
|
||||
#login span a{
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
display: block;
|
||||
margin-top: 80px;
|
||||
font-size: 18px;
|
||||
}
|
||||
#bg{
|
||||
background: linear-gradient(45deg, #211136, #bf5853);
|
||||
height: 100%;
|
||||
}
|
||||
/*绘图*/
|
||||
#login_img{
|
||||
width: 50%;
|
||||
min-height: 500px;
|
||||
background: linear-gradient(45deg, #221334, #6c3049);
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
#login_img span{
|
||||
position: absolute;
|
||||
display: block;
|
||||
}
|
||||
#login_img .circle{
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(45deg, #df5555, #ef907a);
|
||||
top: 70px;
|
||||
left: 50%;
|
||||
margin-left: -100px;
|
||||
overflow: hidden;
|
||||
}
|
||||
#login_img .circle span{
|
||||
width: 150px;
|
||||
height: 40px;
|
||||
border-radius: 50px;
|
||||
position: absolute;
|
||||
}
|
||||
#login_img .circle span:nth-child(1){
|
||||
top: 30px;
|
||||
left: -38px;
|
||||
background: #c55c59;
|
||||
}
|
||||
#login_img .circle span:nth-child(2){
|
||||
bottom: 20px;
|
||||
right: -35px;
|
||||
background: #934555;
|
||||
}
|
||||
#login_img .star span{
|
||||
background: radial-gradient(#fff 10%,#fff 20%,rgba(72, 34, 64, 0));
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 7px #fff;
|
||||
}
|
||||
#login_img .star span:nth-child(1){
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
top: 50px;
|
||||
left: 30px;
|
||||
}
|
||||
#login_img .star span:nth-child(2){
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
left: 360px;
|
||||
top: 80px;
|
||||
}
|
||||
#login_img .star span:nth-child(3){
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
top: 400px;
|
||||
left: 80px;
|
||||
}
|
||||
#login_img .star span:nth-child(4){
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
top: 240px;
|
||||
left: 60px;
|
||||
}
|
||||
#login_img .star span:nth-child(5){
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
top: 20px;
|
||||
left: 200px;
|
||||
}
|
||||
#login_img .star span:nth-child(6){
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
top: 460px;
|
||||
left: 410px;
|
||||
}
|
||||
#login_img .star span:nth-child(7){
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
top: 250px;
|
||||
left: 350px;
|
||||
}
|
||||
#login_img .fly_star span{
|
||||
width: 90px;
|
||||
height: 3px;
|
||||
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.67), rgba(255,255,255,0));
|
||||
background: -o-linear-gradient(left, rgba(255, 255, 255, 0.67), rgba(255,255,255,0));
|
||||
background: linear-gradient(to right, rgba(255, 255, 255, 0.67), rgba(255,255,255,0));
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
#login_img .fly_star span:nth-child(1){
|
||||
top:60px;
|
||||
left: 80px;
|
||||
}
|
||||
#login_img .fly_star span:nth-child(2){
|
||||
top: 210px;
|
||||
left: 332px;
|
||||
opacity: 0.6;
|
||||
}
|
||||
#login_img p{
|
||||
text-align: center;
|
||||
color: #af4b55;
|
||||
font-weight: 600;
|
||||
margin-top: 365px;
|
||||
font-size: 25px;
|
||||
}
|
||||
#login_img p i{
|
||||
font-style: normal;
|
||||
margin-right: 45px;
|
||||
}
|
||||
#login_img p i:nth-last-child(1){
|
||||
margin-right: 0;
|
||||
}
|
||||
/*提示*/
|
||||
#hint{
|
||||
width: 100%;
|
||||
line-height: 70px;
|
||||
background: linear-gradient(-90deg, #9b494d, #bf5853);
|
||||
text-align: center;
|
||||
font-size: 25px;
|
||||
color: #fff;
|
||||
box-shadow: 0 0 20px #733544;
|
||||
display: none;
|
||||
opacity: 0;
|
||||
transition: .5s;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
/* 响应式 */
|
||||
@media screen and (max-width:1000px ) {
|
||||
#login_img{
|
||||
display: none;
|
||||
}
|
||||
#login_wrap{
|
||||
width: 490px;
|
||||
margin-right: -245px;
|
||||
}
|
||||
#login{
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:560px ) {
|
||||
#login_wrap{
|
||||
width: 330px;
|
||||
margin-right: -165px;
|
||||
}
|
||||
#login span{
|
||||
margin-left: -125px;
|
||||
}
|
||||
.form input{
|
||||
width: 250px;
|
||||
}
|
||||
.btn{
|
||||
width: 113px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:345px ) {
|
||||
#login_wrap {
|
||||
width: 290px;
|
||||
margin-right: -145px;
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 651 KiB |
Loading…
Reference in new issue