2510966293@qq.com пре 5 година
родитељ
комит
de591e9328

+ 15 - 0
src/main/java/com/yc/education/controller/admin/CarSedanAdminController.java

@@ -165,6 +165,21 @@ public class CarSedanAdminController {
         return result;
     }
 
+
+    /**
+     * @Description: 轿车车系列表(欧系、日系)
+     * @Author: BlueSky
+     * @CreateTime: 2019/9/26 16:59
+     */
+    @RequestMapping("carSedanSeriesList.html")
+    public ModelAndView carSedanSeriesList() {
+        ModelAndView result = new ModelAndView();
+
+        List<CarSedan> carSedanList  =  iCarSedanService.listCarSedanByCountry();
+        result.addObject("pageInfo", new PageInfo<CarSedan>(carSedanList));
+        return result;
+    }
+
     /**
     * @Description: 汽车log导入页面
     * @Author: BlueSky

+ 96 - 0
src/main/webapp/WEB-INF/jsp/admin/carSedanSeriesList.jsp

@@ -0,0 +1,96 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <title>后台管理</title>
+
+    <link rel="stylesheet" type="text/css"
+          href="${pageContext.request.contextPath}/static/admin/index/h-ui/css/H-ui.min.css"/>
+    <link rel="stylesheet" type="text/css"
+          href="${pageContext.request.contextPath}/static/admin/index/h-ui.admin/css/H-ui.admin.css"/>
+    <link rel="stylesheet" type="text/css"
+          href="${pageContext.request.contextPath}/static/admin/index/Hui-iconfont/1.0.8/iconfont.css"/>
+    <link rel="stylesheet" type="text/css"
+          href="${pageContext.request.contextPath}/static/admin/index/h-ui.admin/skin/default/skin.css" id="skin"/>
+    <link rel="stylesheet" type="text/css"
+          href="${pageContext.request.contextPath}/static/admin/index/h-ui.admin/css/style.css"/>
+    <link href="${pageContext.request.contextPath}/static/admin/css/page.css" rel="stylesheet" type="text/css"/>
+    <script type="text/javascript"
+            src="${pageContext.request.contextPath}/static/admin/index/jquery/1.9.1/jquery.min.js"></script>
+    <script type="text/javascript" src="${pageContext.request.contextPath}/static/admin/index/layer/layer.js"></script>
+    <script type="text/javascript"
+            src="${pageContext.request.contextPath}/static/admin/index/h-ui/js/H-ui.min.js"></script>
+    <script type="text/javascript"
+            src="${pageContext.request.contextPath}/static/admin/index/h-ui.admin/js/H-ui.admin.js"></script>
+</head>
+<body>
+<nav class="breadcrumb">
+    <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
+       href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
+</nav>
+<div class="page-container">
+    <div class="cl pd-5 bg-1 bk-gray mt-20">
+        <span class="r">共有数据:<strong>${pageInfo.total }</strong> 条</span>
+    </div>
+
+
+    <div class="mt-20">
+        <table class="table table-border table-bordered table-bg table-hover table-sort">
+            <thead>
+            <tr class="text-c">
+                <th width="120">车系</th>
+                <th width="120">图标</th>
+            </tr>
+            </thead>
+            <tbody>
+            <c:forEach items="${pageInfo.list }" var="item">
+                <tr class="text-c">
+                    <td >${item.country}</td>
+                    <td><img src="/nvrnetwork/upload/car/${item.country}.jpg" style="width: 50px;height: 50px"></td>
+                </tr>
+            </c:forEach>
+            </tbody>
+        </table>
+    </div>
+
+    <%--<div id="PageNum">--%>
+        <%--<section>--%>
+            <%--<div class="bd points-goods-list">--%>
+                <%--<ul class="pages">--%>
+                    <%--<li><a href="carSedanLogList.html?pageNum=1&pageSize=${pageSize}">首页</a></li>--%>
+                    <%--<li class="prev"><a--%>
+                            <%--href="carSedanLogList.html?pageNum=${pageInfo.prePage}&pageSize=${pageSize}">上一页</a>--%>
+                    <%--</li>--%>
+                    <%--<c:forEach items="${pageInfo.navigatepageNums}" var="nav">--%>
+                        <%--<c:if test="${nav == pageInfo.pageNum}">--%>
+                            <%--<li><a href="carSedanLogList.html?pageNum=${nav}&pageSize=${pageSize}"--%>
+                                   <%--class="active">${nav}</a></li>--%>
+                        <%--</c:if>--%>
+                        <%--<c:if test="${nav != pageInfo.pageNum}">--%>
+                            <%--<li>--%>
+                                <%--<a href="carSedanLogList.html?pageNum=${nav}&pageSize=${pageSize}">${nav}</a>--%>
+                            <%--</li>--%>
+                        <%--</c:if>--%>
+                    <%--</c:forEach>--%>
+                    <%--<li class="next"><a--%>
+                            <%--href="carSedanLogList.html?pageNum=${pageInfo.nextPage}&pageSize=${pageSize}">下一页</a>--%>
+                    <%--</li>--%>
+                    <%--<li>--%>
+                        <%--<a href="carSedanLogList.html?pageNum=${pageInfo.pages }&pageSize=${pageSize}">末页</a>--%>
+                    <%--</li>--%>
+                <%--</ul>--%>
+            <%--</div>--%>
+        <%--</section>--%>
+    <%--</div>--%>
+</div>
+</div>
+<script type="text/javascript">
+
+
+</script>
+</body>
+</html>

+ 2 - 1
src/main/webapp/WEB-INF/jsp/admin/index.jsp

@@ -201,8 +201,9 @@
 						<li><a data-href="carSedanExcel.html" data-title="轿车导入" href="javascript:void(0)">轿车导入</a></li>
 						<li><a data-href="carCommercialList.html" data-title="商用车列表" href="javascript:void(0)">商用车列表</a></li>
 						<li><a data-href="carCommercialLogList.html" data-title="商用车品牌列表" href="javascript:void(0)">商用车品牌列表</a></li>
+						<li><a data-href="carSedanSeriesList.html" data-title="车系列表" href="javascript:void(0)">车系列表</a></li>
 						<li><a data-href="carCommercialExcel.html" data-title="商用车导入" href="javascript:void(0)">商用车导入</a></li>
-						<li><a data-href="carSedanImg.html" data-title="汽车品牌图片导入" href="javascript:void(0)">汽车品牌图片导入</a></li>
+						<li><a data-href="carSedanImg.html" data-title="图片导入" href="javascript:void(0)">图片导入</a></li>
 					</ul>
 				</dd>
 			</dl>