zsk_details.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // 报名
  2. PublicAction.AjaxSend(
  3. {
  4. CORID:'apply_submit', /*操作ID*/
  5. }
  6. );
  7. $('.m_KeyWord ul li a').on('click',function(){
  8. var _html = $(this).html();
  9. $(this).attr('href','/knowledgebase/list/k?keywords='+ _html +'');
  10. })
  11. //判断重复值
  12. $('.m_Hot_lp ul li').on('click',function(){
  13. // $('.m_Hot_lp ul li').each(function(){
  14. console.log($(this).find('.m_Hot_lp_text_zxtx').index());
  15. // })
  16. })
  17. window._bd_share_config = {
  18. "common": {
  19. "bdSnsKey": {},
  20. "bdText": "",
  21. "bdMini": "2",
  22. "bdMiniList": false,
  23. "bdPic": "",
  24. "bdStyle": "0",
  25. "bdSize": "16"
  26. },
  27. "share": {},
  28. "selectShare": {
  29. "bdContainerClass": null,
  30. "bdSelectMiniList": ["qzone", "tsina", "tqq", "renren", "weixin"],
  31. "bdContainerClass" : "con"
  32. }
  33. };
  34. with(document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
  35. var m_randomX = 100;
  36. var m_randomY = 300;
  37. var m_randvalue = parseInt(Math.random() * (m_randomX - m_randomY + 1) + m_randomY);
  38. $('.m_remind_title i').html('已有'+ m_randvalue +'人获取');