炎德商城 - 官方直营,正品保证
炎德商城 - 官方直营, 正品保证 var SHOPMAIN = 'https: //shop. hnyande. com'; //外置JS调用 var APPMAIN = 'https: //shop. hnyande. com/wap'; //外置JS调用 var UPLOADAVATOR = 'upload/avator/'; //存放用户头像 var upload = ""; //外置JS调用 var UPLOADCOMMON = 'upload/common/'; //存放公共图片、网站logo、独立图片、没有任何关联的图片 var TEMP_IMG = "/template/shop/blue/public/images"; var temp = "/template/"; //外置JS调用 var STATIC = "/public/static"; $(function(){ //一级菜单选中 $('#nav li a'). removeClass('current'); var url = window. location. href; $("#nav li a"). each(function(i, e){ var nav_url = $(e). attr("href") if(url. indexOf(nav_url)! = -1){ $("#nav li>a[href='https: //shop. hnyande. com/. html']"). addClass('current'); } }) img_lazyload(); }) //图片懒加载 function img_lazyload(){ $("img. lazy_load"). lazyload({ effect: "fadeIn", //淡入效果 skip_invisible: false }) } window. onload=function(){ $. footer(); } function __URL(url) { url = url. replace('https: //shop. hnyande. com', ''); url = url. replace('https: //shop. hnyande. com/wap', 'wap'); if(url == ''|| url == null){ return 'https: //shop. hnyande. com'; }else{ var str=url. substring(0, 1); if(str=='/' || str=="\\"){ url=url. substring(1, url. length); } if($("#niushop_rewrite_model"). val()==1 || $("#niushop_rewrite_model"). val()==true){ return 'https: //shop. hnyande. com/'+url; } var action_array = url. split('? '); //检测是否是pathinfo模式 url_model = $("#niushop_url_model"). val(); if(url_model==1 || url_model==true) { var base_url = 'https: //shop. hnyande. com/'+action_array[0]; var tag = '? '; }else{ var base_url = 'https: //shop. hnyande. com? s=/'+ action_array[0]; var tag = '&'; } if(action_array[1]! = '' && action_array[1]! = null){ return base_url + tag + action_array[1]; }else{ return base_url; } } } /** * 处理图片路径 */ function __IMG(img_path){ var path = ""; if(img_path! = undefined && img_path! = ""){ if(img_path. indexOf("http: //") == -1 && img_path. indexOf("https: //") == -1){ path = "\/"+img_path; }else{ path = img_path; } } return path; } body{ background: #F5F5F5; }. category-layer. list. categorys { background: #eeeeee; }. category-layer. list. categorys. item-left { width: 100%; }. category-layer. list. categorys. subitems { width: 100%; }. category-layer. list. categorys. subitems dl { width: 95%; }. category-layer-bg { background: rgba(6, 137, 225, 0. 42); }. category-layer. list. cat. cat-name a { color: #fff; }. category-layer. list. categorys { background: rgba(238, 238, 238, 0. 91); }. category-layer. list. cat: hover { background: rgba(238, 238, 238, 0. 91); }. proclamation1. mall-news{ height: auto; }. proclamation1. mall-news a{ border-bottom: 1px solid #ccc; }. proclamation1. mall-news a: last-child{ border-bottom: none; }. category-layer. list. cat i. right-arrow{ color: #ffffff; } if($. cookie("1051_close")! =null){ $(". top-active"). hide(); } #menu-login{text-align: center; } #menu-login. register{margin-right: 10px; } 登录 注册 个人中心 已买宝贝 地址管理 我的收藏 退出登录 关注商城 关注官方微信 手机端 帮助中心 getTopLoginInfo(); function getTopLoginInfo(){ $. ajax({ type: "post", url: "https: //shop. hnyande. com/components/getlogininfo. html", success: function(data){ if(data! =null && data! =""){ $(". myinfo"). html(data["user_info"]["nick_name"]+''). show(); $("#hidden_uid"). val(data["uid"]); $("#menu-login. js-login-flag"). hide(); }else{ $(". myinfo"). hide(); $("#menu-login. js-login-flag"). show(); } } }); } function logout(){ $. ajax({ url: "https: //shop. hnyande. com/member/logout. html", type: "post", success: function (res) { if (res['code'] > 0) { $. msg("退出成功!"); window. location. reload(); } else { if(res["message"]! =null){ $. msg(res["message"]); } } } }) } //显示搜索历史 function SearRecord(){ var arrSear=new Array(); var strSear = $. cookie("searchRecord"); var sear_html="最近搜索"; if(typeof(strSear)! ='undefined' && strSear! ='null'){ var arrSear=JSON. parse(strSear); sear_html+=' 清空'; for(var i=0; i 宝贝 正在热搜中 小题训练 寒假作业 名师导学 购物车结算 最新加入的商品 您的购物车中暂无商品 去购物车结算 $(document). ready(function() { // 搜索框提示显示 $('. NS-SEARCH-BOX. NS-SEARCH-BOX-KEYWORD'). focus(function() { $(". NS-SEARCH-BOX. NS-SEARCH-BOX-HELPER"). show(); }); // 搜索框提示隐藏 $(". NS-SEARCH-BOX-HELPER. close"). on('click', function() { $(". NS-SEARCH-BOX. NS-SEARCH-BOX-HELPER"). hide(); }); // 清除记录 $(". NS-SEARCH-BOX-HELPER. clear"). click(function() { var url = '/search/clear-record. html'; $. post(url, {}, function(result) { if (result. code == 0) { $(". history-results. active"). empty(); } else { } }, 'json'); }); }); function search_box_remove(key) { var url = '/search/delete-record. html'; $. post(url, { data: key }, function(result) { if (result. code == 0) { $("#" + key). css("display", "none"); } else { } }, 'json'); } $(document). on("click", function(e) { var target = $(e. target); if (target. closest(". NS-SEARCH-BOX"). length == 0) { $('. NS-SEARCH-BOX-HELPER'). hide(); } }) // 鼠标移上时显示 $(". header-right"). hover(function(){ refreshShopCartBlue(); $(". cart-box-mask-layer"). show(); $(". header. header-right a. my-cart span. right_border"). css({ "transform": "rotate(225deg)", "marginTop": "1px" }) }, function(){ refreshShopCartBlue(); $(". cart-box-mask-layer"). hide(); $(". header. header-right a. my-cart span. right_border"). css({ "transform": "rotate(45deg)", "marginTop": "-8px" }); }) //固定搜索 $(document). ready(function() { $(". NS-SEARCH-BOX. NS-SEARCH-BOX-SUBMIT"). click(function() { var keyword_obj = $(this). parents(". NS-SEARCH-BOX"). find(". NS-SEARCH-BOX-KEYWORD"); var keywords = keyword_obj. val(); if ($. trim(keywords). length == 0 || $. trim(keywords) == "请输入关键词") { keywords = keyword_obj. attr("data-searchwords"); } keywords = keywords. replace(//g, ">"); $(keyword_obj). val(keywords); if(keywords==null) { keywords = ""; } if($. cookie("searchRecord")! = undefined){ var arr = eval($. cookie("searchRecord")); }else{ var arr = new Array(); } if(arr. length >0){ if($. inArray(keywords, arr)< 0){ arr. push(keywords); } }else{ arr. push(keywords); } $. cookie("searchRecord", JSON. stringify(arr)); if ($(". search-li. curr"). attr('num') == 0) { window. location. href = __URL('https: //shop. hnyande. com/goods/goodslist? keyword='+keywords); }else{ window. location. href = __URL('https: //shop. hnyande. com/shop/shopstreet? shopname='+keywords); } }); }); //浮动搜索 $(document). ready(function() { $(". NS-SEARCH-BOX-TOP. NS-SEARCH-BOX-SUBMIT-TOP"). click(function() { var keyword_obj = $(this). parents(". NS-SEARCH-BOX-TOP"). find(". NS-SEARCH-BOX-KEYWORD"); var keywords = $(keyword_obj). val(); if ($. trim(keywords). length == 0 || $. trim(keywords) == "请输入关键词") { keywords = $(keyword_obj). attr("data-searchwords"); } keywords = keywords. replace(//g, ">"); if($. cookie("searchRecord")! = undefined){ var arr = eval($. cookie("searchRecord")); }else{ var arr = new Array(); } if(arr. length >0){ if($. inArray(keywords, arr)< 0){ arr. push(keywords); } }else{ arr. push(keywords); } $. cookie("searchRecord", JSON. stringify(arr)); $(keyword_obj). val(keywords); if ($(". search-li-top. curr"). attr('num') == 0) { window. location. href = __URL('https: //shop. hnyande. com/goods/goodslist? keyword='+keywords); }else{ window. location. href = __URL('https: //shop. hnyande. com/shop/shopstreet? shopname='+keywords); } }); }); //回车键搜索 $('. NS-SEARCH-BOX-KEYWORD'). bind('keypress', function (event) { if (event. keyCode == 13) { var keyword_obj = $(this). parents(". NS-SEARCH-BOX"). find(". NS-SEARCH-BOX-KEYWORD"); var keywords = keyword_obj. val(); if ($. trim(keywords). length == 0 || $. trim(keywords) == "请输入关键词") { keywords = keyword_obj. attr("data-searchwords"); } $(keyword_obj). val(keywords); if(keywords==null) { keywords = ""; } if($. cookie("searchRecord")! = undefined){ var arr = eval($. cookie("searchRecord")); }else{ var arr = new Array(); } if(arr. length >0){ if($. inArray(keywords, arr)< 0){ arr. push(keywords); } }else{ arr. push(keywords); } $. cookie("searchRecord", JSON. stringify(arr)); if ($(". search-li. curr"). attr('num') == 0) { window. location. href = __URL('https: //shop. hnyande. com/goods/goodslist? keyword='+keywords); }else{ window. location. href = __URL('https: //shop. hnyande. com/shop/shopstreet? shopname='+keywords); } } }) 全部商品分类 高考信息特快专递 长郡新高考小题冲刺训练 附中新高考考前小题训练 名师导学高考第二轮总复习 名师导学高考第一轮总复习 高考总复习小题量基础周周考 高考总复习单元同步滚动测试卷 普通高中学业水平考试过关训练 高中新课程自主学习作业本 > 语文 数学 英语 政治 历史 地理 物理 化学 生物 高一高二周周清 > 语文 数学 英语 政治 历史 地理 物理 化学 生物 名校名卷经典试题汇编 常销书籍 > 高中数学 高中作文 高中英语 英语听力 文言文, 古诗文, 现代文 区域地理 中考总复习 首页 2026二轮总复习 2026一轮总复习 单元同步滚动测试卷 小题量基础周周考 积分兑换 1 2 $. ajax({ type: "post", url: "https: //shop. hnyande. com/components/getlogininfo. html", success: function(data){ var login_info_html=''; if(data! = null && data! =""){ if(data["user_info"]["nick_name"]! =null && data["user_info"]["nick_name"]! = ""){ if(data["user_info"]["user_headimg"]==""){ login_info_html+=''; }else{ login_info_html+=''; } login_info_html+='Hi, 我是'+data["user_info"]["nick_name"]+'安全退出'; } }else{ login_info_html += ''; login_info_html += ''; login_info_html += ''; login_info_html += ''; login_info_html += 'Hi, 欢迎登录'; login_info_html += ''; login_info_html += '登录'; login_info_html += '免费注册'; login_info_html += ''; } $('. right-login-message'). html(login_info_html); } }); 加载中 $(". noticeAndArticle ul li"). mouseover(function(){ $(". noticeAndArticle ul li"). removeClass("acrive"); $(this). addClass("acrive"); var type = $(this). attr('type'); if(type == "notice"){ $('[data-type="notice"]'). show(); $('[data-type="article"]'). hide(); }else if(type == "article"){ $('[data-type="article"]'). show(); $('[data-type="notice"]'). hide(); } }) //当浏览器窗口大小改变时,设置显示内容的高度 window. onresize = function(){ $(". sidebar-cartbox"). find('. cart-panel-content'). height($(window). height() - 90); $(". sidebar-cartbox"). find('. bonus-panel-content'). height($(window). height() - 40); } $(function() { $(". quick-links"). css("top", ($(window). height())/2); $. ajax({ type: "post", url: "https: //shop. hnyande. com/components/getlogininfo. html", success: function(data){ if(data! = null && data! = ""){ var img = data["user_info"]["user_headimg"]; var name = data["user_info"]["nick_name"]; $("#not_logged"). css("display", "none"); $("#right_login_info"). css("display", "block"); $("#right_login_info_name"). text(name); if(img == '' ||img == null){ $("#login_member_logo"). attr('src', "/upload/web_common/419b57e5802bd1f3b8fdedb81fdb5fce_360_360. png"); }else{ img = __IMG(img); $("#login_member_logo"). attr('src', img); } }else{ $("#not_logged"). css("display", "block"); $("#right_login_info"). css("display", "none"); } } }) $('. layui-layer-close. layui-layer-close1'). click(function(){ $('#mask-layer-login'). hide(); $('#layui-layer'). hide(); }) refreshShopCart(); refreshShopCartBlue(); }); function showLoginLayer(){ $('#mask-layer-login'). show(); $('#layui-layer'). show(); } 你好!请登录 | 免费注册 你好! 用 户: 上次登录时间: 个人中心 订单中心 0 返回顶部. box-bd. tempWrap ul li{ float: left; width: 242px; padding: 10px 0; border-right: 1px solid #eee; margin-right: -2px; }. box-bd. tempWrap ul li: last-child{ border-right: 0; }. box-bd{ border: 1px solid #eee; }. seckill-channel. box-bd. p-img. brand-time{ margin-left: 12px; width: 90%; }. seckill-channel. box-bd. p-name a{ font-size: 13px; }. seckill-channel. box-bd{ height: auto; margin-top: 0px; }. seckill-channel. box-bd. p-over{ height: auto; }. box-bd. clearfix{ height: auto; }. brand-time{ width: 90%; } #h-seckill{ margin-top: 0; padding-top: 0; }. p-price. shop-price{ font-size: 15px; }. recommend-style{background-color: #FFF; margin-top: 10px; }. recommend-style-nav{padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid #eee; }. recommend-style-nav h2{font-weight: normal; border-left: 5px solid #0689e1; height: 29px; line-height: 29px; padding-left: 10px; display: inline-block; }. recommend-style-nav a. more{float: right; margin: 5px 10px; }. focus-img{width: 99%; position: relative; height: 260px; }. focus-img-con{position: relative; overflow: hidden; margin: 0 auto; height: 260px; }. focus-img-con ul{position: absolute; top: 0; width: 2420px; }. focus-img-con ul li{float: left; width: 241px; height: 260px; }. focus-img-con ul li{border-right: 1px solid #eee; }. focus-img-con ul li: last-child{}. focus-img-con ul li>div>div: nth-child(1){height: 160px; text-align: center; margin: 30px 0 5px 0; }. focus-img-con ul li>div>div: nth-child(1) img{max-height: 100%; max-width: 100%; }. focus-img-con ul li>div>div: nth-child(2){overflow: hidden; }. goods-name-css span{float: left; text-align: left; font-size: 13px; height: 32px; margin-left: 10px; line-height: 32px; /* overflow: hidden; white-space: nowrap; text-overflow: ellipsis; */max-width: 91%; display: -webkit-box; /** 将对象作为伸缩盒子模型显示 **/-webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp: 1; /** 显示的行数 **/overflow: hidden; /** 隐藏超出的内容 **/}. group-name-css{float: left; }. group-name-css span{display: inline-block; margin-top: 6px; margin-bottom: 6px; padding: 2px 5px; background-color: red; color: #FFF; font-size: 12px; max-width: 80px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: 3px; }. focus-img-con ul li>div>div: nth-child(3){text-align: left; padding: 0 10px; color: red; font-size: 15px; }. change-bnt{padding: 5px 10px; border: 1px solid #eee; background-color: #FFF; position: absolute; top: -40px; text-align: center; }. change-bnt img{height: 10px; width: 5px; }. prev-bnt{right: 32px; border-right: none; /* background: url(/public/static/lory/left. png); */}. next-bnt{right: 0; /* background: url(/public/static/lory/right. png); */}. bnt-ico{}. focus-img-con ul li>div{margin: 10px auto; }. tag-small-block{position: absolute; z-index: 100; width: 82px! important; /*height: 29px; */line-height: 29px; /*background: url(/template/shop/blue/public/images/merchandising_label. png); */background-repeat: no-repeat; top: -10px; color: #FFF; font-size: 12px; /*transform: rotate(314. 8deg); -ms-transform: rotate314. 8deg); -webkit-transform: rotate(314. 8deg); left: -22px; */}. tag-small-block span{display: block; text-align: center; position: absolute; top: 5px; width: 91%; left: -16px; transform: rotate(314. 8deg); -ms-transform: rotate314. 8deg); -webkit-transform: rotate(314. 8deg); } $(function(){ $("#focus-img"). changeImg({ 'boxWidth': 1210, 'changeLen': 5, 'changeSpend': 3000, 'autoChange': true, 'changeHandle': true }); //$(". prev-bnt"). append(""); //$(". next-bnt"). append(""); $(". prev-bnt"). hide(); $(". next-bnt"). hide(); }); . floor-layout. floor-content-goods {height: 426px; }. floor-layout. floor-content-goods. floor-middle {height: 426px; border-right: 1px solid #eee; }. floor-layout. floor-content-goods. floor-middle. floor-banner {height: 426px; }. floor-layout. floor-content-goods. floor-middle. floor-banner ul {height: 426px; }. floor-layout. floor-content-goods. floor-middle. floor-banner ul li {height: 426px; line-height: 0px; }. floor-layout. floor-content-goods. floor-middle. floor-banner ul li a{display: block; text-align: center; height: 300px; width: 100%; line-height: 290px; }. goods-list-padding-block{width: 100%; margin: 10px auto; position: relative; }. goods-list-padding-block>div: nth-child(1){height: 230px/*height: 130px*/; text-align: center; }. goods-list-padding-block>div: nth-child(1) img{max-height: 100%; max-width: 100%; }. goods-list-padding-block>div: nth-child(2){text-align: left; padding: 5px 10px; font-size: 13px; height: 32px; width: 90%; margin: 0 auto; display: -webkit-box; /** 将对象作为伸缩盒子模型显示 **/-webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp: 2; /** 显示的行数 **/overflow: hidden; /** 隐藏超出的内容 **/}. goods-list-padding-block>div: nth-child(3){text-align: left; padding: 5px 10px; color: red; width: 90%; margin: 0 auto; font-size: 15px; }. bland-list li {border-bottom: 1px solid #eee; width: 49. 5%; float: left; height: 106px; text-align: center; }. bland-list li a {height: 106px; line-height: 106px; }. bland-list li a img{display: inline-block! important; vertical-align: middle! important; max-width: 100%! important; max-height: 100%! important; height: auto! important; }. bland-list li: nth-child(odd){border-right: 1px solid #eee; border-left: 1px solid #eee; }. bland-list li: nth-child(7), . bland-list li: nth-child(8){border-bottom: none; }. goods-list-ul{overflow: hidden; }. goods-list-ul li{width: 33%; height: 313px/*height: 213px*/; float: left; text-align: center; border-left: 1px solid #eee; border-bottom: 1px solid #eee; }. goods-block{float: left; overflow: hidden; }. goodslist{border-left: 1px solid #eee; }. li-hover: hover{color: #0d84d4; }. category-block-h2{font-size: 17px; }. ad-title{height: 50px; line-height: 70px; font-size: 16px; text-align: center; }. ad-subtitle{height: 50px; line-height: 20px; font-size: 13px; text-align: center; }. floor-layout. floor-content-goods{height: auto; }. floor-layout. floor-content{height: auto; }. recommend{position: absolute; z-index: 10; top: -10px; left: 10px; width: 40px; } //移入事件 function hoverGoodsList(obj, id){ var parend_obj = $(obj). parent(). parent(). parent(). parent(); parend_obj. find(". goods-list-ul"). hide(); parend_obj. find(". goods-list-ul-"+id). show(); } //移除事件 function levelGoodsList(obj){ $(obj). find(". goods-list-ul"). hide(); $(obj). find(". goods-list-ul-index"). show(); }
炎德商城 - 官方直营, 正品保证 var SHOPMAIN = 'https: //shop. hnyande. com'; //外置JS调用 var APPMAIN = 'https: //shop. hnyande. com/wap'; //外置JS调用 var UPLOADAVATOR = 'upload/avator/'; //存放用户头像 var upload = ""; //外置JS调用 var UPLOADCOMMON = 'upload/common/'; //存放公共图片、网站logo、独立图片、没有任何关联的图片 var TEMP_IMG = "/template/shop/blue/public/images"; var temp = "/template/"; //外置JS调用 var STATIC = "/public/static"; $(function(){ //一级菜单选中 $('#nav li a'). removeClass('current'); var url = window. location. href; $("#nav li a"). each(function(i, e){ var nav_url = $(e). attr("href") if(url. indexOf(nav_url)! = -1){ $("#nav li>a[href='https: //shop. hnyande. com/. html']"). addClass('current'); } }) img_lazyload(); }) //图片懒加载 function img_lazyload(){ $("img. lazy_load"). lazyload({ effect: "fadeIn", //淡入效果 skip_invisible: false }) } window. onload=function(){ $. footer(); } function __URL(url) { url = url. replace('https: //shop. hnyande. com', ''); url = url. replace('https: //shop. hnyande. com/wap', 'wap'); if(url == ''|| url == null){ return 'https: //shop. hnyande. com'; }else{ var str=url. substring(0, 1); if(str=='/' || str=="\\"){ url=url. substring(1, url. length); } if($("#niushop_rewrite_model"). val()==1 || $("#niushop_rewrite_model"). val()==true){ return 'https: //shop. hnyande. com/'+url; } var action_array = url. split('? '); //检测是否是pathinfo模式 url_model = $("#niushop_url_model"). val(); if(url_model==1 || url_model==true) { var base_url = 'https: //shop. hnyande. com/'+action_array[0]; var tag = '? '; }else{ var base_url = 'https: //shop. hnyande. com? s=/'+ action_array[0]; var tag = '&'; } if(action_array[1]! = '' && action_array[1]! = null){ return base_url + tag + action_array[1]; }else{ return base_url; } } } /** * 处理图片路径 */ function __IMG(img_path){ var path = ""; if(img_path! = undefined && img_path! = ""){ if(img_path. indexOf("http: //") == -1 && img_path. indexOf("https: //") == -1){ path = "\/"+img_path; }else{ path = img_path; } } return path; } body{ background: #F5F5F5; }. category-layer. list. categorys { background: #eeeeee; }. category-layer. list. categorys. item-left { width: 100%; }. category-layer. list. categorys. subitems { width: 100%; }. category-layer. list. categorys. subitems dl { width: 95%; }. category-layer-bg { background: rgba(6, 137, 225, 0. 42); }. category-layer. list. cat. cat-name a { color: #fff; }. category-layer. list. categorys { background: rgba(238, 238, 238, 0. 91); }. category-layer. list. cat: hover { background: rgba(238, 238, 238, 0. 91); }. proclamation1. mall-news{ height: auto; }. proclamation1. mall-news a{ border-bottom: 1px solid #ccc; }. proclamation1. mall-news a: last-child{ border-bottom: none; }. category-layer. list. cat i. right-arrow{ color: #ffffff; } if($. cookie("1051_close")! =null){ $(". top-active"). hide(); } #menu-login{text-align: center; } #menu-login. register{margin-right: 10px; } 登录 注册 个人中心 已买宝贝 地址管理 我的收藏 退出登录 关注商城 关注官方微信 手机端 帮助中心 getTopLoginInfo(); function getTopLoginInfo(){ $. ajax({ type: "post", url: "https: //shop. hnyande. com/components/getlogininfo. html", success: function(data){ if(data! =null && data! =""){ $(". myinfo"). html(data["user_info"]["nick_name"]+''). show(); $("#hidden_uid"). val(data["uid"]); $("#menu-login. js-login-flag"). hide(); }else{ $(". myinfo"). hide(); $("#menu-login. js-login-flag"). show(); } } }); } function logout(){ $. ajax({ url: "https: //shop. hnyande. com/member/logout. html", type: "post", success: function (res) { if (res['code'] > 0) { $. msg("退出成功!"); window. location. reload(); } else { if(res["message"]! =null){ $. msg(res["message"]); } } } }) } //显示搜索历史 function SearRecord(){ var arrSear=new Array(); var strSear = $. cookie("searchRecord"); var sear_html="最近搜索"; if(typeof(strSear)! ='undefined' && strSear! ='null'){ var arrSear=JSON. parse(strSear); sear_html+=' 清空'; for(var i=0; i 宝贝 正在热搜中 小题训练 寒假作业 名师导学 购物车结算 最新加入的商品 您的购物车中暂无商品 去购物车结算 $(document). ready(function() { // 搜索框提示显示 $('. NS-SEARCH-BOX. NS-SEARCH-BOX-KEYWORD'). focus(function() { $(". NS-SEARCH-BOX. NS-SEARCH-BOX-HELPER"). show(); }); // 搜索框提示隐藏 $(". NS-SEARCH-BOX-HELPER. close"). on('click', function() { $(". NS-SEARCH-BOX. NS-SEARCH-BOX-HELPER"). hide(); }); // 清除记录 $(". NS-SEARCH-BOX-HELPER. clear"). click(function() { var url = '/search/clear-record. html'; $. post(url, {}, function(result) { if (result. code == 0) { $(". history-results. active"). empty(); } else { } }, 'json'); }); }); function search_box_remove(key) { var url = '/search/delete-record. html'; $. post(url, { data: key }, function(result) { if (result. code == 0) { $("#" + key). css("display", "none"); } else { } }, 'json'); } $(document). on("click", function(e) { var target = $(e. target); if (target. closest(". NS-SEARCH-BOX"). length == 0) { $('. NS-SEARCH-BOX-HELPER'). hide(); } }) // 鼠标移上时显示 $(". header-right"). hover(function(){ refreshShopCartBlue(); $(". cart-box-mask-layer"). show(); $(". header. header-right a. my-cart span. right_border"). css({ "transform": "rotate(225deg)", "marginTop": "1px" }) }, function(){ refreshShopCartBlue(); $(". cart-box-mask-layer"). hide(); $(". header. header-right a. my-cart span. right_border"). css({ "transform": "rotate(45deg)", "marginTop": "-8px" }); }) //固定搜索 $(document). ready(function() { $(". NS-SEARCH-BOX. NS-SEARCH-BOX-SUBMIT"). click(function() { var keyword_obj = $(this). parents(". NS-SEARCH-BOX"). find(". NS-SEARCH-BOX-KEYWORD"); var keywords = keyword_obj. val(); if ($. trim(keywords). length == 0 || $. trim(keywords) == "请输入关键词") { keywords = keyword_obj. attr("data-searchwords"); } keywords = keywords. replace(//g, ">"); $(keyword_obj). val(keywords); if(keywords==null) { keywords = ""; } if($. cookie("searchRecord")! = undefined){ var arr = eval($. cookie("searchRecord")); }else{ var arr = new Array(); } if(arr. length >0){ if($. inArray(keywords, arr)< 0){ arr. push(keywords); } }else{ arr. push(keywords); } $. cookie("searchRecord", JSON. stringify(arr)); if ($(". search-li. curr"). attr('num') == 0) { window. location. href = __URL('https: //shop. hnyande. com/goods/goodslist? keyword='+keywords); }else{ window. location. href = __URL('https: //shop. hnyande. com/shop/shopstreet? shopname='+keywords); } }); }); //浮动搜索 $(document). ready(function() { $(". NS-SEARCH-BOX-TOP. NS-SEARCH-BOX-SUBMIT-TOP"). click(function() { var keyword_obj = $(this). parents(". NS-SEARCH-BOX-TOP"). find(". NS-SEARCH-BOX-KEYWORD"); var keywords = $(keyword_obj). val(); if ($. trim(keywords). length == 0 || $. trim(keywords) == "请输入关键词") { keywords = $(keyword_obj). attr("data-searchwords"); } keywords = keywords. replace(//g, ">"); if($. cookie("searchRecord")! = undefined){ var arr = eval($. cookie("searchRecord")); }else{ var arr = new Array(); } if(arr. length >0){ if($. inArray(keywords, arr)< 0){ arr. push(keywords); } }else{ arr. push(keywords); } $. cookie("searchRecord", JSON. stringify(arr)); $(keyword_obj). val(keywords); if ($(". search-li-top. curr"). attr('num') == 0) { window. location. href = __URL('https: //shop. hnyande. com/goods/goodslist? keyword='+keywords); }else{ window. location. href = __URL('https: //shop. hnyande. com/shop/shopstreet? shopname='+keywords); } }); }); //回车键搜索 $('. NS-SEARCH-BOX-KEYWORD'). bind('keypress', function (event) { if (event. keyCode == 13) { var keyword_obj = $(this). parents(". NS-SEARCH-BOX"). find(". NS-SEARCH-BOX-KEYWORD"); var keywords = keyword_obj. val(); if ($. trim(keywords). length == 0 || $. trim(keywords) == "请输入关键词") { keywords = keyword_obj. attr("data-searchwords"); } $(keyword_obj). val(keywords); if(keywords==null) { keywords = ""; } if($. cookie("searchRecord")! = undefined){ var arr = eval($. cookie("searchRecord")); }else{ var arr = new Array(); } if(arr. length >0){ if($. inArray(keywords, arr)< 0){ arr. push(keywords); } }else{ arr. push(keywords); } $. cookie("searchRecord", JSON. stringify(arr)); if ($(". search-li. curr"). attr('num') == 0) { window. location. href = __URL('https: //shop. hnyande. com/goods/goodslist? keyword='+keywords); }else{ window. location. href = __URL('https: //shop. hnyande. com/shop/shopstreet? shopname='+keywords); } } }) 全部商品分类 高考信息特快专递 长郡新高考小题冲刺训练 附中新高考考前小题训练 名师导学高考第二轮总复习 名师导学高考第一轮总复习 高考总复习小题量基础周周考 高考总复习单元同步滚动测试卷 普通高中学业水平考试过关训练 高中新课程自主学习作业本 > 语文 数学 英语 政治 历史 地理 物理 化学 生物 高一高二周周清 > 语文 数学 英语 政治 历史 地理 物理 化学 生物 名校名卷经典试题汇编 常销书籍 > 高中数学 高中作文 高中英语 英语听力 文言文, 古诗文, 现代文 区域地理 中考总复习 首页 2026二轮总复习 2026一轮总复习 单元同步滚动测试卷 小题量基础周周考 积分兑换 1 2 $. ajax({ type: "post", url: "https: //shop. hnyande. com/components/getlogininfo. html", success: function(data){ var login_info_html=''; if(data! = null && data! =""){ if(data["user_info"]["nick_name"]! =null && data["user_info"]["nick_name"]! = ""){ if(data["user_info"]["user_headimg"]==""){ login_info_html+=''; }else{ login_info_html+=''; } login_info_html+='Hi, 我是'+data["user_info"]["nick_name"]+'安全退出'; } }else{ login_info_html += ''; login_info_html += ''; login_info_html += ''; login_info_html += ''; login_info_html += 'Hi, 欢迎登录'; login_info_html += ''; login_info_html += '登录'; login_info_html += '免费注册'; login_info_html += ''; } $('. right-login-message'). html(login_info_html); } }); 加载中 $(". noticeAndArticle ul li"). mouseover(function(){ $(". noticeAndArticle ul li"). removeClass("acrive"); $(this). addClass("acrive"); var type = $(this). attr('type'); if(type == "notice"){ $('[data-type="notice"]'). show(); $('[data-type="article"]'). hide(); }else if(type == "article"){ $('[data-type="article"]'). show(); $('[data-type="notice"]'). hide(); } }) //当浏览器窗口大小改变时,设置显示内容的高度 window. onresize = function(){ $(". sidebar-cartbox"). find('. cart-panel-content'). height($(window). height() - 90); $(". sidebar-cartbox"). find('. bonus-panel-content'). height($(window). height() - 40); } $(function() { $(". quick-links"). css("top", ($(window). height())/2); $. ajax({ type: "post", url: "https: //shop. hnyande. com/components/getlogininfo. html", success: function(data){ if(data! = null && data! = ""){ var img = data["user_info"]["user_headimg"]; var name = data["user_info"]["nick_name"]; $("#not_logged"). css("display", "none"); $("#right_login_info"). css("display", "block"); $("#right_login_info_name"). text(name); if(img == '' ||img == null){ $("#login_member_logo"). attr('src', "/upload/web_common/419b57e5802bd1f3b8fdedb81fdb5fce_360_360. png"); }else{ img = __IMG(img); $("#login_member_logo"). attr('src', img); } }else{ $("#not_logged"). css("display", "block"); $("#right_login_info"). css("display", "none"); } } }) $('. layui-layer-close. layui-layer-close1'). click(function(){ $('#mask-layer-login'). hide(); $('#layui-layer'). hide(); }) refreshShopCart(); refreshShopCartBlue(); }); function showLoginLayer(){ $('#mask-layer-login'). show(); $('#layui-layer'). show(); } 你好!请登录 | 免费注册 你好! 用 户: 上次登录时间: 个人中心 订单中心 0 返回顶部. box-bd. tempWrap ul li{ float: left; width: 242px; padding: 10px 0; border-right: 1px solid #eee; margin-right: -2px; }. box-bd. tempWrap ul li: last-child{ border-right: 0; }. box-bd{ border: 1px solid #eee; }. seckill-channel. box-bd. p-img. brand-time{ margin-left: 12px; width: 90%; }. seckill-channel. box-bd. p-name a{ font-size: 13px; }. seckill-channel. box-bd{ height: auto; margin-top: 0px; }. seckill-channel. box-bd. p-over{ height: auto; }. box-bd. clearfix{ height: auto; }. brand-time{ width: 90%; } #h-seckill{ margin-top: 0; padding-top: 0; }. p-price. shop-price{ font-size: 15px; }. recommend-style{background-color: #FFF; margin-top: 10px; }. recommend-style-nav{padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid #eee; }. recommend-style-nav h2{font-weight: normal; border-left: 5px solid #0689e1; height: 29px; line-height: 29px; padding-left: 10px; display: inline-block; }. recommend-style-nav a. more{float: right; margin: 5px 10px; }. focus-img{width: 99%; position: relative; height: 260px; }. focus-img-con{position: relative; overflow: hidden; margin: 0 auto; height: 260px; }. focus-img-con ul{position: absolute; top: 0; width: 2420px; }. focus-img-con ul li{float: left; width: 241px; height: 260px; }. focus-img-con ul li{border-right: 1px solid #eee; }. focus-img-con ul li: last-child{}. focus-img-con ul li>div>div: nth-child(1){height: 160px; text-align: center; margin: 30px 0 5px 0; }. focus-img-con ul li>div>div: nth-child(1) img{max-height: 100%; max-width: 100%; }. focus-img-con ul li>div>div: nth-child(2){overflow: hidden; }. goods-name-css span{float: left; text-align: left; font-size: 13px; height: 32px; margin-left: 10px; line-height: 32px; /* overflow: hidden; white-space: nowrap; text-overflow: ellipsis; */max-width: 91%; display: -webkit-box; /** 将对象作为伸缩盒子模型显示 **/-webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp: 1; /** 显示的行数 **/overflow: hidden; /** 隐藏超出的内容 **/}. group-name-css{float: left; }. group-name-css span{display: inline-block; margin-top: 6px; margin-bottom: 6px; padding: 2px 5px; background-color: red; color: #FFF; font-size: 12px; max-width: 80px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: 3px; }. focus-img-con ul li>div>div: nth-child(3){text-align: left; padding: 0 10px; color: red; font-size: 15px; }. change-bnt{padding: 5px 10px; border: 1px solid #eee; background-color: #FFF; position: absolute; top: -40px; text-align: center; }. change-bnt img{height: 10px; width: 5px; }. prev-bnt{right: 32px; border-right: none; /* background: url(/public/static/lory/left. png); */}. next-bnt{right: 0; /* background: url(/public/static/lory/right. png); */}. bnt-ico{}. focus-img-con ul li>div{margin: 10px auto; }. tag-small-block{position: absolute; z-index: 100; width: 82px! important; /*height: 29px; */line-height: 29px; /*background: url(/template/shop/blue/public/images/merchandising_label. png); */background-repeat: no-repeat; top: -10px; color: #FFF; font-size: 12px; /*transform: rotate(314. 8deg); -ms-transform: rotate314. 8deg); -webkit-transform: rotate(314. 8deg); left: -22px; */}. tag-small-block span{display: block; text-align: center; position: absolute; top: 5px; width: 91%; left: -16px; transform: rotate(314. 8deg); -ms-transform: rotate314. 8deg); -webkit-transform: rotate(314. 8deg); } $(function(){ $("#focus-img"). changeImg({ 'boxWidth': 1210, 'changeLen': 5, 'changeSpend': 3000, 'autoChange': true, 'changeHandle': true }); //$(". prev-bnt"). append(""); //$(". next-bnt"). append(""); $(". prev-bnt"). hide(); $(". next-bnt"). hide(); }); . floor-layout. floor-content-goods {height: 426px; }. floor-layout. floor-content-goods. floor-middle {height: 426px; border-right: 1px solid #eee; }. floor-layout. floor-content-goods. floor-middle. floor-banner {height: 426px; }. floor-layout. floor-content-goods. floor-middle. floor-banner ul {height: 426px; }. floor-layout. floor-content-goods. floor-middle. floor-banner ul li {height: 426px; line-height: 0px; }. floor-layout. floor-content-goods. floor-middle. floor-banner ul li a{display: block; text-align: center; height: 300px; width: 100%; line-height: 290px; }. goods-list-padding-block{width: 100%; margin: 10px auto; position: relative; }. goods-list-padding-block>div: nth-child(1){height: 230px/*height: 130px*/; text-align: center; }. goods-list-padding-block>div: nth-child(1) img{max-height: 100%; max-width: 100%; }. goods-list-padding-block>div: nth-child(2){text-align: left; padding: 5px 10px; font-size: 13px; height: 32px; width: 90%; margin: 0 auto; display: -webkit-box; /** 将对象作为伸缩盒子模型显示 **/-webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp: 2; /** 显示的行数 **/overflow: hidden; /** 隐藏超出的内容 **/}. goods-list-padding-block>div: nth-child(3){text-align: left; padding: 5px 10px; color: red; width: 90%; margin: 0 auto; font-size: 15px; }. bland-list li {border-bottom: 1px solid #eee; width: 49. 5%; float: left; height: 106px; text-align: center; }. bland-list li a {height: 106px; line-height: 106px; }. bland-list li a img{display: inline-block! important; vertical-align: middle! important; max-width: 100%! important; max-height: 100%! important; height: auto! important; }. bland-list li: nth-child(odd){border-right: 1px solid #eee; border-left: 1px solid #eee; }. bland-list li: nth-child(7), . bland-list li: nth-child(8){border-bottom: none; }. goods-list-ul{overflow: hidden; }. goods-list-ul li{width: 33%; height: 313px/*height: 213px*/; float: left; text-align: center; border-left: 1px solid #eee; border-bottom: 1px solid #eee; }. goods-block{float: left; overflow: hidden; }. goodslist{border-left: 1px solid #eee; }. li-hover: hover{color: #0d84d4; }. category-block-h2{font-size: 17px; }. ad-title{height: 50px; line-height: 70px; font-size: 16px; text-align: center; }. ad-subtitle{height: 50px; line-height: 20px; font-size: 13px; text-align: center; }. floor-layout. floor-content-goods{height: auto; }. floor-layout. floor-content{height: auto; }. recommend{position: absolute; z-index: 10; top: -10px; left: 10px; width: 40px; } //移入事件 function hoverGoodsList(obj, id){ var parend_obj = $(obj). parent(). parent(). parent(). parent(); parend_obj. find(". goods-list-ul"). hide(); parend_obj. find(". goods-list-ul-"+id). show(); } //移除事件 function levelGoodsList(obj){ $(obj). find(". goods-list-ul"). hide(); $(obj). find(". goods-list-ul-index"). show(); }