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

📄 index01.jsp

📁 一个仿造淘宝的jsp网站。功能比较完善
💻 JSP
📖 第 1 页 / 共 3 页
字号:
			</div>
			    
			  </div>
			  <div id="con01">
				  <div id="conleft1">
					  <div id="conleft1tab">
						  <!--bbs s1 -->
						  <DIV id=bbs_s1 style="background-color:#CCCC33 ">
							  <TABLE width="208" height="196" border=0 cellPadding=0
								cellSpacing=0>
								  <tr>
									  <td height="19" align="center">
										  <span class="style1">人气宝贝</span> |
										  <a href="javascript:setFocus(2);">今日特价</a> |
										  <a href="javascript:setFocus(3);">购物无忧</A>
									  </td>
								  </tr>
								  <TR>
									  <TD style="PADDING: 5px">
										  <A href="#" target=_blank></A>
									  </TD>
								  </TR>
  
							</TABLE>
						  </div>
  
						<!--bbs s2 -->
						  <DIV id=bbs_s2 style="DISPLAY: none; background-color:#99CCCC">
							  <table width="208" height="181" cellspacing=0 cellpadding=0
								border=0>
								  <tr>
									  <td height="19" align="center">
										  <a href="javascript:setFocus(1);">人气宝贝</a> |
										  <span class="style1">今日特价</span> |
										  <a href="javascript:setFocus(3);">购物无忧</A>
									  </td>
								  </tr>
								  <tr>
									  <td
										style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px">
										  <a href="#" target=_blank></a>
									  </td>
								  </tr>
							  </table>
						  </div>
  
						<!--bbs s3 -->
						  <DIV id=bbs_s3 style="DISPLAY: none; background-color:#FFCCCC">
							  <table width="208" height="181" cellspacing=0 cellpadding=0
								border=0>
								  <tr>
									  <td height="19" align="center">
										  <a href="javascript:setFocus(1);">人气宝贝</a> |
										  <a href="javascript:setFocus(3);">今日特价</A> |
										  <span class="style1">购物无忧</span>
									  </td>
								  </tr>
								  <tr>
									  <td style="PADDING: 5px">
										  <a href="#" target=_blank></a>
									  </td>
								  </tr>
							  </table>
						  </div>
					  </div>
  

				  </div>
				  <div id="conmid1">
					  <table width="364" height="165" border="0" cellpadding="0"
						cellspacing="0">
						  <tr>
							  <td width="192" align="left"><a href="#" class="style16" style="color:#000000 ">热门促销</a>
								  <ul style="list-style:none; margin-top:2px;">
									  <li class="style19">
										  <a href="#">抢!超显瘦牛仔,只要69</a>
									  </li>
									  <li class="style19" id="ulline">
										  <a href="#" style="display:block;">超赞49元粉丝连衣裙!</a>
									  </li>
									  <li class="style19">
										  <a href="#">居家特价超市单品疯狂</a>
									  </li>
									  <li class="style19" id="ulline">
										  <a href="#">香辣鸭舌半斤33元</a>
									  </li>
									  <li class="style19">
										  <a href="#">相机不满意7天直接退</a>
									  </li>
									  <li class="style19" id="ulline">
										  <a href="#">玩游戏没她?你过时啦!</a>
									  </li>
									  <li class="style19">
										  <a href="#">她买到假货陪了三倍钱</a>
									  </li>
									  <li class="style19">
										  <a href="#">模特票选最爱化妆品</a>
									  </li>
								  </ul>
						    </td>
							  <td width="158">
								  <table width="168" height="156" border="0" cellpadding="0"
									cellspacing="0" style="vertical-align:bottom ">
									  <tr>
										  <td height="63" colspan="2">
											  <img src="image/headpic/chuxiawanmei.bmp" width="164"
												height="59">
										  </td>
									  </tr>
									  <tr>
									  </tr>
									  <tr>
										  <td width="83" height="81" align="left">
											  <img src="image/headpic/wang1.bmp" width="77" height="77">
										  </td>
										  <td width="83" align="right">
											  <img src="image/headpic/wang2.bmp" width="77" height="77">
										  </td>
									  </tr>
								  </table>
							  </td>
						  </tr>
				    </table>
				  </div>
				  <div id="conrigth1">
					  <div id="conright1div">
						  <table width="372" height="195" border="0" cellpadding="0"
							cellspacing="0">
							  <tr>
								  <td height="26">&nbsp;
									  

								  </td>
								  <td align="right">
									  <span class="style19">手机话费100元只需98.3!</span>
								  </td>
							  </tr>
							  <tr>
								  <td>
                                    <img src="image/headpic/qiangxian72.bmp" width="150"
										height="134"> </td>
								  <td align="left" style="top:0px; left:2px; ">
  
									<img src="image/headpic/jiffen.bmp" width="211" height="52">
									  <br>
									&nbsp;&nbsp;&nbsp;
									  <a href="#">商城联合李宁 掀起动感特价狂潮</a>
									  <br>
									&nbsp;&nbsp;&nbsp;
									  <a href="#">淘宝商城携手热风 倾情大献礼</a>
									  <br>
									&nbsp;&nbsp;&nbsp;
									  <a href="#">夏季清仓疯抢 品牌服装满200送40</a>
									  <br>
									&nbsp;&nbsp;&nbsp;
									  <a href="#">浪漫七夕约会气搭配单品3折</a>
  

								  </td>
							  </tr>
					    </table>
  
					</div>
  
				</div>
			  </div>
  
			<div id="con02"> 
			<% ArrayList typearray = load.getAllShopType();%>
             <div id="mainleft">
			 <%
                  for (int i = 0; i < typearray.size(); i++)
              {
				 TypeInfo type = (TypeInfo) typearray.get(i);
			%>
               <div id="indexlefttypefront1">
                         <table width="183" border="0">
                         
							<tr>
								<td style="text-align: left;">
									<div align="center"><a href="" style="color:#000000; font-size:14px "><%=type.getTypename()%></a>
							      </div></td>
								<td width="87" style="text-align: right;">
									<a href="" style="color:#000000; font-size:14px ">more...</a>
								</td>
							</tr>
									       <%
											ArrayList shoplist = load.getTopTenShopInfo(Integer
											.valueOf(type.getTid()));
											for (int j = 0; j < shoplist.size(); j += 8) 
											{
												ShopInfo shop1 = (ShopInfo) shoplist.get(j);
												ShopInfo shop2 = (ShopInfo) shoplist.get(j + 1);
												ShopInfo shop3 = (ShopInfo) shoplist.get(j + 2);
												ShopInfo shop4 = (ShopInfo) shoplist.get(j + 3);
												ShopInfo shop5 = (ShopInfo) shoplist.get(j + 4);
												ShopInfo shop6 = (ShopInfo) shoplist.get(j + 5);
												ShopInfo shop7 = (ShopInfo) shoplist.get(j + 6);
												ShopInfo shop8 = (ShopInfo) shoplist.get(j + 7);
									        %>
												<tr>
													<td width="87" align="left">
														<div align="left">&nbsp;&nbsp;&nbsp;&nbsp;<a href="Buyshop.jsp?buyshopid=<%=shop1.getSid()%>" style="color:#0033FF; font-size:13px; "><%=shop1.getShopname()%></a>
												      </div></td>
													<td width="87" align="left">
														<div align="left">&nbsp;&nbsp;&nbsp;&nbsp;<a href="Buyshop.jsp?buyshopid=<%=shop2.getSid()%>" style="color:#0033FF; font-size:13px; "><%=shop2.getShopname()%></a>
												      </div></td>
												</tr>
												<tr>
													<td width="87" align="left">
														<div align="left">&nbsp;&nbsp;&nbsp;&nbsp;<a href="Buyshop.jsp?buyshopid=<%=shop3.getSid()%>" style="color:#0033FF; font-size:13px; "><%=shop3.getShopname()%></a>
												      </div></td>
													<td width="87" align="left">
														<div align="left">&nbsp;&nbsp;&nbsp;&nbsp;<a href="Buyshop.jsp?buyshopid=<%=shop4.getSid()%>" style="color:#0033FF; font-size:13px; "><%=shop4.getShopname()%></a>
												      </div></td>
												</tr>
												<tr>
													<td width="87" align="left">
														<div align="left">&nbsp;&nbsp;&nbsp;&nbsp;<a href="Buyshop.jsp?buyshopid=<%=shop5.getSid()%>" style="color:#0033FF; font-size:13px; "><%=shop5.getShopname()%></a>
												      </div></td>
													<td width="87" align="left">
														<div align="left">&nbsp;&nbsp;&nbsp;&nbsp;<a href="Buyshop.jsp?buyshopid=<%=shop6.getSid()%>" style="color:#0033FF; font-size:13px; "><%=shop6.getShopname()%></a>
												      </div></td>
												</tr>
												<tr>
													<td width="87" align="left">
														<div align="left">&nbsp;&nbsp;&nbsp;&nbsp;<a href="Buyshop.jsp?buyshopid=<%=shop7.getSid()%>" style="color:#0033FF; font-size:13px; "><%=shop7.getShopname()%></a>
												      </div></td>
													<td width="87" align="left">
														<div align="left">&nbsp;&nbsp;&nbsp;&nbsp;<a href="Buyshop.jsp?buyshopid=<%=shop8.getSid()%>" style="color:#0033FF; font-size:13px; "><%=shop8.getShopname()%></a>
												      </div></td>
												</tr>
											<%
											}
											%>

				 </table>
               </div>  
                 <%} %>
				 
				 
		      </div>
			  <div id="right01">
			     <div id="model1">
			       <table width="177" height="263" border="0" cellpadding="0" cellspacing="0">
                     <tr>
                       <td height="26" colspan="2"><span class="style19">新品速递</span></td>
                     </tr>
                     <tr>
                       <td width="86" height="74"><div align="center"><img src="image/index/v1.jpg"><br>
                         <span class="style19"><a href="" style="color:#000000 ">户外功能 透气排汗</a></span></div></td>
                       <td width="88"><div align="center"><img src="image/index/v2.jpg"><br>
                             <span class="style19"><a href="" style="color:#000000 ">上周最受 欢迎保健品</a></span></div></td>
                     </tr>
                     <tr>
                       <td height="120"><div align="center"><img src="image/index/v3.gif"><br>
                             <span class="style19"><a href="" style="color:#000000 ">台湾热卖 渐层蛋糕裙</a></span></div></td>
                       <td><div align="center"><img src="image/index/v4.jpg"><br>
                             <span class="style19"><a href="" style="color:#000000 ">用大嘴猴 装IPHONE</a> </span></div></td>
                     </tr>
                   </table>
			     </div>
				 <div id="model11">
				 <div align="center"><img src="image/index/k3.jpg"></div>
				 <br>
				 <div align="center"><img src="image/index/k5.jpg" height="82"></div>
				 </div>
			  </div>
			  <div id="right02">
				 <div id="model4_a1"><img src="image/headpic/d1.jpg"></div>
				  <div id="model4_a2"><a href="#"><img src="image/index/d2.jpg" border="0"></a></div>
				<div id="model4_a3">
				  <p><a href="#"><img src="image/index/sum3.jpg" width="50" height="50" border="0"><br>原装柔软毛巾
				  </a></p>
			    </div>
				<div id="model4_a4"><a href="#"><img src="image/index/sum.jpg" width="50" height="50" border="0"><br>90*33中华彩双层</a></div>
				<div id="model4_a5"><a href="#"><img src="image/index/sum1.jpg" width="50" height="50" border="0"><br>
			    08新品优声变频调</a></div>
				<div id="model4_a6"><a href="#"><img src="image/index/sum2.jpg" width="50" height="50" border="0"><br>
			    [四钻+五年保修]</a></div>
				<div id="model4_a7"><a href="#"><img src="image/index/d3.jpg" border="0"></a></div>
			  </div>
			  <div id="right03">
			    <div id="model5"><img src="image/index/lizixian.JPG" width="184" height="250"></div>
				 <div id="model6"><a href="#"><img src="image/headpic/k4.jpg" border="0"></a></div>
			  </div>
		  </div>
		  <div id="conlining">
			  <div id="conliningleft">

⌨️ 快捷键说明

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