Weibo8cors/WebRoot/web/pages/Good/good2.jsp
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head id="Head1">
<%@ include file="/web/common/common.jsp" %>
<script type="text/javascript">
$(function () {
$('#grid1').datagrid({
title: '分享列表',
nowrap: false,
striped: true,
fit: true,
url: "<%=__APP__%>/Good!getList?btype=2",
idField: 'id',
pagination: true,
rownumbers: true,
pageSize: 10,
pageNumber: 1,
singleSelect: true,
fitColumns: true,
pageList: [10, 20, 50, 100, 200, 300, 500, 1000],
sortName: 'id',
sortOrder: 'desc',
columns: [
[
//{field: 'ck', checkbox: true},
{title: 'id', width: 100, field: 'id', sortable: true},
{title: '名称', width: 100, field: 'gname', sortable: true},
{title: '点赞数', width: 30, field: 'zan', sortable: true},
{title: '收藏数', width: 30, field: 'fav', sortable: true},
{title: '文件', width: 100, field: 'img', sortable: true,formatter:function(v){
return "<a href='<%=__APP__%>/download?fileName="+v+"'>"+v+"</a>";
}},
{title: '内容', width: 100, field: 'note', sortable: true}
]
], toolbar: [
/*{
text: '新增',
id: "tooladd",
disabled: false,
iconCls: 'icon-add',
handler: function () {
$("#action").val("add");
$("#managerDialog").dialog('open');
managForm.reset();
}
},
'-',*/
{
text: '设为推荐',
id: 'tooledit',
disabled: false,
iconCls: 'icon-edit',
后面还有 234 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。