链接: https://pan.baidu.com/s/17C0bcu24Q77dfx8-TjGHEQ 提取码: ryx6
<html>
<head>
<title>产品详情页面title>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<link href="css/common_07.css" type="text/css" rel="Stylesheet"/>
<link href="css/product.css" type="text/css" rel="Stylesheet"/>
<link href="css/product_left.css" type="text/css" rel="Stylesheet"/>
<link href="css/product_right.css" type="text/css" rel="Stylesheet"/>
<link href="css/product_right_detail.css" type="text/css" rel="Stylesheet"/>
<link href="css/product_right_more.css" type="text/css" rel="Stylesheet"/>
head>
<body>
<div id="side_panel">
<a class="research" href="3"><b>b>调查问卷a>
<a class="gotop" href="#"><b>b>返回顶部a>
div>
<div id="top">
<div id="top_box">
<img src="Images/star.jpg"/>
<a href="#">收藏京东 a>
<pre> <br> pre>
<div class="rt">
<ul>
<li>您好,欢迎来到京东!<a href="#">[登录]a> <a href="#">[免费注册]a>li>
<li><b>b><a href="#">我的订单a>li>
<li class="vip"><b>b><a href="#">会员俱乐部a>li>
<li class="dakehu"><b>b><a href="#">企业频道a>li>
<li id="app_jd" class="app_jd" name="show_hide">
<b>b>
<label class="rt">
<a href="#">手机京东a>
label>
<div id="app_jd_items">
<div class="app">
<h3>京东客户端h3>
<a href="#" class="app">a>
<a href="#" class="android">a>
div>
<div class="bank">
<h3>网银钱包客户端h3>
<a href="#" class="app">a>
<a href="#" class="android">a>
div>
div>
li>
<li id="service" class="service" name="show_hide">
<b>b>
<label class="rt">
<a href="#"> 客户服务a>
label>
<ul id="service_items">
<li><a href="#">帮助中心a>li>
<li><a href="#">售后服务a>li>
<li><a href="#">在线客服a>li>
<li><a href="#">投诉中心a>li>
<li><a href="#">客服邮箱a>li>
ul>
li>
<li id="site_nav" class="site_nav" name="show_hide">
<b>b>
<label class="rt">
<a href="#">网站导航a>
label>
<div id="site_nav_items">
<h3>特色栏目h3>
<ul>
<li><a href="#">京东通信a>li>
<li><a href="#">校园之星a>li>
<li><a href="#">视频购物a>li>
<li><a href="#">京东社区a>li>
<li><a href="#">在线读书a>li>
<li><a href="#">装机大师a>li>
<li><a href="#">京东 E 卡a>li>
<li><a href="#">家装城a>li>
<li><a href="#">搭配购a>li>
<li><a href="#">我喜欢a>li>
<li><a href="#">游戏社区a>li>
ul>
<div>div>
<h3>企业服务h3>
<ul>
<li><a href="#">企业采购a>li>
<li><a href="#">办公直通车a>li>
ul>
<div>div>
<h3>旗下网站h3>
<ul>
<li><a href="#">English Sitea>li>
ul>
div>
li>
ul>
div>
div>
div>
<div class="clear">div>
<div id="top_main">
<a href="#" class="lf"><img src="images/logo-201305.png" alt="LOGO"/>a>
<div id="search_box" class="lf">
<div id="search_helper">
<p>卫<b>33衣b><span>约1120个商品span>p>
<p>卫<b>衣b><span>约1120个商品span>p>
<ul>
<li>在<b>男装 > 卫衣b>分类中搜索<span>约11731个商品span>li>
<li>在<b>女装 > 卫衣b>分类中搜索<span>约10253个商品span>li>
ul>
<p>卫<b>新b><span>约1120个商品span>p>
<p>卫<b>生纸b><span>约5100个商品span>p>
<p>卫<b>浴b><span>约12758商品span>p>
<p>卫<b>裤b><span>约1120个商品span>p>
<p>卫<b>衣 套装b><span>约1486个商品span>p>
<p>卫<b>衣 男b><span>约210个商品span>p>
<p>卫<b>生纸 套装b><span>约631个商品span>p>
div>
<div class="search">
<input id="txtSearch" type="text" class="text"/>
<input class="button" name="" type="button" value="搜索"/>
div>
<div class="hot_words">
<span>热门搜索:span>
<a href="#">家纺11月大促a>
<a href="#">彩虹电热毯a>
<a href="#">博洋家纺a>
<a href="#">霞珍a>
<a href="#">床垫床褥a>
<a href="#">九洲鹿被子a>
<a href="#">南极人家纺a>
div>
div>
<div id="my_jd" class="lf" name='show_hide'>
<div class="my_jd_mt">
我的京东<b>b>
div>
<div id="my_jd_items">
<p>您好,请<a href="#">登录a>p>
<ul class="lf">
<li><a href="#">待处理订单a>li>
<li><a href="#">咨询回复a>li>
<li><a href="#">降价商品a>li>
<li><a href="#">返修退换货a>li>
<li><a href="#">优惠券a>li>
ul>
<ul class="lf">
<li><a href="#">我的关注 >a>li>
<li><a href="#">我的京豆 >a>li>
<li><a href="#">我的理财 >a>li>
<li><a href="#">我的白条 >a>li>
ul>
div>
div>
<div id="settle_up" class="lf" name='show_hide'>
<div class="settle_up_mt">
去购物车结算
<b>b>
div>
<div id="settle_up_items">
<div id="no_goods">
<b>b>
购物车中还没有商品,赶紧去选购吧
div>
div>
div>
div>
<div class="clear">div>
<div id="nav">
<div id="category" class="category" name='show_hide'>
<div id="cate_mt">
<a href="#">全部商品分类a>
<span>span>
div>
<div id="category_items">
<div class="cate_item">
<h3>
<a href="#">图书a><span>、span>
<a href="#">音像a><span>、span>
<a href="#">数字商品a>
h3>
<div class="sub_cate_box">
<div class="sub_cate_items">
<div>
<a href="#">电子书a>
<p>
<a href="#">免费a>
<a href="#">小说a>
<a href="#">励志与成功a>
<a href="#">婚恋/两性a>
<a href="#">文学a>
<a href="#">经营a>
<a href="#">畅读VIPa>
p>
div>
<div>
<a href="#">数字音乐a>
<p>
<a href="#">通俗流行a>
<a href="#">古典音乐a>
<a href="#">摇滚说唱a>
<a href="#">爵士蓝调a>
<a href="#">乡村民谣a>
<a href="#">有声读物a>
p>
div>
<div>
<a href="#">音像a>
<p>
<a href="#">音乐a>
<a href="#">影视a>
<a href="#">教育音像a>
<a href="#">游戏a>
p>
div>
<div>
<a href="#">文艺a>
<p>
<a href="#">小说a>
<a href="#">文学a>
<a href="#">青春文学a>
<a href="#">传记a>
<a href="#">艺术a>
p>
div>
div>
<div class="sub_cate_banner">
<div><img src="Images/cate_banner_01.jpg"/>div>
<div><img src="Images/cate_banner_02.jpg"/>div>
<div>
<p>推荐品牌出版商/书店p>
<ul>
<li><a href="#">中华书局a>li>
<li><a href="#">人民邮电出版社a>li>
<li><a href="#">上海世纪出版股份有限公司a>li>
<li><a href="#">电子工业出版社a>li>
<li><a href="#">三联书店a>li>
<li><a href="#">浙江少年儿童出版社a>li>
<li><a href="#">人民文学出版社a>li>
<li><a href="#">外语教学与研究出版社a>li>
<li><a href="#">中信出版社a>li>
<li><a href="#">化学工业出版社a>li>
<li><a href="#">北京大学出版社a>li>
ul>
div>
div>
div>
div>
<div class="cate_item">
<h3>
<a href="#">家用电器a>
h3>
<div class="sub_cate_box">
<div class="sub_cate_items">
<div>
<a href="#">大家电a>
<p>
<a href="#">家电爆品a>
<a href="#">平板电视a>
<a href="#">空调a>
<a href="#">冰箱a>
<a href="#">洗衣机a>
<a href="#">家庭影院a>
<a href="#">DVDa>
<a href="#">迷你音响a>
<a href="#">烟机/灶具a>
<a href="#">热水器a>
<a href="#">消毒柜/洗碗机a>
<a href="#">酒柜/冷柜a>
<a href="#">家电配件a>
p>
div>
<div>
<a href="#">生活电器a>
<p>
<a href="#">取暖电器a>
<a href="#">净化器加湿器a>
<a href="#">扫地机器人a>
<a href="#">吸尘器a>
p>
div>
<div>
<a href="#">厨房电器a>
<p>
<a href="#">电压力锅a>
<a href="#">电饭煲a>
<a href="#">豆浆机a>
p>
div>
<div>
<a href="#">五金家电a>
<p>
<a href="#">电动工具a>
<a href="#">手动工具a>
<a href="#">仪器仪表a>
<a href="#">浴霸/排气扇a>
<a href="#">灯具a>
<a href="#">洁身器a>
<a href="#">LED灯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>
p>
div>
div>
<div class="sub_cate_banner">
div>
div>
div>
div>
div>
<div id="nav_items">
<ul>
<li><a href="#">首页a>li>
<li><a href="#">服装城a>li>
<li><a href="#">食品a>li>
<li><a href="#">团购a>li>
<li><a href="#">夺宝岛a>li>
<li><a href="#">闪购a>li>
<li><a href="#">金融a>li>
ul>
div>
div>
<div class="clear">div>
<div id="main">
<div class="bread-crumb">
<a href="#"><b>家居家装b>a>
<a href="#">清洁用品a>
<span>>span>
<a href="#">衣物清洁a>
<span>>span>
<a href="#">卫新a>
<span>>span>
<a href="#">卫新洗衣液a>
div>
<div id="product_intro">
<div id="preview">
<p id="medimImgContainer">
<img id="mediumImg" src="images/products/product-s1-m.jpg"/>
<span id="mask">span>
<span id="maskTop">span>
<span id="largeImgContainer">
<img id="loading" src="images/loading.gif"/>
<img id="largeImg"/>
span>
p>
<h1>
<a class="backward_disabled">a>
<a class="forward_disabled">a>
<div>
<ul id="icon_list">
<li><img src="images\products\product-s1.jpg"/>li>
<li><img src="images\products\product-s2.jpg"/>li>
<li><img src="images\products\product-s3.jpg"/>li>
<li><img src="images\products\product-s4.jpg"/>li>
<li><img src="images\products\product-s1.jpg"/>li>
<li><img src="images\products\product-s2.jpg"/>li>
<li><img src="images\products\product-s3.jpg"/>li>
<li><img src="images\products\product-s4.jpg"/>li>
ul>
div>
h1>
<div id="short_share">
<a href="#" class="lf">查看大图a>
<span class="lf">span>
<div class="lf" id="dd" style="width:155px;">
<span>分享到:span>
<a class="share_sina" href="#">a>
<a class="share_qq" href="#">a>
<a class="share_renren" href="#">a>
<a class="share_kaixin" style="display:none;" href="#">a>
<a class="share_douban" style="display:none;" href="#">a>
<a class="share_more" id='shareMore'><b>b>a>
div>
div>
div>
<h1><span>卫新 薰衣草洗衣液 4.26kgspan><b>与威露士一起巩固健康生活b>h1>
<ul id="summary">
<li id="summary_price">
<div class="title">京 东 价:div>
<div class="content">
<b>¥39.90b>
<a href="#">(降价通知)a>
div>
li>
<li id="summary_market">
<div class="title">商品编号:div>
<div class="content">
<span>960148span>
div>
li>
<li id="summary_grade">
<div class="title">商品评分:div>
<div class="content">
<span>span>
<a href="#">(已有<b>47662b>人评价)a>
<a href="#" class="words">留言咨询a>
div>
li>
<li id="summary_stock">
<div class="title">配送至:div>
<div class="content">
<div id="store_select">
<div class="text">
<p>北京海淀区大钟寺p>
<b>b>
div>
<div id="store_content">
<ul id="store_tabs">
<li class="hover">北京<b>b>li>
<li>海淀区<b>b>li>
<li>三环以内<b>b>li>
ul>
<ul id="store_items">
<li><a href="#">北京a>li>
<li><a href="#">上海a>li>
<li><a href="#">天津a>li>
<li><a href="#">重庆a>li>
<li><a href="#">河北a>li>
<li><a href="#">山西a>li>
<li><a href="#">河南a>li>
<li><a href="#">辽宁a>li>
<li><a href="#">吉林a>li>
<li><a href="#">黑龙江a>li>
<li><a href="#">内蒙古a>li>
<li><a href="#">江苏a>li>
<li><a href="#">山东a>li>
<li><a href="#">安徽a>li>
<li><a href="#">浙江a>li>
<li><a href="#">湖北a>li>
<li><a href="#">福建a>li>
<li><a href="#">四川a>li>
<li><a href="#">云南a>li>
<li><a href="#">新疆a>li>
<li><a href="#">西藏a>li>
ul>
div>
<div id="store_close">div>
div>
<b>有货b>,23:00前完成下单,预计<i>明日(12月06日)i>送达
div>
li>
<li id="summary_service">
<div class="title">服 务:div>
<div class="content">
由 <span>京东span> 发货并提供售后服务。
支持:
<a class="sendpay_211" href="#">a>
<a class="jingdou_xiankuan" href="#">a>
<a class="special_ziti" href="#">a>
div>
li>
ul>
<ul id="choose">
<li id="choose_color">
<div class="title">选择颜色:div>
<div class="content">
<a href="#" class="selected">
<img src="images\products\p_icon_01.jpg"/>
<span>薰衣草span>
<b>b>
a>
<a href="#">
<img src="images\products\p_icon_02.jpg"/>
<span>索菲亚玫瑰span>
<b>b>
a>
div>
li>
<li id="choose_amount">
<div class="title">购买数量:div>
<div class="content">
<a href="#" class="btn_reduce">a>
<input type="text" value="1"/>
<a href="#" class="btn_add">a>
div>
li>
<li id="choose_result">
已选择<b>“薰衣草”b>,<b>“4.26kg”b>
li>
<li id="choose_btns" class="clear">
<a href="#" class="choose_btn_append">a>
<a href="#" class="choose_baitiao_fq">a>
<a href="#" class="choose_mark">a>
<div class="m_buy">
<span>客户端首次下单span>
<p>送 5 元京券 p>
div>
li>
ul>
div>
<div id="left_product">
<div id="related_sorts">
<div class="m_title">相关分类div>
<ul class="m_content">
<li><a href="#">纸品湿巾a>li>
<li><a href="#">衣物清洁a>li>
<li><a href="#">清洁工具a>li>
<li><a href="#">驱虫用品a>li>
<li><a href="#">家庭清洁a>li>
<li><a href="#">皮具护理a>li>
<li><a href="#">一次性用品a>li>
ul>
div>
<div id="related_brands">
<div class="m_title">同类其他品牌div>
<ul class="m_content">
<li><a href="#">蓝月亮a>li>
<li><a href="#">汰渍a>li>
<li><a href="#">威露士a>li>
<li><a href="#">奥妙a>li>
<li><a href="#">卫新a>li>
<li><a href="#">碧浪a>li>
<li><a href="#">金纺a>li>
<li><a href="#">立白a>li>
<li><a href="#">白猫a>li>
<li><a href="#">洛娃a>li>
<li><a href="#">滴露a>li>
<li><a href="#">亮净a>li>
<li><a href="#">威洁士a>li>
<li><a href="#">可柔可顺a>li>
<li><a href="#">妈妈壹选a>li>
<li><a href="#">纳爱斯a>li>
<li><a href="#">好爸爸a>li>
<li><a href="#">绿伞a>li>
<li><a href="#">净安a>li>
<li><a href="#">地球a>li>
ul>
div>
<div class="view_buy">
<div class="m_title">浏览了该商品的用户最终购买div>
<ul class="m_content">
<li>
<p><a href="#"><img src="images/products/p001.jpg"/>a>p>
<a href="#">卫新 护色洗衣液 2kg 袋装a>
<h2><a href="#">¥22.90a>h2>
li>
<li>
<p><a href="#"><img src="images/products/p002.jpg"/>a>p>
<a href="#">卫新 护色洗衣液 2kg 袋装a>
<h2><a href="#">¥39.90a>h2>
li>
<li>
<p><a href="#"><img src="images/products/p004.jpg"/>a>p>
<a href="#">卫新 护色洗衣液 2kg 袋装a>
<h2><a href="#">¥69.90a>h2>
li>
<li class="no_bottom">
<p><a href="#"><img src="images/products/p005.jpg"/>a>p>
<a href="#">威露士(Walch)2kg+2kg洗衣液(有氧洗)特惠双袋组合装a>
<h2><a href="#">¥39.90a>h2>
li>
ul>
div>
<div id="rank_list">
<div class="m_title">衣物清洁排行榜div>
<div class="m_content">
<ul class="m_tabs">
<li>同价位li>
<li class="current">同品牌li>
<li>同类别li>
ul>
<ul class="m_list">
<li>
<span class="hot">1span>
<a href="#"><img src="images/products/product-s4.jpg"/>a>
<p><a href="#">卫新洗衣液a>p>
<h2>¥39.90h2>
li>
<li>
<span class="hot">2span>
<a href="#"><img src="images/products/product-s5.jpg"/>a>
<p><a href="#">卫新消毒液a>p>
<h2>¥49.90h2>
li>
<li>
<span class="hot">3span>
<a href="#"><img src="images/products/product-s6.jpg"/>a>
<p><a href="#">卫新消毒液a>p>
<h2>¥49.90h2>
li>
<li class="no_bottom">
<span>4span>
<a href="#"><img src="images/products/product-s7.jpg"/>a>
<p><a href="#">卫新消毒液a>p>
<h2>¥49.90h2>
li>
ul>
div>
div>
<div class="view_buy">
<div class="m_title">购买了该商品的用户还购买了div>
<ul class="m_content">
<li>
<p><a href="#"><img src="images/products/p001.jpg"/>a>p>
<a href="#">卫新 护色洗衣液 2kg 袋装a>
<h2><a href="#">¥22.90a>h2>
li>
<li>
<p><a href="#"><img src="images/products/p002.jpg"/>a>p>
<a href="#">卫新 护色洗衣液 2kg 袋装a>
<h2><a href="#">¥39.90a>h2>
li>
<li>
<p><a href="#"><img src="images/products/p004.jpg"/>a>p>
<a href="#">卫新 护色洗衣液 2kg 袋装a>
<h2><a href="#">¥69.90a>h2>
li>
<li class="no_bottom">
<p><a href="#"><img src="images/products/p005.jpg"/>a>p>
<a href="#">威露士(Walch)2kg+2kg洗衣液(有氧洗)特惠双袋组合装a>
<h2><a href="#">¥39.90a>h2>
li>
ul>
div>
<div class="view_buy">
<div class="m_title">浏览了该商品的用户还浏览了div>
<ul class="m_content">
<li>
<p><a href="#"><img src="images/products/p001.jpg"/>a>p>
<a href="#">卫新 护色洗衣液 2kg 袋装a>
<h2><a href="#">¥22.90a>h2>
li>
<li>
<p><a href="#"><img src="images/products/p002.jpg"/>a>p>
<a href="#">卫新 护色洗衣液 2kg 袋装a>
<h2><a href="#">¥39.90a>h2>
li>
<li>
<p><a href="#"><img src="images/products/p004.jpg"/>a>p>
<a href="#">卫新 护色洗衣液 2kg 袋装a>
<h2><a href="#">¥69.90a>h2>
li>
<li class="no_bottom">
<p><a href="#"><img src="images/products/p005.jpg"/>a>p>
<a href="#">威露士(Walch)2kg+2kg洗衣液(有氧洗)特惠双袋组合装a>
<h2><a href="#">¥39.90a>h2>
li>
ul>
div>
<ul id="left_shows">
<li>
<a><img src="Images/products/left_p001.jpg"/>a>
li>
<li>
<a><img src="Images/products/left_p002.jpg"/>a>
li>
<li>
<a><img src="Images/products/left_p003.jpg"/>a>
li>
ul>
div>
<div id="right_product">
<div id="favorable_suit">
<p class="main_tabs">优惠套装p>
<div class="m_content">
<ul class="sub_tabs">
<li class="current">优惠套装1li>
ul>
<div class="sub_content">
<div class="master">
<span class="add">span>
<a href="#"><img src="images/products/product_01_m.jpg"/>a>
<p><a href="#">卫新 薰衣草洗衣液 4.26kga>p>
div>
<div class="suits">
<ul>
<li>
<span class="add">span>
<a href="#"><img src="images/products/product_02_m.jpg"/>a>
<p><a href="#">卫新 去静电柔顺剂 清怡樱花袋装 500a>p>
li>
<li>
<span class="add">span>
<a href="#"><img src="images/products/product_03_m.jpg"/>a>
<p><a href="#">威露士(Walch) 手洗洗衣液单袋装 500mla>p>
li>
<li>
<a href="#"><img src="images/products/product_04_m.jpg"/>a>
<p><a href="#">威露士(Walch) 衣物家居消毒液 3a>p>
li>
ul>
div>
<div class="infos">
<span>span>
<h1><a href="#">威露士组合a>h1>
<p>套装价:<b class="empasis">105.30b>p>
<p>京东价:<b class="strike">142.40b>p>
<p>立即节省:<b>37.10b>p>
<div class="btns">
<a href="#" class="btn_buy">购买套装a>
div>
div>
div>
div>
div>
<div id="recommend">
<ul class="main_tabs">
<li class="current"><a href="#">推荐配件a>li>
<li><a href="#">人气组合a>li>
ul>
<div class="m_content">
<ul class="sub_tabs">
<li class="current">全部配件li>
<li>清洁工具(1)li>
<li>毛巾浴巾(3)li>
<li>衬衫(1)li>
<li>收纳用品(2)li>
<li>商务男袜(1)li>
ul>
<div class="sub_content">
<div class="master">
<span class="add">span>
<a href="#"><img src="images/products/product_01_m.jpg"/>a>
<p><a href="#">卫新 薰衣草洗衣液 4.26kga>p>
div>
<div class="suits">
<ul style="width:1000px;">
<li>
<span class="add">span>
<a href="#"><img src="images/products/product_05_m.jpg"/>a>
<p><a href="#">卫新 去静电柔顺剂 清怡樱花袋装 500a>p>
<input type="checkbox" id="chk_01"/>
<label for="chk_01">¥49.00label>
li>
<li>
<span class="add">span>
<a href="#"><img src="images/products/product_06_m.jpg"/>a>
<p><a href="#">佳佰Hommy9丝压缩袋(2大2中4小)a>p>
<input type="checkbox" id="Checkbox1"/>
<label for="chk_01">¥49.00label>
li>
<li>
<span class="add">span>
<a href="#"><img src="images/products/product_07_m.jpg"/>a>
<p><a href="#">【京东自营】INTERIGHT 100支全棉a>p>
<input type="checkbox" id="Checkbox2"/>
<label for="chk_01">¥49.00label>
li>
<li>
<span class="add">span>
<a href="#"><img src="images/products/product_08_m.jpg"/>a>
<p><a href="#">INTERIGHT 商务休闲男袜 精梳棉中a>p>
<input type="checkbox" id="Checkbox3"/>
<label for="chk_01">¥49.00label>
li>
<li>
<span class="add">span>
<a href="#"><img src="images/products/product_09_m.jpg"/>a>
<p><a href="#">威露士(Walch) 衣物家居消毒液 3a>p>
<input type="checkbox" id="Checkbox4"/>
<label for="chk_01">¥49.00label>
li>
<li>
<a href="#"><img src="images/products/product_10_m.jpg"/>a>
<p><a href="#">威露士(Walch) 衣物家居消毒液 3a>p>
<input type="checkbox" id="Checkbox5"/>
<label for="chk_01">¥49.00label>
li>
ul>
div>
<div class="infos">
<span>span>
<h1><a href="#">已选择<b>0b>个配件a>h1>
<p>搭配价:<b class="empasis">39.90b>p>
<p>获得优惠:<b class="strike">36.60b>p>
<div class="btns">
<a href="#" class="btn_buy">立即购买a>
div>
div>
div>
div>
div>
<div id="product_detail">
<ul class="main_tabs">
<li class="current"><a>商品介绍a>li>
<li><a>规格参数a>li>
<li><a>包装清单a>li>
<li><a>商品评价(43390)a>li>
<li><a>售后保障a>li>
ul>
<div id="minicart">
<p><a href="#">a>p>
<div style="display:none;">
<img src="images/products/product_01_m.jpg"/>
<h1>卫新 薰衣草洗衣液 4.26kgh1>
<h2>京东价:<b>¥41.90b>h2>
div>
div>
<div id="product_info">
<ul class="detail_list">
<li>商品名称:卫新洗衣液li>
<li>商品编号:1039778li>
<li>品牌:<a href="#" target="_blank">卫新a>li>
<li>上架时间:2014-01-23 16:28:06li>
<li>商品毛重:4.55kgli>
<li>商品产地:广东省从化市li>
<li>类别:手洗洗衣液,机洗洗衣液li>
<li>规格:3kg以上li>
<li>香型:香味li>
ul>
<div class="detail_correct">
<b>b>
如果您发现商品信息不准确,<a href="#" target="_blank">欢迎纠错a>
div>
<div class="detail_content" style="text-align:center;">
<p><a src="#"><img src="images/products/weilushi.jpg"/>a>p>
<div class="dotted_split">div>
<div class="jd_split">
<b>产品信息b>
<span>Product Informationspan>
div>
<table>
<tr>
<td><img src="images/products/product_01.jpg"/>td>
<td>
<h1>卫新 薰衣草洗衣液 (新老包装 随机发货)h1>
<p>净含量:4.26kgp>
<p>产品功效:p>
<p>
1.特别添加法国薰衣草精油成分,令衣物充满芬<br/>
2.纳米智能分解技术,深层渗透衣物纤维,自动逐一瓦解各种顽固污渍及细菌,不损衣物纤维,净白亮色。<br/>
3.特有去渍防护配方,减少污渍吸附在衣物表面,穿着时持久洁净更耐脏。<br/>
4.中性配方,成分更温和,温柔呵护家人皮肤。<br/>
5.全新低泡技术,用量少,易漂无残留。<br/>
6.含柔顺成分,令衣物恢复天然弹性不易变形,易熨更柔顺<br/>
7.环保更健康,不含磷、荧光增白剂。<br/>
p>
<p> 箱规:4支/箱p>
<p><br/>更多容量选择: 3kg 4.26kgp>
td>
tr>
table>
<div class="jd_split">
<b>产品特色b>
<span>Selling Pointspan>
div>
<p><a src="#"><img src="images/products/product_02.jpg"/>a>p>
<div class="dotted_split">div>
<p><a src="#"><img src="images/products/product_03.jpg"/>a>p>
<div class="dotted_split">div>
<div class="jd_split">
<b>适用范围b>
<span>Heritagespan>
div>
<p><a src="#"><img src="images/products/product_04.jpg"/>a>p>
<div class="dotted_split">div>
<div class="jd_split">
<b>使用说明b>
<span>Instructionsspan>
div>
<p><a src="#"><img src="images/products/product_05.jpg"/>a>p>
<div class="dotted_split">div>
<div class="jd_split">
<b>品牌介绍b>
<span>Brand Introductionspan>
div>
<table>
<tr>
<td><img src="images/products/weilushi_01.jpg"/>td>
<td>
<h1>威莱为你每一天,未来健康每一天h1>
<p>威莱集团是家用清洁及卫生消毒产品市场的领导者。在多个国家及地区,其消毒产品均占有领先的市场地位。p>
td>
tr>
table>
div>
div>
<div id="product_data">
<div class="detail_correct">
<b>b>
如果您发现商品信息不准确,<a href="#" target="_blank">欢迎纠错a>
div>
<table cellpadding="0" cellspacing="1" width="100%" border="0" class="Ptable">
<thead>
<tr>
<th colspan="2">主体th>
tr>
thead>
<tbody>
<tr>tr>
<tr>
<td class="td_title">品牌td>
<td>威露士(Walch)td>
tr>
<tr>
<td class="td_title">类别td>
<td>洗衣液td>
tr>
<tr>
<td class="td_title">产品规格(ml/kg)td>
<td>4.26kgtd>
tr>
<tr>
<td class="td_title">产品包装尺寸(cm)td>
<td>254*117*326td>
tr>
<tr>
<td class="td_title">香型td>
<td>薰衣草td>
tr>
tbody>
table>
div>
<div id="product_package">
<p>卫新 薰衣草洗衣液 4.26kg*1p>
div>
<br/>
<div id='product_comment'>div>
<div id="product_saleAfter">
<p>本产品全国联保,享受三包服务,质保期为:无质保p>
div>
div>
<div id="promise">
<b>服务承诺:b>
<p>
京东向您保证所售商品均为正品行货,京东自营商品开具机打发票或电子发票。凭质保证书及京东发票,可享受全国联保服务(奢侈品、钟表除外;奢侈品、钟表由京东联系保修,享受法定三包售后服务),与您亲临商场选购的商品享受相同的质量保证。京东还为您提供具有竞争力的商品价格和<a
href="#">运费政策a>,请您放心购买! p>
<p>
注:因厂家会在没有任何提前通知的情况下更改产品包装、产地或者一些附件,本司不能确保客户收到的货物与商城图片、产地、附件说明完全一致。只能确保为原厂正货!并且保证与当时市场上同样主流新品一致。若本商城没有及时更新,请大家谅解!p>
div>
<div id="state">
<span>权利声明:span>
<p>京东上的所有商品信息、客户评价、商品咨询、网友讨论等内容,是京东重要的经营资源,未经许可,禁止非法转载使用。p>
<p><b>注:b>本站商品信息均来自于合作方,其真实性、准确性和合法性由信息拥有者(合作方)负责。本站不提供任何保证,并不承担任何法律责任。p>
div>
<div id="comment">
<p class="main_tabs">商品评价p>
<div class="m_content">
<div class="rate">
<span>97span><b>%b>
<p>好评度p>
div>
<div class="percent">
<dl>
<dt>好评(<span>97%span>)dt>
<dd><p style="width:97px;">p>dd>
dl>
<dl>
<dt>中评(<span>2%span>)dt>
<dd><p style="width:2px;">p>dd>
dl>
<dl>
<dt>差评(<span>1%span>)dt>
<dd><p style="width:1px;">p>dd>
dl>
div>
<div class="buyers">
<p>买家印象:p>
<ul>
<li>比超市便宜<span>(8450)span>li>
<li>味道不错<span>(6931)span>li>
<li>质量不错<span>(5034)span>li>
<li>洗衣效果好<span>(5003)span>li>
<li>洗涤效果好<span>(4834)span>li>
<li>洗衣服干净<span>(4712)span>li>
ul>
div>
<div class="btns">
您可对已购商品进行评价
<a class="btn_comment" href="#">发评价拿京豆a>
<b>前五名可获双倍京豆b><a href="#">[规则]a>
div>
div>
div>
<div id="comment_list">
<ul class="main_tabs">
<li class="current"><a href="#">全部评价(49639)a>li>
<li><a href="#">好评(48232)a>li>
<li><a href="#">中评(992)a>li>
<li><a href="#">差评(415)a>li>
<li><a href="#">有晒单的评价(962)a>li>
ul>
<div id="comment_0">
<div class="comment_item">
<ul>
<li><a href="#"><img src="images/user_01.jpg"/>a>li>
<li>kkngj2008li>
<li><b>金牌会员b><span>广东span>li>
ul>
<div>
<div class="topic">
<p class="star3">p>
<a href="#">2014-08-12 19:01a>
div>
<table>
<tr>
<td class="comment_option">标签:td>
<td class="comment_tag">
<span>比洗衣粉好span>
<span>去污能力强span>
td>
tr>
<tr>
<td class="comment_option">心得:td>
<td>味道清香..价格也比较公道td>
tr>
<tr>
<td class="comment_option">用户晒单:td>
<td class="comment_show">
<a href="#"><img src="images/products/show_01.jpg"/>a>
<a href="#"><img src="images/products/show_02.jpg"/>a>
<a href="#"><img src="images/products/show_03.jpg"/>a>
共<b>3b>张图片<a href="#">查看晒单>a>
td>
tr>
<tr>
<td class="comment_option">购买日期:td>
<td>2014-08-11td>
tr>
table>
<p class="btns">
<a href="#">有用(3)a>
<a href="#">回复(0)a>
p>
<div class="reply_lz">
<div class="reply_form">
<p>回复<a>kkngj2008 a>:p>
<input class="txt" type="text"/>
<input class="btn" type="button" value="回复"/>
div>
div>
<div class="comment_reply">
<span>22span>
<p><b>Koolmengb>回复<b>SE7EN_Garyb>:p>
<h4>牛也没那么厉害!你真牛Xh4>
<div>
<b>2014-12-16 15:09b>
<a>回复a>
div>
div>
<div class="reply_lz">
<div class="reply_form">
<p>回复<a>kkngj2008 a>:p>
<input class="txt" type="text"/>
<input class="btn" type="button" value="回复"/>
div>
div>
<div class="comment_reply">
<span>21span>
<p><b>Koolmengb>回复<b>SE7EN_Garyb>:p>
<h4>牛也没那么厉害!你真牛Xh4>
<div>
<b>2014-12-16 15:09b>
<a>回复a>
div>
div>
<div class="reply_lz">
<div class="reply_form">
<p>回复<a>kkngj2008 a>:p>
<input class="txt" type="text"/>
<input class="btn" type="button" value="回复"/>
div>
div>
div>
<div class="corner">div>
div>
<div class="comment_item">
<ul>
<li><a href="#"><img src="images/user_01.jpg"/>a>li>
<li>kkngj2008li>
<li><b>金牌会员b><span>广东span>li>
ul>
<div>
<div class="topic">
<p class="star4">p>
<a href="#">2014-08-12 19:01a>
div>
<table>
<tr>
<td class="comment_option">标签:td>
<td class="comment_tag">
<span>比洗衣粉好span>
<span>去污能力强span>
td>
tr>
<tr>
<td class="comment_option">心得:td>
<td>味道清香..价格也比较公道td>
tr>
<tr>
<td class="comment_option">用户晒单:td>
<td class="comment_show">
<a href="#"><img src="images/products/show_01.jpg"/>a>
<a href="#"><img src="images/products/show_02.jpg"/>a>
<a href="#"><img src="images/products/show_03.jpg"/>a>
共<b>3b>张图片<a href="#">查看晒单>a>
td>
tr>
<tr>
<td class="comment_option">购买日期:td>
<td>2014-08-11td>
tr>
table>
<p class="btns">
<a href="#">有用(3)a>
<a href="#">回复(0)a>
p>
<div class="reply_lz">
<div class="reply_form">
<p>回复<a>kkngj2008 a>:p>
<input class="txt" type="text"/>
<input class="btn" type="button" value="回复"/>
div>
div>
<div class="comment_reply">
<span>22span>
<p><b>Koolmengb>回复<b>SE7EN_Garyb>:p>
<h4>牛也没那么厉害!你真牛Xh4>
<div>
<b>2014-12-16 15:09b>
<a>回复a>
div>
div>
<div class="reply_lz">
<div class="reply_form">
<p>回复<a>kkngj2008 a>:p>
<input class="txt" type="text"/>
<input class="btn" type="button" value="回复"/>
div>
div>
div>
<div class="corner">div>
div>
<div class="comment_item">
<ul>
<li><a href="#"><img src="images/user_01.jpg"/>a>li>
<li>kkngj2008li>
<li><b>金牌会员b><span>广东span>li>
ul>
<div>
<div class="topic">
<p class="star5">p>
<a href="#">2014-08-12 19:01a>
div>
<table>
<tr>
<td class="comment_option">标签:td>
<td class="comment_tag">
<span>比洗衣粉好span>
<span>去污能力强span>
td>
tr>
<tr>
<td class="comment_option">心得:td>
<td>味道清香..价格也比较公道td>
tr>
<tr>
<td class="comment_option">购买日期:td>
<td>2014-08-11td>
tr>
table>
<p class="btns">
<a href="#">有用(3)a>
<a href="#">回复(0)a>
p>
<div class="reply_lz">
<div class="reply_form">
<p>回复<a>kkngj2008 a>:p>
<input class="txt" type="text"/>
<input class="btn" type="button" value="回复"/>
div>
div>
<div class="comment_reply">
<span>22span>
<p><b>Koolmengb>回复<b>SE7EN_Garyb>:p>
<h4>牛也没那么厉害!你真牛Xh4>
<div>
<b>2014-12-16 15:09b>
<a>回复a>
div>
div>
<div class="reply_lz">
<div class="reply_form">
<p>回复<a>kkngj2008 a>:p>
<input class="txt" type="text"/>
<input class="btn" type="button" value="回复"/>
div>
div>
<div class="comment_reply">
<span>21span>
<p><b>Koolmengb>回复<b>SE7EN_Garyb>:p>
<h4>牛也没那么厉害!你真牛Xh4>
<div>
<b>2014-12-16 15:09b>
<a>回复a>
div>
div>
<div class="reply_lz">
<div class="reply_form">
<p>回复<a>kkngj2008 a>:p>
<input class="txt" type="text"/>
<input class="btn" type="button" value="回复"/>
div>
div>
div>
<div class="corner">div>
div>
div>
<div>
<a class="comment_show_all" href="#">[查看全部评价]a>
<div id="pages">
<a class="current">1a>
<a href="#">2a>
<a href="#">3a>
<a href="#">4a>
<a href="#">5a>
<a href="#">6a>
<a href="#">....a>
<a href="#">3421a>
<a href="#">下一页a>
div>
div>
div>
<div class="clear">div>
<div id="consult">
<ul class="main_tabs">
<li class="current"><a href="#">全部购买咨询a>li>
<li><a href="#">商品咨询a>li>
<li><a href="#">库存配送a>li>
<li><a href="#">支付a>li>
<li><a href="#">发票保修a>li>
<li><a href="#">支付帮助a>li>
<li><a href="#">配送帮助a>li>
<li><a href="#">常见问题a>li>
<li>
<input type="text" id="txt_consult_search" value="请输入关键词"/>
<input type="button" value="搜索" id="btn_consult_search"/>
li>
<li>
<a id="add_consult" href="#">发表咨询a>
li>
ul>
<div class="m_content">
<b>温馨提示:b>因厂家更改产品包装、产地或者更换随机附件等没有任何提前通知,且每位咨询者购买情况、提问时间等不同,为此以下回复仅对提问者3天内有效,其他网友仅供参考!<br/>若由此给您带来不便请多多谅解,谢谢!
div>
<div id="consult_0">
<div id="consult_result">
<p>共搜索到<span>14span>条相关咨询<a>返回a>p>
<h4>声明:以下回复仅对提问者3天内有效,其他网友仅供参考!h4>
div>
<div class="consult_item">
<p>网 友:<b>135*****193_pb><span>2014-11-23 12:27:13span>p>
<ul class="consult_ask">
<li class="consult_title">咨询内容:li>
<li><a href="#">怎么买呀?a>li>
ul>
<ul class="consult_answer">
<li class="consult_title">京东回复:li>
<li>您好!请您于京东客服联系。感谢您对京东的支持!祝您购物愉快!li>
<li class="consult_answer_time">2014-11-24 15:25:59li>
ul>
div>
<div class="consult_item">
<p>网 友:<b>jd_158998lubb><span>2014-11-11 14:19:00span>p>
<ul class="consult_ask">
<li class="consult_title">咨询内容:li>
<li><a href="#">请问一箱里面装几瓶?a>li>
ul>
<ul class="consult_answer">
<li class="consult_title">京东回复:li>
<li>您好!4瓶/箱, 感谢您对京东的支持!祝您购物愉快!li>
<li class="consult_answer_time">2014-11-11 16:44:06li>
ul>
div>
<div class="consult_item">
<p>网 友:<b>jd_158998lubb><span>2014-11-11 14:19:00span>p>
<ul class="consult_ask">
<li class="consult_title">咨询内容:li>
<li><a href="#">请问一箱里面装几瓶?a>li>
ul>
<ul class="consult_answer">
<li class="consult_title">京东回复:li>
<li>您好!4瓶/箱, 感谢您对京东的支持!祝您购物愉快!li>
<li class="consult_answer_time">2014-11-11 16:44:06li>
ul>
div>
div>
<div id="consult_extra">
购买之前,如有问题,请咨询<a class="offline" href="#">留言咨询a>,或<a href="#"> [发表咨询]a>
<p>共<span>101span>条 <a href="#">浏览所有咨询信息>>a>p>
div>
div>
<div id="discuss">
<ul class="main_tabs">
<li class="current"><a href="#">网友讨论圈a>li>
<li><a href="#">晒单帖a>li>
<li><a href="#">讨论帖a>li>
<li><a href="#">问答贴a>li>
<li><a href="#">圈子贴a>li>
ul>
<table id="discuss-datas">
<tr class="header">
<td class="col1">主题td>
<td class="col2">回复/浏览td>
<td class="col3">作者td>
<td class="col4">时间td>
tr>
<tbody>
<tr>
<td class="col1">
<b class="topic shai">b>
<a href="#">好大一瓶,不错a>
td>
<td>0/0td>
<td>
<a href="#">2001年冬天a>
td>
<td>2014-11-19td>
tr>
<tr>
<td class="col1">
<b class="topic lun">b>
<a href="#">洗衣液超级划算,活动给力a>
td>
<td>0/0td>
<td>
<a href="#">xpx2001a>
td>
<td>2014-11-18td>
tr>
<tr>
<td class="col1">
<b class="topic lun">b>
<a href="#">洗衣液超级划算,活动给力a>
td>
<td>0/0td>
<td>
<a href="#">xpx2001a>
td>
<td>2014-11-18td>
tr>
<tr>
<td class="col1">
<b class="topic shai">b>
<a href="#">好大一瓶,不错a>
td>
<td>0/0td>
<td>
<a href="#">2001年冬天a>
td>
<td>2014-11-19td>
tr>
tbody>
table>
<div class="discuss_extra">
<div class="newdiscuss">
<span>有问题要与其他用户讨论?span>
<a href="#">[发表帖子]a>
div>
<div class="totaldiscuss">
<span>共900个话题span>
<a href="#">浏览全部话题>>a>
div>
div>
div>
div>
div>
<div class="clear">div>
<div id="footmark">
<div id="may_like">
<p>
<span class="lf">根据浏览猜你喜欢span>
<b class="rt">换一批b>
p>
<ul>
<li>
<div><a href="#"><img src="Images/products/p001.jpg"/>a>div>
<p><a href="#">卫新 香薰洗衣液4.26kg (索菲亚玫瑰)a>p>
<h5><a href="#">(已有46242人评价)a>h5>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p002.jpg"/>a>div>
<p><a href="#">威露士(Walch) 衣物除菌液(阳光清香)2.5L送1.5La>p>
<h5><a href="#">(已有46242人评价)a>h5>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p003.jpg"/>a>div>
<p><a href="#">威露士(Walch) 衣物除菌液(阳光清香)2.5L送1.5La>p>
<h5><a href="#">(已有46242人评价)a>h5>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p004.jpg"/>a>div>
<p><a href="#">卫新 香薰洗衣液4.26kg (索菲亚玫瑰)a>p>
<h5><a href="#">(已有46242人评价)a>h5>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p005.jpg"/>a>div>
<p><a href="#">卫新 香薰洗衣液4.26kg (索菲亚玫瑰)a>p>
<h5><a href="#">(已有46242人评价)a>h5>
<h6>¥49.90h6>
li>
ul>
div>
<div id="recent_view">
<p>
<span class="lf">最近浏览span>
<b class="rt">更多浏览记录b>
p>
<ul>
<li>
<div><a href="#"><img src="Images/products/p_small_001.jpg"/>a>div>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p_small_002.jpg"/>a>div>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p_small_003.jpg"/>a>div>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p_small_004.jpg"/>a>div>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p_small_005.jpg"/>a>div>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p_small_006.jpg"/>a>div>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p_small_007.jpg"/>a>div>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p_small_008.jpg"/>a>div>
<h6>¥49.90h6>
li>
<li>
<div><a href="#"><img src="Images/products/p_small_009.jpg"/>a>div>
<h6>¥49.90h6>
li>
ul>
div>
div>
<div class="clear">div>
<div id="foot_box">
<p class="shopping_guide">p>
<ul>
<li><b>购物指南b>li>
<li><a href="#">购物流程a>li>
<li><a href="#">会员介绍a>li>
<li><a href="#">团购/机票a>li>
<li><a href="#">常见问题a>li>
<li><a href="#">大家电a>li>
<li><a href="#">联系客服a>li>
ul>
<p class="send_type">p>
<ul>
<li><b>配送方式b>li>
<li><a href="#">上门自提a>li>
<li><a href="#">211限时达a>li>
<li><a href="#">配送服务查询a>li>
<li><a href="#">配送费收取标准a>li>
<li><a href="#">海外配送a>li>
ul>
<p class="pay_type">p>
<ul>
<li><b>支付方式b>li>
<li><a href="#">货到付款a>li>
<li><a href="#">在线支付a>li>
<li><a href="#">分期付款a>li>
<li><a href="#">邮局汇款a>li>
<li><a href="#">公司转账a>li>
ul>
<p class="sale_service">p>
<ul>
<li><b>售后服务b>li>
<li><a href="#">售后政策a>li>
<li><a href="#">价格保护a>li>
<li><a href="#">退款说明a>li>
<li><a href="#">返修/退换货a>li>
<li><a href="#">取消订单a>li>
ul>
<p class="special_service">p>
<ul>
<li><b>特色服务b>li>
<li><a href="#">夺宝岛a>li>
<li><a href="#">DIY装机a>li>
<li><a href="#">延保服务a>li>
<li><a href="#">京东E卡a>li>
<li><a href="#">节能补贴a>li>
<li><a href="#">京东通信a>li>
ul>
div>
<div class="clear">div>
<div id="footer">
<div class="links"><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="copyright">北京市公安局朝阳分局备案编号110105014669 | 京ICP证070359号 | 互联网药品信息服务资格证编号(京)-非经营性-2011-0034<br/>
<a href="#">音像制品经营许可证苏宿批005号 a> | 出版物经营许可证编号新出发(苏)批字第N-012号 | 互联网出版许可证编号新出网证(京)字150号<br/>
<a href="#">网络文化经营许可证京网文[2011]0168-061号 a> Copyright © 2004-2014 京东JD.com 版权所有 <br/>
京东旗下网站:
<a href="#">English Sitea> <a href="#">拍拍网a> <a href="#">网银在线a>
div>
<div class="authentication">
<a href=""><img src="images/jy.jpg" width="108" height="40"/>a>
<a href=""><img src="images/kx.jpg" width="108" height="40"/>a>
<a href=""><img src="images/cy.jpg" width="108" height="40"/>a>
<a href=""><img src="images/cx.jpg" width="112" height="40"/>a>
div>
div>
<script type="text/javascript" src="js/jquery-1.10.1.js">script>
<script type="text/javascript" src="js/app.js">script>
body>
html>
/*
1. 鼠标移入显示,移出隐藏
目标: 手机京东, 客户服务, 网站导航, 我的京东, 去购物车结算, 全部商品
2. 鼠标移动切换二级导航菜单的切换显示和隐藏
3. 输入搜索关键字, 列表显示匹配的结果
4. 点击显示或者隐藏更多的分享图标
5. 鼠标移入移出切换地址的显示隐藏
6. 点击切换地址tab
7. 鼠标移入移出切换显示迷你购物车
8. 点击切换产品选项 (商品详情等显示出来)
9. 点击向右/左, 移动当前展示商品的小图片
10. 当鼠标悬停在某个小图上,在上方显示对应的中图
11. 当鼠标在中图上移动时, 显示对应大图的附近部分区域
https://www.bilibili.com/video/BV114411G7xZ?p=54
*/
/*
1. 对哪个/些元素绑定什么监听?
2. 对哪个/些元素进行什么DOM操作?
*/
$(function () {
showhide()
hoverSubMenu()
search()
share()
address()
clickTabs()
hoverMiniCart()
clickProductTabs()
moveMiniImg()
hoverMiniImg()
bigImg()
/*
11. 当鼠标在中图上移动时, 显示对应大图的附近部分区域
*/
function bigImg () {
var $mediumImg = $('#mediumImg')//中图
var $mask = $('#mask') // 小黄块
var $maskTop = $('#maskTop')//事件span
var $largeImgContainer = $('#largeImgContainer')//大图外侧span
var $loading = $('#loading')
var $largeImg = $('#largeImg')//大图
var maskWidth = $mask.width()
var maskHeight = $mask.height()
var maskTopWidth = $maskTop.width()
var maskTopHeight = $maskTop.height()
$maskTop.hover(function () {// 进入,事件可以加在mediumImg上,不加在maskTop上
$mask.show()
// 动态加载对应的大图
// images\products\product-s2-m.jpg
// images/products/product-s2-l.jpg
var src = $mediumImg.attr('src').replace('-m.', '-l.')
$largeImg.attr('src', src)
$largeImgContainer.show()
// 绑定加载完成的监听
$largeImg.on('load', function () { // 大图加载完成
// 得到大图的尺寸
var largeWidth = $largeImg.width()
var largeHeight = $largeImg.height()
// 给$largeImgContainer设置尺寸,实际尺寸一半
$largeImgContainer.css({
width: largeWidth/2,
height: largeHeight/2
})
// 显示大图
$largeImg.show()
// 隐藏加载进度条
$loading.hide()
console.log($largeImg.width(), $largeImg.height())
//鼠标移动的监听
$maskTop.mousemove(function (event) {//event在这
/*
1. 移动小黄块
2. 移动大图
*/
/*1. 移动小黄块*/
//计算left/top
var left = 0
var top = 0
// 事件的坐标
var eventLeft = event.offsetX
var eventTop = event.offsetY
left = eventLeft - maskWidth/2
top = eventTop - maskHeight/2
// left在[0, maskTopWidth-maskWidth]
//作范围限制
if(left<0) {
left = 0
} else if(left>maskTopWidth-maskWidth) {
left = maskTopWidth-maskWidth
}
// top在[0, maskTopHeight-maskHeight]
if(top<0) {
top = 0
} else if(top>maskTopHeight-maskHeight) {
top = maskTopHeight-maskHeight
}
//给$mask重新定位
$mask.css({
left: left,
top: top
})
/*2. 移动大图*/
// 得到大图的坐标,比例
left = -left * largeWidth / maskTopWidth
top = -top * largeHeight / maskTopHeight
// 设置大图的坐标
$largeImg.css({
left: left,
top: top
})
})
})
}, function () {
$mask.hide()
$largeImgContainer.hide()
$largeImg.hide()
})
}
/*
10. 当鼠标悬停在某个小图上,在上方显示对应的中图
*/
function hoverMiniImg () {
$('#icon_list>li').hover(function () {
// this.children()[0].className = 'hoveredThumb'
var $img = $(this).children()
$img.addClass('hoveredThumb')
//显示对应的中图
var src = $img.attr('src').replace('.jpg', '-m.jpg')
$('#mediumImg').attr('src', src)
}, function () {
$(this).children().removeClass('hoveredThumb')
})
}
/*
9. 点击向右/左, 移动当前展示商品的小图片
*/
function moveMiniImg () {
var $as = $('#preview>h1>a')
var $backward = $as.first()
var $forward = $as.last()
var $Ul = $('#icon_list')
var SHOW_COUNT = 5
var imgCount = $Ul.children('li').length
var moveCount = 0 //移动的次数(向右为正, 向左为负)
var liWidth = $Ul.children(':first').width()
// 初始化更新
if(imgCount>SHOW_COUNT) {
// $forward[0].className = 'forward'
$forward.attr('class', 'forward')
}
// 给向右的按钮绑定点击监听
$forward.click(function () {
// 判断是否需要移动, 如果不需要直接结束,不然会一直向右出现空白
if(moveCount===imgCount-SHOW_COUNT) {
return;
}
moveCount++
//更新向左的按钮
$backward.attr('class', 'backward')
// 更新向右的按钮
if(moveCount===imgCount-SHOW_COUNT) {
$forward.attr('class', 'forward_disabled')
}
// 移动ul
$Ul.css({
left: -moveCount * liWidth
})
})
// 给向左的按钮绑定点击监听
$backward.click(function () {
// 判断是否需要移动, 如果不需要直接结束
if(moveCount===0) {
return
}
moveCount--
//更新向右的按钮
$forward.attr('class', 'forward')
// 更新向左的按钮
if(moveCount===0) {
$backward.attr('class', 'backward_disabled')
}
// 移动ul
$Ul.css({
left: -moveCount * liWidth
})
})
}
/*
8. 点击切换产品选项 (商品详情等显示出来)
*/
function clickProductTabs () {
var $lis = $('#product_detail>ul>li')
var $contents = $('#product_detail>div:gt(0)')
$lis.click(function () {
$lis.removeClass('current')//全部移除
this.className = 'current'
//隐藏所有$contents
$contents.hide()
//显示当前对应的content
var index = $(this).index()
// $contents.eq(index).show();//注意区分jQ对象
$contents[index].style.display = 'block'//dom
})
}
/*
7. 鼠标移入移出切换显示迷你购物车
*/
function hoverMiniCart () {
$('#minicart').hover(function () {
this.className = 'minicart'
$(this).children(':last').show()
}, function () {
this.className = ''
$(this).children(':last').hide()
})
}
/*
6. 点击切换地址tab
*/
function clickTabs() {
$('#store_tabs>li').click(function () {
$('#store_tabs>li').removeClass('hover')
// $('#store_tabs>li').attr('class')
this.className = 'hover'
// $(this).addClass('hover')
})
}
/*
5. 鼠标移入移出切换地址的显示隐藏
*/
function address () {
var $select = $('#store_select')
$select.hover(function () {
$(this).children(':gt(0)').show()//这样写是为了提高搜索效率
}, function () {
$(this).children(':gt(0)').hide()
})
.children(':last')
.click(function () {
$select.children(':gt(0)').hide()// 不能用$(this)
})
}
/*
4. 点击显示或者隐藏更多的分享图标
*/
function share () {
var isOpen = false //标识当前的状态(初始为关闭)
var $shareMore = $('#shareMore')//先保存一份,这叫缓存
var $parent = $shareMore.parent()
var $as = $shareMore.prevAll('a:lt(2)')//顺序是反的,从近往远
var $b = $shareMore.children()
$shareMore.click(function () {
if(isOpen) { // 去关闭
isOpen = false
$parent.css('width', 155)
$as.hide()
$b.removeClass('backword')
} else { // 去打开
isOpen = true
$parent.css('width', 200)
$as.show()
$b.addClass('backword')
}
// isOpen = !isOpen
})
}
/*
3. 输入搜索关键字, 列表显示匹配的结果
*/
function search () {
$('#txtSearch')
.on('keyup focus', function () {
// 如果输入框有文本才显示列表,trim消除空格
var txt = this.value.trim()//$.trim(this.value)
if(txt) {
$('#search_helper').show()
}
})
.blur(function () {
// 隐藏列表
$('#search_helper').hide()
})
}
/*
2. 鼠标移动切换二级导航菜单的切换显示和隐藏
*/
function hoverSubMenu () {
$('#category_items>div').hover(function () {
$(this).children(':last').show()
}, function () {
$(this).children(':last').hide()
})
}
/*
1. 鼠标移入显示,移出隐藏
目标: 手机京东, 客户服务, 网站导航, 我的京东, 去购物车结算, 全部商品
*/
function showhide () {
$('[name=show_hide]').hover(function () { // 显示
var id = this.id + '_items'
$('#'+id).show()
}, function () {// 隐藏
var id = this.id + '_items'
$('#'+id).hide()
})
}
})`在这里插入代码片`