⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list.html

📁 网上商店 使用jsp开发网上商店系统 4.1环境准备 为了利用JSP技术,首先需要建立环境。
💻 HTML
字号:
#set ($tid = ${StringUtil.getLong($request,"tid")})
#set ($p = ${StringUtil.getInt($request,"p")})
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="${detailTopic.getString("title")} 新闻列表 ${systemConfig.getStringConfigValue("webtitle")}">
<meta name="description" content="${detailTopic.getString("title")} 新闻列表  ${systemConfig.getStringConfigValue("webtitle")}">
<title>${detailTopic.getString("title")}  新闻列表  ${systemConfig.getStringConfigValue("webtitle")}</title>
<link href="../css/light.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../css/mall_tbsp.css@t=20080730.css" />
<link rel="stylesheet" type="text/css" href="../css/mall_base.css@t=20080730.css" />
<link  rel="stylesheet" type="text/css" href="../css/mall_common.css@t=20080730.css" />	
<link  rel="stylesheet" type="text/css" href="../css/mall_exhibit.css@t=20080730.css" />

<style type="text/css">
<!-- 
#firstContentWrap {
	float: left;
	width: 766px;
	margin-left: 16px;
	width:510px;
	margin-left:27px;
	margin-right:27px;
	
}
#firstContentWrap  .cellTitle {
	font-size: 14px;
	font-weight: bold;
	height: 24px;
	color: #000000;
	line-height: 24px;
	border-bottom: 1px solid #cccccc;
}
#firstContentWrap  .cellTitle .moreLink {
	float: right;
	font-weight: normal;
}
#firstContentWrap .itemList .title {
	line-height: 25px;
	background: #eee url(../imgs/headBg.png) no-repeat 0px 0px;
	padding-left: 11px;
	margin-top: 30px;
	margin-bottom: 20px;
}
#firstContentWrap .itemList .title .moreLink {
	float: right;
	background: url(../imgs/headBg.png) no-repeat right -30px;
}
#firstContentWrap .itemList .title .moreLink a {
	padding-right: 40px;
	background: url(../imgs/arrow3.png) no-repeat 60px center;
	display: block;
}
#firstContentWrap  .itemList {
	line-height: 25px;
	list-style: square;
}
#firstContentWrap  .date {
	float: right;
}

#firstContentWrap  .itemList a {
	font-size: 13px;
}
#secondaryContentWrap{
width:217px;
float:left;
}

#recommandWrap .title {
	background: url(../imgs/recommand.png) no-repeat left top;
	height: 23px;
}
#recommandWrap .content {
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
	padding-top: 0px;
}
#recommandWrap .foot {
	background: url(../imgs/recommand.png) no-repeat left bottom;
	height: 35px;
}
#recommandWrap .content ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
#recommandWrap .content li {
	width: 198px;
	float:none;
	clear:both;
	margin: auto;
	padding-top:20px;
	height:100px;
}
#recommandWrap .content li img{
	padding-right:10px;
}

#recommandWrap .content li.price {
	width: 102px;
	font-size: 15px;
	font-weight: bold;
	color: #FF0000;
}
-->
</style>
<script>
function go(p)
{
	window.location = "list-"+document.dataForm.tid.value+"-"+p+".html";
}
</script>
</head>
<body>
${head}
<div class="page large shadow">
	<style type="text/css">
<!--
#headV3 { font-family:Verdana; height:34px; background:url(../../img/paipai/headbg.gif); overflow:hidden; margin-bottom:10px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #D6E8ED; }
body { margin: 0px; }
#logo_paipai { background-image: url(../../img/paipai/logo_sm.jpg); display: block; float: left; height: 33px; width: 295px; margin-left: 10px; cursor: hand; }
.top_paipaimenu { font-size: 12px; text-align: right; float: right; height: 25px; width: 300px; margin-top: 8px; margin-right: 15px; }
a.toppaipai:link,a.toppaipai:visited { font-size: 12px; color: #21407d; }
a.toppaipai:hover,a.toppaipai:active { font-size: 12px; color: #ff7e00; }
-->
</style>

	<div class="body grid-layout-3">
		<!--内容开始-->
		<div class="body-content">
			<div class="body-skin">
				<!--主内容开始-->
				<div class="main">
					<div class="grid-column">
						<div class="crumbs">
				
				

		<div style="width:700px;">
			<div style="padding-top:5px;height:25px;margin-bottom:10px;border-bottom:2px solid #eeeeee;font-size:13px;">${detailTopic.getString("title")}</div>
			<ul style="line-height:20px;">
${pc.setPageNo($p)}
${pc.setPageSize(30)}
#foreach ( $news in ${newsMgr.getNewsByTid($tid,$pc)} )
				<li>- <a href="detail-${news.getString("nid")}.html" target="_blank" style="font-size:12px;">${news.getString("ntitle")}</a></li>
	#end
			</ul>
		</div>
		<form name="dataForm">
			<input type="hidden" name="p">
			<input type="hidden" name="tid" value="${tid}">
		</form>
		
		                    <div class="list-bottom">
                        <ul class="display-settings bottom">
						    <li class="quick-page-changer">

								${StringUtil.getTurnPage($pc,$p)}
		
								
							</li>
                        </ul>
                    </div>
		
		

				
				
						</div>

					



					
						<!--商品列表开始-->
                		<div class="list">
                										<!--商品列表头部翻页开始-->
                	

			

                 
						</div>
				<!--商品列表结束-->
           </div>
		</div>
		<!--主内容结束-->
		
		<!--侧边栏开始-->
		<div class="grid-column">


	

		
			<div class='category category-class'  style="border-right:1px #eeeeee solid"><h2>商品分类</h2><div class='cat'><ul class=''>
			#foreach ( $mainCatalog in ${catalogMgr.getCatalogByParentId(${StringUtil.getLongType()},null)} )
				<li style="padding-left:5px;padding-right:5px;"><a href='../catalog/list-p-0-${mainCatalog.getString("id")}.html' class='selected'  style="font-weight:bold">${mainCatalog.getString("title")}</a><div class="catelogContent">

				#foreach ( $catalog in ${catalogMgr.getCatalogByParentId(${mainCatalog.get("id",${StringUtil.getLongType()})},null)} )
					<a href='../catalog/list-s-${catalog.getString("parentid")}-${catalog.getString("id")}.html'>${catalog.getString("title")}</a>&nbsp;
				#end
				
				</div></li>
				<li>&nbsp;</li>
			#end
			</ul></div></div>
			<div class="category category-prop" id="ark:category">
				


			<!--侧边栏结束-->
			<div class="flexed"></div>
		</div>
	</div>
	<div class="body-bottom"></div>
</div>
</div>
<br />

${foot}
		<script>
document.write('<script src="${ConfigBean.getStringValue("systenFolder")}count.jsp?ref='+escape(document.referrer)+'&currentURL='+escape(document.location)+'&color_depth='+screen.colorDepth+'&screen='+screen.width+'x'+screen.height+'&lang='+navigator.systemLanguage+'"><\/script>');
		</script>		
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -