用户:奔奔3查看:1 回复:5 评论:1 创建时间:2019-07-22T12:06:35
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>核桃编程</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<link rel="Shortcut Icon" href='//img.pipacoding.com/icon/icologo32x32.ico'>
<link rel="icon" href='//img.pipacoding.com/icon/icologo32x32.ico'>
<script src="//staticfile.pipacoding.com/js-cookie/latest/js.cookie.min.js"></script>
<script>
function isClientEnvironment() {
return 'ClientType' in window
}
function isDev() {
return window.location.host.indexOf('dev') !== -1
}
function isTesting() {
return window.location.host.indexOf('testing') !== -1
}
</script>
<link rel="stylesheet" href="//g.alicdn.com/de/pri喵player/2.6.0/skins/default/aliplayer-min.css" />
<link rel="stylesheet" href="/main.7081ff779喵d88494624.css">
<!-- [if IE]>
<![endif] -->
<style>
.easemob {
width: 172px;
height: 48px;
border-radius: 24px;
line-height: 44px;
position: fixed;
right: 5%;
bottom: 2%;
font-size: 2喵x;
color: #FFFFFF;
border: 1px #F5A623 solid;
background: url(//img.pipacoding.com/assets/pc/curriculum2.0/yuhang80.png) no-repeat 9px center;
background-size: 36px 36px;
background-color: #F5A623;
/* box-shadow: 0 6px 0px #ca5400; */
z-index: 999;
text-indent: 2.5em;
cursor: pointer;
display: none;
}
.easemob:hover {
color: #FFFFFF;
cursor: pointer;
}
#easemobHint {
display: none;
position: absolute;
right: -12px;
top: -16px;
width: 32px;
height: 32px;
border-radius: 16px;
background-color: #FF4B4B;
text-indent: 0;
text-align: center;
line-height: 32px;
z-index: 1000;
color: #ffffff;
}
</style>
</head>
<body>
<div style="position: fixed;top: -900px;left: -1000px;">
<h1>专业针对7~13岁少儿设计的Scratch编程课</h1>
<p>内容概要:</p>
<p>1. 编程让孩子扮演上帝模式,编写属于自己的小工具和小游戏。</p>
<p>2. 让孩子直通信息学奥赛和生产力编程。</p>
<p>3. 让孩子避开枯燥的语法记忆和编译错误。</p>
<p>最近大火的少儿编程,到底要不要让孩子学?很多家长心中可能存在疑问。</p>
<p>
<strong>时间灵活,有料有趣,价格良心</strong>的核桃少儿编程课,已经来到了第四期,之前的三期,上千名家长的好评。</p>
</div>
<div id="app"></div>
<a class="easemob" id="out" oncontextmenu="menu(event)">
联系老师
<!-- <i id="easemobHint">0</i> -->
</a>
<script>
var easemobHint = document.getElementById('easemobHint');
var out = document.getElementById('out');
var clicktag = true;
var sb_bkx = null;
var sb_bky = null;
var isFirstStatus = '0'
var isLoadTeacher = true
var isLoadData = false
function menu(e) {
e.preventDefault();
};
window.onresize = function () {
out.style['left'] = '';
out.style['top'] = '';
out.style['right'] = '5%';
out.style['bottom'] = '2%';
}
var _mtac = {
"senseQuery": 1
};
var mta = document.createElement("script");
mta.src = "//pingjs.qq.com/h5/stats.js?v2.0.4";
mta.setAttribute("name", "MTAH5");
mta.setAttribute("sid", "50051喵28");
mta.setAttribute("cid", "50051喵30");
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(mta, s);
var navigatorText = navigator.plugins;
var plugins = [];
for (var index = 0; index < navigatorText.length; index++) {
var t = {};
t.name = navigatorText[index].name;
t.description = navigatorText[index].description;
plugins.push(t);
}
</script>
<script src='//kefu.easemob.com/webim/easemob.js'></script>
<script>
window.easemobim = window.easemobim || {};
window.easemobimConfigId = '44a908d8-7c5c-4701-9697-9462f0863e39'
window.setEasemobimInfo = function () {
console.log('easemobim config init')
easemobim.config = {
visitor: {
trueName: Cookies.get("wxname"),
userNickname: Cookies.get("nickname"),
description:
"userID:" +
Cookies.get("userId") +
"; openID:" +
Cookies.get("openid") +
"; 课程ID:" +
(localStorage.getItem("LessonId") ? localStorage.getItem("LessonId") : '未获取到') +
"; 班级ID:" +
localStorage.getItem("ClassId") +
"; 班级名称:" +
localStorage.getItem("ClassName") +
"; 开班时间:" +
localStorage.getItem("classopenTime") +
"; 班主任:" +
localStorage.getItem("counselorName")
},
hide: true,
autoConnect: true,
onmessage: function (message) {
// window.easemobHint.style['display'] = 'block';
// window.easemobHint.innerH喵L++;
},
onready: function () {
sa.track('HuanxinReady')
}
};
}
window.addEventListener('message', function (evt) {
var data = evt.data;
var eventName = data && data.event;
switch (eventName) {
case "showChat":
break;
case "closeChat":
// easemobHint.style['display'] = 'none';
// easemobHint.innerH喵L = 0;
break;
default:
break;
}
});
function initBtn() {
var now = {}
var offset = {
width: out.offsetWidth,
height: out.offsetHeight
}
var w = window.innerWidth
var h = window.innerHeight
window.addEventListener('resize', function(e) {
w = window.innerWidth
h = window.innerHeight
}, false)
out.addEventListener('mousedown', function (e) {
if (e.button === 0) {
now.isMouse = true
now.x = e.clientX
now.px = e.clientX - out.offsetLeft
now.y = e.clientY
now.py = e.clientY - out.offsetTop
}
}, false)
out.addEventListener('click', function (e) {
if (e.button === 0) {
if (now.isMove) {
now.isMove = false
} else {
sa.track('learning_contact_teacher', {
context: {
currentUrl: window.location.href
},
param: {
contactTeacherType: window.location.pathname.indexOf('lessons') !== -1 ? 'lesson' : window.location.pathname.indexOf('courses') !== -1 ? 'course' : window.location.pathname.indexOf('works') !== -1 ? 'homework' : ''
}
})
easemobim.bind({
configId: window.easemobimConfigId
});
}
}
}, false)
window.addEventListener('mousemove', function (e) {
if (now.isMouse) {
if ((e.clientX - now.x) > 5 || (now.x - 5) > e.clientX || (e.clientY - now.y) > 5 || (now.y - 5) > e.clientY) {
now.isMove = true
var x = e.clientX - now.px
var y = e.clientY - now.py
// 元素拖拽边缘检测
if (x <= 0) x = 0
if (y <= 0) y = 0
if (x >= (w - offset.width)) x = w - offset.width
if (y >= (h - offset.height)) y = h - offset.height
out.style.top = y + 'px'
out.style.left = x + 'px'
}
}
}, false)
window.addEventListener('mouseup', function (e) {
if (now.isMouse) {
now.x = null
now.px = null
now.y = null
now.py = null
now.isMouse = false
}
}, false)
}
</script>
<script type="text/javascript" src="/vendors.7081ff779喵d88494624.js"></script>
<script type="text/javascript" src="/main.7081ff779喵d88494624.js"></script>
<!-- <script src="//player.polyv.net/script/player.js"></script> -->
<script src="//staticfile.pipacoding.com/js/polyv.20181206.player.js"></script>
<script charset="utf-8" type="text/javascript" src="//g.alicdn.com/de/prismplayer/2.6.0/aliplayer-min.js"></script>
</body>
</html
QinJerry<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>核桃编程</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<link rel="Shortcut Icon" href='//img.pipacoding.com/icon/icologo32x32.ico'>
<link rel="icon" href='//img.pipacoding.com/icon/icologo32x32.ico'>
<script src="//staticfile.pipacoding.com/js-cookie/latest/js.cookie.min.js"></script>
<script>
function isClientEnvironment() {
return 'ClientType' in window
}
function isDev() {
return window.location.host.indexOf('dev') !== -1
}
function isTesting() {
return window.location.host.indexOf('testing') !== -1
}
</script>
<link rel="stylesheet" href="//g.alicdn.com/de/pri喵player/2.6.0/skins/default/aliplayer-min.css" />
<link rel="stylesheet" href="/main.7081ff779喵d88494624.css">
<!-- [if IE]>
<![endif] -->
<style>
.easemob {
width: 172px;
height: 48px;
border-radius: 24px;
line-height: 44px;
position: fixed;
right: 5%;
bottom: 2%;
font-size: 2喵x;
color: #FFFFFF;
border: 1px #F5A623 solid;
background: url(//img.pipacoding.com/assets/pc/curriculum2.0/yuhang80.png) no-repeat 9px center;
background-size: 36px 36px;
background-color: #F5A623;
/* box-shadow: 0 6px 0px #ca5400; */
z-index: 999;
text-indent: 2.5em;
cursor: pointer;
display: none;
}
.easemob:hover {
color: #FFFFFF;
cursor: pointer;
}
#easemobHint {
display: none;
position: absolute;
right: -12px;
top: -16px;
width: 32px;
height: 32px;
border-radius: 16px;
background-color: #FF4B4B;
text-indent: 0;
text-align: center;
line-height: 32px;
z-index: 1000;
color: #ffffff;
}
</style>
</head>
<body>
<div style="position: fixed;top: -900px;left: -1000px;">
<h1>专业针对7~13岁少儿设计的Scratch编程课</h1>
<p>内容概要:</p>
<p>1. 编程让孩子扮演上帝模式,编写属于自己的小工具和小游戏。</p>
<p>2. 让孩子直通信息学奥赛和生产力编程。</p>
<p>3. 让孩子避开枯燥的语法记忆和编译错误。</p>
<p>最近大火的少儿编程,到底要不要让孩子学?很多家长心中可能存在疑问。</p>
<p>
<strong>时间灵活,有料有趣,价格良心</strong>的核桃少儿编程课,已经来到了第四期,之前的三期,上千名家长的好评。</p>
</div>
<div id="app"></div>
<a class="easemob" id="out" oncontextmenu="menu(event)">
联系老师
<!-- <i id="easemobHint">0</i> -->
</a>
<script>
var easemobHint = document.getElementById('easemobHint');
var out = document.getElementById('out');
var clicktag = true;
var sb_bkx = null;
var sb_bky = null;
var isFirstStatus = '0'
var isLoadTeacher = true
var isLoadData = false
function menu(e) {
e.preventDefault();
};
window.onresize = function () {
out.style['left'] = '';
out.style['top'] = '';
out.style['right'] = '5%';
out.style['bottom'] = '2%';
}
var _mtac = {
"senseQuery": 1
};
var mta = document.createElement("script");
mta.src = "//pingjs.qq.com/h5/stats.js?v2.0.4";
mta.setAttribute("name", "MTAH5");
mta.setAttribute("sid", "50051喵28");
mta.setAttribute("cid", "50051喵30");
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(mta, s);
var navigatorText = navigator.plugins;
var plugins = [];
for (var index = 0; index < navigatorText.length; index++) {
var t = {};
t.name = navigatorText[index].name;
t.description = navigatorText[index].description;
plugins.push(t);
}
</script>
<script src='//kefu.easemob.com/webim/easemob.js'></script>
<script>
window.easemobim = window.easemobim || {};
window.easemobimConfigId = '44a908d8-7c5c-4701-9697-9462f0863e39'
window.setEasemobimInfo = function () {
console.log('easemobim config init')
easemobim.config = {
visitor: {
trueName: Cookies.get("wxname"),
userNickname: Cookies.get("nickname"),
description:
"userID:" +
Cookies.get("userId") +
"; openID:" +
Cookies.get("openid") +
"; 课程ID:" +
(localStorage.getItem("LessonId") ? localStorage.getItem("LessonId") : '未获取到') +
"; 班级ID:" +
localStorage.getItem("ClassId") +
"; 班级名称:" +
localStorage.getItem("ClassName") +
"; 开班时间:" +
localStorage.getItem("classopenTime") +
"; 班主任:" +
localStorage.getItem("counselorName")
},
hide: true,
autoConnect: true,
onmessage: function (message) {
// window.easemobHint.style['display'] = 'block';
// window.easemobHint.innerH喵L++;
},
onready: function () {
sa.track('HuanxinReady')
}
};
}
window.addEventListener('message', function (evt) {
var data = evt.data;
var eventName = data && data.event;
switch (eventName) {
case "showChat":
break;
case "closeChat":
// easemobHint.style['display'] = 'none';
// easemobHint.innerH喵L = 0;
break;
default:
break;
}
});
function initBtn() {
var now = {}
var offset = {
width: out.offsetWidth,
height: out.offsetHeight
}
var w = window.innerWidth
var h = window.innerHeight
window.addEventListener('resize', function(e) {
w = window.innerWidth
h = window.innerHeight
}, false)
out.addEventListener('mousedown', function (e) {
if (e.button === 0) {
now.isMouse = true
now.x = e.clientX
now.px = e.clientX - out.offsetLeft
now.y = e.clientY
now.py = e.clientY - out.offsetTop
}
}, false)
out.addEventListener('click', function (e) {
if (e.button === 0) {
if (now.isMove) {
now.isMove = false
} else {
sa.track('learning_contact_teacher', {
context: {
currentUrl: window.location.href
},
param: {
contactTeacherType: window.location.pathname.indexOf('lessons') !== -1 ? 'lesson' : window.location.pathname.indexOf('courses') !== -1 ? 'course' : window.location.pathname.indexOf('works') !== -1 ? 'homework' : ''
}
})
easemobim.bind({
configId: window.easemobimConfigId
});
}
}
}, false)
window.addEventListener('mousemove', function (e) {
if (now.isMouse) {
if ((e.clientX - now.x) > 5 || (now.x - 5) > e.clientX || (e.clientY - now.y) > 5 || (now.y - 5) > e.clientY) {
now.isMove = true
var x = e.clientX - now.px
var y = e.clientY - now.py
// 元素拖拽边缘检测
if (x <= 0) x = 0
if (y <= 0) y = 0
if (x >= (w - offset.width)) x = w - offset.width
if (y >= (h - offset.height)) y = h - offset.height
out.style.top = y + 'px'
out.style.left = x + 'px'
}
}
}, false)
window.addEventListener('mouseup', function (e) {
if (now.isMouse) {
now.x = null
now.px = null
now.y = null
now.py = null
now.isMouse = false
}
}, false)
}
</script>
<script type="text/javascript" src="/vendors.7081ff779喵d88494624.js"></script>
<script type="text/javascript" src="/main.7081ff779喵d88494624.js"></script>
<!-- <script src="//player.polyv.net/script/player.js"></script> -->
<script src="//staticfile.pipacoding.com/js/polyv.20181206.player.js"></script>
<script charset="utf-8" type="text/javascript" src="//g.alicdn.com/de/prismplayer/2.6.0/aliplayer-min.js"></script>
</body>
</html>
点赞0
评论