templates/0/bargain/default/phone/detail.php

(开头部分) 18KB

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

<div id=<?php echo $module['module_name'];?>  class="portlet light" monxin-module="<?php echo $module['module_name'];?>" align=left >
    <script>
	

wx.ready(function(){							
	wx.onMenuShareTimeline({
		title: '<?php echo $module['data']['invitation']?> '+$('title').html(), 
		link: check_url(window.location.href+'&share='+getCookie('monxin_id')+'&'), 
		imgUrl: get_share_img(), 
		success: function () {},
		cancel: function () {}
	});		
	
	wx.onMenuShareAppMessage({
		title: '<?php echo $module['data']['invitation']?> '+$('title').html(), 
		desc: '', 
		link: check_url(window.location.href+'&share='+getCookie('monxin_id')+'&'), 
		imgUrl: get_share_img(), 
		type: '', 
		dataUrl: '', 
		success: function () {},
		cancel: function () {}
	});	
	
	wx.onMenuShareQQ({
		title: '<?php echo $module['data']['invitation']?> '+$('title').html(), 
		desc: $('title').html(), 
		link: check_url(window.location.href+'&share='+getCookie('monxin_id')+'&'), 
		imgUrl: get_share_img(), 
		success: function () {},
		cancel: function () {}
	});
});	
    $(document).ready(function(){
		if(!getCookie('monxin_id') && get_param('for')=='weixin'){window.location.href='./index.php?monxin=index.login&method=wx';}
		
		if($("html").attr('platform')=='Win32'){
			$("#<?php echo $module['module_name'];?> .u_g").width($("#<?php echo $module['module_name'];?> .u_g").parent().width()*0.9).css('margin-left','9px');
			$("#<?php echo $module['module_name'];?> .self_bargain_div").width($("#<?php echo $module['module_name'];?>").width()).css('left',$("#<?php echo $module['module_name'];?>").offset().left);
			$("#<?php echo $module['module_name'];?> .wx_qr_notice").width($("#<?php echo $module['module_name'];?>").width()).css('left',$("#<?php echo $module['module_name'];?>").offset().left);
		}
		$("#<?php echo $module['module_name'];?> .share_a").click(function(){
			v='<?php echo self::$language['share_text_2']?>';
			v=v.replace(/{money}/,$("#<?php echo $module['module_name'];?> .bargained").html());
			$("#<?php echo $module['module_name'];?> .share_text_2").html(v);
			$("#<?php echo $module['module_name'];?> .self_bargain_div").css('display','block');
			
		});
		
		
		
		if(<?php echo $module['bargain_money']?>>0){
			v='<?php echo self::$language['share_text_2']?>';
			v=v.replace(/{money}/,<?php echo $module['bargain_money']?>);
			$("#<?php echo $module['module_name'];?> .share_text_2").html(v);
			$("#<?php echo $module['module_name'];?> .self_bargain_div").css('display','block');
		}
		
		$("#<?php echo $module['module_name'];?> .return_a").click(function(){
			$("#<?php echo $module['module_name'];?> .self_bargain_div").css('display','none');
后面还有 273 行代码,解锁后查看完整代码

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

AI 解读

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

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