码迷,mamicode.com
首页 > 其他好文 > 详细

充值-页面

时间:2020-05-27 12:16:13      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:dex   bsp   javascrip   lin   lan   bootstrap   row   class   src   

<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/index2.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js"></script>
</head>
<body>
<form action="findAll" method="post">
借车人:<input type="text" name="userName" value="${con.userName }" >
车牌号:<input type="text" name="carNumber" value="${con.carNumber }" >
借车日期:<input type="text" name="borrowCarDate" value="${con.borrowCarDate }" >
借车总金额:<input type="text" name="borrowCarAmount" value="${con.borrowCarAmount }" >

排序:<select name="paixu">
<option value="" >请选择</option>
<option value="total_amount" >充值总金额</option>
<option value="borrow_car_date" >日期排序</option>
<option value="user_id" >借车人排序</option>
<option value="borrow_car_amount" >借车金额排序</option>
</select>
<input type="submit" value="查询" >
</form>
<table class="table" >
<tr>

<td>姓名</td>
<td>车牌</td>
<td>充值金额</td>
<td>借车金额</td>
<td>借车日期</td>
<td>借车次数</td>
<td>操作</td>
</tr>
<c:forEach items="${info.list }" var="b">
<tr>

<td>${b.userName }</td>
<td>${b.bcd.carNumber }</td>
<td>${b.totalAmount }</td>
<td>${b.boorowCarAmount }</td>
<td>${b.bcd.borrowCarDate }</td>
<td>${b.borrowCarNumber }</td>
<td><a href="toChe?bid=${b.bid }" >借车</a></td>
</tr>
</c:forEach>
</table>
<a href="findAll?pageNum=${info.pageNum==1?info.pageNum:info.pageNum-1 }" >上一页</a>
<a href="findAll?pageNum=${info.pageNum==info.pages?info.pageNum:info.pageNum+1 }" >下一页</a>

<a href="toChong" >充值</a>
</body>
</html>

 

---------------------------------------------------借车

 

<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<link rel="stylesheet" href="/resource/bootstrap.min.css" >
<script type="text/javascript" src="/resource/jquery-3.2.1.js" ></script>
<script type="text/javascript" src="/resource/bootstrap.min.js" ></script>
</head>
<body>
<form action="che" method="post">
<table class="table" >
<tr>
<td>姓名:</td>
<td>
<input type="hidden" name="bid" value="${borrowCar.bid }">
<input type="text" name="userName" value="${borrowCar.userName }">
</td>
</tr>
<tr>
<td>车牌号:</td>
<td>
<input type="text" name="carNumber" >
</td>
</tr>
<tr>

<td colspan="10" >
<input type="submit" value="保存" >
</td>
</tr>
</table>
</form>
</body>
</html>

 

-------------------------------------------充值

<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<link rel="stylesheet" href="/resource/bootstrap.min.css" >
<script type="text/javascript" src="/resource/jquery-3.2.1.js" ></script>
<script type="text/javascript" src="/resource/bootstrap.min.js" ></script>
</head>
<body>
${shuo }
<form action="chong" method="post">
<table class="table" >
<tr>
<td>姓名:</td>
<td>
<input type="text" name="userName" >
</td>
</tr>
<tr>
<td>充值金额:</td>
<td>
<input type="text" name="totalAmount" >
</td>
</tr>
<tr>

<td colspan="10" >
<input type="submit" value="保存" >
</td>
</tr>
</table>
</form>
</body>
</html>

 

----------------------------------------------------------

充值-页面

标签:dex   bsp   javascrip   lin   lan   bootstrap   row   class   src   

原文地址:https://www.cnblogs.com/liuzhaolong/p/12971315.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!