123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <%@taglib prefix="p" uri="http://www.test.com/jsp/permission"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <%@ include file="../../common/head.jsp"%>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link href="../res/css/plugins/bootstrap-table/bootstrap-table.min.css"
- rel="stylesheet" />
- <script src="../res/js/plugins/bootstrap-table/bootstrap-table.js"></script>
- <script
- src="../res/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
- <script
- src="../res/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
- <script>
- function setAdvContent(value,row,index){
- if(value != null ){
- return '<img src="'+row.advPic+'" width="60px" />';
- }else{
- return '<img src="../res/img/goods-default-icon1.png" width="40px" />';
- }
- }
-
- </script>
- </head>
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="row row-lg">
- <div class="col-sm-12">
- <cs:toolbar title="轮播图" tableId="tab_goodsclass" width="868px"
- height="520px" menuCode="6001" hdMenu="1">
- </cs:toolbar>
- <table id="tab_goodsclass" data-toggle="table" data-url="list2.cs"
- data-method="get" data-click-to-select="true"
- data-pagination="true" data-search="true" data-data-type="json"
- data-show-refresh="true" data-show-columns="true"
- data-show-toggle="true" data-search-on-enter-key="true"
- data-toolbar="#def_toolbar" data-side-pagination="server"
- data-query-params="queryParams" data-mobile-responsive="true">
- <thead>
- <tr>
- <th data-radio="true" data-click-to-select="true"></th>
- <!-- <th data-field="apId" data-formatter="setApId">对应广告位</th> -->
- <th data-field="advTitle">标题</th>
- <th data-field="advSort">权重</th>
- <th data-field="advPic" data-formatter="setAdvContent">图片</th>
- <th data-field="createDate" data-formatter="format_time">创建时间</th>
- <!-- <th data-field=slideSort>排序</th> -->
- </tr>
- </thead>
- </table>
- </div>
- </div>
- </div>
- </body>
- </html>
|