用php将下面链接写成查询的界面与样式httpsapiphymcloudfreehlxksqz11apiphpid=这里填写ID
<!DOCTYPE html>
<html>
<head>
<title>查询界面</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
h1 {
text-align: center;
margin-top: 50px;
}
form {
width: 50%;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
label {
display: block;
margin-bottom: 10px;
font-size: 18px;
font-weight: bold;
}
input[type="text"] {
padding: 10px;
font-size: 16px;
width: 100%;
border-radius: 5px;
border: none;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
input[type="submit"] {
padding: 10px 20px;
background-color: #4CAF50;
color: #fff;
font-size: 18px;
font-weight: bold;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: #3e8e41;
}
</style>
</head>
<body>
<h1>查询界面</h1>
<form action="api.php" method="get">
<label for="id">ID:</label>
<input type="text" id="id" name="id" placeholder="在此处填写ID">
<input type="submit" value="查询">
</form>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/ZBt 著作权归作者所有。请勿转载和采集!