不限
diff --git a/application/tags.php b/application/tags.php
index 051a7d96e3479f27d330629caa44550d7932e387..36069bb8b241983cd8a1451463da6769f64ba86e 100755
--- a/application/tags.php
+++ b/application/tags.php
@@ -48,17 +48,14 @@ return array (
'plugins_css' =>
array (
0 => 'app\\plugins\\commonrightnavigation\\Hook',
- 1 => 'app\\plugins\\commononlineservice\\Hook',
),
'plugins_js' =>
array (
0 => 'app\\plugins\\commonrightnavigation\\Hook',
- 1 => 'app\\plugins\\commononlineservice\\Hook',
),
'plugins_view_common_bottom' =>
array (
0 => 'app\\plugins\\commonrightnavigation\\Hook',
- 1 => 'app\\plugins\\commononlineservice\\Hook',
),
);
?>
\ No newline at end of file
diff --git a/public/static/index/default/css/search.css b/public/static/index/default/css/search.css
index 80f3a28058f2fe84a2e92e0e23f4330a40c975ff..9c727422b4efdde4c01a6b7932822f710ddbd267 100755
--- a/public/static/index/default/css/search.css
+++ b/public/static/index/default/css/search.css
@@ -7,7 +7,7 @@ dl,dt,dd{ margin:0px auto; padding:0px;}
img{ max-width:100%;}
.price{color: #e4393c;font-weight: 600;}
-.theme-popover {z-index: 1009;overflow:visible;background:#fff; width: 100%; }
+.theme-popover {z-index: 1011;overflow:visible;background:#fff; width: 100%; }
.sort-nav a:hover, .sort-nav a:focus { color: #d2364c; }
.select .title-tips { font-size: 12px; color: #888; }
.select .title-tips strong { font-weight: 500; color: #fe90a0; }
@@ -54,7 +54,7 @@ dl#select2 .dd-conent{ left:-100%; right:-100%;}
dl#select3 .dd-conent{ left:-200%; right:0px;}
.search-content .am-badge{font-size:12px ;padding:0px 0px;background-color: #999999;color: #ffffff;}
-.theme-popover-mask{z-index:5;width: 100%;height: auto;position:fixed ;background:#000 ;top:0;opacity: 0.6;bottom: 0;}
+.theme-popover-mask{z-index:1001;width: 100%;height: auto;position:fixed ;background:#000 ;top:0;opacity: 0.6;bottom: 0;}
/*搜索结果*/
.i-pic.limit {margin:5px;border: 1px #e8e8e8 solid;overflow: hidden;position: relative;cursor: pointer;}
diff --git a/public/static/index/default/js/search.js b/public/static/index/default/js/search.js
index 0abed37639d39288a329bca0f25c599e245f29ab..fa4c0ce0ec1f67cfc839bfdfe3bc6ff46e126d43 100755
--- a/public/static/index/default/js/search.js
+++ b/public/static/index/default/js/search.js
@@ -70,42 +70,43 @@ $(function()
get_goods_list(1);
});
-
- var hh = document.documentElement.clientHeight;
- var ls = document.documentElement.clientWidth;
- if (ls < 640)
+ // 条件分类组筛选
+ $(".select dt").on('click', function()
{
- $(".select dt").on('click', function() {
+ if($(window).width() < 640)
+ {
$('body,html').scrollTop(0);
- $(this).next('div.dd-conent').css('top', ($(this).offset().top+33)+'px')
-
+ $(this).next('div.dd-conent').css('top', ($('.theme-popover').height())+'px');
if ($(this).next('div.dd-conent').css("display") == 'none') {
$(".theme-popover-mask").show();
- $(".theme-popover").css({"position":"fixed", "top":0, "padding-top":"46px"});
+ $(".theme-popover").css({"position":"fixed", "top":0});
$(this).next('div.dd-conent').slideToggle(300);
$('.select div.dd-conent').not($(this).next()).hide();
} else {
$(this).next('div.dd-conent').slideUp(300);
$(".theme-popover-mask").hide();
- $(".theme-popover").css({"position":"static", "top":0, "padding-top":"0"});
+ $(".theme-popover").css({"position":"static", "top":0});
}
- })
-
- $(document).on("click", ".screening-remove-submit", function() {
- $(".dd-conent").slideUp(300);
- })
+ }
+ });
- $(document).on("click", ".select dd", function() {
- $(".dd-conent").slideUp(300);
- $(".theme-popover-mask").hide();
- $(".theme-popover").css({"position":"static", "top":0, "padding-top":"0"});
- });
- $(document).on("click", ".theme-popover-mask", function() {
+ // 取消条件/移除条件
+ $(document).on("click", ".select dd, .screening-remove-submit", function()
+ {
+ if($(document).width() < 640)
+ {
$(".dd-conent").slideUp(300);
$(".theme-popover-mask").hide();
$(".theme-popover").css({"position":"static", "top":0, "padding-top":"0"});
- });
- }
+ }
+ });
+ $(document).on("click", ".theme-popover-mask", function()
+ {
+ $(".dd-conent").slideUp(300);
+ $(".theme-popover-mask").hide();
+ $(".theme-popover").css({"position":"static", "top":0, "padding-top":"0"});
+ });
+
// 导航显示/隐藏处理
function search_nav()
@@ -134,7 +135,14 @@ $(function()
// 浏览器窗口实时事件
$(window).resize(function()
{
+ // 导航
search_nav();
+
+ // 条件筛选
+ if($(document).width() >= 640)
+ {
+ $('.dd-conent').show();
+ }
});
search_nav();