add
This commit is contained in:
parent
3340863e91
commit
525f620a9c
|
@ -1,5 +1,5 @@
|
|||
NODE_ENV = 'development'
|
||||
VITE_NOW_TYPE = 'dist'
|
||||
# Base API
|
||||
VITE_APP_BASE_URL='http://192.168.1.22:8546'
|
||||
VITE_APP_BASE_URL='http://192.168.1.13:8546'
|
||||
# VITE_APP_BASE_URL='https://erp.lihaink.cn'
|
|
@ -173,8 +173,6 @@ const setFormData = async (data: Record<any, any>) => {
|
|||
form.arrival_proof = JSON.parse(data.arrival_proof)
|
||||
}
|
||||
form.id = data.id
|
||||
|
||||
|
||||
}
|
||||
|
||||
const getDetail = async (row: Record<string, any>) => {
|
||||
|
|
128
test.html
128
test.html
|
@ -1,22 +1,120 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>公众号授权</title>
|
||||
<script src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>登录页面</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div style="text-align: center; font-size: 16px; padding-top: 120px">
|
||||
绑定成功!
|
||||
|
||||
<div class="login-wrap">
|
||||
<div class="login-container">
|
||||
<h2 class="login-title">欢迎登录</h2>
|
||||
<form action="/your-login-processing-url" method="post">
|
||||
<div class="input-field">
|
||||
<i class="fas fa-user icon"></i>
|
||||
<input type="text" id="username" name="username" placeholder="用户名" required>
|
||||
</div>
|
||||
<script>
|
||||
function back() {
|
||||
wx.miniProgram.redirectTo({
|
||||
url: "/pageQuota/quotation/detail",
|
||||
});
|
||||
}
|
||||
back();
|
||||
</script>
|
||||
<div class="input-field">
|
||||
<i class="fas fa-lock icon"></i>
|
||||
<input type="password" id="password" name="password" placeholder="密码" required>
|
||||
</div>
|
||||
<button type="submit" class="login-btn">登录</button>
|
||||
<p class="signup-link">还没有账号?<a href="#">立即注册</a></p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style>
|
||||
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
|
||||
|
||||
body, html {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
background-image: linear-gradient(to right, #f0f2f5, #dfe4ea);
|
||||
}
|
||||
|
||||
.login-wrap {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.login-container {
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
padding: 30px;
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.login-title {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.input-field {
|
||||
position: relative;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.input-field input {
|
||||
width: 100%;
|
||||
padding: 15px 20px 15px 45px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
outline: none;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.input-field input:focus {
|
||||
border-color: #0099cc;
|
||||
}
|
||||
|
||||
.icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 15px;
|
||||
transform: translateY(-50%);
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.login-btn {
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
background-color: #0099cc;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.login-btn:hover {
|
||||
background-color: #0077aa;
|
||||
}
|
||||
|
||||
.signup-link {
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.signup-link a {
|
||||
color: #0099cc;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.signup-link a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue