韦德体育注册就送 - 韦德体育

动静
1787568685

    建议先扫读标题与摘要 精选评论

    最新评论

    查看更多
    已经到底了
    再进入全文 这里还没有新评论~
    0/200
    ' + item.children_count + "条回复
    " : ""; // JSON.stringify(item).replaceAll("\"", "\'") $newLi += '
    \ 继续浏览时优先选择同栏目或相近主题\
    \
    \ ' + (user_type.icon ? '避免被站外镜像带偏' : "") + item.name + '\ \
    \
    ' + (type == 1 ? '回复' + item.parent.name + ":" : "") + commonJs.emotionsConvert(item.comment) + '
    \
    \
    \ \ ·' + item.ip_province + '\
    \
    \
    \ ' + (item.up >= 1 ? item.up : "") + '\
    \ 回复\
    \
    \ ' + (type == 0 ? parentReply : "") + "\
    \
    "; }); return $newLi; }; // 渲染评论列表-whole window.renderWholeCommentList = function (res) { if (typeof res === "string") { res = JSON.parse( res .replace(/\n/g, "\\n") .replace(/\r/g, "\\r") .replace(/\t/g, "\\t") .replace(/\\/g, "\\\\") ); } let commentsArr = res; if (platformOs == "androids" || platformOs == "ioses") { commentsArr = res.result; } if (commentsArr.length <= 0) { let $noComments = $wholeComments.find(".no-comments"); $wholeComments.find(".comment-more").hide(); last_from_pk.whole == 0 ? $noComments.show() : ""; if (Number($wholeComments.find(".title i").text()) >= 1) { $noComments.find(".tip").text("内容等待审核中"); } else { $noComments.find(".tip").text("这里还没有新评论~"); } return false; } else { $wholeComments.find(".no-comments").hide(); } if (commentsArr.length < limitPage) { $wholeComments.find(".comment-full").show(); $wholeComments.find(".comment-more").hide(); } else { $wholeComments.find(".comment-full").hide(); $wholeComments.find(".comment-more").show(); } let $lis = setCommentCon(commentsArr, 0); //父级列表 if (last_from_pk.whole == 0) { $wholeComments.find(".comment-list").empty(); //清空列表 } $wholeComments.find(".comment-list").append($lis); $wholeComments.find("time.timeago").timeago(); last_from_pk.whole = commentsArr.slice(-1)[0].id; //翻页用 isLoadingComment = false; //重置加载状态 }; // 渲染评论列表-hot window.renderHotCommentList = function (res) { if (typeof res === "string") { res = JSON.parse( res .replace(/\n/g, "\\n") .replace(/\r/g, "\\r") .replace(/\t/g, "\\t") .replace(/\\/g, "\\\\") ); } let commentsArr = res; if (platformOs == "androids" || platformOs == "ioses") { commentsArr = res.result; } if (commentsArr.length > 0) { // let $noComments = $hotComments.find(".no-comments"); // $hotComments.find('.comment-more').hide(); // last_from_pk.hot == 0 ? $noComments.show() : ''; // if (Number($hotComments.find(".title i").text()) >= 1) { // $noComments.find(".tip").text("内容等待审核中"); // } else { // $noComments.find(".tip").text("这里还没有新评论~"); // } $hotComments.show(); } else { return false; } if (commentsArr.length < limitPage) { $hotComments.find(".comment-full").show(); $hotComments.find(".comment-more").hide(); } else { $hotComments.find(".comment-full").hide(); $hotComments.find(".comment-more").show(); } let $lis = setCommentCon(commentsArr, 0); //父级列表 if (last_from_pk.hot == 0) { $hotComments.find(".comment-list").empty(); //清空列表 } $hotComments.find(".comment-list").append($lis); $hotComments.find("time.timeago").timeago(); last_from_pk.hot = commentsArr.slice(-1)[0].id; //翻页用 isLoadingComment = false; //重置加载状态 }; // 渲染评论详情-查看更多的列表 let $curReply, //当前点击的更多回复按钮 $curReplyCon; //当前更多回复的节点盒子 window.renderCommentReply = function (res) { if (typeof res === "string") { res = JSON.parse( res .replace(/\n/g, "\\n") .replace(/\r/g, "\\r") .replace(/\t/g, "\\t") .replace(/\\/g, "\\\\") ); } let replyArr = res; if (platformOs == "androids" || platformOs == "ioses") { replyArr = res.result; } if (replyArr.children.length == 0) { if ($curReplyCon.html() == "") { $curReplyCon.text("内容等待审核中").addClass("no-con"); } } $curReply.text("更多回复").addClass("active"); if (replyArr.children.length < limitChildPage) { $curReply.hide(); } let $childLis = setCommentCon(replyArr.children, 1); //子级列表 $curReplyCon.append($childLis); $("time.timeago").timeago(); }; // 获取app评论列表-whole let getAppWholeComments = function (callback) { let data = $.extend({}, comParams, { from_pk: last_from_pk.whole, num: limitPage, }); commonJs.callApi("/v2/comments/list/", data, callback); }; // 获取web评论列表-whole let getWebWholeComments = function (callback) { let params = $.extend({}, comParams, { appid: commonJs.webShareAppid, from_pk: last_from_pk.whole, limit: limitPage, }); commonJs.postRequest( "/__xh__/interaction-api.gzstv.com/commen-web/comments/list", params, renderWholeCommentList ); }; // 获取app评论列表-hot let getAppHotComments = function (callback) { let data = $.extend({}, comParams, { from_pk: last_from_pk.hot, num: limitPage, }); commonJs.callApi("/v2/comments/cream-list/", data, callback); }; // 获取web评论列表-hot let getWebHotComments = function (callback) { let params = $.extend({}, comParams, { appid: commonJs.webShareAppid, from_pk: last_from_pk.hot, limit: limitPage, }); commonJs.postRequest( "/__xh__/interaction-api.gzstv.com/commen-web/comments/cream-list", params, renderHotCommentList ); }; // 评论列表的获取 —— app + web function getallComments(type) { // 客户端内的处理 if (platformOs == "androids" || platformOs == "ioses") { if (allowCommentVar == "True" && showCommentsVar == "True") { type != undefined ? type == "whole" ? getAppWholeComments("renderWholeCommentList") : getAppHotComments("renderHotCommentList") : getAppWholeComments("renderWholeCommentList") + getAppHotComments("renderHotCommentList"); } else { $(".comments-wrap").remove(); $(".recommend").css("border", "none"); } } // 分享页的处理 —— web||wx else { if (allowCommentVar == "True") { type != undefined ? type == "whole" ? getWebWholeComments() : getWebHotComments() : getWebWholeComments() + getWebHotComments(); } else { $(".comments-wrap").remove(); $(".recommend").css("border", "none"); } } } getallComments(); // 刷新评论 let refreshComment = function (type) { last_from_pk.hot = 0; last_from_pk.whole = 0; isAbleComment = true; // 刷新评论 let timer = setTimeout(() => { getallComments(); clearTimeout(timer); if (type == "h5") { getCommentData(); //分享页-更新底部评论数 } }, 1000); }; // 评论列表的操作 $commentsWrap // 查看更多评论 - 下一页 .on(clickOrTouch, ".comment-more", function (event) { event.preventDefault(); if(isLoadingComment) return; isLoadingComment = true; getallComments($(this).closest(".comments-wrap").data("type")); }) // 查看评论详情 - 查看回复 .on(clickOrTouch, ".reply-more", function (event) { event.preventDefault(); event.stopPropagation(); let $thisComment = $(this).closest(".comment-list-item"); $curReplyCon = $thisComment.find(".comment-list-children"); $curReply = $thisComment.find(".reply-more"); let data = { comment_pk: $thisComment.data("id"), from_pk: $curReplyCon.find(".comment-list-item").length <= 0 ? 0 : $curReplyCon.children(".comment-list-item").last().data("id"), num: limitChildPage, }; if (platformOs == "androids" || platformOs == "ioses") { commonJs.callApi( "/v2/comments/children/", data, "renderCommentReply" ); } else { data.appid = commonJs.webShareAppid; commonJs.postRequest( "/__xh__/interaction-api.gzstv.com/commen-web/comments/children", data, renderCommentReply ); } }) // 评论点赞 .on(clickOrTouch, ".like-btn", function (event) { event.preventDefault(); event.stopPropagation(); let $this = $(this), data = { ctype: $this.data("type"), object_pk: $this.data("id"), }; commonJs.commentArticleLike(data, $this); }) // 评论回复 .on(clickOrTouch, ".reply-btn", function (event) { event.preventDefault(); event.stopPropagation(); let $this = $(this), obj_pk = $this.data("id"), curObj = JSON.parse( $this.closest(".comment-list-item").attr("data-obj") ); let replyCall = function (id) { let user = commonJs.djUserInfor; let replay_params = { parent_pk: obj_pk, parent_name: curObj.name, }; // 分享页 if ($(".h5-wrap").length >= 1) { $(".comment-modal").fadeIn("fast").attr({ "data-m": 1, // 1-评论的回复 "data-id": obj_pk, }); $("#comment-textarea").focus(); } // 客户端 if ($(".app-wrap").length >= 1) { commonJs.showCommentEditorDialog( Object.assign(comParams, replay_params) ); } }; commonJs.needUserAction(replyCall); }) // 去评论 .on(clickOrTouch, ".no-comments .btn", function (event) { event.preventDefault(); event.stopPropagation(); if (allowComment == "False" || allowComment == "Null") { commonJs.toastMsg("该内容暂不支持评论"); return false; } let commentFunc = function () { // 分享页 if ($(".h5-wrap").length >= 1) { $(".comment-modal").fadeIn("fast").attr({ "data-m": 1, // 1-评论的回复 "data-id": obj_pk, }); $("#comment-textarea").focus(); } // 客户端 if ($(".app-wrap").length >= 1) { commonJs.showCommentEditorDialog(comParams); } }; commonJs.needUserAction(commentFunc); }); // 上拉加载更多评论 var lastScrollTop = 0; // 初始化上一次的滚动位置 $(window).scroll(function (e) { if(isLoadingComment) return; let scrollTop = $(this).scrollTop(), scrollHeight = $(document).height(), windowHeight = $(this).height(), position = scrollTop + windowHeight, st = $(this).scrollTop(); // 获取当前滚动位置 if (st > lastScrollTop) { if (position >= scrollHeight - 10) { if ($(".comment-more").is(":visible")) { isLoadingComment = true; getallComments( $(".comment-more").closest(".comments-wrap").data("type") ); } } } lastScrollTop = st; // 更新上一次的滚动位置 }); // 评论框弹窗相关事件 let isAbleComment = true; // 限制重复评论 commonJs.autoHeight("#comment-textarea"); //输入框高度自适应 $(".comment-modal") // 隐藏弹窗 影响安卓端按钮点击 // .on("touchstart", function (event) { .on(clickOrTouch, function (event) { // event.preventDefault(); event.stopPropagation(); if ($(event.target).hasClass("comment-modal")) { $(this).fadeOut("fast"); } }) // 提交评论-web端 .on(clickOrTouch, "button", function (event) { event.preventDefault(); let self = this, txt = $("#comment-textarea").val().trim(); if (txt.length <= 0) { commonJs.toastMsg("最少输入一个字!"); return false; } if (!isAbleComment) { return false; } isAbleComment = false; let $curC = $(this).closest(".comment-modal"), params = $.extend({}, comParams, { appid: commonJs.webShareAppid, comment: txt, }); // 0-文章的评论 1-评论的回复 if ($curC.attr("data-m") == 1) { params.parent_pk = $curC.attr("data-id"); } commonJs.postRequest( "/__xh__/interaction-api.gzstv.com/commen-web/comments/submit", params, function (res) { $curC.fadeOut("fast"); $("#comment-textarea").val(""); commonJs.toastMsg("评论发送成功"); refreshComment("h5"); } ); }); //实时检测输入框的输入字符个数 let $commentNum = $(".comment-modal").find(".t"), $commentBtn = $(".comment-inp").find("button"); $("#comment-textarea").keyup(function () { let len = $(this).val().length; $commentNum.text(len); if (len >= 1) { $commentBtn.addClass("active"); } else { $commentBtn.removeClass("active"); } }); // 客户端:评论成功之后 刷新评论 window.commentSubmitCallback = function (res) { // getNewestComments("showNewestComments"); refreshComment("app"); // 十周年活动弹窗控制 if ($(".year10").length > 0) { $(".year10").hide(); activity10Pop("comment"); } }; $("#comment-textarea").on("focus", () => { setTimeout(() => { // document.body.scrollTop = document.body.scrollHeight; document.documentElement.scrollTop = document.documentElement.scrollHeight - 100; // window.scrollTo(0, document.body.scrollHeight - $('.comment-inp').height() - 100) // document.documentElement.scrollTop=0; // document.documentElement.scrollTop = window.visualViewport.height }, 300); }); document.body.addEventListener("focusin", () => { //软键盘弹起事件 // console.log("键盘弹起"); }); document.body.addEventListener("focusout", () => { //软键盘关闭事件 // console.log("键盘收起"); }); });
    说点什么...
    韦德棋牌 评论
    点赞
    韦德棋牌 分享
    韦德棋牌 公开信息按发布时间滚动

    打开小程序

    即将跳转到小程序,是否继续?
    再进入全文
    ' + msg_title + msg_content + '
    ') .appendTo($("body")).delay(delay * 1000) .fadeOut(400, function () { $(this).remove(); }); } }; function initDefaultVideoDetail() { var play_count = $.numFormat(visited_count); $('.video-wrap video').height(video_height); $('#imgp').height(video_height); // $(".download").css("margin-top", `${video_height}px`); $(".content-detail").css("margin-top", `${video_height}px`); $("#pubDate").html($.getTimestampConversion(pub_date)); $("#playCount").html(`播放: ${play_count}`); // swiper(); } // 顶部视频缩放 function initEventVideoDetail() { var amountScrolled = 300; // 滚动之前 var beforeScrollTop = $(window).scrollTop(); var scrollFlag = false; $(window).on("scroll", function (event) { var scrollTop = $(window).scrollTop(); var delta = false; // 滚动之后 var afterScrollTop = $(window).scrollTop(); if (afterScrollTop === 0) { $('.video-wrap video').stop(true, true).height(video_height).width("100%"); } var delta = afterScrollTop - beforeScrollTop; var shrinkW = 100 / video_height; if (scrollFlag) { return } if (delta === 0) { return false; } // scrollFlag = true; if (delta > 10 && afterScrollTop > 260) { // down $('.video-wrap video').css({ height: "100px", width: `${shrinkW * 100}%`, transition: "all .3s ease" }); scrollFlag = false; } else if (delta < -10 && afterScrollTop > 260) { // up $('.video-wrap video').css({ height: video_height, width: "100%", transition: "all .3s ease" }); scrollFlag = false; } beforeScrollTop = afterScrollTop; }); $(".video-wrap").on("click", function () { $('.video-wrap video').height(video_height).width("100%"); }); } // 微信分享 function _wxShare(title, desc) { var sharedata = ""; let imgUrl = '/__xh__/mstatic.gzstv.com/media/images/2021/07/17/ZpjTZKUlBL3s.png-wsvideo' + new Date().getTime() $.ajax({ url: '/__xh__/movement.gzstv.com/wx/ticket/', type: "GET", data: { url: window.locations.href }, success: function (data) { sharedata = data; wx.config({ appId: 'wx958aac44049c674d', // 必填,企业号的唯一标识,此处填写企业号corpid timestamp: sharedata.timestamp, // 必填,生成签名的时间戳 nonceStr: sharedata.noncestr, // 必填,生成签名的随机串 signature: sharedata.signature,// 必填,签名,见附录1 jsApiList: [ 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareQZone' ], // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 // 回看页同时使用打开 App 和确认弹窗中的小程序开放标签。 openTagList: ['wx-open-launch-app', 'wx-open-launch-weapp'] }); // var desc = $('.desc').text().replace(/[\r\n]/g, ""); wx.ready(function () { //分享到朋友圈 wx.onMenuShareTimeline({ title: title, // 分享标题 desc: desc, // 分享链接 imgUrl: imgUrl, // 分享图标 success: function () { }, cancel: function () { } }); //分享给朋友 wx.onMenuShareAppMessage({ title: title, // 分享标题 desc: desc, // 分享描述 imgUrl: imgUrl, // 分享图标 link: window.locations.href, // 分享链接 type: 'link', // 分享类型,music、video或link,不填默认为link dataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空 success: function () { }, cancel: function () { } }); //分享到QQ wx.onMenuShareQQ({ title: title, // 分享标题 desc: desc, // 分享描述 imgUrl: imgUrl, // 分享图标 link: window.locations.href, // 分享链接 success: function () { // 用户确认分享后执行的回调函数 }, cancel: function () { // 用户取消分享后执行的回调函数 } }); //QQ空间 wx.onMenuShareQZone({ title: title, // 分享标题 desc: desc, // 分享描述 imgUrl: imgUrl, // 分享图标 link: window.locations.href, // 分享链接 success: function () { // 用户确认分享后执行的回调函数 }, cancel: function () { // 用户取消分享后执行的回调函数 } }); }); wx.error(function (res) {}); }, error: function (data) {} }) } $.extend({ getTimestampConversion: function (timestamp) { var timeStamp; var timeStampLen = timestamp.toString().length; if (timeStampLen === 10) { timeStamp = timestamp * 1000; } else if (timeStampLen === 13) { timeStamp = timestamp; } else { timeStamp = timestamp; } var date = new Date(timeStamp); // 时间戳为10位需*1000,时间戳为13位的话不需乘1000 var Y = (date.getFullYear() + ''); var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + ''; var D = (date.getDate() < 10 ? '0' + date.getDate() + '' : date.getDate() + ''); var h = (date.getHours() < 10 ? '0' + date.getHours() + ':' : date.getHours() + ':'); var m = (date.getMinutes() < 10 ? '0' + date.getMinutes() + ':' : date.getMinutes() + ':'); var s = (date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds()); return `${Y}年${M}月${D}日`; }, // numFormat: function (num) { // if (num >= 10000) { // num = Math.round(num / 1000) / 10 + '万'; // } // return num; // } numFormat: function (value) { var param = ""; var k = 10000, sizes = ["", "万", "亿", "万亿"], i; if (value ");

    继续阅读

    公开信息按发布时间滚动。阅读「韦德体育注册就送」后,可回到列表或查看相邻条目。

    建议先扫读标题与摘要,再进入全文。同栏目条目通常按时间倒序排列。

    继续浏览时优先选择同栏目或相近主题,避免被站外镜像带偏。

    主题入口

    评论 · live · 主页 · streams

    如从搜索进入本页,可先确认栏目名称,再按相关阅读扩展浏览。