|
@@ -607,7 +607,6 @@ $(function(){
|
|
$('.buyclass .buyclass-all').addClass('active')
|
|
$('.buyclass .buyclass-all').addClass('active')
|
|
}
|
|
}
|
|
// 回显模板里返回的其他筛选条件
|
|
// 回显模板里返回的其他筛选条件
|
|
- console.log(buyerTelVal,winnerTelVal, '666')
|
|
|
|
if (buyerTelVal){
|
|
if (buyerTelVal){
|
|
var text = buyerTelVal == 'y' ? '有联系方式' : '无联系方式'
|
|
var text = buyerTelVal == 'y' ? '有联系方式' : '无联系方式'
|
|
$('.custom-input[name="buyertel"]').attr('data-value', buyerTelVal).val(text)
|
|
$('.custom-input[name="buyertel"]').attr('data-value', buyerTelVal).val(text)
|
|
@@ -1151,7 +1150,7 @@ $(function(){
|
|
</div>
|
|
</div>
|
|
<div class="dialog-content">开通超级订阅,搜索招标采购项目更精准,300万+投标人都在用!</div>
|
|
<div class="dialog-content">开通超级订阅,搜索招标采购项目更精准,300万+投标人都在用!</div>
|
|
<div class="dialog-footer clearfix">
|
|
<div class="dialog-footer clearfix">
|
|
- <a href="/front/subscribe.html" class="dialog-btn confirm-btn">去开通</a>
|
|
|
|
|
|
+ <a href="javascript:;" class="dialog-btn confirm-btn">去开通</a>
|
|
<a href="javascript:;" class="dialog-btn default-btn">取消</a>
|
|
<a href="javascript:;" class="dialog-btn default-btn">取消</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -1165,7 +1164,7 @@ $(function(){
|
|
</div>
|
|
</div>
|
|
<div class="dialog-content">您的标讯收藏上限为100条,请升级为会员服务。</div>
|
|
<div class="dialog-content">您的标讯收藏上限为100条,请升级为会员服务。</div>
|
|
<div class="dialog-footer clearfix">
|
|
<div class="dialog-footer clearfix">
|
|
- <a href="/front/subscribe.html" class="dialog-btn confirm-btn">去升级</a>
|
|
|
|
|
|
+ <a href="javascript:;" class="dialog-btn confirm-btn">去升级</a>
|
|
<a href="javascript:;" class="dialog-btn default-btn">取消</a>
|
|
<a href="javascript:;" class="dialog-btn default-btn">取消</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -1273,7 +1272,7 @@ $(function(){
|
|
function buyClassFn() {
|
|
function buyClassFn() {
|
|
$('.buyclass-all').click(function() {
|
|
$('.buyclass-all').click(function() {
|
|
if (!vipState) {
|
|
if (!vipState) {
|
|
- openVipDialog()
|
|
|
|
|
|
+ openVipDialog('采购单位类型')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
$(this).addClass('active').siblings('.buyclass-content').find('.buy-list').removeClass('active')
|
|
$(this).addClass('active').siblings('.buyclass-content').find('.buy-list').removeClass('active')
|
|
@@ -1282,7 +1281,7 @@ $(function(){
|
|
// 采购单位类型子分类点击事件
|
|
// 采购单位类型子分类点击事件
|
|
$('.buyclass-content .buy-list:not(.buy-list-parent)').click(function() {
|
|
$('.buyclass-content .buy-list:not(.buy-list-parent)').click(function() {
|
|
if (!vipState) {
|
|
if (!vipState) {
|
|
- openVipDialog()
|
|
|
|
|
|
+ openVipDialog('采购单位类型')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
$(this).toggleClass('active').parents('.buyclass').children('.buyclass-all').removeClass('active')
|
|
$(this).toggleClass('active').parents('.buyclass').children('.buyclass-all').removeClass('active')
|
|
@@ -1303,6 +1302,10 @@ $(function(){
|
|
})
|
|
})
|
|
// 采购单位类型大分类点击事件
|
|
// 采购单位类型大分类点击事件
|
|
$('.buyclass-content .buy-list.buy-list-parent').click(function() {
|
|
$('.buyclass-content .buy-list.buy-list-parent').click(function() {
|
|
|
|
+ if (!vipState) {
|
|
|
|
+ openVipDialog('采购单位类型')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
$(this).toggleClass('active').parents('.buyclass').children('.buyclass-all').removeClass('active')
|
|
$(this).toggleClass('active').parents('.buyclass').children('.buyclass-all').removeClass('active')
|
|
if ($(this).hasClass('active')) {
|
|
if ($(this).hasClass('active')) {
|
|
$(this).siblings('.buy-list').addClass('active')
|
|
$(this).siblings('.buy-list').addClass('active')
|
|
@@ -1335,8 +1338,9 @@ $(function(){
|
|
})
|
|
})
|
|
// 其他筛选条件
|
|
// 其他筛选条件
|
|
$('.custom-select').off('click').bind('click',function(e) {
|
|
$('.custom-select').off('click').bind('click',function(e) {
|
|
|
|
+ var eventText = $(this).parent().siblings('span').html()
|
|
if (!vipState) {
|
|
if (!vipState) {
|
|
- openVipDialog()
|
|
|
|
|
|
+ openVipDialog(eventText)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
e.stopPropagation()
|
|
e.stopPropagation()
|
|
@@ -1436,7 +1440,6 @@ $(function(){
|
|
|
|
|
|
// 查询标讯是否收藏
|
|
// 查询标讯是否收藏
|
|
getBidIsColl()
|
|
getBidIsColl()
|
|
-
|
|
|
|
})
|
|
})
|
|
|
|
|
|
var activeTags = []; //选中的自定义标签 作为全局变量使用
|
|
var activeTags = []; //选中的自定义标签 作为全局变量使用
|