Commit 841f2d45 authored by wangjing's avatar wangjing

全民炼股赛

parent 03a72b0b
This diff is collapsed.
var href53="https://www23.53kf.com/webCompany.php?arg=10161301&style=3&kflist=off&zdkf_type=1&lnk_overflow=0&referer="+window.location.href+"&tfrom=1&tpl=crystal_blue";
var _popadstr = '<style>body, tr, td, img, p, ul, li, h3 {border: 0 none;margin: 0;padding: 0;}' +
'.gotop {bottom: 289px;height: 280px;margin-left: 510px;position: fixed;_position:absolute;right: 10px;width: 60px;z-index: 99999;}' +
'ul.right-qq1 {margin: 0 auto;line-height:1em;}ul.right-qq1 .right-li {width:60px;height:60px;list-style: outside none none;text-align: center;margin-bottom: 2px;}' +
'ul.right-qq1 .right-li .li-a{display: block;width: 60px;height: 60px;position: relative;overflow: hidden;}' +
'ul.right-qq1 li .li-a img{display: block;position: absolute;top: 0px;left: 0px;transition: 0.2s;-webkit-transition: 0.2s;-moz-transition: 0.2s;}' +
'ul.right-qq1 .right-one:hover .li-a img{top:-60px;}ul.right-qq1 .right-two:hover .li-a img{top:-60px;}ul.right-qq1 .right-three:hover .li-a img{top:-60px;}' +
'ul.right-qq1 .right-four:hover .li-a img{top:-80px;}.right-qq {font-size: 12px;width: 47px;z-index: 1;}' +
'.jcp-left {background: none repeat scroll 0 0 #fffed5;border: 1px solid #cecece;display: none;padding: 2px;position: absolute;right: 60px;top: 0;width: 311px;z-index: 1 !important;}' +
'.mobile-left {background: none repeat scroll 0 0;display: none;padding: 2px;position: absolute;right: 60px;top: 70px;width: 311px;z-index: 1 !important;}' +
'ul.right-qq1 li a:link, .r-new a:link, ul.right-qq1 li a:visited, .r-new a:visited {color: #fe303c;}ul.right-qq1 li a:link, .r-new a:link {color: #fe303c;}' +
'.r-jcp-icon {background: url("http://qhkh.cofool.com/image/right-qq.gif") repeat scroll 0 -57px ;display: block;height: 19px;margin: 0 auto;padding-bottom: 8px;width: 19px;}' +
'.r-yq-icon {background: url("http://qhkh.cofool.com/image/right-qq.gif") repeat scroll 0 -86px ;display: block;height: 16px;margin: 0 auto;padding-bottom: 8px;width: 16px;}' +
'.r-kf-icon {background: url("http://qhkh.cofool.com/image/right-qq.gif") repeat scroll 0 -112px ;display: block;height: 21px;margin: 0 auto;padding-bottom: 8px;width: 20px;}' +
'.r-sj-icon {background: url("http://qhkh.cofool.com/image/right-qq.gif") repeat scroll 0 -143px ;display: block;height: 20px;margin: 0 auto;padding-bottom: 8px;width: 15px;}' +
'.r-mobile-icon {background: url("http://qhkh.cofool.com/image/right-qq.gif") repeat scroll 16px -50px;display: block;height: 20px;margin: 0 auto;padding-bottom: 8px;width: 15px;}' +
'.r-off-icon {background: url("http://qhkh.cofool.com/image/right-qq.gif") repeat scroll 0 -193px ;display: block;height: 16px;margin: 0 auto;width: 16px;}' +
'.r-off-icon:hover {background: url("http://qhkh.cofool.com/image/right-qq.gif") repeat scroll -16px -193px ;}ul.right-qq1 li p {color: #fe303c;}' +
'ul.right-qq1 li p {font-size: 12px !important;text-indent:0px;}' +
'.feedback-box{width: 590px;height: 335px;background: #FFF;position: fixed;top: 50%;margin-top: -180px;left: 50%;margin-left: -285px;z-index: 10001;display: none;}' +
'.feedback-box .feedback-title{height: 50px;line-height: 50px;text-align: center;font-size: 20px;color: #000;border-bottom: 1px solid #EEE;position: relative;}' +
'.feedback-title .close-btn-edit{display: inline-block;width: 14px;height: 14px;background: url("/Public/images/popad/close_btn.png") no-repeat;position: absolute;right: 20px;top: 18px;}' +
'.feedback-cont{padding: 20px 30px;}.feedback-cont p{line-height: 30px;font-size: 16px;padding-bottom: 15px;color: #333;}.feedback-textarea{position: relative;}' +
'.feedback-textarea textarea{width: 530px;height: 120px;border: 1px solid #DDD;resize: none;margin-bottom: 20px;font-size: 16px;line-height: 25px;color: #999;padding: 8px;}' +
'.feedback-textarea textarea.focus-color{color: #333;}.feedback-btn .advice-submit-btn{display: block;width: 150px;height: 50px;line-height: 50px;text-align: center;color: #FFF;background: #E8302E;font-size: 16px;border-radius: 5px;-webkit-border-radius: 5px;-moz-border-radius: 5px;cursor: pointer;}' +
'.feedback-btn .advice-submit-btn:focus{outline: none;}.edit-mask{display: none;z-index: 10000;}' +
'ul.right-qq1 .right-li.right-four{height: 80px;}ul.right-qq1 .right-li.right-four .li-a{height: 80px;}' +
'.kf-code{background: none repeat scroll 0 0;padding: 2px;position: absolute;right: 60px;top: 171px;width: 311px;z-index: 1 !important;}'+
'</style>';
var tpage = $("#tpage").val();
_popadstr += '<div class="gotop" id="gotop" style="margin-left:510px">';
_popadstr += '<ul class="right-qq1">';
_popadstr += ' <li class="right-li right-one right-entrance1">' +
'<a href="javascript:;" class="li-a">' +
'<img src="/Public/images/h5/g2020/right_icon5.png" alt=""></a><div class="hover-kf"><ul class="kf-box">' +
'</ul><span class="right-box"></span></div></li>';
_popadstr += ' <li class="right-two right-li" onMouseover="QRCodeshowDiv();" onMouseout="QRCodehideDiv();">' +
'<a href="javascript:;" class="li-a"><img src="/Public/images/h5/g2020/right_icon2.png" alt=""></a>';
_popadstr += ' <div class="right-qq" >';
_popadstr += ' <div style="display: none;" class="mobile-left" id="mobileleft">';
_popadstr += ' <a href="javascript:;"><img src="/Public/images/h5/g2020/mobilead.png" width="300"></a>';
_popadstr += ' </div>';
_popadstr += ' </div>';
_popadstr += ' </li>';
_popadstr += ' <li class="right-three right-li left-card1" >' +
'<a href="javascript:;" class="li-a"><img src="/Public/images/h5/g2020/right_icon3.png" alt=""></a>';
_popadstr += ' <div class="right-qq" >';
_popadstr += ' <div style="display: none;width: 160px" class="mobile-left" id="QRCodeleft">';
_popadstr += ' <a href="javascript:;"><img src="/Public/images/h5/g2020/mobilead.png" width="150"></a>';
_popadstr += ' </div>';
_popadstr += ' </div>';
_popadstr += ' </li>';
_popadstr += ' <li class="kf-ouuter right-li right-one" onMouseover="KfshowDiv();" onMouseout="KfhideDiv();">' +
'<a href="javascript:;" id="" class="suspendQQ li-a">' +
'<img src="/Public/images/popad/right-icon1-1.png" alt=""></a><div class="right-qq" >';
_popadstr += ' <div style="display: none;width: 160px" class="kf-code" id="KFCodeleft">';
_popadstr += ' <a href="javascript:;"><img src="/Public/images/2023ewm/koufuchaogu.gif" width="150"></a>';
_popadstr += ' </div>';
_popadstr += ' </div></li>';
_popadstr += ' </ul></div>';
document.write(_popadstr);
function popshowDiv() {
document.getElementById("jcpleft").style.display = 'block';
}
function pophideDiv() {
document.getElementById("jcpleft").style.display = 'none';
}
function mobileshowDiv() {
document.getElementById("mobileleft").style.display = 'block';
}
function mobilehideDiv() {
document.getElementById("mobileleft").style.display = 'none';
}
function QRCodeshowDiv() {
document.getElementById("QRCodeleft").style.display = 'block';
}
function QRCodehideDiv() {
document.getElementById("QRCodeleft").style.display = 'none';
}
function KfshowDiv() {
document.getElementById("KFCodeleft").style.display = 'block';
}
function KfhideDiv() {
document.getElementById("KFCodeleft").style.display = 'none';
}
function popclick() {
document.getElementById("gotop").style.display = 'none';
}
$('.kf-ouuter').hover(function () {
$(this).find('.hover-kf').show();
},function () {
$(this).find('.hover-kf').hide();
})
$('.right-entrance1').click(function(){
$('.mask').show();
$('#popZixun').show();
})
$('.t-pop-close').click(function() {
$('.mask').hide();
$('#popZixun').hide();
})
$(".kf01").click(function(){
window.open('http://wpa.qq.com/msgrd?v=3&uin=2058097618&site=qq&menu=yes');
})
$(".kf02").click(function(){
window.open('http://wpa.qq.com/msgrd?v=3&uin=3486477687&site=qq&menu=yes');
})
$(".kf03").click(function(){
window.open('http://wpa.qq.com/msgrd?v=3&uin=3586785162&site=qq&menu=yes');
})
function editAdviceShow(){
var screenHeight = $(window).height();
var screenWidth = $(window).width();
$('.edit_mask').show().css({'width':screenWidth,'height':screenHeight,'background':'rgba(0,0,0,0.3)','position':'fixed','top':'0px','left':'0px','z-index':'10000'});
$('.feedback-box').show();
var msg = $('.feedback-textarea textarea').attr('datavalue');
$('.feedback-textarea textarea').val(msg);
}
function closeEditBox(){
$('.feedback-box').hide();
$('.edit_mask').hide();
}
$('.advice-submit-btn').click(function(){
$('.feedback-textarea textarea').focus();
var content = $('#content').val();
$.post('/Index/feedback.html',{content:content},function(res){
layer.alert(res.info);
if(res.status == 1){
$('.feedback-box').hide();
$('.edit_mask').hide();
}
})
})
var msg = $('.feedback-textarea textarea').attr('datavalue');
$('.feedback-textarea textarea').val(msg);
$('.feedback-textarea textarea').focus(function(e){
if($(this).val() == $(this).attr("datavalue")) {
$(this).val("").addClass('focus-color');
}
})
$('.feedback-textarea textarea').blur(function(e){
if($(this).val() == "" || $(this).val() == $(this).attr("datavalue")) {
$(this).val(msg).removeClass('focus-color');
}
})
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment