|
@@ -238,11 +238,8 @@
|
|
|
margin-bottom:40px !important;
|
|
|
}
|
|
|
</style>
|
|
|
+<script src='{{Msg "seo" "cdn"}}/common-module/selector/js/buyerClass.js?v={{Msg "seo" "version"}}'></script>
|
|
|
<script>
|
|
|
-var buyclassArr = {
|
|
|
- "党政机关事业单位": ['人大', '政协', '党委办','组织', '宣传', '统战', '纪委', '政府办', '发改委','财政','教育','科技','工信','民政', '民宗', '人社', '公安', '检察院','法院', '司法', '应急管理', '军队', '自然资源', '生态环境','住建', '市政', '城管', '交通', '水利','农业','文旅', '卫健委','医疗','学校','档案', '体育', '政务中心', '机关事务', '国资委','海关','税务', '市场监管', '商务','人行', '银保监', '证监', '审计', '出版广电','统计', '公共资源交易', '社会团体','气象'],
|
|
|
- "企业": ['传媒','采矿业', '电信行业', '金融业', '建筑业', '能源化工', '农林牧渔','批发零售', '信息技术', '运输物流', '制造业', '住宿餐饮']
|
|
|
-}
|
|
|
var areas = {{.T.area}}!=null?{{.T.area}}:"";
|
|
|
var selectPublishtime = {{.T.publishtime}}!=null?{{.T.publishtime}}:"";
|
|
|
var selectTimeslot = {{.T.timeslot}}!=null?{{.T.timeslot}}:"";
|
|
@@ -552,10 +549,10 @@ $(function(){
|
|
|
var buyhtml = '';
|
|
|
for(var i in buyclassArr){
|
|
|
buyhtml+='<div class="clearfix">'
|
|
|
- buyhtml+= '<span class="buy-list buy-type">'+ i +'</span>'
|
|
|
+ buyhtml+= '<span class="buy-list buy-list-parent">'+ i +'</span>'
|
|
|
var childlist = buyclassArr[i]
|
|
|
childlist.forEach(function(v,i) {
|
|
|
- buyhtml+='<span class="buy-list">'+ v +'</span>'
|
|
|
+ buyhtml+='<span class="buy-list" data-value="'+ v + '">'+ v +'</span>'
|
|
|
});
|
|
|
buyhtml+="</div>"
|
|
|
}
|
|
@@ -680,9 +677,9 @@ $(function(){
|
|
|
<input type="hidden" name="maxprice" value="{{.T.maxprice}}">
|
|
|
<input type="hidden" name="industry" value="{{.T.industry}}">
|
|
|
<input type="hidden" name="selectType" value="all">
|
|
|
- <input type="hidden" name="buyerclass " value="">
|
|
|
- <input type="hidden" name="buyertel" value="">
|
|
|
- <input type="hidden" name="winnertel" value="">
|
|
|
+ <input type="hidden" id="buyerInput" name="buyerclass ">
|
|
|
+ <!-- <input type="hidden" name="buyertel" value="">
|
|
|
+ <input type="hidden" name="winnertel" value=""> -->
|
|
|
</form>
|
|
|
<!--筛选-->
|
|
|
<div id="screenBtn" class="screen down">
|
|
@@ -712,7 +709,7 @@ $(function(){
|
|
|
<!-- <i></i> -->
|
|
|
<font>招标搜索</font>
|
|
|
</a>
|
|
|
- <a id="entsearch" href="javascript:" left="98" datahref="/jylab/bidsearchforent/index.html">
|
|
|
+ <a id="entsearch" href="javascript:" left="98" datahref="/jylab/entSearch/index.html">
|
|
|
<!-- <i></i> -->
|
|
|
企业搜索
|
|
|
</a>
|
|
@@ -1088,7 +1085,7 @@ $(function(){
|
|
|
</div>
|
|
|
<div class="dialog-content">开通超级订阅,搜索招标采购项目更精准,300万+投标人都在用!</div>
|
|
|
<div class="dialog-footer clearfix">
|
|
|
- <a href="#" class="dialog-btn confirm-btn">去开通</a>
|
|
|
+ <a href="/front/subscribe.html" class="dialog-btn confirm-btn">去开通</a>
|
|
|
<a href="javascript:;" class="dialog-btn default-btn">取消</a>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1146,8 +1143,8 @@ $(function(){
|
|
|
{{include "/common/baiducc.html"}}
|
|
|
<script type="text/javascript">
|
|
|
$(function(){
|
|
|
- var vipState = {{.T.portraitpower}};
|
|
|
- $(".shade_table .more").on('click', toPaydataExport)
|
|
|
+ var vipState = {{.T.showVipScreen}}; //是否是超级订阅
|
|
|
+ $(".shade_table .more").on('click', toPaydataExport)
|
|
|
$(".control-tabBtn>a").hover(function(){
|
|
|
$(".control-tabBtn>a").removeClass("on");
|
|
|
$(this).addClass("on");
|
|
@@ -1199,28 +1196,31 @@ $(function(){
|
|
|
/*
|
|
|
dev4.5新增需求(高级筛选、标讯收藏、自定义标签)
|
|
|
*/
|
|
|
+ // 重置全选按钮(从订单页面返回时checkbox会记录选中状态)
|
|
|
+ $('.custom-checkbox.check-all').prop('checked', false)
|
|
|
// 采购单位行业选择
|
|
|
buyClassFn()
|
|
|
function buyClassFn() {
|
|
|
// 采购单位类型全部点击事件
|
|
|
$('.buyclass-all').click(function() {
|
|
|
- // if (!vipState) {
|
|
|
- // openVipDialog()
|
|
|
- // return
|
|
|
- // }
|
|
|
+ if (!vipState) {
|
|
|
+ openVipDialog()
|
|
|
+ return
|
|
|
+ }
|
|
|
$(this).addClass('active').siblings('.buyclass-content').find('.buy-list').removeClass('active')
|
|
|
+ beforeSubmit();
|
|
|
})
|
|
|
// 采购单位类型子分类点击事件
|
|
|
- $('.buyclass-content .buy-list:not(.buy-type)').click(function() {
|
|
|
- // if (!vipState) {
|
|
|
- // openVipDialog()
|
|
|
- // return
|
|
|
- // }
|
|
|
+ $('.buyclass-content .buy-list:not(.buy-list-parent)').click(function() {
|
|
|
+ if (!vipState) {
|
|
|
+ openVipDialog()
|
|
|
+ return
|
|
|
+ }
|
|
|
$(this).toggleClass('active').parents('.buyclass').children('.buyclass-all').removeClass('active')
|
|
|
- $(this).siblings('.buy-type').removeClass('active')
|
|
|
- var activeLen = $('.buyclass-content .buy-list:not(.buy-type)').filter(".active").length;
|
|
|
- var listLen = $('.buyclass-content .buy-list:not(.buy-type)').length;
|
|
|
- var curListLen = $(this).parent('.clearfix').find('.buy-list:not(.buy-type)').length;
|
|
|
+ $(this).siblings('.buy-list-parent').removeClass('active')
|
|
|
+ var activeLen = $('.buyclass-content .buy-list:not(.buy-list-parent)').filter(".active").length;
|
|
|
+ var listLen = $('.buyclass-content .buy-list:not(.buy-list-parent)').length;
|
|
|
+ var curListLen = $(this).parent('.clearfix').find('.buy-list:not(.buy-list-parent)').length;
|
|
|
var curActiveLen = $(this).parent('.clearfix').find(".active").length;
|
|
|
console.log(curListLen,curActiveLen)
|
|
|
console.log(listLen, activeLen)
|
|
@@ -1228,22 +1228,24 @@ $(function(){
|
|
|
$('.buyclass-content .buy-list').removeClass('active')
|
|
|
$('.buyclass-all').addClass('active')
|
|
|
} else if (curListLen === curActiveLen) {
|
|
|
- $(this).siblings('.buy-type').addClass('active')
|
|
|
+ $(this).siblings('.buy-list-parent').addClass('active')
|
|
|
}
|
|
|
+ beforeSubmit();
|
|
|
})
|
|
|
// 采购单位类型大分类点击事件
|
|
|
- $('.buyclass-content .buy-list.buy-type').click(function() {
|
|
|
+ $('.buyclass-content .buy-list.buy-list-parent').click(function() {
|
|
|
$(this).toggleClass('active').parents('.buyclass').children('.buyclass-all').removeClass('active')
|
|
|
if ($(this).hasClass('active')) {
|
|
|
$(this).siblings('.buy-list').addClass('active')
|
|
|
}
|
|
|
- var activeLen = $('.buyclass-content .buy-type').filter(".active").length;
|
|
|
- var listLen = $('.buyclass-content .buy-type').length;
|
|
|
+ var activeLen = $('.buyclass-content .buy-list-parent').filter(".active").length;
|
|
|
+ var listLen = $('.buyclass-content .buy-list-parent').length;
|
|
|
console.log(activeLen,listLen)
|
|
|
if (activeLen === listLen || activeLen === 0) {
|
|
|
$('.buyclass-content .buy-list').removeClass('active')
|
|
|
$('.buyclass-all').addClass('active')
|
|
|
}
|
|
|
+ beforeSubmit();
|
|
|
})
|
|
|
}
|
|
|
// 展开收起高级筛选
|
|
@@ -1268,13 +1270,47 @@ $(function(){
|
|
|
var val = $(this).attr('data-value')
|
|
|
var text = $(this).text()
|
|
|
$(this).parent().siblings().children('.custom-input').val(text).attr('data-value', val)
|
|
|
+ beforeSubmit();
|
|
|
})
|
|
|
})
|
|
|
// 点击其他区域 隐藏其他筛选条件下拉框
|
|
|
$(document).click(function() {
|
|
|
$('.custom-select').css("border-color", '#e0e0e0').children('.icon-arrow').removeClass('up')
|
|
|
$('.custom-select').siblings().hide()
|
|
|
- $('.tags-box').hide()
|
|
|
+ console.log('标签弹框是否隐藏',$('.tags-box').is(':hidden'))
|
|
|
+ // 自定义标签弹框消失时执行保存标签动作
|
|
|
+ if (!$('.tags-box').is(':hidden')){
|
|
|
+ var lids = ""
|
|
|
+ var lname = ""
|
|
|
+ $('.tags-item.tags-active').each(function() {
|
|
|
+ if ($(this).attr('data-id')){
|
|
|
+ if(lids != ""){
|
|
|
+ lids += ",";
|
|
|
+ }
|
|
|
+ if(lname != "") {
|
|
|
+ lname+= ",";
|
|
|
+ }
|
|
|
+ lids += $(this).attr('data-id');
|
|
|
+ lname += $(this).text()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ var params = {
|
|
|
+ lids: lids,
|
|
|
+ laction: 'S',
|
|
|
+ binfo: JSON.parse(sessionStorage.getItem('$save-tags-binfo'))
|
|
|
+ }
|
|
|
+ console.log(params)
|
|
|
+ $('.tags-box').hide(function() {
|
|
|
+ // 执行保存绑定标签操作
|
|
|
+ if (params.lids !== '') {
|
|
|
+ saveChooseTags(params)
|
|
|
+ }
|
|
|
+ $('.tag-labels').empty()
|
|
|
+ $('.clear-input').val('')
|
|
|
+ $('.tags-list').find('.tags-item').removeClass('tags-active')
|
|
|
+
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
// 全选
|
|
|
$('.custom-checkbox.check-all').on('change', function() {
|
|
@@ -1286,66 +1322,8 @@ $(function(){
|
|
|
$('.custom-checkbox:not(:disabled)').prop("checked",false)
|
|
|
}
|
|
|
})
|
|
|
- // 单个收藏
|
|
|
- $('.icon-collect').click(function(e) {
|
|
|
- e.stopPropagation()
|
|
|
- var checked = $(this).hasClass('checked')
|
|
|
- var len = 1
|
|
|
- if (checked) {
|
|
|
- $(this).removeClass('checked').parents().siblings('input[type="checkbox"]').prop("checked",false).removeAttr('disabled')
|
|
|
- } else {
|
|
|
- // 如果不是会员 收藏上限为100条
|
|
|
- if (!vipState) {
|
|
|
- if (len > 100) {
|
|
|
- updateVipDialog()
|
|
|
- } else {
|
|
|
- $(this).addClass('checked').parents().siblings('input[type="checkbox"]').prop("checked",true).attr('disabled', true)
|
|
|
- var top = (parseInt($(this).position().top) + 60 ) + 'px';
|
|
|
- console.log(top, 'top')
|
|
|
- $('.tags-box').show().css('top', top)
|
|
|
- }
|
|
|
- } else {
|
|
|
- // 如果是会员 判断收藏上限有没有达到5000
|
|
|
- if (len > 5000) {
|
|
|
- toastFn('您的标讯收藏上限为5000条,请联系客服人员。')
|
|
|
- } else {
|
|
|
- $(this).addClass('checked').parents().siblings('input[type="checkbox"]').prop("checked",true).attr('disabled', true)
|
|
|
- var top = (parseInt($(this).position().top) + 60 ) + 'px';
|
|
|
- console.log(top, 'top')
|
|
|
- $('.tags-box').show().css('top', top)
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- // 批量收藏
|
|
|
- $('#bid-collect').off('click').bind('click',function(e){
|
|
|
- e.stopPropagation()
|
|
|
- var top = (parseInt($(this).position().top) + 60 ) + 'px';
|
|
|
- var len = $('.custom-checkbox:not(".check-all"):checked:not(:disabled)').length;
|
|
|
- console.log(len)
|
|
|
- // 判断有无选中的标讯信息
|
|
|
- if (len > 0) {
|
|
|
- $('.custom-checkbox:not(".check-all"):checked').attr('disabled', true).siblings().children('.icon-collect').addClass('checked')
|
|
|
- $('.tags-box').show().css('top', top)
|
|
|
- } else {
|
|
|
- toastFn('尚未选择标讯,请选择')
|
|
|
- }
|
|
|
- })
|
|
|
+
|
|
|
// 自定义标签
|
|
|
- // 渲染标签列表
|
|
|
- var tagsArr = [{
|
|
|
- "lid": "RQ==",
|
|
|
- "lanme": "测试"
|
|
|
- },
|
|
|
- {
|
|
|
- "lid": "RA==",
|
|
|
- "lanme": "医疗"
|
|
|
- },
|
|
|
- {
|
|
|
- "lid": "RE==",
|
|
|
- "lanme": "政府"
|
|
|
- }]
|
|
|
- renderTagsList(tagsArr)
|
|
|
// 标签输入框事件
|
|
|
$('.tags-box').click(function(e) {
|
|
|
e.stopPropagation()
|
|
@@ -1362,13 +1340,7 @@ $(function(){
|
|
|
if (event.keyCode == 13) {
|
|
|
if($(this).val().length >= 2 && $(this).val().length < 6) {
|
|
|
// ajax提交自定义标签
|
|
|
- inputTagList()
|
|
|
- tagsArr.push({
|
|
|
- lid: '',
|
|
|
- lanme: $(this).val()
|
|
|
- })
|
|
|
- renderTagsList(tagsArr)
|
|
|
- $(this).val('')
|
|
|
+ addTagsAjax($(this).val())
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -1378,38 +1350,70 @@ $(function(){
|
|
|
$('.tag-placeholder').show()
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
+ // 查询标讯是否收藏
|
|
|
+ getBidIsColl()
|
|
|
+
|
|
|
})
|
|
|
-var activeTags = []
|
|
|
-function deleteInputTag(index) {
|
|
|
+
|
|
|
+var activeTags = []; //选中的自定义标签 作为全局变量使用
|
|
|
+// 解绑自定义标签
|
|
|
+function deleteInputTag(item) {
|
|
|
+ var index = $(item).parent().attr('data-index')
|
|
|
+ var id = $(item).parent().attr('data-id')
|
|
|
activeTags.splice(index, 1)
|
|
|
- // inputTagList()
|
|
|
- $('.tag-label').eq(index).remove()
|
|
|
+ inputTagList()
|
|
|
+ $('.tags-item[data-id="' + id + '"]').removeClass('tags-active')
|
|
|
}
|
|
|
+
|
|
|
function inputTagList () {
|
|
|
var ht = '';
|
|
|
- activeTags.push({
|
|
|
- lid: '',
|
|
|
- lanme: $('.tag-input .clear-input').val()
|
|
|
- })
|
|
|
+ $('.tag-labels').html(ht)
|
|
|
activeTags.forEach(function(v,i) {
|
|
|
- ht+='<span class="tag-label" data-id=' + v.lid + '>'+ v.lanme + '<i class="tag-close" onclick="deleteInputTag(' + i + ')"></i>' + '</span>'
|
|
|
+ ht+='<span class="tag-label" data-index=' + i + ' data-id="' + v.lid + '">'
|
|
|
+ ht+='<em>'+ v.lname + '</em>'
|
|
|
+ ht+='<i class="tag-close" onclick="deleteInputTag(this)"></i>'
|
|
|
+ ht+='</span>'
|
|
|
});
|
|
|
$('.tag-labels').html(ht)
|
|
|
+ if ($('.tag-labels').children('.tag-label').length > 0) {
|
|
|
+ $('.tag-placeholder').hide()
|
|
|
+ }
|
|
|
}
|
|
|
// 渲染标签列表数据
|
|
|
function renderTagsList (data) {
|
|
|
if (data && data.length > 0) {
|
|
|
var ht = '';
|
|
|
data.forEach(function(v,i) {
|
|
|
- ht+='<span class="tags-item" data-id=' + v.lid + '>'+ v.lanme +'</span>'
|
|
|
+ ht+='<span class="tags-item" data-count=' + v.count + ' data-id=' + v.lid + '>'+ v.lanme +'</span>'
|
|
|
});
|
|
|
$(".tags-list").html(ht)
|
|
|
+ activeTags.forEach(function(s,j){
|
|
|
+ $('.tags-list .tags-item[data-id="' + s.lid + '"]').addClass('tags-active')
|
|
|
+ })
|
|
|
$('.tags-item').click(function(e) {
|
|
|
e.stopPropagation()
|
|
|
+ var id = $(this).attr('data-id');
|
|
|
+ var name = $(this).text()
|
|
|
$(this).toggleClass('tags-active')
|
|
|
+ if ($(this).hasClass('tags-active')) {
|
|
|
+ activeTags.push({
|
|
|
+ lid: id,
|
|
|
+ lname: name
|
|
|
+ })
|
|
|
+ inputTagList ()
|
|
|
+ } else {
|
|
|
+ var newArr = activeTags.filter(function(item) {
|
|
|
+ return item.lid != id
|
|
|
+ })
|
|
|
+ activeTags = newArr
|
|
|
+ console.log(activeTags,newArr, 'quxiao')
|
|
|
+ inputTagList ()
|
|
|
+ }
|
|
|
+
|
|
|
})
|
|
|
}
|
|
|
+ inputTagList()
|
|
|
}
|
|
|
// 获取用户自定义标签
|
|
|
function getUserTags () {
|
|
@@ -1431,93 +1435,77 @@ function getUserTags () {
|
|
|
laction: String 用户行为:S添加或绑定标签;D删除标签 非必传
|
|
|
binfo: Array 招标信息数组(已收藏的招标信息) 非必传
|
|
|
bid: String 招标信息加密后id 必传
|
|
|
- buyerclass: String 采购单位类型 非必传
|
|
|
- buyerinfo: Boolean 有无采购单位联系方式 非必传
|
|
|
- winnerinfo: Boolean 有无中标单位联系方式 非必传
|
|
|
}
|
|
|
- 1:lids为空;lname不为空;laction=”S”;binfo数组为空->新增标签
|
|
|
- 2:lids为空;lname不为空;laction=”S”;binfo数组不为空->新增标签并且绑定收藏信息
|
|
|
- 3:lids不为空;laction=”S”;binfo数组不为空->收藏信息绑定标签
|
|
|
+ 1:lids为空;lname不为空;laction=”S”;binfo数组不为空->新增标签并且绑定收藏信息
|
|
|
+ 2:lids不为空;laction=”S”;binfo数组不为空->收藏信息绑定标签
|
|
|
3:lids不为空;laction=”D”;->删除标签 并解绑收藏的信息
|
|
|
*/
|
|
|
-function editTags(params) {
|
|
|
+function saveChooseTags(params) {
|
|
|
$.ajax({
|
|
|
type:'post',
|
|
|
url:'/publicapply/bidcoll/label',
|
|
|
- data: params,
|
|
|
+ contentType: "application/json",
|
|
|
+ data: JSON.stringify(params),
|
|
|
dataType:'json',
|
|
|
success: function(r){
|
|
|
if (r.data) {
|
|
|
- toastFn("操作成功")
|
|
|
+ toastFn("标签绑定成功")
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-// 自定义标签输入框自适应高度
|
|
|
-function autoTextarea(container) {
|
|
|
- var textarea = container.getElementsByTagName('textarea')[0] ;
|
|
|
- var span = container.getElementsByTagName('span')[0] ;
|
|
|
- textarea.addEventListener('input', function() {
|
|
|
- span.textContent = textarea.value;
|
|
|
- }, false);
|
|
|
- span.textContent = textarea.value;
|
|
|
+// 新增标签
|
|
|
+function addTagsAjax (name) {
|
|
|
+ $.ajax({
|
|
|
+ type:'post',
|
|
|
+ url:'/publicapply/bidcoll/addLabel',
|
|
|
+ data: {
|
|
|
+ name: name
|
|
|
+ },
|
|
|
+ dataType:'json',
|
|
|
+ success: function(r){
|
|
|
+ if (r.data) {
|
|
|
+ $('.tag-input .clear-input').val('')
|
|
|
+ // 添加标签成功后 绑定标签
|
|
|
+ activeTags.push({
|
|
|
+ lid: r.data,
|
|
|
+ lname: name
|
|
|
+ })
|
|
|
+ getUserTags()
|
|
|
+ } else {
|
|
|
+ toastFn(r.error_msg)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
-// var tagsVal = document.getElementById('tags-textarea');
|
|
|
-// autoTextarea(tagsVal);
|
|
|
/*
|
|
|
收藏或取消收藏ajax
|
|
|
params: {
|
|
|
baction: String, //用户行为:R:移除收藏;C:收藏(默认)非必填
|
|
|
binfo: Array, // 招标信息数组 必填
|
|
|
bid: String, // 招标信息加密后id 必填
|
|
|
- buyerclass: String, // 采购单位类型 必填
|
|
|
- buyerinfo: Boolean, // 有无采购单位联系方式 必填
|
|
|
- winnerinfo: Boolean // 有无中标单位联系方式 必填
|
|
|
}
|
|
|
参数示例 (baction=R binfo数组只需要bid即可)
|
|
|
*/
|
|
|
-function collectBidInfo (params) {
|
|
|
+function collBidAction (baction, binfo, callback) {
|
|
|
+ var params = {
|
|
|
+ baction: baction,
|
|
|
+ binfo: binfo
|
|
|
+ }
|
|
|
$.ajax({
|
|
|
type:'post',
|
|
|
+ contentType: "application/json",
|
|
|
url:'/publicapply/bidcoll/action',
|
|
|
- data: params,
|
|
|
- dataType:'json',
|
|
|
+ data: JSON.stringify(params),
|
|
|
+ dataType: 'json',
|
|
|
success: function(r){
|
|
|
- if (r.data) {
|
|
|
- toastFn("操作成功")
|
|
|
+ if (r) {
|
|
|
+ callback && callback(r)
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-// 开通提醒弹框
|
|
|
-function openVipDialog() {
|
|
|
- $('.auth-dialog').show()
|
|
|
- $('.auth-dialog .default-btn').click(function () {
|
|
|
- $('.auth-dialog').hide(300)
|
|
|
- })
|
|
|
-}
|
|
|
-// 升级提醒弹框
|
|
|
-function updateVipDialog() {
|
|
|
- $('.update-dialog').show()
|
|
|
- $('.update-dialog .default-btn').click(function () {
|
|
|
- $('.update-dialog').hide(300)
|
|
|
- })
|
|
|
-}
|
|
|
-// 开通vip提醒
|
|
|
-function openVipDialog() {
|
|
|
- $('.auth-dialog').show()
|
|
|
- $('.dialog-footer .default-btn').click(function () {
|
|
|
- $('.auth-dialog').hide()
|
|
|
- })
|
|
|
-}
|
|
|
|
|
|
-// toast上限提示
|
|
|
-function toastFn (text) {
|
|
|
- $(".custom-toast").fadeIn().find("span").html(text);
|
|
|
- setTimeout(function(){
|
|
|
- $(".custom-toast").fadeOut();
|
|
|
- },2000)
|
|
|
-}
|
|
|
//
|
|
|
function NullSuperSearch(){
|
|
|
$("#newsclass li:nth-child(2) a").click();
|