12345678910111213141516171819202122232425262728293031323334353637 |
- import '../../css/bootstrap.less';
- import 'bootstrap/dist/js/bootstrap.js';
- import '../../css/public.css';
- import '../../css/main_banner.css';
- import '../../js/public.js';
- import '../../js/main_banner.js';
- import '../../css/technologyTrading/demandDetail.css';
- (function(){
- $(".fine").on('click', 'div.pointer', function () {
- var theId = $(this).children("p.demandId").html();
- var thetype=$(this).children("p.demandTyp").html();
- window.open(globalConfig.context + '/portal/technologyTrading/demandDetail?id=' + theId+'&type='+thetype );
- });
- $(".main_introduce ul").on("click","li",function(){
- var theId = $(this).children("div").children("p.demandId").html();
- var thetype=$(this).children("div").children("p.demandTyp").html();
- window.open(globalConfig.context + '/portal/technologyTrading/demandDetail?id=' + theId+'&type='+thetype );
- })
- //点击感兴趣
- var t=0;
- $('.basic .loves').click(function(){
- if($(this).find('span:first-child').hasClass('box_love')){
- t=$('.dem_number').text();
- $('.dem_number').text(parseInt(t)+1)
- $(this).find('span:first-child').addClass('bj_love').removeClass('box_love')
- return false;
- }
- if($(this).find('span:first-child').hasClass('bj_love')){
- t=$('.dem_number').text();
- $('.dem_number').text(parseInt(t)-1)
- $(this).find('span:first-child').addClass('box_love').removeClass('bj_love')
- }
- })
- })();
|