给我写一个商品订单页面
时间: 2023-12-16 07:06:44 浏览: 33
好的,以下是一个简单的商品订单页面示例:
```html
<!DOCTYPE html>
<html>
<head>
<title>商品订单</title>
</head>
<body>
<h1>商品订单</h1>
<form action="submit_order.php" method="post">
<label for="product_name">商品名称:</label>
<input type="text" id="product_name" name="product_name"><br>
<label for="quantity">数量:</label>
<input type="number" id="quantity" name="quantity" value="1"><br>
<label for="address">收货地址:</label>
<textarea id="address" name="address"></textarea><br>
<input type="submit" value="提交订单">
</form>
</body>
</html>
```
这个商品订单页面使用了 HTML 标记来创建图形界面,包括一个商品名称输入框、一个数量输入框、一个收货地址文本框和一个提交订单按钮。当用户点击提交订单按钮时,表单会提交到 `submit_order.php` 页面进行处理。这里只是一个简单的示例,实际上需要根据具体的需求来实现订单提交的逻辑。
相关推荐
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)