赞
踩
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>修改密码</title> <link rel="stylesheet" type="text/css" href="style.css"/> <link rel="stylesheet" type="text/css" href="login.css"/> </head> <body> <div class="reg"> <form action="/controller.RegisterServlet" method="post"> <h1><a href="index.jsp"><img src="imgs/logo.png"></a></h1> <p>修改密码</p> <p><input type="text" name="email" placeholder="请输入邮箱" required></p> <p><input type="password" name="password" placeholder="请输入新密码" required></p> <p><input type="password" name="password" placeholder="请确认新密码" required></p> <p class="txtL txt"><input class="code" type="text" name="" value="" placeholder="验证码" required><img src="imgs/code.jpg"></p> <p><input type="submit" name="" value="确认新密码"></p> <p class="txtL txt">完成此修改,即表明您同意了我们的<a href="#">使用条款和隐私策略</a></p> <p class="txt"><a href="login.jsp"><span></span>已有账号登录</a></p> </form> </div> </body> </html><%@ page contentType="text/html;charset=UTF-8" language="java" %> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>修改密码</title> <link rel="stylesheet" type="text/css" href="style.css"/> <link rel="stylesheet" type="text/css" href="login.css"/> </head> <body> <div class="reg"> <form action="/controller.RegisterServlet" method="post"> <h1><a href="index.jsp"><img src="imgs/logo.png"></a></h1> <p>修改密码</p> <p><input type="text" name="email" placeholder="请输入邮箱" required></p> <p><input type="password" name="password" placeholder="请输入新密码" required></p> <p><input type="password" name="password" placeholder="请确认新密码" required></p> <p class="txtL txt"><input class="code" type="text" name="" value="" placeholder="验证码" required><img src="imgs/code.jpg"></p> <p><input type="submit" name="" value="确认新密码"></p> <p class="txtL txt">完成此修改,即表明您同意了我们的<a href="#">使用条款和隐私策略</a></p> <p class="txt"><a href="login.jsp"><span></span>已有账号登录</a></p> </form> </div> </body> </html>
<%@ page import="bean.user" %> <%@ page import="java.util.HashMap" %> <%@ page import="java.util.Map" %> <%@ page import="java.util.Iterator" %> <%@ page import="bean.product" %> <%@ page import="java.util.ArrayList" %> <%@ page import="Service.Food" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%user user = (bean.user) session.getAttribute("user");%> <%ArrayList arrayList = (ArrayList)session.getAttribute("Food");%> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>美食列表</title> <link rel="stylesheet" type="text/css" href="style.css"/> <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script> <script type="text/javascript" src="js/menu.js"></script> <script type="text/javascript" src="js/n_nav.js"></script> <script type="text/javascript" src="js/toptop.js"> </script> </head> <body> <!-- Head Begin --> <div class="headbg"> <div class="head"> <!-- Begin 所在收货地址 --> <!-- 用<span> 来组合行内元素 --> <span class="head_city_back"> <span class="fl">送货至: </span> <span class="head_city"> <span></span> <div class="head_city_bg"> <div class="head_city_temp"></div> <div class="head_city_common"> <h2>请选择所在的收货地区</h2> <table class="common_table" border="0" cellpadding="0" cellspacing="0" style="width: 235px; margin-top: 10px;"> <tr> <th>A</th> <td class="common_head"><span>安徽</span><span>澳门</span></td> </tr> <tr> <th>B</th> <td class="common_head"><span>北京</span></td> </tr> <tr> <th>C</th> <td class="common_head"><span>重庆</span></td> </tr> <tr> <th>F</th> <td class="common_head"><span>福建</span></td> </tr> <tr> <th>G</th> <td class="common_head"><span>广东</span><span>广西</span><span>贵州</span><span>甘肃</span></td> </tr> <tr> <th>H</th> <td class="common_head"><span>河北</span><span>河南</span><span>黑龙江</span><span>海南</span><span>湖北</span><span>湖南</span></td> </tr> <tr> <th>J</th> <td class="common_head"><span>江苏</span><span>吉林</span><span>江西</span></td> </tr> <tr> <th>L</th> <td class="common_head"><span>辽宁</span></td> </tr> <tr> <th>N</th> <td class="common_head"><span>内蒙古</span><span>宁夏</span></td> </tr> <tr> <th>Q</th> <td class="common_head"><span>上海</span><span>山东</span><span>山西</span><span>四川</span><span>陕西</span></td> </tr> <tr> <th>T</th> <td class="common_head"><span>台湾</span><span>天津</span></td> </tr> <tr> <th>X</th> <td class="common_head"><span>西藏</span><span>香港</span><span>新疆</span></td> </tr> <tr> <th>Y</th> <td class="common_head"><span>云南</span></td> </tr> <tr> <th>Z</th> <td class="common_head"><span class="common_check">浙江</span></td> </tr> </table> </div> </div> </span> </span> <!-- End 收货所在地 --> <!-- Begin 任务栏 --> <span class="fr"> <% if(!(user == null)) { out.println("\t\t\t\t\t<span class=\"fl\">\n" + "\t\t\t\t\t\t<a href=\"information.jsp\">"); out.println("欢迎回来!" + user.getName()); out.println("</a>\n" + "\t\t\t\t\t\t<a href=\"regist.jsp\" style=\"color: red;\">免费注册</a>\n" + "\t\t\t\t\t\t | <a href=\"#\">我的订单</a>\n" + "\t\t\t\t\t\t |\n" + "\n" + "\t\t\t\t\t</span>"); } else { out.println("\t\t\t\t\t<span class=\"fl\">\n" + "\t\t\t\t\t\t<a href=\"login.jsp\">你好,请登录 </a>\n" + "\t\t\t\t\t\t<a href=\"regist.jsp\" style=\"color: red;\">免费注册</a>\n" + "\t\t\t\t\t\t | <a href=\"#\">我的订单</a>\n" + "\t\t\t\t\t\t |\n" + "\n" + "\t\t\t\t\t</span>"); } %> <span class="headshow"> <div class="headshow_list"> <a href="#">收藏夹</a> <div class="headshow_list_bg"> <div class="head_city_temp"></div> <div class="headshow_list_common"> <ul> <li> <a href="#">收藏的宝贝</a> </li> <li> <a href="#">收藏的店铺</a> </li> </ul> </div> </div> </div> <% if(!(user == null)) { out.println("\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"headshow_list\">\n" + "\t\t\t\t\t\t\t<a href=\"#\">客户服务</a>\n" + "\t\t\t\t\t\t\t<div class=\"headshow_list_bg\">\n" + "\t\t\t\t\t\t\t\t<div class=\"head_city_temp\"></div>\n" + "\t\t\t\t\t\t\t\t<div class=\"headshow_list_common\">\n" + "\t\t\t\t\t\t\t\t\t<ul>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"personcenter.jsp\">个人中心</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">智能助手</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">人工客服</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t</ul>\n" + "\t\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t</div>"); } else { out.println("\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"headshow_list\">\n" + "\t\t\t\t\t\t\t<a href=\"#\">客户服务</a>\n" + "\t\t\t\t\t\t\t<div class=\"headshow_list_bg\">\n" + "\t\t\t\t\t\t\t\t<div class=\"head_city_temp\"></div>\n" + "\t\t\t\t\t\t\t\t<div class=\"headshow_list_common\">\n" + "\t\t\t\t\t\t\t\t\t<ul>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" id=\"not_admin\">个人中心</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">智能助手</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">人工客服</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t</ul>\n" + "\t\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t</div>"); } %> <div class="headshow_list"> <a href="#">网站导航</a> <div class="headshow_list_bg"> <div class="head_city_temp"></div> <div class="headshow_list_common"> <ul> <li> <a href="#">主题市场</a> </li> <li> <a href="newidea.jsp">创意市场</a> </li> <li> <a href="#">精彩推荐集</a> </li> </ul> </div> </div> </div> </span> <span class="fl"> | 关注我们: </span> <span class="show_style"> <a href="#" class="style1">新浪</a> <a href="#" class="style2">微信</a> </span> <span class="fr"> | <a href="#"> 手机版 <img src="imgs/s_tel.png" align="absmiddle"> </a> </span> </span> </div> </div> <!-- End 任务栏 --> <!-- Begin 任务栏下面 logo 搜索 购物车--> <div class="top"> <div class="logo"> <a href="index.jsp"> <img src="imgs/logo.png" > </a> </div> <div class="search"> <form action=""> <input type="text" value="" class="search_input" /> <input type="submit" value="搜索" class="search_button" /> </form> <span class="f1"> <a href="#">蛋糕</a> <a href="#">咖啡</a> <a href="#">新鲜美食</a> <a href="#">日用品</a> </span> </div> <div class="info_car"> <div class="car_temp">购物车 [ <span> <% if(!(user == null)) { out.println(user.getShoppingCart().getCart().size()); } else { out.println(0); } %> </span> ]</div> <div class="car_bg"> <% if(!(user == null)) { out.println("<ul class=\"cars\">"); HashMap map = user.getShoppingCart().getCart(); Iterator iterator = map.entrySet().iterator(); double count = 0.0; int num = 0; while(iterator.hasNext()) { Map.Entry entry = (Map.Entry)iterator.next(); out.println("\t\t\t\t<li>\n" + "\t\t\t\t\t<div class=\"img\">\n" + "\t\t\t\t\t\t<a href=\"#\">\n" + "\t\t\t\t\t\t\t<img src=\"imgs/fre_2.jpg\" width=\"58\" height=\"58\" >\n" + "\t\t\t\t\t\t</a>\n" + "\t\t\t\t\t</div>\n" + "\t\t\t\t\t<div class=\"name\">\n" + "\t\t\t\t\t\t<a href=\"#\">"); product product = (bean.product)entry.getKey(); count = count + (product.getPrice() * (int)entry.getValue()); out.println(product.getProduct_name() + "</a>\n" + "\t\t\t\t\t</div>\n" + "\t\t\t\t\t<div class=\"price\">\n" + "\t\t\t\t\t\t<font color=\"#FF4E00\"> ¥"); out.println(product.getPrice() + "</font>X" + entry.getValue() + "</div></li>"); num++; } if(num == 0) { out.println("\t\t\t<div class=\"un_login\">\n" + "\t\t\t\t还没有商品呢!\n" + "\t\t\t\t<a href=\"food.jsp\" style=\"color: #FF4E00;\">现在就去选购</a>\n" + "\t\t\t\t心怡的商品!\n" + "\t\t\t</div>"); } else { out.println("\t\t\t</ul>"); out.println("\t\t\t<div class=\"price_sum\">\n" + "\t\t\t\t共计\n" + "\t\t\t\t<font color=\"#FF4E00\"> ¥</font>\n" + "\t\t\t\t<span>"); out.println(count); out.println("</span>\n" + "\t\t\t</div>\n" + "\t\t\t<div class=\"price_account\">\n" + "\t\t\t\t<a href=\"buycar.jsp\">去购物车结算</a>\n" + "\t\t\t</div>"); } } else { out.println("\t\t\t<div class=\"un_login\">\n" + "\t\t\t\t还未登录!\n" + "\t\t\t\t<a href=\"login.jsp\" style=\"color: #FF4E00;\">马上登录</a>\n" + "\t\t\t\t查看购物车!\n" + "\t\t\t</div>"); } %> <!--End 购物车已登录--> </div> </div> </div> <!--End Head--> <!--Begin Menu --> <div class="menu_bg"> <div class="menu"> <!--Begin 商品分类详情 Begin--> <div class="nav"> <div class="nav_t">全部商品分类</div> <div class="leftNav none"> <ul> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> <div class="zj"> <div class="zj_l"> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> </div> <div class="zj_r"> <a href="#"><img src="imgs/food_b1.jpg" width="236" height="200" /></a> <a href="#"><img src="imgs/food_b2.jpg" width="236" height="200" /></a> </div> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> <div class="zj" style="top:-40px;"> <div class="zj_l"> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力2</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> </div> <div class="zj_r"> <a href="#"><img src="imgs/fre_b1.jpg" width="236" height="200" /></a> <a href="#"><img src="imgs/fre_b2.jpg" width="236" height="200" /></a> </div> </div> </li> </ul> </div> </div> <!--End 商品分类详情 End--> <ul class="menu_r"> <li><a href="index.jsp">首页</a></li> <li><a href="/controller.FoodServlet">美食</a></li> <li><a href="#">生鲜</a></li> <li><a href="#">团购</a></li> </ul> <div class="m_ad">双十一送好礼!</div> </div> </div> <!--End Menu--> <!--------content1---------> <div class="imgList1" > <div class="wrapper"> <div class="nbnb-left" style="margin-left: -150px;"> <div class="nbnb2"> <form> <br> <h4>选择你喜欢的品牌 :</h4> <input type="checkbox" name="品牌" value="color 1" /> <a href=""> DANISA/皇冠</a><br /> <input type="checkbox" name="品牌" value="color2" /> <a href=""> Three Squirrels/三只松鼠</a><br /> <input type="checkbox" name="品牌" value="color3" /> <a href=""> 良品铺子</a><br /> <input type="checkbox" name="品牌" value="color4" /> <a href=""> BE&CHEERY/百草味</a><br /> <input type="checkbox" name="品牌" value="color5" /> <a href=""> 魔法士</a><br /> <input type="checkbox" name="品牌" value="color6" /> <a href=""> 金鹏华泽</a><br /> </form> </div> <div class="nbnb2"> <form> <br> <h4>选择你喜欢吃的零食类型:</h4> <input type="checkbox" name="品牌" value="color 1" /> <a href=""> 鸭肉类零食</a><br /> <input type="checkbox" name="品牌" value="color2" /> <a href=""> 膨化食品</a><br /> <input type="checkbox" name="品牌" value="color3" /> <a href=""> 传统糕点传统糕点</a><br /> <input type="checkbox" name="品牌" value="color4" /> <a href=""> 鱼系列</a><br /> <input type="checkbox" name="品牌" value="color5" /> <a href=""> 曲奇饼干</a><br /> <input type="checkbox" name="品牌" value="color6" /> <a href=""> 豆腐干</a><br /> </form> </div> <br /> <div class="nbnb2"> <form> <h4>选择你喜欢的肉类产品 :</h4> <input type="checkbox" name="品牌" value="color 1" /> <a href=""> 鸭掌全鸭</a><br /> <input type="checkbox" name="品牌" value="color2" /> <a href=""> 猪肉肠</a><br /> <input type="checkbox" name="品牌" value="color3" /> <a href=""> 鸭腿</a><br /> <input type="checkbox" name="品牌" value="color4" /> <a href=""> 猪肉脯</a><br /> <input type="checkbox" name="品牌" value="color5" /> <a href=""> 鸭脖鸭翅</a><br /> </form> </div> <br /> <div class="nbnb2"> <form> <h4>选择你想要的省份特产:</h4> <input type="checkbox" name="颜色" value="color 1" /> 广东省<br /> <input type="checkbox" name="颜色" value="color2" /> 江苏省<br /> <input type="checkbox" name="颜色" value="color3" /> 浙江省<br /> <input type="checkbox" name="颜色" value="color4" /> 安徽省<br /> <input type="checkbox" name="颜色" value="color5" /> 河南省<br /> <input type="checkbox" name="颜色" value="color6" /> 湖南省<br /> <input type="checkbox" name="颜色" value="color6" /> 福建省<br /> </form> </div> <br /> <div class="nbnb2"> <form> <h4>选择折扣数:</h4> <input type="radio" name="颜色" value="color 1" /> 9折<br /> <input type="radio" name="颜色" value="color2" /> 8折<br /> <input type="radio" name="颜色" value="color3" /> 7折<br /> <input type="radio" name="颜色" value="color4" /> 6折<br /> <input type="radio" name="颜色" value="color5" /> 5折<br /> <input type="radio" name="颜色" value="color6" /> 4折<br /> <input type="radio" name="颜色" value="color6" /> 3折<br /> </form> </div> </div> <div class="nbnb-right" style=" margin-bottom: 300px;margin-top: -1050px;" > <div class="nbnb-top"> <p> 所有商品: <% if(arrayList != null) { out.println(arrayList.size()); } else { out.println(0); } %>件 分类:<a href="#">流行</a> | <a href="#">最新</a> | <a href="#">折扣</a> | <a href="#">价格从低到高</a></p> </div> <% if(!((ArrayList)session.getAttribute("Food") == null)) { arrayList = (ArrayList)session.getAttribute("Food"); } else { arrayList = new Food().getFoodList(); } int count = 0; int i; product product = null; for (i = 0; i < arrayList.size(); i++) { product = (bean.product) arrayList.get(i); if(count == 0) { out.println("<ul style=\"margin-right: 150px;\">"); } if(count < 3) { out.println("<li><a href=\"/controller.ProductServlet?product_name=" + product.getProduct_name() + "\">"); out.println("\t\t\t\t\t\t\t<dl>\n" + "\t\t\t\t\t\t\t\t<dt><img src=\"imgs/chide1.jpg\"/></dt>\n" + "\t\t\t\t\t\t\t\t<dd>"); out.println(product.getProduct_name()); out.println("</dd>\n" + "\t\t\t\t\t\t\t\t<dd>¥"); out.println(product.getPrice()); out.println("</dd>\n" + "\t\t\t\t\t\t\t</dl>\n" + "\t\t\t\t\t\t</a>\n" + "\t\t\t\t\t</li>"); count++; if(count == 3) { count = 0; out.println("</ul>"); } } } if(i == arrayList.size()) { out.println("</ul>"); } %> </div> </div> <!--返回顶部--> <div class="gotop"> <a href="buycar.jsp"> <dl> <dt><img src="imgs/gt1.png"/></dt> <dd>去购<br />物车</dd> </dl> </a> <% if(user == null) { out.println("<a href=\"#\" id=\"not_admin1\">\n" + "\t\t\t<dl>\n" + "\t\t\t\t<dt><img src=\"imgs/gt3.png\"/></dt>\n" + "\t\t\t\t<dd>个人<br />中心</dd>\n" + "\t\t\t</dl>\n" + "\t\t</a>"); } else { out.println("<a href=\"personcenter.jsp\" >\n" + "\t\t\t<dl>\n" + "\t\t\t\t<dt><img src=\"imgs/gt3.png\"/></dt>\n" + "\t\t\t\t<dd>个人<br />中心</dd>\n" + "\t\t\t</dl>\n" + "\t\t</a>"); } %> <a href="#" class="toptop"> <dl> <dt><img src="imgs/gt4.png"/></dt> <dd>返回<br />顶部</dd> </dl> </a> </div> <!--Begin Footer--> <div class="behind_bottom_bg behind_bottom_common" style="margin-left: 0px;"> <div class="behind_bottom"> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b1.png" width="62" height="62" /></td> <td> <h2>正品保障</h2>正品行货 放心购买 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b2.png" width="62" height="62" /></td> <td> <h2>满38包邮</h2>满38包邮 免运费 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b3.png" width="62" height="62" /></td> <td> <h2>天天低价</h2> 天天低价 畅选无忧 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b4.png" width="62" height="62" /></td> <td> <h2>准时送达</h2>收货时间由你做主 </td> </tr> </table> </div> </div> <div class="behind_nav" style="margin-left: 230px;"> <dl> <dt><a href="#">新手上路</a></dt> <dd><a href="#">售后流程</a></dd> <dd><a href="#">购物流程</a></dd> <dd><a href="#">订购方式</a></dd> <dd><a href="#">隐私声明</a></dd> <dd><a href="#">推荐分享说明</a></dd> </dl> <dl> <dt><a href="#">配送与支付</a></dt> <dd><a href="#">货到付款区域</a></dd> <dd><a href="#">配送支付查询</a></dd> <dd><a href="#">支付方式说明</a></dd> </dl> <dl> <dt><a href="#">会员中心</a></dt> <dd><a href="#">资金管理</a></dd> <dd><a href="#">我的收藏</a></dd> <dd><a href="#">我的订单</a></dd> </dl> <dl> <dt><a href="#">服务保证</a></dt> <dd><a href="#">退换货原则</a></dd> <dd><a href="#">售后服务保证</a></dd> <dd><a href="#">产品质量保证</a></dd> </dl> <dl> <dt><a href="#">联系我们</a></dt> <dd><a href="#">网站故障报告</a></dd> <dd><a href="#">购物咨询</a></dd> <dd><a href="#">投诉与建议</a></dd> </dl> <div class="behind_tell_bg" style="margin-right: 60px;"> <a href="#" class="bottom_style1">新浪微博</a> <a href="#" class="bottom_style2">腾讯微博</a> <p> 服务热线:<br/> <span>400-123-4567</span> </p> </div> </div> <div class="bottom_bg"> <div class="bottom"> 备案/许可证编号:京ICP备120093xxxx号 Copyright © 2015-2019 进口商城商城网 All Rights Reserved. <br /> <a href="#"> <img src="imgs/b_1.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_2.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_3.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_4.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_5.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_6.gif" width="98" height="33" > </a> </div> </div> <script> document.getElementById("not_admin").onclick = function not_admin() { alert("您需要先登录"); } document.getElementById("not_admin1").onclick = function not_admin() { alert("您需要先登录"); } </script> </div> <!--End Footer --> </body> </html><%@ page import="bean.user" %> <%@ page import="java.util.HashMap" %> <%@ page import="java.util.Map" %> <%@ page import="java.util.Iterator" %> <%@ page import="bean.product" %> <%@ page import="java.util.ArrayList" %> <%@ page import="Service.Food" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%user user = (bean.user) session.getAttribute("user");%> <%ArrayList arrayList = (ArrayList)session.getAttribute("Food");%> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>美食列表</title> <link rel="stylesheet" type="text/css" href="style.css"/> <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script> <script type="text/javascript" src="js/menu.js"></script> <script type="text/javascript" src="js/n_nav.js"></script> <script type="text/javascript" src="js/toptop.js"> </script> </head> <body> <!-- Head Begin --> <div class="headbg"> <div class="head"> <!-- Begin 所在收货地址 --> <!-- 用<span> 来组合行内元素 --> <span class="head_city_back"> <span class="fl">送货至: </span> <span class="head_city"> <span></span> <div class="head_city_bg"> <div class="head_city_temp"></div> <div class="head_city_common"> <h2>请选择所在的收货地区</h2> <table class="common_table" border="0" cellpadding="0" cellspacing="0" style="width: 235px; margin-top: 10px;"> <tr> <th>A</th> <td class="common_head"><span>安徽</span><span>澳门</span></td> </tr> <tr> <th>B</th> <td class="common_head"><span>北京</span></td> </tr> <tr> <th>C</th> <td class="common_head"><span>重庆</span></td> </tr> <tr> <th>F</th> <td class="common_head"><span>福建</span></td> </tr> <tr> <th>G</th> <td class="common_head"><span>广东</span><span>广西</span><span>贵州</span><span>甘肃</span></td> </tr> <tr> <th>H</th> <td class="common_head"><span>河北</span><span>河南</span><span>黑龙江</span><span>海南</span><span>湖北</span><span>湖南</span></td> </tr> <tr> <th>J</th> <td class="common_head"><span>江苏</span><span>吉林</span><span>江西</span></td> </tr> <tr> <th>L</th> <td class="common_head"><span>辽宁</span></td> </tr> <tr> <th>N</th> <td class="common_head"><span>内蒙古</span><span>宁夏</span></td> </tr> <tr> <th>Q</th> <td class="common_head"><span>上海</span><span>山东</span><span>山西</span><span>四川</span><span>陕西</span></td> </tr> <tr> <th>T</th> <td class="common_head"><span>台湾</span><span>天津</span></td> </tr> <tr> <th>X</th> <td class="common_head"><span>西藏</span><span>香港</span><span>新疆</span></td> </tr> <tr> <th>Y</th> <td class="common_head"><span>云南</span></td> </tr> <tr> <th>Z</th> <td class="common_head"><span class="common_check">浙江</span></td> </tr> </table> </div> </div> </span> </span> <!-- End 收货所在地 --> <!-- Begin 任务栏 --> <span class="fr"> <% if(!(user == null)) { out.println("\t\t\t\t\t<span class=\"fl\">\n" + "\t\t\t\t\t\t<a href=\"information.jsp\">"); out.println("欢迎回来!" + user.getName()); out.println("</a>\n" + "\t\t\t\t\t\t<a href=\"regist.jsp\" style=\"color: red;\">免费注册</a>\n" + "\t\t\t\t\t\t | <a href=\"#\">我的订单</a>\n" + "\t\t\t\t\t\t |\n" + "\n" + "\t\t\t\t\t</span>"); } else { out.println("\t\t\t\t\t<span class=\"fl\">\n" + "\t\t\t\t\t\t<a href=\"login.jsp\">你好,请登录 </a>\n" + "\t\t\t\t\t\t<a href=\"regist.jsp\" style=\"color: red;\">免费注册</a>\n" + "\t\t\t\t\t\t | <a href=\"#\">我的订单</a>\n" + "\t\t\t\t\t\t |\n" + "\n" + "\t\t\t\t\t</span>"); } %> <span class="headshow"> <div class="headshow_list"> <a href="#">收藏夹</a> <div class="headshow_list_bg"> <div class="head_city_temp"></div> <div class="headshow_list_common"> <ul> <li> <a href="#">收藏的宝贝</a> </li> <li> <a href="#">收藏的店铺</a> </li> </ul> </div> </div> </div> <% if(!(user == null)) { out.println("\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"headshow_list\">\n" + "\t\t\t\t\t\t\t<a href=\"#\">客户服务</a>\n" + "\t\t\t\t\t\t\t<div class=\"headshow_list_bg\">\n" + "\t\t\t\t\t\t\t\t<div class=\"head_city_temp\"></div>\n" + "\t\t\t\t\t\t\t\t<div class=\"headshow_list_common\">\n" + "\t\t\t\t\t\t\t\t\t<ul>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"personcenter.jsp\">个人中心</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">智能助手</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">人工客服</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t</ul>\n" + "\t\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t</div>"); } else { out.println("\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"headshow_list\">\n" + "\t\t\t\t\t\t\t<a href=\"#\">客户服务</a>\n" + "\t\t\t\t\t\t\t<div class=\"headshow_list_bg\">\n" + "\t\t\t\t\t\t\t\t<div class=\"head_city_temp\"></div>\n" + "\t\t\t\t\t\t\t\t<div class=\"headshow_list_common\">\n" + "\t\t\t\t\t\t\t\t\t<ul>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" id=\"not_admin\">个人中心</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">智能助手</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">人工客服</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t</ul>\n" + "\t\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t</div>"); } %> <div class="headshow_list"> <a href="#">网站导航</a> <div class="headshow_list_bg"> <div class="head_city_temp"></div> <div class="headshow_list_common"> <ul> <li> <a href="#">主题市场</a> </li> <li> <a href="newidea.jsp">创意市场</a> </li> <li> <a href="#">精彩推荐集</a> </li> </ul> </div> </div> </div> </span> <span class="fl"> | 关注我们: </span> <span class="show_style"> <a href="#" class="style1">新浪</a> <a href="#" class="style2">微信</a> </span> <span class="fr"> | <a href="#"> 手机版 <img src="imgs/s_tel.png" align="absmiddle"> </a> </span> </span> </div> </div> <!-- End 任务栏 --> <!-- Begin 任务栏下面 logo 搜索 购物车--> <div class="top"> <div class="logo"> <a href="index.jsp"> <img src="imgs/logo.png" > </a> </div> <div class="search"> <form action=""> <input type="text" value="" class="search_input" /> <input type="submit" value="搜索" class="search_button" /> </form> <span class="f1"> <a href="#">蛋糕</a> <a href="#">咖啡</a> <a href="#">新鲜美食</a> <a href="#">日用品</a> </span> </div> <div class="info_car"> <div class="car_temp">购物车 [ <span> <% if(!(user == null)) { out.println(user.getShoppingCart().getCart().size()); } else { out.println(0); } %> </span> ]</div> <div class="car_bg"> <% if(!(user == null)) { out.println("<ul class=\"cars\">"); HashMap map = user.getShoppingCart().getCart(); Iterator iterator = map.entrySet().iterator(); double count = 0.0; int num = 0; while(iterator.hasNext()) { Map.Entry entry = (Map.Entry)iterator.next(); out.println("\t\t\t\t<li>\n" + "\t\t\t\t\t<div class=\"img\">\n" + "\t\t\t\t\t\t<a href=\"#\">\n" + "\t\t\t\t\t\t\t<img src=\"imgs/fre_2.jpg\" width=\"58\" height=\"58\" >\n" + "\t\t\t\t\t\t</a>\n" + "\t\t\t\t\t</div>\n" + "\t\t\t\t\t<div class=\"name\">\n" + "\t\t\t\t\t\t<a href=\"#\">"); product product = (bean.product)entry.getKey(); count = count + (product.getPrice() * (int)entry.getValue()); out.println(product.getProduct_name() + "</a>\n" + "\t\t\t\t\t</div>\n" + "\t\t\t\t\t<div class=\"price\">\n" + "\t\t\t\t\t\t<font color=\"#FF4E00\"> ¥"); out.println(product.getPrice() + "</font>X" + entry.getValue() + "</div></li>"); num++; } if(num == 0) { out.println("\t\t\t<div class=\"un_login\">\n" + "\t\t\t\t还没有商品呢!\n" + "\t\t\t\t<a href=\"food.jsp\" style=\"color: #FF4E00;\">现在就去选购</a>\n" + "\t\t\t\t心怡的商品!\n" + "\t\t\t</div>"); } else { out.println("\t\t\t</ul>"); out.println("\t\t\t<div class=\"price_sum\">\n" + "\t\t\t\t共计\n" + "\t\t\t\t<font color=\"#FF4E00\"> ¥</font>\n" + "\t\t\t\t<span>"); out.println(count); out.println("</span>\n" + "\t\t\t</div>\n" + "\t\t\t<div class=\"price_account\">\n" + "\t\t\t\t<a href=\"buycar.jsp\">去购物车结算</a>\n" + "\t\t\t</div>"); } } else { out.println("\t\t\t<div class=\"un_login\">\n" + "\t\t\t\t还未登录!\n" + "\t\t\t\t<a href=\"login.jsp\" style=\"color: #FF4E00;\">马上登录</a>\n" + "\t\t\t\t查看购物车!\n" + "\t\t\t</div>"); } %> <!--End 购物车已登录--> </div> </div> </div> <!--End Head--> <!--Begin Menu --> <div class="menu_bg"> <div class="menu"> <!--Begin 商品分类详情 Begin--> <div class="nav"> <div class="nav_t">全部商品分类</div> <div class="leftNav none"> <ul> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> <div class="zj"> <div class="zj_l"> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> </div> <div class="zj_r"> <a href="#"><img src="imgs/food_b1.jpg" width="236" height="200" /></a> <a href="#"><img src="imgs/food_b2.jpg" width="236" height="200" /></a> </div> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> <div class="zj" style="top:-40px;"> <div class="zj_l"> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力2</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> </div> <div class="zj_r"> <a href="#"><img src="imgs/fre_b1.jpg" width="236" height="200" /></a> <a href="#"><img src="imgs/fre_b2.jpg" width="236" height="200" /></a> </div> </div> </li> </ul> </div> </div> <!--End 商品分类详情 End--> <ul class="menu_r"> <li><a href="index.jsp">首页</a></li> <li><a href="/controller.FoodServlet">美食</a></li> <li><a href="#">生鲜</a></li> <li><a href="#">团购</a></li> </ul> <div class="m_ad">双十一送好礼!</div> </div> </div> <!--End Menu--> <!--------content1---------> <div class="imgList1" > <div class="wrapper"> <div class="nbnb-left" style="margin-left: -150px;"> <div class="nbnb2"> <form> <br> <h4>选择你喜欢的品牌 :</h4> <input type="checkbox" name="品牌" value="color 1" /> <a href=""> DANISA/皇冠</a><br /> <input type="checkbox" name="品牌" value="color2" /> <a href=""> Three Squirrels/三只松鼠</a><br /> <input type="checkbox" name="品牌" value="color3" /> <a href=""> 良品铺子</a><br /> <input type="checkbox" name="品牌" value="color4" /> <a href=""> BE&CHEERY/百草味</a><br /> <input type="checkbox" name="品牌" value="color5" /> <a href=""> 魔法士</a><br /> <input type="checkbox" name="品牌" value="color6" /> <a href=""> 金鹏华泽</a><br /> </form> </div> <div class="nbnb2"> <form> <br> <h4>选择你喜欢吃的零食类型:</h4> <input type="checkbox" name="品牌" value="color 1" /> <a href=""> 鸭肉类零食</a><br /> <input type="checkbox" name="品牌" value="color2" /> <a href=""> 膨化食品</a><br /> <input type="checkbox" name="品牌" value="color3" /> <a href=""> 传统糕点传统糕点</a><br /> <input type="checkbox" name="品牌" value="color4" /> <a href=""> 鱼系列</a><br /> <input type="checkbox" name="品牌" value="color5" /> <a href=""> 曲奇饼干</a><br /> <input type="checkbox" name="品牌" value="color6" /> <a href=""> 豆腐干</a><br /> </form> </div> <br /> <div class="nbnb2"> <form> <h4>选择你喜欢的肉类产品 :</h4> <input type="checkbox" name="品牌" value="color 1" /> <a href=""> 鸭掌全鸭</a><br /> <input type="checkbox" name="品牌" value="color2" /> <a href=""> 猪肉肠</a><br /> <input type="checkbox" name="品牌" value="color3" /> <a href=""> 鸭腿</a><br /> <input type="checkbox" name="品牌" value="color4" /> <a href=""> 猪肉脯</a><br /> <input type="checkbox" name="品牌" value="color5" /> <a href=""> 鸭脖鸭翅</a><br /> </form> </div> <br /> <div class="nbnb2"> <form> <h4>选择你想要的省份特产:</h4> <input type="checkbox" name="颜色" value="color 1" /> 广东省<br /> <input type="checkbox" name="颜色" value="color2" /> 江苏省<br /> <input type="checkbox" name="颜色" value="color3" /> 浙江省<br /> <input type="checkbox" name="颜色" value="color4" /> 安徽省<br /> <input type="checkbox" name="颜色" value="color5" /> 河南省<br /> <input type="checkbox" name="颜色" value="color6" /> 湖南省<br /> <input type="checkbox" name="颜色" value="color6" /> 福建省<br /> </form> </div> <br /> <div class="nbnb2"> <form> <h4>选择折扣数:</h4> <input type="radio" name="颜色" value="color 1" /> 9折<br /> <input type="radio" name="颜色" value="color2" /> 8折<br /> <input type="radio" name="颜色" value="color3" /> 7折<br /> <input type="radio" name="颜色" value="color4" /> 6折<br /> <input type="radio" name="颜色" value="color5" /> 5折<br /> <input type="radio" name="颜色" value="color6" /> 4折<br /> <input type="radio" name="颜色" value="color6" /> 3折<br /> </form> </div> </div> <div class="nbnb-right" style=" margin-bottom: 300px;margin-top: -1050px;" > <div class="nbnb-top"> <p> 所有商品: <% if(arrayList != null) { out.println(arrayList.size()); } else { out.println(0); } %>件 分类:<a href="#">流行</a> | <a href="#">最新</a> | <a href="#">折扣</a> | <a href="#">价格从低到高</a></p> </div> <% if(!((ArrayList)session.getAttribute("Food") == null)) { arrayList = (ArrayList)session.getAttribute("Food"); } else { arrayList = new Food().getFoodList(); } int count = 0; int i; product product = null; for (i = 0; i < arrayList.size(); i++) { product = (bean.product) arrayList.get(i); if(count == 0) { out.println("<ul style=\"margin-right: 150px;\">"); } if(count < 3) { out.println("<li><a href=\"/controller.ProductServlet?product_name=" + product.getProduct_name() + "\">"); out.println("\t\t\t\t\t\t\t<dl>\n" + "\t\t\t\t\t\t\t\t<dt><img src=\"imgs/chide1.jpg\"/></dt>\n" + "\t\t\t\t\t\t\t\t<dd>"); out.println(product.getProduct_name()); out.println("</dd>\n" + "\t\t\t\t\t\t\t\t<dd>¥"); out.println(product.getPrice()); out.println("</dd>\n" + "\t\t\t\t\t\t\t</dl>\n" + "\t\t\t\t\t\t</a>\n" + "\t\t\t\t\t</li>"); count++; if(count == 3) { count = 0; out.println("</ul>"); } } } if(i == arrayList.size()) { out.println("</ul>"); } %> </div> </div> <!--返回顶部--> <div class="gotop"> <a href="buycar.jsp"> <dl> <dt><img src="imgs/gt1.png"/></dt> <dd>去购<br />物车</dd> </dl> </a> <% if(user == null) { out.println("<a href=\"#\" id=\"not_admin1\">\n" + "\t\t\t<dl>\n" + "\t\t\t\t<dt><img src=\"imgs/gt3.png\"/></dt>\n" + "\t\t\t\t<dd>个人<br />中心</dd>\n" + "\t\t\t</dl>\n" + "\t\t</a>"); } else { out.println("<a href=\"personcenter.jsp\" >\n" + "\t\t\t<dl>\n" + "\t\t\t\t<dt><img src=\"imgs/gt3.png\"/></dt>\n" + "\t\t\t\t<dd>个人<br />中心</dd>\n" + "\t\t\t</dl>\n" + "\t\t</a>"); } %> <a href="#" class="toptop"> <dl> <dt><img src="imgs/gt4.png"/></dt> <dd>返回<br />顶部</dd> </dl> </a> </div> <!--Begin Footer--> <div class="behind_bottom_bg behind_bottom_common" style="margin-left: 0px;"> <div class="behind_bottom"> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b1.png" width="62" height="62" /></td> <td> <h2>正品保障</h2>正品行货 放心购买 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b2.png" width="62" height="62" /></td> <td> <h2>满38包邮</h2>满38包邮 免运费 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b3.png" width="62" height="62" /></td> <td> <h2>天天低价</h2> 天天低价 畅选无忧 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b4.png" width="62" height="62" /></td> <td> <h2>准时送达</h2>收货时间由你做主 </td> </tr> </table> </div> </div> <div class="behind_nav" style="margin-left: 230px;"> <dl> <dt><a href="#">新手上路</a></dt> <dd><a href="#">售后流程</a></dd> <dd><a href="#">购物流程</a></dd> <dd><a href="#">订购方式</a></dd> <dd><a href="#">隐私声明</a></dd> <dd><a href="#">推荐分享说明</a></dd> </dl> <dl> <dt><a href="#">配送与支付</a></dt> <dd><a href="#">货到付款区域</a></dd> <dd><a href="#">配送支付查询</a></dd> <dd><a href="#">支付方式说明</a></dd> </dl> <dl> <dt><a href="#">会员中心</a></dt> <dd><a href="#">资金管理</a></dd> <dd><a href="#">我的收藏</a></dd> <dd><a href="#">我的订单</a></dd> </dl> <dl> <dt><a href="#">服务保证</a></dt> <dd><a href="#">退换货原则</a></dd> <dd><a href="#">售后服务保证</a></dd> <dd><a href="#">产品质量保证</a></dd> </dl> <dl> <dt><a href="#">联系我们</a></dt> <dd><a href="#">网站故障报告</a></dd> <dd><a href="#">购物咨询</a></dd> <dd><a href="#">投诉与建议</a></dd> </dl> <div class="behind_tell_bg" style="margin-right: 60px;"> <a href="#" class="bottom_style1">新浪微博</a> <a href="#" class="bottom_style2">腾讯微博</a> <p> 服务热线:<br/> <span>400-123-4567</span> </p> </div> </div> <div class="bottom_bg"> <div class="bottom"> 备案/许可证编号:京ICP备120093xxxx号 Copyright © 2015-2019 进口商城商城网 All Rights Reserved. <br /> <a href="#"> <img src="imgs/b_1.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_2.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_3.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_4.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_5.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_6.gif" width="98" height="33" > </a> </div> </div> <script> document.getElementById("not_admin").onclick = function not_admin() { alert("您需要先登录"); } document.getElementById("not_admin1").onclick = function not_admin() { alert("您需要先登录"); } </script> </div> <!--End Footer --> </body> </html>
<%@ page import="bean.user" %> <%@ page import="java.util.HashMap" %> <%@ page import="java.util.Iterator" %> <%@ page import="java.util.Map" %> <%@ page import="bean.product" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%user user = (bean.user)session.getAttribute("user");%> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>零食巴士</title> <link rel="stylesheet" type="text/css" href="style.css"/> <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script> <script type="text/javascript" src="js/menu.js"></script> <script type="text/javascript" src="js/lunbo_adv.js"></script> <script type="text/javascript" src="js/toptop.js"> </script> </head> <body> <!-- Head Begin --> <div class="headbg"> <div class="head"> <!-- Begin 所在收货地址 --> <!-- 用<span> 来组合行内元素 --> <span class="head_city_back"> <span class="fl">送货至: </span> <span class="head_city"> <span></span> <div class="head_city_bg"> <div class="head_city_temp"></div> <div class="head_city_common"> <h2>请选择所在的收货地区</h2> <table class="common_table" border="0" cellpadding="0" cellspacing="0" style="width: 235px; margin-top: 10px;"> <tr> <th>A</th> <td class="common_head"><span>安徽</span><span>澳门</span></td> </tr> <tr> <th>B</th> <td class="common_head"><span>北京</span></td> </tr> <tr> <th>C</th> <td class="common_head"><span>重庆</span></td> </tr> <tr> <th>F</th> <td class="common_head"><span>福建</span></td> </tr> <tr> <th>G</th> <td class="common_head"><span>广东</span><span>广西</span><span>贵州</span><span>甘肃</span></td> </tr> <tr> <th>H</th> <td class="common_head"><span>河北</span><span>河南</span><span>黑龙江</span><span>海南</span><span>湖北</span><span>湖南</span></td> </tr> <tr> <th>J</th> <td class="common_head"><span>江苏</span><span>吉林</span><span>江西</span></td> </tr> <tr> <th>L</th> <td class="common_head"><span>辽宁</span></td> </tr> <tr> <th>N</th> <td class="common_head"><span>内蒙古</span><span>宁夏</span></td> </tr> <tr> <th>Q</th> <td class="common_head"><span>上海</span><span>山东</span><span>山西</span><span>四川</span><span>陕西</span></td> </tr> <tr> <th>T</th> <td class="common_head"><span>台湾</span><span>天津</span></td> </tr> <tr> <th>X</th> <td class="common_head"><span>西藏</span><span>香港</span><span>新疆</span></td> </tr> <tr> <th>Y</th> <td class="common_head"><span>云南</span></td> </tr> <tr> <th>Z</th> <td class="common_head"><span class="common_check">浙江</span></td> </tr> </table> </div> </div> </span> </span> <!-- End 收货所在地 --> <!-- Begin 任务栏 --> <span class="fr"> <% if(!(user == null)) { out.println("\t\t\t\t\t<span class=\"fl\">\n" + "\t\t\t\t\t\t<a href=\"information.jsp\">"); out.println("欢迎回来!" + user.getName()); out.println("</a>\n" + "\t\t\t\t\t\t<a href=\"regist.jsp\" style=\"color: red;\">免费注册</a>\n" + "\t\t\t\t\t\t | <a href=\"#\">我的订单</a>\n" + "\t\t\t\t\t\t |\n" + "\n" + "\t\t\t\t\t</span>"); } else { out.println("\t\t\t\t\t<span class=\"fl\">\n" + "\t\t\t\t\t\t<a href=\"/controller.LoginWebServlet\">你好,请登录 </a>\n" + "\t\t\t\t\t\t<a href=\"regist.jsp\" style=\"color: red;\">免费注册</a>\n" + "\t\t\t\t\t\t | <a href=\"#\">我的订单</a>\n" + "\t\t\t\t\t\t |\n" + "\n" + "\t\t\t\t\t</span>"); } %> <span class="headshow"> <div class="headshow_list"> <a href="#">收藏夹</a> <div class="headshow_list_bg"> <div class="head_city_temp"></div> <div class="headshow_list_common"> <ul> <li> <a href="#">收藏的宝贝</a> </li> <li> <a href="#">收藏的店铺</a> </li> </ul> </div> </div> </div> <% if(!(user == null)) { out.println("\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"headshow_list\">\n" + "\t\t\t\t\t\t\t<a href=\"#\">客户服务</a>\n" + "\t\t\t\t\t\t\t<div class=\"headshow_list_bg\">\n" + "\t\t\t\t\t\t\t\t<div class=\"head_city_temp\"></div>\n" + "\t\t\t\t\t\t\t\t<div class=\"headshow_list_common\">\n" + "\t\t\t\t\t\t\t\t\t<ul>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"personcenter.jsp\">个人中心</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">智能助手</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">人工客服</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t</ul>\n" + "\t\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t</div>"); } else { out.println("\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"headshow_list\">\n" + "\t\t\t\t\t\t\t<a href=\"#\">客户服务</a>\n" + "\t\t\t\t\t\t\t<div class=\"headshow_list_bg\">\n" + "\t\t\t\t\t\t\t\t<div class=\"head_city_temp\"></div>\n" + "\t\t\t\t\t\t\t\t<div class=\"headshow_list_common\">\n" + "\t\t\t\t\t\t\t\t\t<ul>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" id=\"not_admin\">个人中心</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">智能助手</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">人工客服</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t</ul>\n" + "\t\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t</div>"); } %> <div class="headshow_list"> <a href="#">网站导航</a> <div class="headshow_list_bg"> <div class="head_city_temp"></div> <div class="headshow_list_common"> <ul> <li> <a href="#">主题市场</a> </li> <li> <a href="newidea.jsp">创意市场</a> </li> <li> <a href="#">精彩推荐集</a> </li> </ul> </div> </div> </div> </span> <span class="fl"> | 关注我们: </span> <span class="show_style"> <a href="#" class="style1">新浪</a> <a href="#" class="style2">微信</a> </span> <span class="fr"> | <a href="#"> 手机版 <img src="imgs/s_tel.png" align="absmiddle"> </a> </span> </span> </div> </div> <!-- End 任务栏 --> <!-- Begin 任务栏下面 logo 搜索 购物车--> <div class="top"> <div class="logo"> <a href="index.jsp"> <img src="imgs/logo.png" > </a> </div> <div class="search"> <form action=""> <input type="text" value="" class="search_input" /> <input type="submit" value="搜索" class="search_button" /> </form> <span class="f1"> <a href="#">蛋糕</a> <a href="#">咖啡</a> <a href="#">新鲜美食</a> <a href="#">日用品</a> </span> </div> <div class="info_car"> <div class="car_temp">购物车 [ <span> <% if(!(user == null)) { out.println(user.getShoppingCart().getCart().size()); } else { out.println(0); } %> </span> ]</div> <div class="car_bg"> <% if(!(user == null)) { out.println("<ul class=\"cars\">"); HashMap map = user.getShoppingCart().getCart(); Iterator iterator = map.entrySet().iterator(); double count = 0.0; int num = 0; while(iterator.hasNext()) { Map.Entry entry = (Map.Entry)iterator.next(); out.println("\t\t\t\t<li>\n" + "\t\t\t\t\t<div class=\"img\">\n" + "\t\t\t\t\t\t<a href=\"#\">\n" + "\t\t\t\t\t\t\t<img src=\"imgs/fre_2.jpg\" width=\"58\" height=\"58\" >\n" + "\t\t\t\t\t\t</a>\n" + "\t\t\t\t\t</div>\n" + "\t\t\t\t\t<div class=\"name\">\n" + "\t\t\t\t\t\t<a href=\"#\">"); product product = (bean.product)entry.getKey(); count = count + (product.getPrice() * (int)entry.getValue()); out.println(product.getProduct_name() + "</a>\n" + "\t\t\t\t\t</div>\n" + "\t\t\t\t\t<div class=\"price\">\n" + "\t\t\t\t\t\t<font color=\"#FF4E00\"> ¥"); out.println(product.getPrice() + "</font>X" + entry.getValue() + "</div></li>"); num++; } if(num == 0) { out.println("\t\t\t<div class=\"un_login\">\n" + "\t\t\t\t还没有商品呢!\n" + "\t\t\t\t<a href=\"food.jsp\" style=\"color: #FF4E00;\">现在就去选购</a>\n" + "\t\t\t\t心怡的商品!\n" + "\t\t\t</div>"); } else { out.println("\t\t\t</ul>"); out.println("\t\t\t<div class=\"price_sum\">\n" + "\t\t\t\t共计\n" + "\t\t\t\t<font color=\"#FF4E00\"> ¥</font>\n" + "\t\t\t\t<span>"); out.println(count); out.println("</span>\n" + "\t\t\t</div>\n" + "\t\t\t<div class=\"price_account\">\n" + "\t\t\t\t<a href=\"buycar.jsp\">去购物车结算</a>\n" + "\t\t\t</div>"); } } else { out.println("\t\t\t<div class=\"un_login\">\n" + "\t\t\t\t还未登录!\n" + "\t\t\t\t<a href=\"login.jsp\" style=\"color: #FF4E00;\">马上登录</a>\n" + "\t\t\t\t查看购物车!\n" + "\t\t\t</div>"); } %> </div> </div> </div> <!--End Head--> <!--Begin Menu --> <div class="menu_bg"> <div class="menu"> <!--Begin 商品分类详情 Begin--> <div class="nav"> <div class="nav_t">全部商品分类</div> <div class="leftNav"> <ul> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> <div class="zj"> <div class="zj_l"> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> </div> <div class="zj_r"> <a href="#"><img src="imgs/food_b1.jpg" width="236" height="200" /></a> <a href="#"><img src="imgs/food_b2.jpg" width="236" height="200" /></a> </div> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> <div class="zj" style="top:-40px;"> <div class="zj_l"> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力2</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> </div> <div class="zj_r"> <a href="#"><img src="imgs/fre_b1.jpg" width="236" height="200" /></a> <a href="#"><img src="imgs/fre_b2.jpg" width="236" height="200" /></a> </div> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> </li> </ul> </div> </div> <!--End 商品分类详情 End--> <ul class="menu_r"> <li><a href="index.jsp">首页</a></li> <li><a href="/controller.FoodServlet">美食</a></li> <li><a href="#">生鲜</a></li> <li><a href="#">团购</a></li> <div id="showtime"></div> </ul> <div class="m_ad"> 双十一送好礼!</div> </div> </div> <!--End Menu--> <!-- Begin 具体内容 --> <div class="i_bg bg_color"> <div class="i_ban_bg"> <!--Begin Banner--> <div class="banner"> <!--横幅广告--> <div id="adv"> <dl> <dt> <a href="#" id="a1">1</a> <a href="#" id="a2">2</a> <a href="#" id="a3">3</a> </dt> <dd> <a href="#"><img src="imgs/ban1.jpg" id="banner" alt="广告" /></a> </dd> </dl> </div> </div> <!--End Banner End--> <div class="inews"> <div class="news_t"> <span class="fr"><a href="#">更多 ></a></span>新闻资讯 </div> <ul> <li><span>[ 特惠 ]</span><a href="#">掬一轮明月 表无尽惦念</a></li> <li><span>[ 公告 ]</span><a href="#">好奇金装成长裤新品上市</a></li> <li><span>[ 特惠 ]</span><a href="#">大牌闪购 · 抢!</a></li> <li><span>[ 公告 ]</span><a href="#">发福利 买车就抢千元油卡</a></li> <li><span>[ 公告 ]</span><a href="#">家电低至五折</a></li> </ul> <ul> <li><span>[ 特惠 ]</span><a href="#">掬一轮明月 表无尽惦念</a></li> <li><span>[ 公告 ]</span><a href="#">好奇金装成长裤新品上市</a></li> <li><span>[ 特惠 ]</span><a href="#">大牌闪购 · 抢!</a></li> <li><span>[ 公告 ]</span><a href="#">发福利 买车就抢千元油卡</a></li> <li><span>[ 公告 ]</span><a href="#">家电低至五折</a></li> </ul> </div> </div> <!--Begin 热门商品--> <div class="content mar_10"> <div class="hot_left_img"> <div class="img"><img src="imgs/l_img.jpg" width="188" height="188" /></div> <div class="price_bg"> <span class="price fl">¥53.00</span> <span class="fr">16R</span> </div> </div> <div class="hot_product"> <div id="featureContainer"> <div id="feature"> <div id="block"> <div id="botton-scroll"> <ul class="featureUL"> <li class="featureBox"> <div class="box"> <div class="hot_icon"><img src="imgs/hot.png" width="50" height="50" /> </div> <div class="img_bg"> <a href="Product.jsp"><img src="imgs/hot1.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="Product.jsp"> <h2>德国进口</h2> 德亚全脂纯牛奶200ml*48盒 </a> </div> <div class="price"> <font>¥<span>189</span></font> 26R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="hot_icon"><img src="imgs/hot.png" width="50" height="50" /> </div> <div class="img_bg"> <a href="Product.jsp"><img src="imgs/hot2.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="Product.jsp"> <h2>鸡尾酒</h2> 鸡尾酒/限定包装/3瓶装 </a> </div> <div class="price"> <font>¥<span>28</span></font> 25R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="hot_icon"><img src="imgs/hot.png" width="50" height="50" /> </div> <div class="img_bg"> <a href="#"><img src="imgs/hot3.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>进口狗狗饼干</h2> 进口狗狗饼干套装8折促销 </a> </div> <div class="price"> <font>¥<span>368</span></font> 18R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="hot_icon"><img src="imgs/hot.png" width="50" height="50" /> </div> <div class="img_bg"> <a href="#"><img src="imgs/hot4.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>品利特级橄榄油</h2> 750ml*4瓶装组合 西班牙原装进口 </a> </div> <div class="price"> <font>¥<span>280</span></font> 30R </div> </div> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="content mar_20"> <img src="imgs/mban_1.jpg" width="1200" height="110" /> </div> <!-- End 热门商品 --> <!--Begin 进口 生鲜--> <div class="wordstyle1 mar_10"> <span class="floor_num">1F</span> <span class="fl">进口 <b>·</b> 生鲜</span> <span class="info_mores fr"><a href="#">进口咖啡</a> | <a href="#">进口酒</a> | <a href="#">进口母婴</a> | <a href="#">新鲜蔬菜</a> | <a href="#">新鲜水果</a></span> </div> <div class="content"> <div class="fresh_left"> <div class="fre_ban"> <div id="imgPlay1"> <li><a href="#"><img src="imgs/fre_r.jpg" width="211" height="286" /></a></li> </div> </div> <div class="fresh_txt"> <div class="fresh_txt_common"> <a href="#">进口水果</a><a href="#">奇异果</a><a href="#">海鲜水产</a><a href="#">品质牛肉</a><a href="#">鲜活禽蛋</a><a href="#">进口酒</a><a href="#">进口奶粉</a><a href="#">鲜活禽蛋</a> </div> </div> </div> <div class="fresh_mid"> <ul> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_1.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_2.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_3.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_4.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_5.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_6.jpg" width="185" height="155" /></a></div> </li> </ul> </div> <div class="fresh_right"> <ul> <li><a href="#"><img src="imgs/fre_b1.jpg" width="260" height="220" /></a></li> <li><a href="#"><img src="imgs/fre_b2.jpg" width="260" height="220" /></a></li> </ul> </div> </div> <!--End 进口 生鲜--> <!--Begin 食品饮料--> <div class="wordstyle1 mar_10"> <span class="floor_num">2F</span> <span class="fl">食品饮料</span> <span class="info_mores fr"><a href="#">咖啡</a> | <a href="#">休闲零食</a> | <a href="#">饼干糕点</a> | <a href="#">冲饮谷物</a> | <a href="#">营养保健</a></span> </div> <div class="content"> <div class="food_left"> <div class="food_ban"> <div id="imgPlay2"> <li><a href="#"><img src="imgs/food_r.jpg" width="211" height="286" /></a></li> </div> </div> <div class="fresh_txt"> <div class="fresh_txt_common"> <a href="#">饼干糕点</a><a href="#">休闲零食</a><a href="#">饮料果汁</a><a href="#">牛奶乳品</a><a href="#">冲饮谷物</a><a href="#">营养保健</a><a href="#">冲饮谷物</a><a href="#">营养保健</a> </div> </div> </div> <div class="fresh_mid"> <ul> <li> <div class="name"><a href="#">莫斯利安酸奶</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_1.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">趣多多散装</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_2.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">休闲零食包</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_3.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">RIO鸡尾酒</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_4.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">不知名生物</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_5.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">进口红酒</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_6.jpg" width="185" height="155" /></a></div> </li> </ul> </div> <div class="fresh_right"> <ul> <li><a href="#"><img src="imgs/food_b1.jpg" width="260" height="220" /></a></li> <li><a href="#"><img src="imgs/food_b2.jpg" width="260" height="220" /></a></li> </ul> </div> </div> <!--End 食品饮料 --> <!--Begin 猜你喜欢--> <div class="mar_10 wordstyle1"> <span class="fl">猜你喜欢</span> </div> <div class="like"> <div id="featureContainer1"> <div id="feature1"> <div id="block1"> <div id="botton-scroll1"> <ul class="featureUL"> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/hot1.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>德国进口</h2> 德亚全脂纯牛奶200ml*48盒 </a> </div> <div class="price"> <font>¥<span>189</span></font> 26R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/hot2.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>Rio鸡尾酒</h2> 鸡尾酒/限定包装/3瓶装 </a> </div> <div class="price"> <font>¥<span>88</span></font> 25R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/hot3.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>进口狗狗饼干</h2> 进口狗狗饼干套装8折促销 </a> </div> <div class="price"> <font>¥<span>368</span></font> 18R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/hot4.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>品利特级橄榄油</h2> 750ml*4瓶装组合 西班牙原装进口 </a> </div> <div class="price"> <font>¥<span>280</span></font> 30R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/food_1.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>莫斯利安酸奶</h2> 450ml*12瓶装组合 优质好酸奶 </a> </div> <div class="price"> <font>¥<span>96</span></font> 25R </div> </div> </li> </ul> </div> </div> </div> </div> </div> <!--End 猜你喜欢--> <!--返回顶部--> <div class="gotop"> <a href="buycar.jsp"> <dl> <dt><img src="imgs/gt1.png"/></dt> <dd>去购<br />物车</dd> </dl> </a> <% if(user == null) { out.println("<a href=\"#\" id=\"not_admin1\">\n" + "\t\t\t<dl>\n" + "\t\t\t\t<dt><img src=\"imgs/gt3.png\"/></dt>\n" + "\t\t\t\t<dd>个人<br />中心</dd>\n" + "\t\t\t</dl>\n" + "\t\t</a>"); } else { out.println("<a href=\"personcenter.jsp\" >\n" + "\t\t\t<dl>\n" + "\t\t\t\t<dt><img src=\"imgs/gt3.png\"/></dt>\n" + "\t\t\t\t<dd>个人<br />中心</dd>\n" + "\t\t\t</dl>\n" + "\t\t</a>"); } %> <a href="#" class="toptop"> <dl> <dt><img src="imgs/gt4.png"/></dt> <dd>返回<br />顶部</dd> </dl> </a> </div> <!--Begin Footer--> <div class="behind_bottom_bg behind_bottom_common"> <div class="behind_bottom"> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b1.png" width="62" height="62" /></td> <td> <h2>正品保障</h2>正品行货 放心购买 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b2.png" width="62" height="62" /></td> <td> <h2>满38包邮</h2>满38包邮 免运费 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b3.png" width="62" height="62" /></td> <td> <h2>天天低价</h2>天天低价 畅选无忧 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b4.png" width="62" height="62" /></td> <td> <h2>准时送达</h2>收货时间由你做主 </td> </tr> </table> </div> </div> <div class="behind_nav" > <dl> <dt><a href="#">新手上路</a></dt> <dd><a href="#">售后流程</a></dd> <dd><a href="#">购物流程</a></dd> <dd><a href="#">订购方式</a></dd> <dd><a href="#">隐私声明</a></dd> <dd><a href="#">推荐分享说明</a></dd> </dl> <dl> <dt><a href="#">配送与支付</a></dt> <dd><a href="#">货到付款区域</a></dd> <dd><a href="#">配送支付查询</a></dd> <dd><a href="#">支付方式说明</a></dd> </dl> <dl> <dt><a href="#">会员中心</a></dt> <dd><a href="#">资金管理</a></dd> <dd><a href="#">我的收藏</a></dd> <dd><a href="#">我的订单</a></dd> </dl> <dl> <dt><a href="#">服务保证</a></dt> <dd><a href="#">退换货原则</a></dd> <dd><a href="#">售后服务保证</a></dd> <dd><a href="#">产品质量保证</a></dd> </dl> <dl> <dt><a href="#">联系我们</a></dt> <dd><a href="/controller.ManagementServlet">网站故障报告</a></dd> <dd><a href="/controller.ManagementServlet">购物咨询</a></dd> <dd><a href="/controller.ManagementServlet">投诉与建议</a></dd> </dl> <div class="behind_tell_bg"> <a href="#" class="bottom_style1">新浪微博</a> <a href="#" class="bottom_style2">腾讯微博</a> <p class="toptop"> 服务热线:<br/> <span>400-123-4567</span> </p> </div> </div> <div class="bottom_bg"> <div class="bottom"> 备案/许可证编号:京ICP备120093xxxx号 Copyright © 2015-2019 进口商城商城网 All Rights Reserved. <br /> <a href="#"> <img src="imgs/b_1.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_2.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_3.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_4.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_5.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_6.gif" width="98" height="33" > </a> </div> </div> <!--End Footer --> </div> <script> document.getElementById("not_admin").onclick = function not_admin() { alert("您需要先登录"); } document.getElementById("not_admin1").onclick = function not_admin() { alert("您需要先登录"); } </script> </body> </html><%@ page import="bean.user" %> <%@ page import="java.util.HashMap" %> <%@ page import="java.util.Iterator" %> <%@ page import="java.util.Map" %> <%@ page import="bean.product" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%user user = (bean.user)session.getAttribute("user");%> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>零食巴士</title> <link rel="stylesheet" type="text/css" href="style.css"/> <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script> <script type="text/javascript" src="js/menu.js"></script> <script type="text/javascript" src="js/lunbo_adv.js"></script> <script type="text/javascript" src="js/toptop.js"> </script> </head> <body> <!-- Head Begin --> <div class="headbg"> <div class="head"> <!-- Begin 所在收货地址 --> <!-- 用<span> 来组合行内元素 --> <span class="head_city_back"> <span class="fl">送货至: </span> <span class="head_city"> <span></span> <div class="head_city_bg"> <div class="head_city_temp"></div> <div class="head_city_common"> <h2>请选择所在的收货地区</h2> <table class="common_table" border="0" cellpadding="0" cellspacing="0" style="width: 235px; margin-top: 10px;"> <tr> <th>A</th> <td class="common_head"><span>安徽</span><span>澳门</span></td> </tr> <tr> <th>B</th> <td class="common_head"><span>北京</span></td> </tr> <tr> <th>C</th> <td class="common_head"><span>重庆</span></td> </tr> <tr> <th>F</th> <td class="common_head"><span>福建</span></td> </tr> <tr> <th>G</th> <td class="common_head"><span>广东</span><span>广西</span><span>贵州</span><span>甘肃</span></td> </tr> <tr> <th>H</th> <td class="common_head"><span>河北</span><span>河南</span><span>黑龙江</span><span>海南</span><span>湖北</span><span>湖南</span></td> </tr> <tr> <th>J</th> <td class="common_head"><span>江苏</span><span>吉林</span><span>江西</span></td> </tr> <tr> <th>L</th> <td class="common_head"><span>辽宁</span></td> </tr> <tr> <th>N</th> <td class="common_head"><span>内蒙古</span><span>宁夏</span></td> </tr> <tr> <th>Q</th> <td class="common_head"><span>上海</span><span>山东</span><span>山西</span><span>四川</span><span>陕西</span></td> </tr> <tr> <th>T</th> <td class="common_head"><span>台湾</span><span>天津</span></td> </tr> <tr> <th>X</th> <td class="common_head"><span>西藏</span><span>香港</span><span>新疆</span></td> </tr> <tr> <th>Y</th> <td class="common_head"><span>云南</span></td> </tr> <tr> <th>Z</th> <td class="common_head"><span class="common_check">浙江</span></td> </tr> </table> </div> </div> </span> </span> <!-- End 收货所在地 --> <!-- Begin 任务栏 --> <span class="fr"> <% if(!(user == null)) { out.println("\t\t\t\t\t<span class=\"fl\">\n" + "\t\t\t\t\t\t<a href=\"information.jsp\">"); out.println("欢迎回来!" + user.getName()); out.println("</a>\n" + "\t\t\t\t\t\t<a href=\"regist.jsp\" style=\"color: red;\">免费注册</a>\n" + "\t\t\t\t\t\t | <a href=\"#\">我的订单</a>\n" + "\t\t\t\t\t\t |\n" + "\n" + "\t\t\t\t\t</span>"); } else { out.println("\t\t\t\t\t<span class=\"fl\">\n" + "\t\t\t\t\t\t<a href=\"/controller.LoginWebServlet\">你好,请登录 </a>\n" + "\t\t\t\t\t\t<a href=\"regist.jsp\" style=\"color: red;\">免费注册</a>\n" + "\t\t\t\t\t\t | <a href=\"#\">我的订单</a>\n" + "\t\t\t\t\t\t |\n" + "\n" + "\t\t\t\t\t</span>"); } %> <span class="headshow"> <div class="headshow_list"> <a href="#">收藏夹</a> <div class="headshow_list_bg"> <div class="head_city_temp"></div> <div class="headshow_list_common"> <ul> <li> <a href="#">收藏的宝贝</a> </li> <li> <a href="#">收藏的店铺</a> </li> </ul> </div> </div> </div> <% if(!(user == null)) { out.println("\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"headshow_list\">\n" + "\t\t\t\t\t\t\t<a href=\"#\">客户服务</a>\n" + "\t\t\t\t\t\t\t<div class=\"headshow_list_bg\">\n" + "\t\t\t\t\t\t\t\t<div class=\"head_city_temp\"></div>\n" + "\t\t\t\t\t\t\t\t<div class=\"headshow_list_common\">\n" + "\t\t\t\t\t\t\t\t\t<ul>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"personcenter.jsp\">个人中心</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">智能助手</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">人工客服</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t</ul>\n" + "\t\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t</div>"); } else { out.println("\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"headshow_list\">\n" + "\t\t\t\t\t\t\t<a href=\"#\">客户服务</a>\n" + "\t\t\t\t\t\t\t<div class=\"headshow_list_bg\">\n" + "\t\t\t\t\t\t\t\t<div class=\"head_city_temp\"></div>\n" + "\t\t\t\t\t\t\t\t<div class=\"headshow_list_common\">\n" + "\t\t\t\t\t\t\t\t\t<ul>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" id=\"not_admin\">个人中心</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">智能助手</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t\t<li>\n" + "\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">人工客服</a>\n" + "\t\t\t\t\t\t\t\t\t\t</li>\n" + "\t\t\t\t\t\t\t\t\t</ul>\n" + "\t\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t\t</div>\n" + "\t\t\t\t\t\t</div>"); } %> <div class="headshow_list"> <a href="#">网站导航</a> <div class="headshow_list_bg"> <div class="head_city_temp"></div> <div class="headshow_list_common"> <ul> <li> <a href="#">主题市场</a> </li> <li> <a href="newidea.jsp">创意市场</a> </li> <li> <a href="#">精彩推荐集</a> </li> </ul> </div> </div> </div> </span> <span class="fl"> | 关注我们: </span> <span class="show_style"> <a href="#" class="style1">新浪</a> <a href="#" class="style2">微信</a> </span> <span class="fr"> | <a href="#"> 手机版 <img src="imgs/s_tel.png" align="absmiddle"> </a> </span> </span> </div> </div> <!-- End 任务栏 --> <!-- Begin 任务栏下面 logo 搜索 购物车--> <div class="top"> <div class="logo"> <a href="index.jsp"> <img src="imgs/logo.png" > </a> </div> <div class="search"> <form action=""> <input type="text" value="" class="search_input" /> <input type="submit" value="搜索" class="search_button" /> </form> <span class="f1"> <a href="#">蛋糕</a> <a href="#">咖啡</a> <a href="#">新鲜美食</a> <a href="#">日用品</a> </span> </div> <div class="info_car"> <div class="car_temp">购物车 [ <span> <% if(!(user == null)) { out.println(user.getShoppingCart().getCart().size()); } else { out.println(0); } %> </span> ]</div> <div class="car_bg"> <% if(!(user == null)) { out.println("<ul class=\"cars\">"); HashMap map = user.getShoppingCart().getCart(); Iterator iterator = map.entrySet().iterator(); double count = 0.0; int num = 0; while(iterator.hasNext()) { Map.Entry entry = (Map.Entry)iterator.next(); out.println("\t\t\t\t<li>\n" + "\t\t\t\t\t<div class=\"img\">\n" + "\t\t\t\t\t\t<a href=\"#\">\n" + "\t\t\t\t\t\t\t<img src=\"imgs/fre_2.jpg\" width=\"58\" height=\"58\" >\n" + "\t\t\t\t\t\t</a>\n" + "\t\t\t\t\t</div>\n" + "\t\t\t\t\t<div class=\"name\">\n" + "\t\t\t\t\t\t<a href=\"#\">"); product product = (bean.product)entry.getKey(); count = count + (product.getPrice() * (int)entry.getValue()); out.println(product.getProduct_name() + "</a>\n" + "\t\t\t\t\t</div>\n" + "\t\t\t\t\t<div class=\"price\">\n" + "\t\t\t\t\t\t<font color=\"#FF4E00\"> ¥"); out.println(product.getPrice() + "</font>X" + entry.getValue() + "</div></li>"); num++; } if(num == 0) { out.println("\t\t\t<div class=\"un_login\">\n" + "\t\t\t\t还没有商品呢!\n" + "\t\t\t\t<a href=\"food.jsp\" style=\"color: #FF4E00;\">现在就去选购</a>\n" + "\t\t\t\t心怡的商品!\n" + "\t\t\t</div>"); } else { out.println("\t\t\t</ul>"); out.println("\t\t\t<div class=\"price_sum\">\n" + "\t\t\t\t共计\n" + "\t\t\t\t<font color=\"#FF4E00\"> ¥</font>\n" + "\t\t\t\t<span>"); out.println(count); out.println("</span>\n" + "\t\t\t</div>\n" + "\t\t\t<div class=\"price_account\">\n" + "\t\t\t\t<a href=\"buycar.jsp\">去购物车结算</a>\n" + "\t\t\t</div>"); } } else { out.println("\t\t\t<div class=\"un_login\">\n" + "\t\t\t\t还未登录!\n" + "\t\t\t\t<a href=\"login.jsp\" style=\"color: #FF4E00;\">马上登录</a>\n" + "\t\t\t\t查看购物车!\n" + "\t\t\t</div>"); } %> </div> </div> </div> <!--End Head--> <!--Begin Menu --> <div class="menu_bg"> <div class="menu"> <!--Begin 商品分类详情 Begin--> <div class="nav"> <div class="nav_t">全部商品分类</div> <div class="leftNav"> <ul> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> <div class="zj"> <div class="zj_l"> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> </div> <div class="zj_r"> <a href="#"><img src="imgs/food_b1.jpg" width="236" height="200" /></a> <a href="#"><img src="imgs/food_b2.jpg" width="236" height="200" /></a> </div> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> <div class="zj" style="top:-40px;"> <div class="zj_l"> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力2</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> <div class="zj_l_c"> <h2>零食 / 糖果 / 巧克力</h2> <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>| <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>| <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>| </div> </div> <div class="zj_r"> <a href="#"><img src="imgs/fre_b1.jpg" width="236" height="200" /></a> <a href="#"><img src="imgs/fre_b2.jpg" width="236" height="200" /></a> </div> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav1.png" /></span> <span class="fl">进口食品、生鲜</span> </div> </li> <li> <div class="fj"> <span class="n_img"><span></span><img src="imgs/nav2.png" /></span> <span class="fl">食品、饮料、酒</span> </div> </li> </ul> </div> </div> <!--End 商品分类详情 End--> <ul class="menu_r"> <li><a href="index.jsp">首页</a></li> <li><a href="/controller.FoodServlet">美食</a></li> <li><a href="#">生鲜</a></li> <li><a href="#">团购</a></li> <div id="showtime"></div> </ul> <div class="m_ad"> 双十一送好礼!</div> </div> </div> <!--End Menu--> <!-- Begin 具体内容 --> <div class="i_bg bg_color"> <div class="i_ban_bg"> <!--Begin Banner--> <div class="banner"> <!--横幅广告--> <div id="adv"> <dl> <dt> <a href="#" id="a1">1</a> <a href="#" id="a2">2</a> <a href="#" id="a3">3</a> </dt> <dd> <a href="#"><img src="imgs/ban1.jpg" id="banner" alt="广告" /></a> </dd> </dl> </div> </div> <!--End Banner End--> <div class="inews"> <div class="news_t"> <span class="fr"><a href="#">更多 ></a></span>新闻资讯 </div> <ul> <li><span>[ 特惠 ]</span><a href="#">掬一轮明月 表无尽惦念</a></li> <li><span>[ 公告 ]</span><a href="#">好奇金装成长裤新品上市</a></li> <li><span>[ 特惠 ]</span><a href="#">大牌闪购 · 抢!</a></li> <li><span>[ 公告 ]</span><a href="#">发福利 买车就抢千元油卡</a></li> <li><span>[ 公告 ]</span><a href="#">家电低至五折</a></li> </ul> <ul> <li><span>[ 特惠 ]</span><a href="#">掬一轮明月 表无尽惦念</a></li> <li><span>[ 公告 ]</span><a href="#">好奇金装成长裤新品上市</a></li> <li><span>[ 特惠 ]</span><a href="#">大牌闪购 · 抢!</a></li> <li><span>[ 公告 ]</span><a href="#">发福利 买车就抢千元油卡</a></li> <li><span>[ 公告 ]</span><a href="#">家电低至五折</a></li> </ul> </div> </div> <!--Begin 热门商品--> <div class="content mar_10"> <div class="hot_left_img"> <div class="img"><img src="imgs/l_img.jpg" width="188" height="188" /></div> <div class="price_bg"> <span class="price fl">¥53.00</span> <span class="fr">16R</span> </div> </div> <div class="hot_product"> <div id="featureContainer"> <div id="feature"> <div id="block"> <div id="botton-scroll"> <ul class="featureUL"> <li class="featureBox"> <div class="box"> <div class="hot_icon"><img src="imgs/hot.png" width="50" height="50" /> </div> <div class="img_bg"> <a href="Product.jsp"><img src="imgs/hot1.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="Product.jsp"> <h2>德国进口</h2> 德亚全脂纯牛奶200ml*48盒 </a> </div> <div class="price"> <font>¥<span>189</span></font> 26R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="hot_icon"><img src="imgs/hot.png" width="50" height="50" /> </div> <div class="img_bg"> <a href="Product.jsp"><img src="imgs/hot2.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="Product.jsp"> <h2>鸡尾酒</h2> 鸡尾酒/限定包装/3瓶装 </a> </div> <div class="price"> <font>¥<span>28</span></font> 25R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="hot_icon"><img src="imgs/hot.png" width="50" height="50" /> </div> <div class="img_bg"> <a href="#"><img src="imgs/hot3.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>进口狗狗饼干</h2> 进口狗狗饼干套装8折促销 </a> </div> <div class="price"> <font>¥<span>368</span></font> 18R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="hot_icon"><img src="imgs/hot.png" width="50" height="50" /> </div> <div class="img_bg"> <a href="#"><img src="imgs/hot4.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>品利特级橄榄油</h2> 750ml*4瓶装组合 西班牙原装进口 </a> </div> <div class="price"> <font>¥<span>280</span></font> 30R </div> </div> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="content mar_20"> <img src="imgs/mban_1.jpg" width="1200" height="110" /> </div> <!-- End 热门商品 --> <!--Begin 进口 生鲜--> <div class="wordstyle1 mar_10"> <span class="floor_num">1F</span> <span class="fl">进口 <b>·</b> 生鲜</span> <span class="info_mores fr"><a href="#">进口咖啡</a> | <a href="#">进口酒</a> | <a href="#">进口母婴</a> | <a href="#">新鲜蔬菜</a> | <a href="#">新鲜水果</a></span> </div> <div class="content"> <div class="fresh_left"> <div class="fre_ban"> <div id="imgPlay1"> <li><a href="#"><img src="imgs/fre_r.jpg" width="211" height="286" /></a></li> </div> </div> <div class="fresh_txt"> <div class="fresh_txt_common"> <a href="#">进口水果</a><a href="#">奇异果</a><a href="#">海鲜水产</a><a href="#">品质牛肉</a><a href="#">鲜活禽蛋</a><a href="#">进口酒</a><a href="#">进口奶粉</a><a href="#">鲜活禽蛋</a> </div> </div> </div> <div class="fresh_mid"> <ul> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_1.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_2.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_3.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_4.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_5.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">新鲜美味 进口美食</a></div> <div class="price"> <font>¥<span>198.00</span></font> 26R </div> <div class="img"><a href="#"><img src="imgs/fre_6.jpg" width="185" height="155" /></a></div> </li> </ul> </div> <div class="fresh_right"> <ul> <li><a href="#"><img src="imgs/fre_b1.jpg" width="260" height="220" /></a></li> <li><a href="#"><img src="imgs/fre_b2.jpg" width="260" height="220" /></a></li> </ul> </div> </div> <!--End 进口 生鲜--> <!--Begin 食品饮料--> <div class="wordstyle1 mar_10"> <span class="floor_num">2F</span> <span class="fl">食品饮料</span> <span class="info_mores fr"><a href="#">咖啡</a> | <a href="#">休闲零食</a> | <a href="#">饼干糕点</a> | <a href="#">冲饮谷物</a> | <a href="#">营养保健</a></span> </div> <div class="content"> <div class="food_left"> <div class="food_ban"> <div id="imgPlay2"> <li><a href="#"><img src="imgs/food_r.jpg" width="211" height="286" /></a></li> </div> </div> <div class="fresh_txt"> <div class="fresh_txt_common"> <a href="#">饼干糕点</a><a href="#">休闲零食</a><a href="#">饮料果汁</a><a href="#">牛奶乳品</a><a href="#">冲饮谷物</a><a href="#">营养保健</a><a href="#">冲饮谷物</a><a href="#">营养保健</a> </div> </div> </div> <div class="fresh_mid"> <ul> <li> <div class="name"><a href="#">莫斯利安酸奶</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_1.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">趣多多散装</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_2.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">休闲零食包</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_3.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">RIO鸡尾酒</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_4.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">不知名生物</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_5.jpg" width="185" height="155" /></a></div> </li> <li> <div class="name"><a href="#">进口红酒</a></div> <div class="price"> <font>¥<span>96.00</span></font> 25R </div> <div class="img"><a href="#"><img src="imgs/food_6.jpg" width="185" height="155" /></a></div> </li> </ul> </div> <div class="fresh_right"> <ul> <li><a href="#"><img src="imgs/food_b1.jpg" width="260" height="220" /></a></li> <li><a href="#"><img src="imgs/food_b2.jpg" width="260" height="220" /></a></li> </ul> </div> </div> <!--End 食品饮料 --> <!--Begin 猜你喜欢--> <div class="mar_10 wordstyle1"> <span class="fl">猜你喜欢</span> </div> <div class="like"> <div id="featureContainer1"> <div id="feature1"> <div id="block1"> <div id="botton-scroll1"> <ul class="featureUL"> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/hot1.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>德国进口</h2> 德亚全脂纯牛奶200ml*48盒 </a> </div> <div class="price"> <font>¥<span>189</span></font> 26R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/hot2.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>Rio鸡尾酒</h2> 鸡尾酒/限定包装/3瓶装 </a> </div> <div class="price"> <font>¥<span>88</span></font> 25R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/hot3.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>进口狗狗饼干</h2> 进口狗狗饼干套装8折促销 </a> </div> <div class="price"> <font>¥<span>368</span></font> 18R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/hot4.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>品利特级橄榄油</h2> 750ml*4瓶装组合 西班牙原装进口 </a> </div> <div class="price"> <font>¥<span>280</span></font> 30R </div> </div> </li> <li class="featureBox"> <div class="box"> <div class="img_bg"> <a href="#"><img src="imgs/food_1.jpg" width="160" height="136" /></a> </div> <div class="name"> <a href="#"> <h2>莫斯利安酸奶</h2> 450ml*12瓶装组合 优质好酸奶 </a> </div> <div class="price"> <font>¥<span>96</span></font> 25R </div> </div> </li> </ul> </div> </div> </div> </div> </div> <!--End 猜你喜欢--> <!--返回顶部--> <div class="gotop"> <a href="buycar.jsp"> <dl> <dt><img src="imgs/gt1.png"/></dt> <dd>去购<br />物车</dd> </dl> </a> <% if(user == null) { out.println("<a href=\"#\" id=\"not_admin1\">\n" + "\t\t\t<dl>\n" + "\t\t\t\t<dt><img src=\"imgs/gt3.png\"/></dt>\n" + "\t\t\t\t<dd>个人<br />中心</dd>\n" + "\t\t\t</dl>\n" + "\t\t</a>"); } else { out.println("<a href=\"personcenter.jsp\" >\n" + "\t\t\t<dl>\n" + "\t\t\t\t<dt><img src=\"imgs/gt3.png\"/></dt>\n" + "\t\t\t\t<dd>个人<br />中心</dd>\n" + "\t\t\t</dl>\n" + "\t\t</a>"); } %> <a href="#" class="toptop"> <dl> <dt><img src="imgs/gt4.png"/></dt> <dd>返回<br />顶部</dd> </dl> </a> </div> <!--Begin Footer--> <div class="behind_bottom_bg behind_bottom_common"> <div class="behind_bottom"> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b1.png" width="62" height="62" /></td> <td> <h2>正品保障</h2>正品行货 放心购买 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b2.png" width="62" height="62" /></td> <td> <h2>满38包邮</h2>满38包邮 免运费 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b3.png" width="62" height="62" /></td> <td> <h2>天天低价</h2>天天低价 畅选无忧 </td> </tr> </table> <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0"> <tr> <td width="72"><img src="imgs/b4.png" width="62" height="62" /></td> <td> <h2>准时送达</h2>收货时间由你做主 </td> </tr> </table> </div> </div> <div class="behind_nav" > <dl> <dt><a href="#">新手上路</a></dt> <dd><a href="#">售后流程</a></dd> <dd><a href="#">购物流程</a></dd> <dd><a href="#">订购方式</a></dd> <dd><a href="#">隐私声明</a></dd> <dd><a href="#">推荐分享说明</a></dd> </dl> <dl> <dt><a href="#">配送与支付</a></dt> <dd><a href="#">货到付款区域</a></dd> <dd><a href="#">配送支付查询</a></dd> <dd><a href="#">支付方式说明</a></dd> </dl> <dl> <dt><a href="#">会员中心</a></dt> <dd><a href="#">资金管理</a></dd> <dd><a href="#">我的收藏</a></dd> <dd><a href="#">我的订单</a></dd> </dl> <dl> <dt><a href="#">服务保证</a></dt> <dd><a href="#">退换货原则</a></dd> <dd><a href="#">售后服务保证</a></dd> <dd><a href="#">产品质量保证</a></dd> </dl> <dl> <dt><a href="#">联系我们</a></dt> <dd><a href="/controller.ManagementServlet">网站故障报告</a></dd> <dd><a href="/controller.ManagementServlet">购物咨询</a></dd> <dd><a href="/controller.ManagementServlet">投诉与建议</a></dd> </dl> <div class="behind_tell_bg"> <a href="#" class="bottom_style1">新浪微博</a> <a href="#" class="bottom_style2">腾讯微博</a> <p class="toptop"> 服务热线:<br/> <span>400-123-4567</span> </p> </div> </div> <div class="bottom_bg"> <div class="bottom"> 备案/许可证编号:京ICP备120093xxxx号 Copyright © 2015-2019 进口商城商城网 All Rights Reserved. <br /> <a href="#"> <img src="imgs/b_1.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_2.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_3.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_4.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_5.gif" width="98" height="33" > </a> <a href="#"> <img src="imgs/b_6.gif" width="98" height="33" > </a> </div> </div> <!--End Footer --> </div> <script> document.getElementById("not_admin").onclick = function not_admin() { alert("您需要先登录"); } document.getElementById("not_admin1").onclick = function not_admin() { alert("您需要先登录"); } </script> </body> </html>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。