You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ page contentType="text/html;charset=UTF-8" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>发布物品</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<h2>发布失物/寻物信息</h2>
<form method="post" action="post">
<p>
<label><input type="radio" name="type" value="lost" checked> 我丢了东西</label>
<label><input type="radio" name="type" value="found"> 我捡到了东西</label>
</p>
<p>
<select name="category" required>
<option value="">-- 选择类别 --</option>
<option value="校园卡">校园卡</option>
<option value="手机">手机</option>
<option value="书包">书包</option>
<option value="水杯">水杯</option>
<option value="钥匙">钥匙</option>
<option value="其他">其他</option>
</select>
</p>
<p><textarea name="description" placeholder="物品特征描述(颜色、品牌等)" rows="4" required></textarea></p>
<p><input type="text" name="location" placeholder="丢失/拾获地点图书馆3楼" required></p>
<p><input type="text" name="time" placeholder="时间2025-12-27" required></p>
<p><input type="text" name="contact" placeholder="联系方式(电话/微信,仅匹配后可见)" required></p>
<p><button type="submit">提交</button></p>
</form>
</div>
</body>
</html>