liuxiaolu 8 éve
szülő
commit
bc01eecb04

+ 51 - 0
src/jfw/modules/entsesearch/src/web/staticres/jylab/entsesearch/css/dropload.css

@@ -0,0 +1,51 @@
+.dropload-up,.dropload-down{
+    position: relative;
+    height: 0;
+    overflow: hidden;
+    font-size: 12px;
+    /* 开启硬件加速 */
+    -webkit-transform:translateZ(0);
+    transform:translateZ(0);
+}
+.dropload-down{
+    height: 50px;
+}
+.dropload-refresh,.dropload-update,.dropload-load,.dropload-noData{
+    height: 50px;
+    line-height: 50px;
+    text-align: center;
+}
+.dropload-load .loading{
+    display: inline-block;
+    height: 15px;
+    width: 15px;
+    border-radius: 100%;
+    margin: 6px;
+    border: 2px solid #666;
+    border-bottom-color: transparent;
+    vertical-align: middle;
+    -webkit-animation: rotate 0.75s linear infinite;
+    animation: rotate 0.75s linear infinite;
+}
+@-webkit-keyframes rotate {
+    0% {
+        -webkit-transform: rotate(0deg);
+    }
+    50% {
+        -webkit-transform: rotate(180deg);
+    }
+    100% {
+        -webkit-transform: rotate(360deg);
+    }
+}
+@keyframes rotate {
+    0% {
+        transform: rotate(0deg);
+    }
+    50% {
+        transform: rotate(180deg);
+    }
+    100% {
+        transform: rotate(360deg);
+    }
+}

+ 60 - 0
src/jfw/modules/entsesearch/src/web/staticres/jylab/entsesearch/css/wxlist.css

@@ -0,0 +1,60 @@
+.tslist .bt{
+	color:#1d1d1d;
+	text-decoration: none;
+	word-break: break-all;
+}
+.tslist .keyword{
+	color:#2cb7ca;
+}
+.tslist{
+	border-bottom: 1px solid #e5e6e9;
+	padding: 17px 0px 17px 0px;
+}
+.resnumb .two{
+	font-size:16px;
+	font-weight:500;
+	padding-left:25px;
+	float:left;
+	line-height:24px;
+}
+.resnumb{
+	position: relative;
+}
+.resnumb .one{
+	color:#1d1d1d;
+	font-size:16px;
+	width:25px;
+	position: absolute;
+	top: 1px;
+}
+.restime{
+	float:right; 
+	color:#999;
+	margin-top:10px;
+	font-size: 14px;
+	margin-right: 5px;
+}
+.reslist{
+	width:100%;
+	height:90px;
+	border-bottom:1px solid #ddd;
+	padding-top:5px;
+}
+.restime span.location{
+	margin: 0px 5px;
+	background: #24C0D7;
+	color: #FFF;
+	font-size: 14px;
+    border:1px solid #24C0D7;
+    border-radius: 3px;
+    padding: 1px 3px;
+}
+.restime span.type{
+	border: 1px solid #ffba00;
+	background:#ffba00;
+	border-radius: 3px;
+	margin: 0px 5px;
+	padding: 1px 3px;
+	color: #fff;
+	font-size: 14px;
+}

+ 327 - 0
src/jfw/modules/entsesearch/src/web/staticres/jylab/entsesearch/js/dropload.js

@@ -0,0 +1,327 @@
+/**
+ * dropload
+ * 西门(http://ons.me/526.html)
+ * 0.9.1(161205)
+ */
+
+;(function($){
+    'use strict';
+    var win = window;
+    var doc = document;
+    var $win = $(win);
+    var $doc = $(doc);
+    $.fn.dropload = function(options){
+		if(options.scrollArea == window.top){
+			win = window.top;
+			$win = $(win);
+			doc = window.top.document;
+		    $doc = $(doc);
+		}
+        return new MyDropLoad(this, options);
+    };
+    var MyDropLoad = function(element, options){
+        var me = this;
+        me.$element = element;
+        // 上方是否插入DOM
+        me.upInsertDOM = false;
+        // loading状态
+        me.loading = false;
+        // 是否锁定
+        me.isLockUp = false;
+        me.isLockDown = false;
+        // 是否有数据
+        me.isData = true;
+        me._scrollTop = 0;
+        me._threshold = 0;
+        me.init(options);
+    };
+
+    // 初始化
+    MyDropLoad.prototype.init = function(options){
+        var me = this;
+        me.opts = $.extend(true, {}, {
+            scrollArea : me.$element,                                            // 滑动区域
+            domUp : {                                                            // 上方DOM
+                domClass   : 'dropload-up',
+                domRefresh : '<div class="dropload-refresh">↓下拉刷新</div>',
+                domUpdate  : '<div class="dropload-update">↑释放更新</div>',
+                domLoad    : '<div class="dropload-load"><span class="loading"></span>加载中...</div>'
+            },
+            domDown : {                                                          // 下方DOM
+                domClass   : 'dropload-down',
+                domRefresh : '<div class="dropload-refresh">↑上拉加载更多</div>',
+                domLoad    : '<div class="dropload-load"><span class="loading"></span>加载中...</div>',
+                domNoData  : '<div class="dropload-noData">没有更多了</div>'
+            },
+            autoLoad : true,                                                     // 自动加载
+            distance : 50,                                                       // 拉动距离
+            threshold : '',                                                      // 提前加载距离
+            loadUpFn : '',                                                       // 上方function
+            loadDownFn : ''                                                      // 下方function
+        }, options);
+
+        // 如果加载下方,事先在下方插入DOM
+        if(me.opts.loadDownFn != ''){
+            me.$element.append('<div class="'+me.opts.domDown.domClass+'">'+me.opts.domDown.domRefresh+'</div>');
+            me.$domDown = $('.'+me.opts.domDown.domClass);
+        }
+
+        // 计算提前加载距离
+        if(!!me.$domDown && me.opts.threshold === ''){
+            // 默认滑到加载区2/3处时加载
+            me._threshold = Math.floor(me.$domDown.height()*1/3);
+        }else{
+            me._threshold = me.opts.threshold;
+        }
+
+        // 判断滚动区域
+        if(me.opts.scrollArea == win){
+            me.$scrollArea = $win;
+            // 获取文档高度
+            me._scrollContentHeight = $doc.height();
+            // 获取win显示区高度  —— 这里有坑
+            me._scrollWindowHeight = doc.body.clientHeight;
+			//alert(me._scrollContentHeight+"---"+me._scrollWindowHeight)
+        }else{
+            me.$scrollArea = me.opts.scrollArea;
+            me._scrollContentHeight = me.$element[0].scrollHeight;
+            me._scrollWindowHeight = me.$element.height();
+        }
+        fnAutoLoad(me);
+
+        // 窗口调整
+        $win.on('resize',function(){
+			return;
+            clearTimeout(me.timer);
+            me.timer = setTimeout(function(){
+                if(me.opts.scrollArea == win){
+                // 重新获取win显示区高度
+                me._scrollWindowHeight = win.innerHeight;
+                }else{
+                    me._scrollWindowHeight = me.$element.height();
+                }
+                fnAutoLoad(me);
+            },150);
+            
+        });
+
+        // 绑定触摸
+        me.$element.on('touchstart',function(e){
+            if(!me.loading){
+                fnTouches(e);
+                fnTouchstart(e, me);
+            }
+        });
+        me.$element.on('touchmove',function(e){
+            if(!me.loading){
+                fnTouches(e, me);
+                fnTouchmove(e, me);
+            }
+        });
+        me.$element.on('touchend',function(){
+            if(!me.loading){
+                fnTouchend(me);
+            }
+        });
+
+        // 加载下方
+        me.$scrollArea.on('scroll',function(){
+			if(typeof(window.top.scrollTop) != "undefined"){
+				window.top.scrollTop = $(this).scrollTop();
+			}
+            me._scrollTop = me.$scrollArea.scrollTop();
+
+            // 滚动页面触发加载数据
+			//alert(me._scrollContentHeight +"--"+ me._threshold+"--"+me._scrollWindowHeight +"--"+ me._scrollTop)
+            if(me.opts.loadDownFn != '' && !me.loading && !me.isLockDown && (me._scrollContentHeight - me._threshold) <= (me._scrollWindowHeight + me._scrollTop)){
+                loadDown(me);
+            }
+        });
+    };
+
+    // touches
+    function fnTouches(e){
+        if(!e.touches){
+            e.touches = e.originalEvent.touches;
+        }
+    }
+
+    // touchstart
+    function fnTouchstart(e, me){
+        me._startY = e.touches[0].pageY;
+        // 记住触摸时的scrolltop值
+        me.touchScrollTop = me.$scrollArea.scrollTop();
+    }
+
+    // touchmove
+    function fnTouchmove(e, me){
+        me._curY = e.touches[0].pageY;
+        me._moveY = me._curY - me._startY;
+
+        if(me._moveY > 0){
+            me.direction = 'down';
+        }else if(me._moveY < 0){
+            me.direction = 'up';
+        }
+
+        var _absMoveY = Math.abs(me._moveY);
+
+        // 加载上方
+        if(me.opts.loadUpFn != '' && me.touchScrollTop <= 0 && me.direction == 'down' && !me.isLockUp){
+            e.preventDefault();
+
+            me.$domUp = $('.'+me.opts.domUp.domClass);
+            // 如果加载区没有DOM
+            if(!me.upInsertDOM){
+                me.$element.prepend('<div class="'+me.opts.domUp.domClass+'"></div>');
+                me.upInsertDOM = true;
+            }
+            
+            fnTransition(me.$domUp,0);
+
+            // 下拉
+            if(_absMoveY <= me.opts.distance){
+                me._offsetY = _absMoveY;
+                // todo:move时会不断清空、增加dom,有可能影响性能,下同
+                me.$domUp.html(me.opts.domUp.domRefresh);
+            // 指定距离 < 下拉距离 < 指定距离*2
+            }else if(_absMoveY > me.opts.distance && _absMoveY <= me.opts.distance*2){
+                me._offsetY = me.opts.distance+(_absMoveY-me.opts.distance)*0.5;
+                me.$domUp.html(me.opts.domUp.domUpdate);
+            // 下拉距离 > 指定距离*2
+            }else{
+                me._offsetY = me.opts.distance+me.opts.distance*0.5+(_absMoveY-me.opts.distance*2)*0.2;
+            }
+
+            me.$domUp.css({'height': me._offsetY});
+        }
+    }
+
+    // touchend
+    function fnTouchend(me){
+        var _absMoveY = Math.abs(me._moveY);
+        if(me.opts.loadUpFn != '' && me.touchScrollTop <= 0 && me.direction == 'down' && !me.isLockUp){
+            fnTransition(me.$domUp,300);
+
+            if(_absMoveY > me.opts.distance){
+                me.$domUp.css({'height':me.$domUp.children().height()});
+                me.$domUp.html(me.opts.domUp.domLoad);
+                me.loading = true;
+                me.opts.loadUpFn(me);
+            }else{
+                me.$domUp.css({'height':'0'}).on('webkitTransitionEnd mozTransitionEnd transitionend',function(){
+                    me.upInsertDOM = false;
+                    $(this).remove();
+                });
+            }
+            me._moveY = 0;
+        }
+    }
+
+    // 如果文档高度不大于窗口高度,数据较少,自动加载下方数据
+    function fnAutoLoad(me){
+        if(me.opts.loadDownFn != '' && me.opts.autoLoad){
+			//alert(me._scrollContentHeight +"----"+  me._threshold+"----"+ me._scrollWindowHeight)
+            if((me._scrollContentHeight - me._threshold) <= me._scrollWindowHeight){
+                loadDown(me);
+            }
+        }
+    }
+
+    // 重新获取文档高度
+    function fnRecoverContentHeight(me){
+        if(me.opts.scrollArea == win){
+            me._scrollContentHeight = $doc.height();
+			//alert(me._scrollContentHeight +"----"+  me._threshold+"----"+ me._scrollWindowHeight)
+        }else{
+            me._scrollContentHeight = me.$element[0].scrollHeight;
+        }
+    }
+
+    // 加载下方
+    function loadDown(me){
+        me.direction = 'up';
+        me.$domDown.html(me.opts.domDown.domLoad);
+        me.loading = true;
+        me.opts.loadDownFn(me);
+    }
+
+    // 锁定
+    MyDropLoad.prototype.lock = function(direction){
+        var me = this;
+        // 如果不指定方向
+        if(direction === undefined){
+            // 如果操作方向向上
+            if(me.direction == 'up'){
+                me.isLockDown = true;
+            // 如果操作方向向下
+            }else if(me.direction == 'down'){
+                me.isLockUp = true;
+            }else{
+                me.isLockUp = true;
+                me.isLockDown = true;
+            }
+        // 如果指定锁上方
+        }else if(direction == 'up'){
+            me.isLockUp = true;
+        // 如果指定锁下方
+        }else if(direction == 'down'){
+            me.isLockDown = true;
+            // 为了解决DEMO5中tab效果bug,因为滑动到下面,再滑上去点tab,direction=down,所以有bug
+            me.direction = 'up';
+        }
+    };
+
+    // 解锁
+    MyDropLoad.prototype.unlock = function(){
+        var me = this;
+        // 简单粗暴解锁
+        me.isLockUp = false;
+        me.isLockDown = false;
+        // 为了解决DEMO5中tab效果bug,因为滑动到下面,再滑上去点tab,direction=down,所以有bug
+        me.direction = 'up';
+    };
+
+    // 无数据
+    MyDropLoad.prototype.noData = function(flag){
+        var me = this;
+        if(flag === undefined || flag == true){
+            me.isData = false;
+        }else if(flag == false){
+            me.isData = true;
+        }
+    };
+
+    // 重置
+    MyDropLoad.prototype.resetload = function(){
+        var me = this;
+        if(me.direction == 'down' && me.upInsertDOM){
+            me.$domUp.css({'height':'0'}).on('webkitTransitionEnd mozTransitionEnd transitionend',function(){
+                me.loading = false;
+                me.upInsertDOM = false;
+                $(this).remove();
+                fnRecoverContentHeight(me);
+            });
+        }else if(me.direction == 'up'){
+            me.loading = false;
+            // 如果有数据
+            if(me.isData){
+                // 加载区修改样式
+                me.$domDown.html(me.opts.domDown.domRefresh);
+                fnRecoverContentHeight(me);
+                fnAutoLoad(me);
+            }else{
+                // 如果没数据
+                me.$domDown.html(me.opts.domDown.domNoData);
+            }
+        }
+    };
+
+    // css过渡
+    function fnTransition(dom,num){
+        dom.css({
+            '-webkit-transition':'all '+num+'ms',
+            'transition':'all '+num+'ms'
+        });
+    }
+})(window.Zepto || window.jQuery);

+ 26 - 0
src/jfw/modules/entsesearch/src/web/staticres/jylab/entsesearch/wxswordfish/jquery.resize.js

@@ -0,0 +1,26 @@
+jQuery.event.special.resizeblock = {
+	setup: function(data, namespaces) {
+		var elem = this;
+		var handler = jQuery.proxy(jQuery.event.special.resizeblock.handler, elem);
+		jQuery(elem).data('handler', elem);
+		var ifr = $('<iframe style="position: absolute; top:0; left:0; width:100%; height:100%; border:0; margin:0; padding:0; z-index: -100;" />');
+		jQuery(elem).append(ifr);
+		jQuery(elem).data('resize_frame', ifr);
+		var wnd = $(ifr).get(0).contentWindow;
+		jQuery(wnd).on  ('resize', handler);
+	},
+	teardown: function(namespaces) {
+		var elem = this;
+		var handler = jQuery(elem).data('handler');
+		var ifr = jQuery(elem).data('resize_frame');
+		var wnd = $(ifr).get(0).contentWindow;
+		jQuery(wnd).off ('resize', handler);
+		jQuery(elem).remove(ifr);
+		jQuery(elem).data('resize_frame', null);
+		jQuery(elem).data('handler', null);
+	},
+	handler: function(event) {
+		var elem = this;
+		jQuery(elem).triggerHandler('resizeblock');
+	}
+}

+ 369 - 0
src/jfw/modules/entsesearch/src/web/staticres/jylab/entsesearch/wxswordfish/search.js

@@ -0,0 +1,369 @@
+$(function(){
+	
+	var winWidth=$(window).width();
+	var winHeight=$(window).height();
+	$(".point img:first").css("width",winWidth*0.8+"px");
+	$(".pointclose").css("width",winWidth*0.21+"px");
+	////
+	$(".q-mark").click(function(){
+		$(".point").removeClass("hidden");
+	});
+	$(".q-marklist").click(function(){
+		$(".pointlist").removeClass("hidden");
+	});
+	$(".pointclose").click(function(){
+		lifirst = false;
+		$(".point").addClass("hidden");
+	});
+	$(".pointcloselist").click(function(){
+		window.top.lifirst = false;
+		$(".pointlist").addClass("hidden");
+	});
+	//
+	$(".shaixpt").click(function(){
+		$(".jypt-dialog").removeClass("hidden");
+		$(".jydq-dialog,.jytype-dialog").addClass("hidden");
+		$(".shaixpt").addClass("shaixcl");
+		$(".shaixtwo,.shaixone").removeClass("shaixcl");
+		$(".shaixpt img").attr("src","/images/wx/jyxiazh.png")
+		$(".shaixone img,.shaixtwo img").attr("src","/images/wx/jyxia.png");
+		try{
+			adjustIframeHeight(1);
+		}catch(e){}
+	});
+	$(".shaixone").click(function(){
+		$(".jydq-dialog").removeClass("hidden");
+		$(".jypt-dialog,.jytype-dialog").addClass("hidden");
+		$(".shaixone").addClass("shaixcl");
+		$(".shaixpt,.shaixtwo").removeClass("shaixcl");
+		$(".shaixone img").attr("src","/images/wx/jyxiazh.png");
+		$(".shaixpt img,.shaixtwo img").attr("src","/images/wx/jyxia.png");
+		try{
+			adjustIframeHeight(0);
+		}catch(e){}
+	});
+	$(".shaixtwo").click(function(){
+		if(window.top.lipost == "F"){
+			//$.post("/front/lifirst","","")
+			window.top.lipost = "T"
+		}
+		if(window.top.lifirst){
+			$(".idpoint").removeClass("hidden");
+		}
+		$(".newest").removeClass("hidden");
+		$(".point").removeClass("idpoint");
+		$(".pointlist").removeClass("idpoint");
+		$(".jytype-dialog").removeClass("hidden");
+		$(".jypt-dialog,.jydq-dialog").addClass("hidden");
+		$(".shaixtwo").addClass("shaixcl");
+		$(".shaixpt,.shaixone").removeClass("shaixcl");
+		$(".shaixpt img,.shaixone img").attr("src","/images/wx/jyxia.png");
+		$(".shaixtwo img").attr("src","/images/wx/jyxiazh.png");
+		try{
+			adjustIframeHeight(0);
+		}catch(e){}
+	});
+		
+	var dialogObj = $(".contentone");
+	dialogObj.find(".btn").click(function(){
+		if($(this).parent().index() == 0){
+			dialogObj.find('div[id="dqbtn"]').removeClass("active");
+			dialogObj.find(".btn").removeClass("active");
+		}else{
+			dialogObj.find("ul:first li:first .btn").removeClass("active");
+		};
+		$(this).toggleClass("active");
+		if ($(this).attr("class")!="active"){
+			$(this).prevAll('div[id="dqbtn"]').removeClass("active");
+		};
+		if($(this).parent("li").find(".btn").length == $(this).parent("li").find(".btn.active").length){
+			$(this).prevAll('div[id="dqbtn"]').addClass("active");
+		};
+		if(dialogObj.find(".btn.active").length == 0){
+			dialogObj.find("ul:first li:first .btn").addClass("active");
+		};
+	});
+	dialogObj.find('div[id="dqbtn"]').click(function(){
+		$(this).toggleClass("active");
+		if ($(this).attr("class") != "active"){
+			$(this).nextAll(".btn").removeClass("active");
+		}else{
+			$(this).nextAll(".btn").addClass("active");
+			dialogObj.find("ul:first li:first .btn").removeClass("active");
+		};
+		if(dialogObj.find(".btn.active").length == 0){
+			dialogObj.find("ul:first li:first .btn").addClass("active");
+		};
+	});
+	
+	var dialogObjtwo = $(".contenttwo");
+	dialogObjtwo.find(".btn").click(function(){
+		if($(this).parent().index() == 0){
+			dialogObjtwo.find('div[id="dqbtn"]').removeClass("active");
+			dialogObjtwo.find(".btn").removeClass("active");
+		}else{
+			dialogObjtwo.find("ul:first li:first .btn").removeClass("active");
+		};
+		$(this).toggleClass("active");
+		if ($(this).attr("class")!="active"){
+			$(this).prevAll('div[id="dqbtn"]').removeClass("active");
+		};
+		if($(this).parent("li").find(".btn").length == $(this).parent("li").find(".btn.active").length){
+			$(this).prevAll('div[id="dqbtn"]').addClass("active");
+			dialogObjtwo.find("ul:first li:first .btn").removeClass("active");
+		};
+		if(dialogObjtwo.find(".btn.active").length == 0){
+			dialogObjtwo.find("ul:first li:first .btn").addClass("active");
+		};
+	});
+	
+	dialogObjtwo.find('div[id="dqbtn"]').click(function(){
+		$(this).toggleClass("active");
+		if ($(this).attr("class") != "active"){
+			$(this).nextAll(".btn").removeClass("active");
+		}else{
+			$(this).nextAll(".btn").addClass("active");
+			dialogObjtwo.find("ul:first li:first .btn").removeClass("active");
+		};
+		if(dialogObjtwo.find(".btn.active").length == 0){
+			dialogObjtwo.find("ul:first li:first .btn").addClass("active");
+		};
+	});
+	
+	$(".jysstj").find(".jydqsure").click(function(){
+		beforeSubmit(1);
+	});
+	$(".jysstj").find(".jydqreset").click(function(){
+		//$(".point").addClass("hidden");
+		$(".searchname [name='searchvalue']").val("");
+		$(".searchname [name='area']").val("");
+		$(".searchname [name='scope']").val("");
+		dialogObj.find(".btn").removeClass("active");
+		dialogObj.find('div[id="dqbtn"]').removeClass("active");
+		dialogObjtwo.find(".btn").removeClass("active");
+		dialogObjtwo.find('div[id="dqbtn"]').removeClass("active");
+		if(dialogObj.find(".btn.active").length == 0){
+			dialogObj.find("ul:first li:first .btn").addClass("active");
+		};
+		if(dialogObjtwo.find(".btn.active").length == 0){
+			dialogObjtwo.find("ul:first li:first .btn").addClass("active");
+		};
+		$(".jypt-timeinputs").removeClass("jypt-timeinputs-active");
+		$(".jypt-pt>button").removeClass("jypt-active");
+		$(".jypt-pt>button:first").addClass("jypt-active");
+	});
+	function processVal(value){
+		$("[name='searchvalue']").val(value.replace(/^\s+|\s+$/g,"").replace(/\s+/g,"+"));
+	}
+	////////////////////////列表页面过滤条件//////////////////////////////
+	$(".sl-jyshxbottom").find(".jydqsure").click(function(){
+		var sn = $("#searchlist").contents().find(".searchname").val();
+		listf.window.processVal(sn);
+		listf.window.beforeSubmit();
+	});
+	$(".sl-jyshxbottom").find(".jydqreset").click(function(){
+		$("#searchlist").contents().find(".searchname [name='searchvalue']").val("");
+		$("#searchlist").contents().find(".searchname [name='area']").val("");
+		$("#searchlist").contents().find(".searchname [name='scope']").val("");
+		var dObj = $("#searchlist").contents().find(".contentone");
+		var dObjTwo = $("#searchlist").contents().find(".contenttwo");
+		dObj.find(".btn").removeClass("active");
+		dObj.find('div[id="dqbtn"]').removeClass("active");
+		dObjTwo.find(".btn").removeClass("active");
+		dObjTwo.find('div[id="dqbtn"]').removeClass("active");
+		if(dObj.find(".btn.active").length == 0){
+			dObj.find("ul:first li:first .btn").addClass("active");
+		};
+		if(dObjTwo.find(".btn.active").length == 0){
+			dObjTwo.find("ul:first li:first .btn").addClass("active");
+		};
+		var dObjThree = $("#searchlist").contents().find(".jypt-dialog");
+		dObjThree.find(".jypt-timeinputs").removeClass("jypt-timeinputs-active");
+		dObjThree.find(".jypt-pt>button").removeClass("jypt-active");
+		dObjThree.find(".jypt-pt>button:first").addClass("jypt-active");
+	});
+	//
+	$(".jypt-pt button").click(function(){
+		var thisIndex = $(".jypt-pt .jypt-active").index();
+		$(".jypt-pt .jypt-active").removeClass("jypt-active");
+		if(thisIndex == $(this).index()){
+			$(this).removeClass("jypt-active");
+		}else{
+			$(this).addClass("jypt-active");
+		}
+		if($(".jypt-pt .jypt-active").length == 0){
+			$(".jypt-pt>button:first").addClass("jypt-active");
+		}
+		$(".jypt-timeinputs").removeClass("jypt-timeinputs-active");
+	});
+	$(".jypt-fg").click(function(){
+		$(".jypt-pt .jypt-active").removeClass("jypt-active");
+		$(".jypt-timeinputs").toggleClass("jypt-timeinputs-active");
+		if(!$(".jypt-timeinputs").hasClass("jypt-timeinputs-active")){
+			$(".jypt-pt>button:first").addClass("jypt-active");
+		}
+	});
+	$("#starttime").click(function(){
+        $('#starttime').mobiscroll('show');
+	});
+	$("#endtime").click(function(){
+        $('#endtime').mobiscroll('show');
+	});
+	initMobiscroll();
+});
+function initMobiscroll(){
+	var starttime = null;
+	var endtime = null;
+	if(localStorage){
+		var stime = localStorage.search_starttime;
+		var etime = localStorage.search_endtime;
+		if(stime){
+			$("#starttime").attr("data-value",stime);
+			starttime = new Date(Number(stime));
+			$('#starttime').val(starttime.Format("yyyy年MM月dd日"));
+		}else{
+			$("#starttime").attr("data-value","");
+			$('#starttime').val("");
+		}
+		if(etime){
+			$("#endtime").attr("data-value",etime);
+			endtime = new Date(Number(etime));
+			$('#endtime').val(endtime.Format("yyyy年MM月dd日"));
+		}else{
+			$("#endtime").attr("data-value","");
+			$('#endtime').val("");
+		}
+	}
+	$.mobiscroll.setDefaults({
+	   	theme: "ios",
+	   	lang: "zh",
+		setText: "确定",
+		clearText: "清空",
+		buttons: [ 
+		    'set',
+		    { 
+		        text: '选择时间',
+				cssClass: 'dwb title',
+		        handler: function(event,inst){ 
+		            
+		        }
+		    },
+			'clear'
+		],
+		dateFormat: "yyyy年mm月dd日",
+		dateOrder: "yyyymd",
+		timeWheels: "H",
+		timeFormat: "HH时 周DD",
+		dayNames: ["日","一","二","三","四","五","六"],
+		headerText: false,
+		yearSuffix: "年",
+		monthSuffix: "月",
+		daySuffix: "日",
+		showOnTap: false,
+		onBeforeShow: function(inst){
+			if(typeof(isWxsearchlist) != "undefined"){
+				window.top.$(".sl-jyshxbottom").addClass("hide");
+			}
+		},
+		onClosed: function(valueText, inst){
+			if(typeof(isWxsearchlist) != "undefined"){
+				window.top.$(".sl-jyshxbottom").removeClass("hide");
+			}
+		}
+	});
+	$("#starttime").mobiscroll().date({
+		maxDate: endtime,
+		onInit: function(inst){
+			if(starttime){
+				inst.setVal(new Date(Number(starttime)));
+			}
+		},
+		onSelect: function(valueText,inst){
+			var arrayVal = inst.getArrayVal();
+			var date = new Date(arrayVal[0],arrayVal[1],arrayVal[2]);
+			var inst = $("#endtime").mobiscroll('getInst');
+			inst.option({minDate: date});
+			if(localStorage){
+				localStorage.search_starttime = date.getTime();
+			}
+			$("#starttime").attr("data-value",date.getTime());
+			afterSelect();
+		},
+		onClear: function (event, inst){
+			$("#starttime").attr("data-value","");
+			if(localStorage){
+				localStorage.removeItem("search_starttime");
+			}
+			afterOnClear();
+    	}
+    });
+	$("#endtime").mobiscroll().date({
+		minDate: starttime,
+		onInit: function(inst){
+			if(endtime){
+				inst.setVal(new Date(Number(endtime)));
+			}
+		},
+		onSelect: function(valueText,inst){
+			var arrayVal = inst.getArrayVal();
+			var date = new Date(arrayVal[0],arrayVal[1],arrayVal[2]);
+			var inst = $("#starttime").mobiscroll('getInst');
+			inst.option({maxDate: date});
+			if(localStorage){
+				localStorage.search_endtime = date.getTime();
+			}
+			$("#endtime").attr("data-value",date.getTime());
+			afterSelect();
+		},
+		onClear: function (event, inst){
+			$("#endtime").attr("data-value","");
+			if(localStorage){
+				localStorage.removeItem("search_endtime");
+			}
+			afterOnClear();
+    	}
+    });
+}
+function afterSelect(){
+	$(".jypt-timeinputs").addClass("jypt-timeinputs-active");
+	$(".jypt-pt .jypt-active").removeClass("jypt-active");
+}
+function afterOnClear(){
+	if($("#starttime").attr("data-value") == "" && $("#endtime").attr("data-value") == ""){
+		$(".jypt-timeinputs").removeClass("jypt-timeinputs-active");
+		$(".jypt-pt>button:first").addClass("jypt-active");
+	}
+}
+function setPublishtime(){
+	var publishtime = $(".jypt-pt .jypt-active:not(#alltime)").attr("data-value");
+	if(publishtime){
+		return publishtime;
+	}else{
+		if(!$(".jypt-timeinputs").hasClass("jypt-timeinputs-active")){
+			return "";
+		}
+		publishtime = getInputTime().join("_");
+		if(publishtime != "_"){
+			return publishtime;	
+		}else{
+			return "";
+		}
+	}
+}
+function getInputTime(){
+	var starttime = $("#starttime").attr("data-value");
+	if(starttime){
+		starttime = $.trim(starttime);
+		starttime = starttime.substring(0,starttime.length - 3);
+	}else{
+		starttime = "";
+	}
+	var endtime = $("#endtime").attr("data-value");
+	if(endtime){
+		endtime = $.trim(endtime);
+		endtime = endtime.substring(0,endtime.length - 3);
+	}else{
+		endtime = "";
+	}
+	return [starttime,endtime]
+}

+ 100 - 0
src/jfw/modules/entsesearch/src/web/staticres/jylab/entsesearch/wxswordfish/share.js

@@ -0,0 +1,100 @@
+function initShare(signature,openid,isentry,activecode,nickname,avatar,id){
+	var myloc = window.location.host;
+	myloc="https://"+myloc;
+	activecode=activecode||""
+	if(typeof(openid) == "undefined" || openid == null || openid == ""){
+		openid = "-1";
+	}
+	if(typeof(signature) != "undefined" && signature != null && signature.length == 4){
+		wx.config({
+		    debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
+		    appId: signature[0], // 必填,公众号的唯一标识
+		    timestamp:signature[1], // 必填,生成签名的时间戳
+		    nonceStr: signature[2], // 必填,生成签名的随机串
+		    signature: signature[3],// 必填,签名,见附录1
+		    jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage'] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
+		});
+		var title="第一时间精准推送招标信息,就在剑鱼招标订阅";
+		var title1="第一时间精准推送招标信息,就在剑鱼招标订阅";
+		var link=myloc+"/swordfish/shareabout/"+openid+"__"+activecode;
+		var desc="关注微信并设置剑鱼关键词,全国招标信息统统推送给您!";
+		var url = "/wxswordfish/images/small_log.jpg";
+		var encryptid = "";
+		var subhref = window.location.href;
+		if(id !=undefined){
+			$.ajax({
+		        type:'post',
+		        url:'/share/encrypt',
+		        data:{id:id},
+		        cache:false,
+		        dataType:'json', 
+		        success:function(data){
+					if(data.flag == "T"){
+						encryptid = data.sid_openid;
+						var add1 = subhref.substring(0,subhref.indexOf("/content/"));
+						var add2 = subhref.substring(subhref.indexOf(".html"));
+						subhref = add1 +"/content/"+ encryptid + add2;
+					}
+		        }
+		    });
+		}
+		wx.ready(function () {
+			if (isentry==1){
+				desc=$(".info .title").text();
+				if(encryptid == ""){
+					link = window.location.href+"&openid="+encodeURIComponent(openid);
+				}else{
+					link = subhref;
+				}
+				
+				if (desc == "" && pcname!=""){
+					desc = pcname;
+				}
+				title1=desc;
+			}else if (isentry==2){
+				if(nickname!=""){
+					desc = '您的朋友'+nickname+'向您推荐了剑鱼招标订阅!';
+				}
+				if(avatar!=""){
+					url = avatar;
+				}
+			}else if (isentry == 3){
+				var id = nickname;
+				if (pcname!=""){
+					desc = pcname;
+					link=myloc+"/follow/shareFW/"+id+"__"+pcname+"__"+openid;
+				}
+				title1=desc;
+			}
+	        wx.onMenuShareTimeline({
+			    title: title1, // 分享标题
+			    link: link, // 分享链接
+			    imgUrl: myloc+'/wxswordfish/images/small_log.jpg', // 分享图标
+			    success: function () { 
+			       //alert('分享成功');
+			    },
+			    cancel: function () {
+			       //alert('分享失败,或用户取消了');
+			    }
+			});
+			wx.onMenuShareAppMessage({
+			    title: title, // 分享标题
+			    desc: desc, // 分享描述
+			    link: link, // 分享链接
+			    imgUrl: myloc+url, // 分享图标
+			    type: 'link', // 分享类型,music、video或link,不填默认为link'
+			    dataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空
+			    success: function () {
+			        //alert('分享成功');
+			    },
+			    cancel: function () {
+					//alert('分享失败,或用户取消了');
+			    }
+			});
+	    });
+		wx.error(function(res){
+		    // config信息验证失败会执行error函数,如签名过期导致验证失败,具体错误信息可以打开config的debug模式查看,也可以在返回的res参数中查看,对于SPA可以在这里更新签名。
+			//alert("error auth");
+		});
+	}
+}

+ 1385 - 0
src/jfw/modules/entsesearch/src/web/staticres/jylab/entsesearch/wxswordfish/style.css

@@ -0,0 +1,1385 @@
+@import url(/css/common.css);
+/**************/
+.operation{
+	margin-bottom: 20px;
+}
+.operation>.parent-node{
+	background-color: #F8F8F8;
+	width: 100%;
+	height: 45px;
+	line-height: 45px;
+	border-bottom: 1px solid #CCCCCC;
+	position: relative;
+	font-size: 16px;
+}
+.parent-node-view{
+	width: 100%;
+	height: 50px;
+	line-height: 50px;
+	font-size: 16px;
+	text-align:center;
+}
+.operation>.parent-node>img{
+	margin-left: 15px;
+	margin-right: 10px;
+	width: 18px;
+	height: 18px;
+}
+.operation>.parent-node>span img{
+	position: absolute;
+	top: 40%;
+	left: 50%;
+}
+.operation>.parent-node>span{
+	display: block;
+	width: 60px;
+	height: 40px;
+	margin-top: -17px;
+	right: 10px;
+	position: absolute;
+	top: 50%;
+}
+.operation>.parent-node:last-child>span{
+	margin-top: -23px;
+}
+.operation>.parent-node>.on-off{
+	background-image: url("/wxswordfish/images/off.png");
+	background-size: 100% 100%;
+}
+
+.rule-content div{
+	height:30px;
+}
+.operation .on-off.open{
+	background-image: url("/wxswordfish/images/on.png");
+	right: 3px;
+	width: 62px;
+}
+.operation .btn-right img{
+	width: 15px;
+	height: 22px;
+	margin-top: -8.5px;
+	margin-left: -5px;
+}
+.operation .child-node{
+	padding: 0px 15px;
+	display: none;
+}
+.operation .child-node li{
+	border-bottom: 1px solid #ddd;
+	padding: 15px 10px;
+}
+
+.operation .child-node img{
+	width: 8px;
+	height: 15px;
+	float: right;
+	margin-right: 20px;
+	margin-top: 4px;
+}
+.operation .child-node li>div:first-child{
+	
+}
+.operation .child-node .com-last{
+	font-size: 15px;
+    padding-top: 15px;
+	color: #999;
+	margin-left: 38px;
+	margin-right: 20px;
+	line-height: 22px;
+}
+.operation .child-node .jycom-last{
+	font-size: 15px;
+    padding-top: 18px;
+	color: #686868;
+	margin-left: 38px;
+}
+/*弹出框*/
+.dialog{
+	position: absolute;
+	left: 0px;
+	right: 0px;
+	bottom: 0px;
+	top: 0px;
+	background-color: rgba(0,0,1,.5);
+	display: none;
+	z-index: 99999;
+}
+.dialog-main{
+	position: absolute;
+	left: 0px;
+	right: 0px;
+	bottom: 0px;
+	background-color: #ffffff;
+}
+.dialog-head{
+	width: 100%;
+	display: table;
+	height: 50px;
+	line-height: 50px;
+	border-bottom: 1px solid #CCCCCC;
+	background-color: #F4F4F9;
+}
+.dialog-head>div{
+	display: table-cell;
+	padding-left: 10px;
+	padding-right: 10px;
+}
+.dialog-head>div:first-child{
+	font-size: 18px;
+	width: 80%;
+}
+.dialog-head>div:first-child>span{
+	font-size: 14px;
+	color: #999;
+	margin-left: 5px;
+}
+.dialog-head>div:last-child{
+	font-size: 16px;
+	text-align: right;
+	color: #2CB7CA;
+	width: 20%;
+}
+.dialog-head>div:last-child>span{
+	padding: 10px 0px 10px 10px;
+}
+.dialog-content{
+	padding: 10px;
+	border-bottom: 1px solid #CCCCCC;
+	overflow-y: auto;
+}
+/*关键字*/
+.keyword-dialog .dialog-content{
+	padding-left: 0px;
+	padding-right: 0px;
+}
+.keyword-dialog .dialog-content>div{
+	display: table;
+	width: 100%;
+	height: 50px;
+	line-height: 50px;
+	margin-bottom: 10px;
+}
+.keyword-dialog .dialog-content>div>*{
+	display: table-cell;
+}
+.keyword-dialog .dialog-content>div>*:first-child{
+	width: 20%;
+	text-align: right;
+}
+.keyword-dialog .dialog-content>div>*:nth-child(2){
+	width: 70%;
+	padding: 0px 10px;
+}
+.keyword-dialog .dialog-content>div>*:nth-child(2)>[type="text"]{
+	width: 100%;
+	height: 90%;
+	font-size: inherit;
+}
+.keyword-dialog .dialog-content>div>*:last-child{
+	width: 10%;
+}
+.keyword-dialog .delete{
+	width: 20px;
+	height: 20px;
+}
+.addKeyWord{
+	padding-left: 10px;
+    width: 160px;
+    height: 45px;
+    font-size: 18px;
+	background-color:#2CB7CA;
+}
+.addKeyWord>.icon{
+	font-size: 25px;
+	position: absolute;
+	left: 10px;
+	top: 0px;
+}
+/***信息范围***/
+.scope-dialog .dialog-content{
+	padding-top: 0px;
+	padding-bottom: 0px;
+}
+.scope-dialog li>div{
+	clear: both;
+}
+.scope-dialog .btn{
+	padding: 5px 10px;
+	background-color: #F0F0F0;
+	color: #333;
+	font-size: 14px;
+	margin-right: 10px;
+	margin-bottom: 10px;
+	width: 69px;
+	float: left;
+	height:34px;
+    border-radius: 3px;
+}
+.scope-dialog .btn.active{
+	background-color: #24C0D7;
+	color: #FFFFFF;
+}
+.scope-dialog li{
+	border-bottom: 1px solid #ddd;
+	padding-top: 10px;
+	float: left;
+	width: 100%;
+}
+.scope-dialog li:last-child{
+	border-bottom-width: 0px;
+}
+.scope-dialog li>div{
+	font-size: 14px;
+	margin-bottom: 10px;
+}
+/**引导页**/
+.swiper-pagination{
+	top: 80px !important;
+	transition: 0ms !important;
+	-webkit-transition: 0ms !important;
+}
+.swiper-pagination-bullet{
+	margin-bottom: 15px !important;
+}
+.swiper-slide{
+	text-align: center;
+	z-index: -1;
+	background: #ffffff;
+	position: absolute !important;
+}
+.swiper-slide-active{
+	z-index: 2;
+}
+.slide-active{
+	z-index: 0;
+}
+.slide-down{
+	z-index: 2;
+	/* Firefox: 
+	-moz-animation-name:slidedown;
+	-moz-animation-duration:0.5s;
+	-moz-animation-timing-function:ease-in;
+	-moz-animation-iteration-count:1;
+	-moz-animation-play-state:running; */
+	/* Safari and Chrome:
+	-webkit-animation-name:slidedown;
+	-webkit-animation-duration:0.5s;
+	-webkit-animation-timing-function:ease-in;
+	-webkit-animation-iteration-count:1;
+	-webkit-animation-play-state:running; */
+	/* Opera:
+	-o-animation-name:slidedown;
+	-o-animation-duration:0.5s;
+	-o-animation-timing-function:ease-in;
+	-o-animation-iteration-count:1;
+	-o-animation-play-state:running;
+	webkit-transform: translateZ(0);
+	-moz-transform: translateZ(0);
+	-ms-transform: translateZ(0);
+	-o-transform: translateZ(0);
+	transform: translateZ(0);*/
+}
+@-webkit-keyframes slidedown {
+	0%{
+		top: -100%;
+	}
+	100% {
+		top: 0px;
+	}
+}
+.slide-up{
+	z-index: 2;
+	/* Firefox: 
+	-moz-animation-name:slideup;
+	-moz-animation-duration:0.5s;
+	-moz-animation-timing-function:ease-in;
+	-moz-animation-iteration-count:1;
+	-moz-animation-play-state:running;*/
+	/* Safari and Chrome: 
+	-webkit-animation-name:slideup;
+	-webkit-animation-duration:0.5s;
+	-webkit-animation-timing-function:ease-in;
+	-webkit-animation-iteration-count:1;
+	-webkit-animation-play-state:running;*/
+	/* Opera: 
+	-o-animation-name:slideup;
+	-o-animation-duration:0.5s;
+	-o-animation-timing-function:ease-in;
+	-o-animation-iteration-count:1;
+	-o-animation-play-state:running;
+	webkit-transform: translateZ(0);
+	-moz-transform: translateZ(0);
+	-ms-transform: translateZ(0);
+	-o-transform: translateZ(0);
+	transform: translateZ(0);*/
+}
+
+@-webkit-keyframes slideup {
+	0%{
+		top: 100%;
+	}
+	100% {
+		top: 0px;
+	}
+}
+.swiper-slide img{
+	/*position: relative;
+	top: 50%;
+	margin-top: -302px;*/
+	width: 100%;
+	height: 100%;
+}
+.swiper-pagination-bullet-active{
+	background-color: #35c5da !important;
+}
+.swiper-pagination-bullet{
+	opacity: .1;
+}
+.guide-bottom{
+	position: absolute;
+	bottom: 10px;
+	text-align: center;
+	width: 100%;
+	z-index: 99999;
+}
+.guide-bottom .arrow-up{
+	width: 30px;
+	height: 20px;
+	animation-name:start;
+	animation-duration:2s;
+	animation-timing-function:ease-in-out;
+	animation-iteration-count:infinite;
+	animation-play-state:running;
+	/* Firefox: */
+	-moz-animation-name:start;
+	-moz-animation-duration:2s;
+	-moz-animation-timing-function:ease-in-out;
+	-moz-animation-iteration-count:infinite;
+	-moz-animation-play-state:running;
+	/* Safari and Chrome: */
+	-webkit-animation-name:start;
+	-webkit-animation-duration:2s;
+	-webkit-animation-timing-function:ease-in-out;
+	-webkit-animation-iteration-count:infinite;
+	-webkit-animation-play-state:running;
+	/* Opera: */
+	-o-animation-name:start;
+	-o-animation-duration:2s;
+	-o-animation-timing-function:ease-in-out;
+	-o-animation-iteration-count:infinite;
+	-o-animation-play-state:running;
+}
+
+@-webkit-keyframes start {
+	0%{
+		opacity:0;
+		margin-bottom: 0px;
+	}
+	60% {
+		opacity:1;
+	}
+	100% {
+		opacity:0;
+		margin-bottom: 40px;
+	}
+}
+@-moz-keyframes start {
+	0%{
+		opacity:0;
+		margin-bottom: 0px;
+	}
+	60% {
+		opacity:1;
+	}
+	100% {
+		opacity:0;
+		margin-bottom: 40px;
+	}
+}
+@keyframes start {
+		0% {
+		opacity:0;
+		margin-bottom: 0px;
+	}
+	60% {
+		opacity:1;
+	}
+	100% {
+		opacity:0;
+		margin-bottom: 40px;
+	}
+}
+.guide-bottom .experience{
+	padding: 4px 8px;
+	margin-bottom: 20px;
+	display: none;
+}
+.guide-bottom .jumpGuide ,.guide-bottom .goToShare{
+	color: #D7D7D7;
+	position: absolute;
+	bottom: 10px;
+	display: block;
+	width: 50px;
+	height: 50px;
+}
+.guide-bottom .jumpGuide{
+	left: 20px;
+}
+.guide-bottom .goToShare{
+	right: 20px;
+}
+.share-dialog{
+	z-index: 10;
+}
+.share-dialog .dialog-content{
+	padding-top: 20px;
+	padding-bottom: 40px;
+}
+/**底部工具**/
+.bottom-toolbar{
+	display: table;
+	position: fixed;
+	left: 0px;
+	right: 0px;
+	bottom: 0px;
+	height: 45px;
+	width: 100%;
+	border-top: 1px solid #CCCCCC;
+	background-color: #F8F8F8;
+	z-index: 9999;
+}
+.bottom-toolbar>li{
+	display: table-cell;
+	width: 33%;
+	height: 45px;
+	line-height: 45px;
+	text-align: center;
+}
+.bottom-toolbar>li:first-child img{
+	width: 15px;
+    height: 15px;
+    margin-bottom: 2px;
+}
+.bottom-toolbar>li:nth-child(2) img{
+	width: 16px;
+    height: 16px;
+    margin-bottom: 2px;
+	margin-right: 2px;
+}
+.bottom-toolbar>li:last-child img{
+	width: 14px;
+    height: 14px;
+    margin-bottom: 3px;
+	margin-right: 2px;
+}
+.bottom-toolbar>li:nth-child(2){
+	width: 34%;
+	border-left: 1px solid #CCCCCC;
+	border-right: 1px solid #CCCCCC;
+}
+
+.tip{
+	margin:1px;
+	padding:5px;
+	background-color:#FAF5DF;
+	border:1px solid #F5DC9A;
+	opacity: 0.8;
+}
+.tip-button{
+	float: right;
+ 	margin-right: 20px;
+	margin-top:5px;
+}
+.tip-button span{
+	border-radius:2px;
+	display:inline-block;
+	padding:5px 35px;
+	margin-right:10px;
+	border:1px solid #24C0D7;
+	cursor:pointer;
+	color: #24C0D7;
+	background-color: #ffffff;
+}
+.tip-button span:nth-child(2){
+	background-color:#24C0D7;
+	color: #ffffff;
+}
+.visible{
+	display:none;
+}
+.show-days{
+	font-size:10px;
+	display:inline-block;
+	margin-left:2px;
+	color:#999;
+}
+#txt_tip{
+	text-indent:2em;
+	padding:10px;
+}
+/**********滑动css*********/
+.slide {
+	position: relative;
+	overflow: hidden;
+}
+.slide ul {
+	width: 100%;
+	height: 100%;
+	z-index: 1;
+	overflow: hidden;
+	background-size: 320px;
+}
+.slide li {
+	position: absolute;
+	left: 0;
+	top: 0;
+	width: 100%;
+	background: -webkit-radial-gradient(39% 77%,ellipse, #fff, #fff 50%, #edefff 70%);
+	background-size: 130% 120%;
+	-webkit-transition: transform .3s ease-in-out;
+	opacity: 0;
+}
+.slide img{
+	width: 100%;
+	height: 100%;
+}
+.slide-point {
+	position: absolute;
+	top: 10px;
+	right: 10px;
+	display: none;
+	width: 9px;
+	text-align: center;
+	font-size: 0;
+	z-index: 90;
+	-webkit-animation: dis-show 0s ease forwards;
+}
+.slide-point span {
+	margin: 6px auto;
+	width: 8px;
+	height: 8px;
+	border-radius: 100%;
+	background: #000;
+	opacity: .2;
+	display: block;
+	z-index: 100;
+}
+.slide-point span.current {
+	background: #007aff;
+	opacity: 1;
+}
+.no-result{
+	text-align:center;
+	color:#999;
+}
+.toolbar-list{
+	position: relative;
+}
+.toolbar-popover{
+	position: absolute;
+	width: 90px;
+	border: 1px solid #D0D0D0;
+	background-color: #F9FAFA;
+	bottom: 60px;
+	left: 50%;
+	margin-left: -50px;
+	display: none;
+	border-radius: 5px;
+	padding: 4px 2px;
+}
+.popover-ul li{
+	line-height: normal;
+	width: 90px;
+	text-align: center;
+}
+.popover-ul li div{
+	padding: 5px 0px;
+}
+.popover-ul li span{
+	display: block;
+	height: 1px;
+	width: 60px;
+	margin: 3px auto;
+	background-color: #BFBFBF;
+}
+.toolbar-popover .popover-arrow{
+	bottom: -6px;
+	left: 50%;
+	margin-left: -3px;
+	border-bottom-width: 0;
+	border-left-width: 5px;
+	border-right-width: 5px;
+	border-top-width: 6px;
+	position: absolute;
+	border-color: transparent;
+	border-style: solid;
+	border-top-color: #D0D0D0;
+}
+.toolbar-popover .popover-arrow:after{
+	position: absolute;
+	bottom: 1px;
+	margin-left: -5px;
+	content: " ";
+	border-color: transparent;
+	border-top-color: #F9FAFA;
+	border-bottom-width: 0;
+	border-left-width: 5px;
+	border-right-width: 5px;
+	border-top-width: 6px;
+	border-style: solid;
+}
+.popover-ul li.active>div{
+	background-color: #D2D2D2;
+	border-radius: 5px;
+}
+.toolbar-popover-mask{
+	background-color: transparent;
+	position: absolute;
+	left: 0px;
+	right: 0px;
+	top: 0px;
+	bottom: 0px;
+	display: none;
+}
+/*****wxsearch*****/
+
+.wxsearch .tubiao{
+	float:right;
+}
+.wxsearch .tubiao img{
+    width: 32px;
+    display: inline-block;
+    padding-left: 10px;
+/*    border-left: 3px solid #2AB9CA;*/
+	position: absolute;
+	z-index: 10;
+	top: 58px;
+	right: 100px;
+}
+.wxsearch .qc{
+	float:right;
+}
+.wxsearch .qc img{
+    width: 30px;
+    display: inline-block;
+    padding-left: 10px;
+    position: absolute;
+    z-index: 10;
+    top: 58px;
+    right: 127px
+}
+.wxsearch .shaixuan{
+    font-size: 16px;
+	color:#fff;
+	float:right;
+	position: absolute;
+	z-index: 10;
+	top: 57px;
+	right: 45px;
+	height:20px;
+}
+
+.wxsearch .help{
+	float:right;
+}
+.wxsearch .help img{
+	width: 23px;
+    position: absolute;
+    top: 55px;
+    right: 10px
+}
+.wxsearch .searchzhao1,.wxsearch .searchzhong1{
+	margin-top: 10px;
+	margin-bottom: 10px;
+	cursor:hand;
+	display: inline-block;
+	vertical-align: top;
+}
+
+.wxsearch .searchzhao1 img,.wxsearch .searchzhong1 img{
+	height:25px;
+	
+}
+.wxsearch .searchzhao2,.wxsearch .searchzhong2{
+	margin:0px 5px;
+	display: inline-block;
+	margin-bottom: 10px;
+	vertical-align: top;
+	margin-top: 13px;
+}
+.wxsearch .searchzhao3,.wxsearch .searchzhong3{
+	display: inline-block;
+	margin-bottom: 10px;
+	margin-top: 13px;
+	word-wrap: break-word;
+	word-break: break-all;
+	white-space: normal !important;
+	margin-left: -5px;
+	vertical-align: top;
+}
+.wxsearch .searchzhao3 span , .wxsearch .searchzhong3 span{
+	float:left;
+	
+}
+.wxsearch .rsssetbtn{
+	border:1px solid #37c6da; 
+	background-color:#37c6da;
+	height:38px; 
+	width:100%; 
+	line-height:38px;
+	vertical-align: middle;
+	border-radius: 4px;
+	font-size:15px;
+	color:#fff;
+}
+.wxsearch #myorder{
+	width:100%; 
+	margin-top:40px;
+	padding:0px 30px;
+}
+.wxsearch .searchshow{
+	border-top:1px solid #e5e6e9;
+	padding:0px 20px 10px 20px;
+}
+.wxsearch .wx-xhx{
+	border-top:1px solid #e5e6e9; 
+	width:100%;
+}
+.wxsearch .searchbs{
+	cursor:hand;
+	border-bottom:1px solid #e5e6e9; 
+}
+.wxsearch .parent-node img {
+	vertical-align: sub !important;
+}
+.wxsearch .kongbai{
+	height:149px;
+}
+.wxsearch .search-content{
+	float: left;
+	width: 100%;
+	margin-top: -20px;
+}
+.wxsearch .search-content .search-block{
+	padding-left:15px;
+	clear:both;
+}
+.wxsearch .search-content .search-block .title{
+	border-bottom:1px solid #E6E6E6;
+	height:60px;
+	line-height:60px;
+	color:#1d1d1d;
+	font-size: 17px;
+}
+.wxsearch .search-content .search-block .title img{
+	height:26px;
+	margin-right:10px;
+}
+.wxsearch .search-content .search-block div.list{
+	padding-right:15px;
+}
+.wxsearch .search-content .search-block  li{
+	word-break: break-all;
+    overflow: hidden;
+	display:block;
+	border-bottom:1px solid #E6E6E6;
+	height:52px;
+	line-height:50px;
+	width:100%;
+	clear:both;
+	color:#1d1d1d;
+}
+.wxsearch .jyshaxuan{
+	border-top:1px solid #ccc;
+	border-bottom:1px solid #ccc; 
+	width:100%;
+	height:50px;
+	margin:-10px 0px 0px;
+	display:block;
+	background-color: #F4F4F9;
+}
+.wxsearch .jyshaxuan .jyshug{
+	border-right:1px solid #ccc;
+	color:#2cb7ca;
+	line-height:30px;
+	height:30px;
+	margin-top:10px;
+}
+.wxsearch .jyshaxuan li>img{
+    width: 16px;
+    padding-bottom: 6px;
+    margin-left: 4px;
+}
+.wxsearch .shaixpt,.wxsearch .shaixtwo,.wxsearch .shaixone{
+	width: 33%;
+    line-height: 50px;
+    height: 48px;
+}
+.wxsearch .shaixcl{
+	color:#2cb7ca;
+	border-bottom:3px solid #2cb7ca;
+}
+.wxsearch .jydq-dialog .btn,.wxsearch .jytype-dialog .btn {
+    padding: 5px 10px;
+    background-color: #F4F4F9;
+    color: #1d1d1d;
+    font-size: 14px;
+    margin-right: 10px;
+    margin-bottom: 12px;
+    width: 69px;
+    float: left;
+    border-radius: 3px;
+	height: 34px;
+}
+.wxsearch .jydq-dialog li,.wxsearch .jytype-dialog li  {
+    border-bottom: 1px solid #d9d6d6;
+    padding: 18px 0px 16px;
+    float: left;
+    width: 100%;
+}
+.wxsearch .jydq-dialog li>div ,.wxsearch .jytype-dialog li>div {
+    font-size: 14px;
+    margin-bottom: 10px;
+	clear:both;
+}
+.wxsearch .jyshxbottom{
+	border-top:1px solid #ccc;
+	width:100%;
+	height:45px;
+	display:block;
+	line-height:45px;
+    position: fixed;
+    left: 0px;
+    right: 0px;
+    bottom: 0px;
+    z-index: 999;
+}
+.wxsearch .jyshxbottom li{
+	width:50%;
+	font-size:18px;
+}
+.wxsearch .jyshxbottom .jydqsure{
+	background-color:#2cb7ca;
+	color:#fff;
+}
+.wxsearch .jyshxbottom .jydqreset{
+	background-color:#f0f9fa;
+	color:#2cb7ca;
+}
+.wxsearch .jydq-dialog .btn.active {
+    background-color: #24C0D7;
+    color: #FFFFFF;
+}
+.wxsearch .jytype-dialog .btn.active {
+    background-color: #24C0D7;
+    color: #FFFFFF;
+}
+.wxsearch .jydq-dialog #dqbtn.active {
+    background-color: #24C0D7;
+    color: #FFFFFF;
+}
+.wxsearch .jytype-dialog #dqbtn.active {
+    background-color: #24C0D7;
+    color: #FFFFFF;
+}
+.dialog-content #subdqbtn.active {
+    background-color: #24C0D7;
+    color: #FFFFFF;
+}
+#dqbtn{
+	padding: 7px 10px;
+    background-color: #F4F4F9;
+    color: #1d1d1d;
+    font-size: 15px;
+    margin-right: 10px;
+    margin-bottom: 14px;
+	height:36px;
+    border-radius: 3px;
+	font-weight: 600;
+}
+.jytype-dialog,.jydq-dialog{
+	margin-bottom: 30px;
+}
+.jy_rssetbj{
+	background-image: url("/images/wx/jysubcribe.png");
+	background-size:100% 100%;
+	height:135px;
+	width:100%;
+}
+.jy_rssetkw{
+	border-radius: 5px;
+    margin-top: -10px;
+    background-color: #fff;
+    box-shadow: 0 0 13px rgba(85, 85, 85,0.15);
+}
+.jy_rssetsc,.jy_pushmode{
+	border-radius: 5px;
+    margin-top: 10px;
+    background-color: #fff;
+    box-shadow: 0 0 13px rgba(85, 85, 85,0.15);
+}
+.jy_rssetvw{
+	border-radius: 5px;
+    margin-top: 10px;
+    background-color: #fff;
+    box-shadow: 0 0 13px rgba(85, 85, 85,0.15);
+}
+.dialog-por{
+	margin:10px;
+	padding:10px 15px;
+	background-color:#fffaf1;
+	border: 1px solid #ffba00;
+}
+/*jyabout*/
+
+.jyabout .jy-baseinfo{
+	background-color:#16DAFF;
+	width:100%;
+	padding:50px 20px 15px;
+	text-align:center;
+}
+.jyabout .jy-d{
+	color:#fff;
+	font-size:18px;
+	font-family: 微软雅黑;
+}
+.jyabout .jy-dayno{
+	float:left;
+	text-align:center;
+	color:#0069d2;
+    font-size: 75px;
+}
+.jyabout .jy-daysuf{
+	float:left;
+	text-align:left;
+	color:#0069d2;
+    font-weight: bold;
+	padding:5px;
+	line-height: 20px;
+	font-size:18px;
+	font-family: 微软雅黑;    
+	margin-top: 39px;
+}
+.jyabout .jy-daycont{
+	margin:5px auto 0px;
+	border-bottom:1px solid #0069d2;    
+	padding-bottom: 10px;
+}
+.jyabout .jy-from{
+	color:#fff;
+	font-size:18px;
+	margin:30px 0px -10px;
+	font-family: 微软雅黑;
+}
+.jyabout .jy-fromgovsuf,.jy-formentsuf{
+    float: left;
+    text-align: left;
+    color: #0069d2;
+    font-weight: bold;
+    padding:5px;
+    line-height: 20px;
+	font-size:18px;
+	font-family: 微软雅黑;    
+	margin-top: 20px;
+}
+.jyabout .jy-fromgov{
+	margin:5px auto 0px;
+	border-bottom:1px solid #0069d2;
+	padding-bottom: 30px;
+}
+.jyabout .jy-fromgovno,.jy-formentno{
+    float: left;
+    text-align: center;
+    color: #0069d2;
+    font-size: 75px;
+}
+.jyabout .jy-fromgovlist{
+	width:100%;
+	text-align:center;
+	color:#fff;
+	font-size:16px;
+	font-family: 微软雅黑;
+}
+.jyabout .jy-orin{
+	border:1px solid #fcff00;
+	padding:8px;
+	margin:30px auto;
+	color:#fcff00;
+	border-radius: 3px;
+    width: 251px;
+    font-size: 17px;
+}
+.jyabout .jy-shangx{
+	color:#fff;
+	padding: 40px 20px;
+}
+.jyabout .jy-first{
+	
+}
+.jyabout .jy-fontone{
+	font-size: 24px;
+    font-weight: bold;
+	font-family: 微软雅黑;
+}
+.jyabout .jy-fonttwo{
+	font-size: 18px;
+	font-family: 微软雅黑;
+}
+.jyabout .jy-tuxiang{
+	position: relative;
+	height:260px;
+	margin-left:10px;
+}
+.jyabout .jy-bg-line{
+	position: absolute;
+	border-right:1px solid #646467;
+	left:45px;
+}
+.jyabout .jy-bg-line li{
+	border-left:1px solid #646467;    
+	width: 45px;
+    height: 180px;
+}
+.jyabout .jy-histogram-x{
+	position: absolute;
+	top: 190px;
+    left: 40px;
+}
+.jyabout .jy-histogram-x li{
+	width: 45px;
+	color:#646467;
+}
+.jyabout .jy-histogram-y{
+	position: absolute;
+	width: 45px;
+	top: 25px;
+	text-align: center;
+}
+.jyabout .jy-histogram-y li{
+	height: 55px;
+	color:#3c3c41;
+	width: 50px;
+}
+.jyabout .jy-histogram-y li>img{
+	width: 20px;
+}
+.jyabout .jy-histogram-content{
+	position: absolute;
+	left:40px;
+	top:0px;
+	width:190px;
+	height:180px;
+}
+.jyabout .jy-histogram-content li{
+	float: left;
+    width: 100%;
+    height: 33%;
+    text-align: center;
+    position: relative;
+}
+.jyabout .jy-histogram-content li>span{
+	position: relative;
+    display: inline-block;
+    width: 100%;
+    height: 26px;
+}
+.jyabout .jy-histogram-content li>span>div{
+	position: absolute;
+    display: block;
+    height: 6px;
+	background-image:url(/images/wx/pc_8.png);
+	background-repeat:no-repeat;
+}
+.jyabout .aOne{
+    top: 33px;
+}
+.jyabout .aTwo{
+    top: 30px;
+}
+.jyabout .aThree{
+    top: 24px;
+}
+.jydiv-bidtoday,.jydiv-bidmonth,.jydiv-push{
+	position: absolute;
+    left: 99%;
+    top: -10px;
+    width: 124px;
+	text-align: left;
+	margin-left:5px;
+	color:#0bdae9;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
+	height: 26px;
+}
+.jyabout .jy-tiao{
+	/*float: right;
+    margin-left: 5px;*/
+	font-size:12px;
+}
+.jyabout .jy-fengexian{
+	border:1px solid #646467; 
+	width:120px;
+	margin:15px 0px;
+}
+.jy-websearch-title{
+	margin:30px auto 20px;
+	font-size:18px;
+	font-weight:bold;
+	color:#2cb7ca;
+	letter-spacing: 2px;
+	text-align:center;
+}
+.jyabout .searchname{
+	background-color: #FFFFFF;
+    border: 1px solid #E6E6E6;
+    height: 45px;
+    padding: 2px 35px 2px 20px;
+    border-radius: 37px;
+    font-size: 16px;
+    position: relative;
+    box-shadow: none
+}
+.jyabout .wxhead{
+	margin:10px 20px;
+}
+.jyabout .tubiao{
+	float: right;
+}
+.jyabout .tubiao img {
+    top: 85px;
+    right: 10%;
+    width: 38px;
+    display: inline-block;
+    padding-left: 10px;
+    border-left: 2px solid #ccc;
+    position: absolute;
+    z-index: 10;
+}
+.jyabout .jy-websearch-result{
+	margin:30px;
+	border-top:1px solid #ccc;
+	padding: 30px 10px;
+    color: #000;
+    font-size: 14px;
+}
+.jyabout .jy-advise{
+	width: 200px;
+    margin-right: auto;
+    margin-left: auto;
+    margin-top: 30px;
+}
+.jyabout .jy-advise img{
+	width: 200px;
+}
+.jyabout .jy-N a{
+	color:#0987ff;
+	text-decoration:underline;
+}
+.interaction{
+	text-align: center;
+    margin-bottom: 20px;    
+	padding: 0px 10px;
+}
+.inin{
+	border: 1px solid #ccc;
+    height: 40px;
+    width: 80%;
+    font-size: 15px;
+	padding: 1px 10px;
+	border-radius: 4px 0px 0px 4px;
+}
+.jysub{
+	display: inline-block;
+    height: 40px;
+    background-color: #2cb7ca;
+    color: #fff;
+    width: 18%;
+    line-height: 40px;
+	position: relative;
+	top: 0px;
+	border-radius: 0px 4px 4px 0px;
+}
+.entercom{
+	margin-top:40px;
+}
+.enterspan{
+    display: inline-block;
+    border: 1px solid #27b7ca;
+    padding: 8px 16px;
+    border-radius: 20px;
+	color:#27b7ca;
+	margin-left: 10px;
+	
+}
+.enterspan img{
+	margin-left: 7px;
+    width: 10px;
+    margin-bottom: 4px;
+}
+/*拟建*/
+.prebuilt{
+}
+.prebuilt ul li{
+	border: 1px solid #f0f0f0;
+    padding: 3px 10px;
+    background-color: #F4F4F9;
+    margin-top: 5px;
+	line-height: 24px;
+    border-radius: 4px;
+}
+.pre-title{
+	font-size: 16px;
+    color: #1d1d1d;
+    font-weight: bolder;
+    margin-top: 15px;
+    margin-bottom: 10px;
+    font-family: PingFang-SC-medium;
+}
+.pre-type{
+	color:#686868;
+	font-size:15px;
+    font-family: PingFang-SC-medium;
+}
+.pre-cont{
+	color: #1d1d1d;
+    font-size: 16px;
+    font-family: PingFang-SC-medium;
+}
+.pre-enclosure{
+	border: 1px solid #e1e1e6;
+    padding: 10px;
+    background-color: #F4F4F9;
+    margin-top: 15px;
+    color: #000;
+    border-top-left-radius: 4px;
+    border-top-right-radius: 4px;
+	border-bottom:0px;
+}
+.pre-encont{
+    padding:12px 5px;
+    border-bottom: 1px solid #e1e1e6;
+}
+.pre-encont:last-child{
+	border-bottom: 0px;
+}
+.pre-dow{
+    padding:0px 5px 0px;
+    border: 1px solid #e1e1e6;
+    border-bottom-left-radius: 4px;
+    border-bottom-right-radius: 4px;
+	border-top: 0px;
+}
+.pre-encont a{
+	color: #000;
+    text-decoration: none;
+}
+.pre-encont img{
+	width: 40px;
+    margin-right: 10px;
+}
+.pre-enclosure img{
+	width: 18px;
+    margin-right: 10px;
+}
+.q-mark{
+	width: 20px;
+    margin-top: 7px;
+}
+.q-marklist{
+	width: 20px;
+    margin-top: 7px;
+}
+.newest{
+	background-color: #F53532;
+    width: 10px;
+    height: 10px;
+    position: absolute;
+    right: -3px;
+    top: -3px;
+    border-radius: 10px;
+}
+.point,.pointlist{
+	position: fixed;
+    top: 120px;
+    text-align: center;
+	padding: 20px;
+}
+.point img:nth-child(1),.pointlist img:nth-child(1){
+	width:300px;
+}
+.pointclose,.pointcloselist{
+	position: relative;
+    left: 80px;
+    width: 80px;
+    top: 20px;
+}
+/***发布时间**/
+.jypt-dialog{
+	text-align: center;
+}
+.jypt-dialog .jypt-pt{
+	padding: 20px 0px;
+}
+.jypt-dialog .btn{
+	background-color: #F5F4FA;
+	margin: 3px;
+	color: inherit !important;
+}
+.jypt-dialog .btn.jypt-active{
+	background-color: #24C0D7;
+	color: #fff !important;
+}
+.jypt-dialog [type='text']{
+	border-radius: 0px;
+	width: 130px;
+	line-height: 30px;
+	padding: 0px 0px 0px 5px;
+}
+.jypt-dialog .jypt-timeinputs{
+	background-color: #F5F4FA;
+	padding: 10px;
+	display: inline-block;
+}
+.jypt-dialog .jypt-fg{
+	display: inline-block;
+	height: 34px;
+	vertical-align: top;
+	width: 15px;
+}
+.jypt-dialog .jypt-fg>span{
+	background-color: #CECECE;
+	height: 1px;
+	width: 15px;
+	display: block;
+	position: relative;
+	top: 16px;
+}
+.jypt-dialog .jypt-timeinputs-active{
+	background-color: #2CB7CA;
+}
+.jypt-dialog .jypt-timeinputs-active .jypt-fg>span{
+	background-color: #000;
+}
+.mbsc-ios .dwbc{
+	border-color: #ddd;
+}
+.mbsc-ios .dwb-s .dwb{
+	color: #24C0D7;
+}
+.mbsc-ios .dwbw .dwb2{
+	color: #24C0D7;
+	font-weight: bold;
+}
+.mbsc-ios .title{
+	opacity: 1 !important;
+	color: inherit !important;
+	font-weight: bold !important;
+}
+.mbsc-ios .dwbw{
+	float: left !important;
+}
+.mbsc-ios .dwb-s{
+	float: right !important;
+}

+ 138 - 95
src/jfw/modules/entsesearch/src/web/templates/weixin/entseSearch.html

@@ -5,9 +5,18 @@
 <meta name="format-detection" content="telephone=no" />
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0" user-scalable="no" />
-<meta name="renderer" content="webkit">
+<meta name="renderer" content="webkit"/>
+<link href="/jylab/entsesearch/wxswordfish/style.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 {{include "/common/pnc.html"}}
+<link href="/jylab/entsesearch/css/wxlist.css?v={{Msg "seo" "version"}}" rel="stylesheet">
+<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
 <script src="/jylab/entsesearch/js/jquery.js"></script>
+<script src="/jylab/entsesearch/mobiscroll/mobiscroll.min.js"></script>
+<script src="/jylab/entsesearch/wxswordfish/share.js?v={{Msg "seo" "version"}}"></script>
+<script src="/jylab/entsesearch/wxswordfish/search.js?v={{Msg "seo" "version"}}"></script>
+<script src="/jylab/entsesearch/wxswordfish/jquery.resize.js"></script>
+<script src="/jylab/entsesearch/js/dropload.js?v={{Msg "seo" "version"}}"></script>
+
 <script src="/jylab/entsesearch/js/rem.js"></script>
 <link rel="stylesheet" href="/jylab/entsesearch/css/reset.css" />
 <style>
@@ -146,15 +155,15 @@
 }
 .bottom_btn{
 	border-top: 1px solid #ccc;
-    width: 100%;
-    height: 45px;
-    display: block;
-    line-height: 45px;
-    position: fixed;
-    left: 0px;
-    right: 0px;
-    bottom: 0px;
-    z-index: 999;
+	width: 100%;
+	height: 45px;
+	display: block;
+	line-height: 45px;
+	position: fixed;
+	left: 0px;
+	right: 0px;
+	bottom: 0px;
+	z-index: 999;
 }
 .bottom_btn ul li{
 	text-align: center;
@@ -229,6 +238,10 @@
 	width: 79%;
 }
 
+.active_m{
+	background-color: #24C0D7;
+	color: #FFFFFF;
+}
 </style>
 </head>
 <body>
@@ -248,90 +261,94 @@
 <div id="set_search" class="hidden">
 	<div class="select">
 		<ul>
-			<li>金额<img src="/jylab/entsesearch/images/wx/sys-jt-bottom.png"></li>
+			<li>金额<img src="/jylab/entsesearch/images/wx/sys-jt-bottom2.png"></li>
 			<li class="shuxian"></li>
 			<li>项目地区<img src="/jylab/entsesearch/images/wx/sys-jt-bottom.png"></li>
 		</ul>
 	</div>
-	<div>
-		<div class="money selecter ">
-			<ul>
-				<li><button class="btn active">全部</button></li>
-				<li>价格区间</li>
-				<li class="money-inp">
-					<div class="min-price">
-						<input class="form-control"  placeholder="最低价"/>
-						<span class="min-unit">万元</span>
-						<span class="fgx"></span>
-					</div>
-					<div class="max-price">
-						<input class="form-control"  placeholder="最高价"/>
-						<span class="max-unit">万元</span>
-					</div>
-					
-				</li>
-			</ul>
-		</div>
-		<div class="area selecter hidden">
-			<ul>
-				<li>
-					<button class="btn active">全国</button>
-				</li>
-				<li>
-					<div id="dqbtn" style="width:81px;">华北地区</div>
-					<button class="btn">北京</button>
-					<button class="btn">天津</button>
-					<button class="btn">河北</button>
-					<button class="btn">山西</button>
-					<button class="btn">内蒙古</button>
-				</li>
-				<li>
-					<div id="dqbtn" style="width:81px;">东北地区</div>
-					<button class="btn">辽宁</button>
-					<button class="btn">吉林</button>
-					<button class="btn">黑龙江</button>
-				</li>
-				<li>
-					<div id="dqbtn" style="width:81px;">华东地区</div>
-					<button class="btn">上海</button>
-					<button class="btn">江苏</button>
-					<button class="btn">浙江</button>
-					<button class="btn">安徽</button>
-					<button class="btn">福建</button>
-					<button class="btn">江西</button>
-					<button class="btn">山东</button>
-				</li>
-				<li>
-					<div id="dqbtn" style="width:81px;">华南地区</div>
-					<button class="btn">广东</button>
-					<button class="btn">广西</button>
-					<button class="btn">海南</button>
-				</li>
-				<li>
-					<div id="dqbtn" style="width:81px;">华中地区</div>
-					<button class="btn">河南</button>
-					<button class="btn">湖北</button>
-					<button class="btn">湖南</button>
-				</li>
-				<li>
-					<div id="dqbtn" style="width:81px;">西南地区</div>
-					<button class="btn">重庆</button>
-					<button class="btn">四川</button>
-					<button class="btn">贵州</button>
-					<button class="btn">云南</button>
-					<button class="btn">西藏</button>
-				</li>
-				<li>
-					<div id="dqbtn" style="width:81px;">西北地区</div>
-					<button class="btn">陕西</button>
-					<button class="btn">甘肃</button>
-					<button class="btn">青海</button>
-					<button class="btn">宁夏</button>
-					<button class="btn">新疆</button>
-				</li>
-			</ul>
+	<div class="wxsearch">
+		<div>
+			<div class="money" style="font-size: 14px;padding:10px;">
+					<ul>
+						<li><button class="btn active_m">全部</button></li>
+						<li>价格区间</li>
+						<li class="money-inp">
+							<div class="min-price">
+								<input class="form-control" id="money_from"  placeholder="最低价"/>
+								<span class="min-unit">万元</span>
+								<span class="fgx"></span>
+							</div>
+							<div class="max-price">
+								<input class="form-control"  id="money_to" placeholder="最高价"/>
+								<span class="max-unit">万元</span>
+							</div>
+						</li>
+					</ul>
+				</div>
+
+			<div class="jydq-dialog hidden">
+				<div class="dialog-content contentone">
+					<ul>
+						<li>
+							<button class="btn active">全国</button>
+						</li>
+						<li>
+							<div id="dqbtn" style="width:81px;">华北地区</div>
+							<button class="btn">北京</button>
+							<button class="btn">天津</button>
+							<button class="btn">河北</button>
+							<button class="btn">山西</button>
+							<button class="btn">内蒙古</button>
+						</li>
+						<li>
+							<div id="dqbtn" style="width:81px;">东北地区</div>
+							<button class="btn">辽宁</button>
+							<button class="btn">吉林</button>
+							<button class="btn">黑龙江</button>
+						</li>
+						<li>
+							<div id="dqbtn" style="width:81px;">华东地区</div>
+							<button class="btn">上海</button>
+							<button class="btn">江苏</button>
+							<button class="btn">浙江</button>
+							<button class="btn">安徽</button>
+							<button class="btn">福建</button>
+							<button class="btn">江西</button>
+							<button class="btn">山东</button>
+						</li>
+						<li>
+							<div id="dqbtn" style="width:81px;">华南地区</div>
+							<button class="btn">广东</button>
+							<button class="btn">广西</button>
+							<button class="btn">海南</button>
+						</li>
+						<li>
+							<div id="dqbtn" style="width:81px;">华中地区</div>
+							<button class="btn">河南</button>
+							<button class="btn">湖北</button>
+							<button class="btn">湖南</button>
+						</li>
+						<li>
+							<div id="dqbtn" style="width:81px;">西南地区</div>
+							<button class="btn">重庆</button>
+							<button class="btn">四川</button>
+							<button class="btn">贵州</button>
+							<button class="btn">云南</button>
+							<button class="btn">西藏</button>
+						</li>
+						<li>
+							<div id="dqbtn" style="width:81px;">西北地区</div>
+							<button class="btn">陕西</button>
+							<button class="btn">甘肃</button>
+							<button class="btn">青海</button>
+							<button class="btn">宁夏</button>
+							<button class="btn">新疆</button>
+						</li>
+					</ul>
+				</div>
+			</div>
 		</div>
-	</div>	
+	</div>
 	<div class="bottom_btn">
 		<ul>
 			<li class="jydqreset reset">重置</li>
@@ -377,6 +394,13 @@
         $(".qc").addClass("hidden");
         $(".tubiao").addClass("hidden");
 
+        //
+        $("#set_search .select ul li:eq(0)").css("color","#2cb7ca");
+        $("#set_search .select ul li:eq(2)").css("color","#888");
+        $(".money").removeClass("hidden");
+        $(".jydq-dialog").addClass("hidden");
+
+        //
         $("#searchname").on("input propertychange",function(){
             var snqc = $(".searchname").val();
             if(snqc.length > 0){
@@ -428,6 +452,23 @@
         $("body").click(function () {
             $("#recList").hide();
         });
+
+        //金额输入
+        $(".form-control").on("input propertychange",function(){
+            var money_from = $.trim($("#money_from").val());
+            var money_to = $.trim($("#money_to").val());
+            var val = $.trim($(this).val());
+            if(val!="" ||  money_from!="" || money_to!=""){
+                $(".money .btn").removeClass("active_m");
+			}else{
+                $(".money .btn").addClass("active_m");
+			}
+        });
+
+
+        $(".money .btn").click(function () {
+            $(".money .btn").addClass("active_m");
+        });
     });
 
 	//显示筛选过滤选择
@@ -438,17 +479,19 @@
 			$(".tip").addClass("hidden");
 		}else{
 			$("#set_search").addClass("hidden");
+            $("#searchList").removeClass("hidden");
+            $(".tip").removeClass("hidden");
 		}
 	})
 	
 	//选择金额or地区
 	$("#set_search .select ul li:eq(0)").click(function(){
 		$(this).css("color","#2cb7ca");
-		$("#set_search .select ul li:eq(2)").css("color","#888");
-		$("#set_search .select ul li:eq(0) img").attr("src","/jylab/entsesearch/images/wx/sys-jt-bottom2.png");
-		$("#set_search .select ul li:eq(2) img").attr("src","/jylab/entsesearch/images/wx/sys-jt-bottom.png");
-		$(".money").removeClass("hidden");
-		$(".area").addClass("hidden");
+        $("#set_search .select ul li:eq(2)").css("color","#888");
+        $("#set_search .select ul li:eq(0) img").attr("src","/jylab/entsesearch/images/wx/sys-jt-bottom2.png");
+        $("#set_search .select ul li:eq(2) img").attr("src","/jylab/entsesearch/images/wx/sys-jt-bottom.png");
+        $(".money").removeClass("hidden");
+        $(".jydq-dialog").addClass("hidden");
 	})
 	$("#set_search .select ul li:eq(2)").click(function(){
 		$(this).css("color","#2cb7ca");
@@ -456,7 +499,7 @@
 		$("#set_search .select ul li:eq(0) img").attr("src","/jylab/entsesearch/images/wx/sys-jt-bottom.png");
 		$("#set_search .select ul li:eq(2) img").attr("src","/jylab/entsesearch/images/wx/sys-jt-bottom2.png");
 		$(".money").addClass("hidden");
-		$(".area").removeClass("hidden");
+		$(".jydq-dialog").removeClass("hidden");
 	})