• 充值-页面


    <%@ 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>

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

  • 相关阅读:
    个人总结---小水长流,则能穿石
    软件工程与UML作业3(互评作业)
    软件工程与UML作业2
    软件工程与UML作业1
    大创省级答辩总结
    C语言知识汇编
    C语言知识点汇集
    C语言汇总3
    C语言汇总2
    c语言汇总1
  • 原文地址:https://www.cnblogs.com/liuzhaolong/p/12971315.html
Copyright © 2020-2023  润新知