admin
2021-01-23 0a18a8cb0a7a57bf1f82df425251334c57f8c39a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<%@page import="com.yeshi.buwan.util.Constant"%>
<%@page import="com.yeshi.buwan.domain.ShareContent"%>
<%@page import="com.yeshi.buwan.domain.VideoIntersection"%>
<%@page import="com.yeshi.buwan.domain.HomeType"%>
<%@page import="com.yeshi.buwan.util.TimeUtil"%>
<%@page import="java.util.concurrent.TimeUnit"%>
<%@page import="com.yeshi.buwan.web.tag.PageEntity"%>
<%@page import="com.yeshi.buwan.util.StringUtil"%>
<%@page import="com.yeshi.buwan.domain.VideoInfo"%>
<%@page import="com.yeshi.buwan.domain.SystemInfo"%>
<%@ page language="java" import="java.util.*"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%><%@ taglib prefix="page" uri="/pagelib"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>首页banner</title>
<link rel="stylesheet" href="/BuWan/css/gongyong.css"
    type="text/css" />
<link rel="stylesheet"
    href="/BuWan/css/video_list.css" type="text/css" />
<LINK rel=stylesheet
    href="/BuWan/js/jquery-ui-1.11.4/jquery-ui.css" />
<script type="text/javascript" src="/BuWan/js/jquery.min.js"></script>
<script type="text/javascript" src="/BuWan/js/check.js"></script>
<script type="text/javascript" src="/BuWan/js/jquery.js"></script>
<script type="text/javascript"
    src="/BuWan/js/jquery-ui-1.11.4/jquery-ui.js"></script>
<script type="text/javascript">
    function p_del() {
            var msg = "您真的确定要删除吗?";
            if (confirm(msg) == true) {
                return true;
            } else {
                return false;
            }
        }
 
    function changeShow(id) {
        var u = "/BuWan/VideoServlet?type=changeVideoShow&id=" + id;
        $.ajax({
            url : u,
            cache : false,
            success : function(data) {
                alert("修改成功");
            }
        });
    }
</script>
<!-- 输入框 -->
</head>
<%
    List<ShareContent> list=(List<ShareContent>)request.getAttribute("shareList");
    System.out.println(list.size());
    PageEntity pageEntity=(PageEntity)request.getAttribute("pageEntity");
    if(pageEntity==null)//设置默认值
    {
     pageEntity= new PageEntity();
     pageEntity.setPageIndex(1);
     pageEntity.setPageSize(Constant.pageCount);
     pageEntity.setParams(null);
     pageEntity.setTotalCount(100);
    }
%>
 
<body>
    <div class="div_bj">
        <input type="hidden" id="videoids" value="">
        <div class="div_ban">分享内容</div>
        <div class="div_rdtg"></div>
 
        <div class="qxsc">
            <div class="qq">
                <div class="ck">
                    <input type="checkbox"
                        onclick="if(this.checked==true) { checkAll('movedata'); } else { clearAll('movedata'); }"
                        class="ck_1" />
                </div>
                <div class="qx">全选</div>
                <div class="sc_1">
                    <input type="button" value="删除"
                        onclick="controlCheck('deleteListShare.action')" class="sc" />
                </div>
            </div>
 
            <div class="sous">
                <form action="shareList.action">
                    <div>
                        <input type="text" class="img_sous" name="key"
                            value="<%=StringUtil.isNullOrEmpty(pageEntity.getParams().get("key"))?"":pageEntity.getParams().get("key")%>" />
                    </div>
                    <div>
                        <input type="submit"
                            style="background: url('/BuWan/img/fadajing.png');width: 50px;height: 45px;"
                            class="img_fdj" value="">
                    </div>
                </form>
            </div>
            <div style="margin-left:900;">
                <div class="bsous">
                    <a href="getShareDetailSystem.action"><input type="button"
                        value="添加分享 +" class="but_sous" /> </a>
                </div>
            </div>
 
 
 
        </div>
 
        <div class="div_cont">
            <div class="div_cont01">
                <ul>
                    <li class="xz">选择</li>
                    <li>编号</li>
                    <li>APP名称</li>
                    <li>平台类型</li>
                    <li class="fx">分享内容</li>
                    <li class="fx2">分享链接</li>
                    <li>创建时间</li>
                    <li class="sc0">删除</li>
                    <li class="cz">修改</li>
                </ul>
            </div>
            <%
                for(ShareContent info:list)
                                                                                                                                                                                                                {
            %>
            <div class="div_tab">
                <table>
                    <tr>
                        <td><input type="checkbox" id="movedata" name="movedata"
                            class="movedata" value=<%=info.getId()%> class="td_ck" />
                        </td>
                        <td><%=info.getId()%></td>
                        <td><%=info.getDetailSystem().getAppName()%></td>
                        <td><%=info.getDetailSystem().getPlatform()==1?"Android":"IOS"%></td>
                        <td><textarea disabled rows="5" cols="30"><%=info.getShareContent()%></textarea>
                        </td>
                        <td><textarea disabled rows="5" cols="30"><%=info.getShareUrl()%></textarea>
                        </td>
                        <td><%=StringUtil.isNullOrEmpty(info.getCreatetime())?"":TimeUtil.getGernalTime(Long.parseLong(info.getCreatetime()))%></td>
                        <td><a href="deleteShare.action?id=<%=info.getId()%>"
                            onclick="return p_del()"><img
                                src="/BuWan/img/lajitong.png" /> </a>
                        </td>
 
                        <td><a href="getShare.action?id=<%=info.getId()%>"><img
                                src="/BuWan/img/xiugai.png" /> </a>
                        </td>
                    </tr>
                </table>
            </div>
            <%
                }
            %>
 
            <div class="div_bot">
                <div class="ck_k">
                    <input type="checkbox"
                        onclick="if(this.checked==true) { checkAll('movedata'); } else { clearAll('movedata'); }"
                        class="ck_1" />
                </div>
                <div class="qx_1">全选</div>
 
 
                <div class="sc_1_1">
                    <input type="button" value="添加推荐" class="sc" id="addRecommend"
                        style="width: 80px;" />
                </div>
                <div class="sc_1_1">
                    <input type="button" value="添加到合集" class="sc"
                        id="addIntersectionVideo" style="width: 80px;" />
                </div>
            </div>
 
            <div class="div_ym">
                <page:page preimage="/BuWan/img/page_pre.png"
                    url="shareList.action"
                    totalLines="<%=pageEntity.getTotalCount() %>"
                    pagesize="<%=Constant.pageCount %>"
                    nextimage="/BuWan/img/page_next.png"
                    pagebg="/BuWan/img/page_page.png"
                    inputbg="i/BuWan/mg/page_page.png"
                    pageindex="<%=pageEntity.getPageIndex() %>"
                    gobg="/BuWan/img/page_page.img"
                    params="<%=pageEntity.getParams() %>" />
            </div>
        </div>
 
 
    </div>
 
 
 
</body>
 
<script type="text/javascript" src="/BuWan/js/countheight.js">
    
</script>
</html>