• 孕妇深夜分娩 滴滴司机抬上车疾驰送医

    2019-02-19 17:06:55
    +

    快看新闻

    更好看的视频资讯,快来看新闻啦!

    猜你喜欢
      评论
      '; html += '
      '; html += '
      '; $(this).parent(".txt").append(html); }); $(".plList").delegate(".cancelBt","click",function(){ $(this).parents('.huifuBox').remove(); }); $(".plList").delegate("textarea", "focus",function(){ var name = $(this).parents(".txt").find('.userName').text(); if ($(this).text() =='回复'+name) { $(this).empty(); } }); $(".plList").delegate("textarea", "blur",function(){ var name = $(this).parents(".txt").find('.userName').text(); if ($(this).text() =='') { $(this).text('回复'+name); } }); //收藏 $(".video_infoBar").delegate(".favorites", "click",function(){ var obj = $(this); $.post("/collection/setCollectVideo", {vid: $('#vid').val()},function(data){ if(data.code == 200) { obj.removeClass("favorites").addClass('favoritesOk').html('已收藏'); } else if(data.code == 201) { loginPop(); return false; } }, "json"); }); //取消收藏 $(".video_infoBar").delegate(".favoritesOk", "click",function(){ var obj = $(this); $.post("/collection/unSetcollectVideo", {vid: $('#vid').val()},function(data){ if(data.code == 200) { obj.removeClass("favoritesOk").addClass('favorites').html('收藏'); } else if(data.code == 201) { loginPop(); return false; } }, "json"); }); //关注 $(".addBt").click(function () { var tuid = $(this).parents(".txt").attr('id'); $.post("/followFans/addSubscription", {tuid: tuid},function(data){ if(data.code == 200) { $(".addBt").removeClass("addBt").addClass('addBt_ed'); } else if(data.code == 201) { loginPop(); return false; } else { alert(data.info); return false; } }, "json"); }); //取消关注 $(".addBt_ed").click(function () { var tuid = $(this).parents(".txt").attr('id'); $.post("/followFans/cancelSubscription", {tuid: tuid},function(data){ if(data.code == 200) { $(".addBt_ed").removeClass("addBt_ed").addClass('addBt'); } else if(data.code == 201) { loginPop(); return false; } else { alert(data.info); return false; } }, "json"); }); //发表评论 $(".submitBt").click(function () { var content = $.trim($('#commentcontent').val()); if(content) { $.post("/comment/addComment",{object_id: $('#vid').val(), content: content, parent_id:0},function(data){ if(data.code == 201) { loginPop(); return false; } else if (data.code == 200) { var html = ''; html +='
    • '; html +='
      '; html +='
      回复0'; if(data.userinfo.data.is_vip != 0) { html +='

      '+data.userinfo.data.nickname+'

      '; } else { html +='

      '+data.userinfo.data.nickname+'

      '; } html +='
      '+content+'
      '; html +='

      '+getNowFormatDate()+'

      '; html +='
    • '; $('.plList').prepend(html); $('#commentcontent').val('说点什?#31383;?); } else if(data.code == 203) { alert(data.info); return false; } }, "json"); } else return false; }); //回复评论 $(".plList").delegate(".huifuBt2","click",function(){ var content = $.trim($(this).parents('.txt').find('textarea').val()); var parent_id = $.trim($(this).parents('.txt').attr('id')); var userName = $.trim($(this).parents('.txt').find('.userName').text()); var huifuBox = $(this).parents('.huifuBox'); if(content) { $.post("/comment/addComment",{object_id: $('#vid').val(), content: content, parent_id: parent_id},function(data){ if(data.code == 201) { loginPop(); return false; } else if (data.code == 200) { var html = ''; html +='
    • '; html +='
      '; html +='
      回复0'; if(data.userinfo.data.is_vip != 0) { html +='

      '+data.userinfo.data.nickname+'

      '; } else { html +='

      '+data.userinfo.data.nickname+'

      '; } html +='
      '+data.userinfo.data.nickname+'回复了'+userName+'
      '; html +='
      '+content+'
      '; html +='

      '+getNowFormatDate()+'

      '; html +='
    • '; $('.plList').prepend(html); //去掉回复框 huifuBox.remove(); } else if(data.code == 203) { alert(data.info); return false; } }, "json"); } else return false; }); //评论点赞 $(".plList").delegate(".zanIcoBt","click",function(){ var comment_id = $.trim($(this).parents('.txt').attr('id')); var obj = $(this); var num = $(this).parents('.txt').attr('data'); if(num > 0) return false; $.post("/comment/upDown", {comment_id: comment_id, type_id:1},function(data){ if(data.code == 200) { obj.addClass('zanClick'); obj.text(eval(obj.text()+"+1")); obj.parents('.txt').attr('data', eval(num+"+1")); } else if(data.code == 201) { loginPop(); return false; } else if(data.code == 203) { alert(data.info); obj.parents('.txt').attr('data', eval(num+"+1")); return false; } }, "json"); }); //关闭弹窗广告 $(".closeBt").on('click',function () { $(this).parent().hide();}); $(function(){ // //获取评论数 // if($('#vid').val()) // { // $.post("/comment/getNum4Ajax", {vid: $('#vid').val()},function(data){ // if(data.msg == 1) // { // $('#commentTit').html('评论('+data.num+')'); // } // }, "json"); // } if($('#vid').val()) { $.post("/play/add", {vid: $('#vid').val()},function(data){ }, "json"); } //猜你喜欢 $.post("/index/getGuessList4Ajax", {},function(data){ if(data.msg == 1) { var html = ''; $.each(data.list, function(i){ html += '
    • '; html += ''; html += ''; html += '
    • '; }) $('.likeList').append(html); } }, "json"); getCommentList(); $('.listMoreBar').click(function(){ getCommentList(); }) }) function getCommentList() { if($('#vid').val()) { $.post("/comment/getList4Ajax", {vid: $('#vid').val(), last_id: $('#last_id').val()},function(data){ if(data.msg == 1) { var html = ''; $.each(data.list, function(i){ html += '
    • '; html += '
      回复'+data.list[i].support_num+''; if(data.list[i].vip != 0) { html += '

      '+data.list[i].nickname+'

      '; } else { html += '

      '+data.list[i].nickname+'

      '; } if(data.list[i].to_userid != 0) { html += '
      '+data.list[i].nickname+'回复了'+data.list[i].to_nickname+'
      '; } html += '
      '+data.list[i].content+'
      '; html += '

      '+data.list[i].create_time+'

      '; html += '
    • '; }) $('.plList').append(html); var last_id = eval(data.list)[eval(data.list).length-1]["comment_id"]; $('#last_id').val(last_id); $('.listMoreBar').show(); } else if(data.msg == 2) { $('.listMoreBar').remove(); } }, "json"); } } function getNowFormatDate() { var date = new Date(); var seperator1 = "-"; var seperator2 = ":"; var month = date.getMonth() + 1; var strDate = date.getDate(); if (month >= 1 && month <= 9) { month = "0" + month; } if (strDate >= 0 && strDate <= 9) { strDate = "0" + strDate; } var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate + " " + date.getHours() + seperator2 + date.getMinutes() + seperator2 + date.getSeconds(); return currentdate; }
      ? 2017 第一视频公司版权所有
      互联网新闻信息服务许可证(国新网许可证编号11220180006) 电信与信息服务?#28404;?#32463;营许可证(京ICP证050390号) 广播电视节目制作经营许可证 (广媒)字第150号
      统一社会信用代码:911101087754533048 网络文化经营许可证:京网文【2018】10244-931号  网络出版服务许可证?#28023;?#24635;)网出证(京)字第194号
      信息网络传播视听节目许可证(0105136) 测绘?#25163;手?#20070;(甲测?#39318;?100561) 增值电信?#28404;?#32463;营许可证B2-20050381京公网安备:11000002002116
      邮箱:[email protected]  热线: 400-006-4571  不良信息举报: 010-64706601
      浙江省快乐12选5