templates/0/index/default/pc/customer_service.php

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<script language="javascript" src="./public/Tween.js" type="text/javascript"></script>
<script language="javascript" src="./public/jquery.crownSlide.js" type="text/javascript"></script>
<script>
    $(document).ready(function(){
		$(window).scroll(function(){
			scrollTop=document.documentElement.scrollTop|document.body.scrollTop;
			//monxin_alert(scrollTop);
			distance=scrollTop-$("#<?php echo $module['module_name'];?>").offset().top+80;
			$("#<?php echo $module['module_name'];?>").stop().crownSlide({
				type : 'slideDonw',
				speed : 10,
				current : 0,
				duration : 10,
				beginning : 0,
				change : distance,
			});
		});
		
		$("#<?php echo $module['module_name'];?>_html .talk_switch").click(function(){
			customer_service_switch();
			return false;
		});
		
		$("#<?php echo $module['module_name'];?>_html .w_list .w_name").click(function(){
			if($(this).next('.w_qr').css('display')=='none'){
				$(this).next('.w_qr').css('display','block');
			}else{
				$(this).next('.w_qr').css('display','none');
			}
			return false;	
		});
	
	});
	function customer_service_switch(){
		if($("#<?php echo $module['module_name'];?>").css('width')=='35px'){
			$("#<?php echo $module['module_name'];?>").animate({width: '13.5rem'}, "slow");
			setCookie('user_set_customer_service_switch','1');
			$("#<?php echo $module['module_name'];?>").css('z-index','999999999999');
		}else{
			
			$("#<?php echo $module['module_name'];?>").animate({width: '35px'}, "slow");
			setCookie('user_set_customer_service_switch','0');
			$("#<?php echo $module['module_name'];?>").css('z-index','9999');
		}
	}
	
</script>
<div id=<?php echo $module['module_name'];?>   monxin-module="<?php echo $module['module_name'];?>" >
	
	<style>
	#<?php echo $module['module_name'];?>{position: absolute; width:35px; right:0px; top:80px;overflow-x:hidden; text-align:right; z-index:9999; white-space:nowrap; }
    #<?php echo $module['module_name'];?>_html{  border-radius:0.7rem 0rem 0rem 0.8rem; width:13.5rem; height:20rem; overflow:hidden;min-height:20rem;background:<?php echo $_POST['monxin_user_color_set']['nv_2_hover']['background']?>;color:<?php echo $_POST['monxin_user_color_set']['nv_2_hover']['text']?>; }
	#<?php echo $module['module_name'];?>_html .talk_switch{ font-size:1.5rem; display:inline-block; vertical-align:top; width:28px; height:100%; overflow:hidden;  white-space:normal; padding-top:3rem; cursor:pointer;}
	#<?php echo $module['module_name'];?>_html .talk_switch .customer_icon:before{ font: normal normal normal 1.6rem/1 FontAwesome; content: "\f1d6"; }
	#<?php echo $module['module_name'];?>_html .talk_switch .customer_state:before{ padding-right:0.2rem; font: normal normal normal 2rem/1 FontAwesome; content: "\f101"; }	
	#<?php echo $module['module_name'];?>_html .talk_switch .customer_title{ font-size:1.6rem; }
	
	#<?php echo $module['module_name'];?>_html .talk_list{background: #F7F7F7; color:#777; border-radius: 0.5rem; display:inline-block; vertical-align:top; width:10rem; height:90%; margin:1rem;  overflow:hidden; white-space:normal; text-align:left; padding:0.5rem; line-height:2rem; }
	#<?php echo $module['module_name'];?>_html .talk_list a{color:#777;}
	#<?php echo $module['module_name'];?>_html .talk_list .web_name{ text-align:center; font-weight:bold;color:#000;  }
后面还有 18 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。