|
@@ -5,11 +5,12 @@
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
<title>信息类型</title>
|
|
|
- <link rel="stylesheet" href="/vipsubscribe/css/base.css">
|
|
|
- <link rel="stylesheet" href="/vipsubscribe/iconfont/iconfont.css">
|
|
|
- <link rel="stylesheet" href="/vipsubscribe/css/messageType.css">
|
|
|
- <link rel="stylesheet" href="/css/common.css">
|
|
|
- <script src="/vipsubscribe/js/rem.js"></script>
|
|
|
+ <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/vipsubscribe/css/base.css?v={{Msg "seo" "version"}}">
|
|
|
+ <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/vipsubscribe/iconfont/iconfont.css?v={{Msg "seo" "version"}}">
|
|
|
+ <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/vipsubscribe/css/messageType.css?v={{Msg "seo" "version"}}">
|
|
|
+ <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/vipsubscribe/css/weui.min.css?v={{Msg "seo" "version"}}">
|
|
|
+ <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/css/common.css?v={{Msg "seo" "version"}}">
|
|
|
+ <script src="{{Msg "seo" "cdn"}}/vipsubscribe/js/rem.js?v={{Msg "seo" "version"}}"></script>
|
|
|
<style type="text/css">
|
|
|
body .industry .resetOne{
|
|
|
position: fixed;
|
|
@@ -25,7 +26,11 @@
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
-
|
|
|
+ <div class="result">
|
|
|
+ <p class="result_text line_two">
|
|
|
+ 已选择:<span class="result_name"></span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
<div class="easypopup" id="nijianTip">
|
|
|
<div class="easypopup-alert">
|
|
|
<div class="easypopup-content">
|
|
@@ -89,19 +94,52 @@
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
- <script src="/js/jquery-3.2.1.min.js?v=1412"></script>
|
|
|
- <script src="/js/common.js"></script>
|
|
|
- <script>
|
|
|
+ <script src="{{Msg "seo" "cdn"}}/js/jquery-3.2.1.min.js?v=1412"></script>
|
|
|
+ <script src="{{Msg "seo" "cdn"}}/vipsubscribe/js/weui.min.js?v={{Msg "seo" "version"}}"></script>
|
|
|
+ <script src="{{Msg "seo" "cdn"}}/js/common.js?v={{Msg "seo" "version"}}"></script>
|
|
|
+ <script>
|
|
|
+ var hasZBGG = ""
|
|
|
+ var hasZBJG = ""
|
|
|
+ var hasZBXYXX = ""
|
|
|
+ var hasStr = ""
|
|
|
function hasActive(){
|
|
|
var arr = "";
|
|
|
+ hasZBGG = ""
|
|
|
+ hasZBJG = ""
|
|
|
+ hasZBXYXX = ""
|
|
|
+ hasStr = ""
|
|
|
$(".list ul li dl dd").each(function(index){
|
|
|
if($(this).hasClass('active')){
|
|
|
arr = arr + "," + $(this).text()
|
|
|
+ if($(this).prevAll("dt").text()=="招标公告"){
|
|
|
+ if(hasZBGG!=""){
|
|
|
+ hasZBGG+="、"
|
|
|
+ }
|
|
|
+ hasZBGG += $(this).text()
|
|
|
+ }
|
|
|
+ if($(this).prevAll("dt").text()=="招标结果"){
|
|
|
+ if(hasZBJG!=""){
|
|
|
+ hasZBJG+="、"
|
|
|
+ }
|
|
|
+ hasZBJG += $(this).text()
|
|
|
+ }
|
|
|
+ if($(this).prevAll("dt").text()=="招标信用信息"){
|
|
|
+ if(hasZBXYXX!=""){
|
|
|
+ hasZBXYXX+="、"
|
|
|
+ }
|
|
|
+ hasZBXYXX += $(this).text()
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
$(".list ul li dl dt").each(function(index){
|
|
|
if($(this).hasClass('active')&&($(this).text()=="招标预告"||$(this).text()=="拟建项目")){
|
|
|
arr = arr + "," + $(this).attr("dataValue")
|
|
|
+ if($(this).text()=="招标预告"||$(this).text()=="拟建项目"){
|
|
|
+ if (hasStr!=""){
|
|
|
+ hasStr += " "
|
|
|
+ }
|
|
|
+ hasStr += $(this).text();
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
return arr.substr(1)
|
|
@@ -127,6 +165,34 @@
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
+ //
|
|
|
+ function getChecked(){
|
|
|
+ hasActive();
|
|
|
+ if (hasZBGG!=""||hasZBJG!=""|hasZBXYXX!=""){
|
|
|
+ if(hasStr != ""){
|
|
|
+ hasStr +=" "
|
|
|
+ }
|
|
|
+ if(hasZBGG!=""){
|
|
|
+ hasStr+=" 招标公告 ("+hasZBGG+")"
|
|
|
+ }
|
|
|
+ if(hasZBJG!=""){
|
|
|
+ hasStr+=" 招标结果 ("+hasZBJG+")"
|
|
|
+ }
|
|
|
+ if(hasZBXYXX!=""){
|
|
|
+ hasStr+=" 招标信用信息 ("+hasZBXYXX+")"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(hasStr!=""){
|
|
|
+ $(".result_name").text(hasStr);
|
|
|
+ }else{
|
|
|
+ $(".result_name").text("全部");
|
|
|
+ }
|
|
|
+
|
|
|
+ weui.loading().hide();
|
|
|
+ $(".result").css("visibility","");
|
|
|
+ $(".industry").css("margin-top",$('.result_text').height()+25);
|
|
|
+ $(".industry").css("visibility","");
|
|
|
+ }
|
|
|
//
|
|
|
isLockButton (false);
|
|
|
// 传入false为锁定确认按钮
|
|
@@ -134,16 +200,19 @@
|
|
|
var button = $('.reset').siblings()[0]
|
|
|
if (flag) {
|
|
|
// true,解锁button
|
|
|
- $(button).css({ opacity: 1}).removeAttr('disabled')
|
|
|
+ $(button).css({"background": "#2cb7ca"}).removeAttr('disabled')
|
|
|
} else {
|
|
|
// false, 锁定button
|
|
|
- $(button).css({ opacity: 0.5 }).attr('disabled', true)
|
|
|
+ $(button).css({"background": "#95DBE4"}).attr('disabled', true)
|
|
|
}
|
|
|
}
|
|
|
//
|
|
|
var njTipEasyPopup = null;
|
|
|
//是否 修改
|
|
|
$(function(){
|
|
|
+ weui.loading();
|
|
|
+ $(".result").css("visibility","hidden");
|
|
|
+ $(".industry").css("visibility","hidden");
|
|
|
//获取用户设置信息类型
|
|
|
$.post("/subscribepay/afterPay/getUserInfo",{},function(r){
|
|
|
if(r.userData){
|
|
@@ -159,6 +228,7 @@
|
|
|
}else{
|
|
|
$('.all span').addClass('active');
|
|
|
}
|
|
|
+ getChecked();
|
|
|
})
|
|
|
//
|
|
|
$(".sure").on("click",function(){
|
|
@@ -183,6 +253,7 @@
|
|
|
$('.list ul li dl dt').removeClass('active')
|
|
|
$('.list ul li dl dd').removeClass('active')
|
|
|
}
|
|
|
+ getChecked();
|
|
|
})
|
|
|
$(".list ul li dl dt").on("click", function(){
|
|
|
isLockButton (true);
|
|
@@ -195,6 +266,7 @@
|
|
|
$('.all span').removeClass('active')
|
|
|
}
|
|
|
isAllSelected ()
|
|
|
+ getChecked();
|
|
|
})
|
|
|
$(".list ul li dl dd").on('click',function(){
|
|
|
isLockButton (true);
|
|
@@ -209,6 +281,7 @@
|
|
|
// 决定dt是否被选中
|
|
|
isDtSelected (this)
|
|
|
isAllSelected ()
|
|
|
+ getChecked();
|
|
|
})
|
|
|
|
|
|
$('.reset').on('click',function(){
|
|
@@ -216,6 +289,7 @@
|
|
|
$('.all span').addClass('active')
|
|
|
$('.list ul li dl dt').removeClass('active')
|
|
|
$('.list ul li dl dd').removeClass('active')
|
|
|
+ getChecked();
|
|
|
})
|
|
|
})
|
|
|
|