templates/0/mall/default/phone/confirm_order.php

(开头部分) 57KB

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

<div id=<?php echo $module['module_name'];?>  class="portlet light" monxin-module="<?php echo $module['module_name'];?>" align=left >
	<script>
	function set_bargain_price(){
		if(<?php echo $module['bargain']?>>0){
			$("#<?php echo $module['module_name'];?> .amount_payable_line .number").html(<?php echo $module['bargain']?>);
			$("#<?php echo $module['module_name'];?> .sum_money_2 span").html(<?php echo $module['bargain']?>);
			$("#<?php echo $module['module_name'];?> .subtotal_td .v").html(<?php echo $module['bargain']?>);
			$("#<?php echo $module['module_name'];?> .favorable_price").html(<?php echo $module['bargain']?>);
			$("#<?php echo $module['module_name'];?> .price").html(<?php echo $module['bargain']?>);
			$("#<?php echo $module['module_name'];?> .sum").html(<?php echo $module['bargain']?>);
			$("#<?php echo $module['module_name'];?> .other").css('height','0px');
			$("#<?php echo $module['module_name'];?> .use_web_credits_div").css('display','none');
			
		}
	}
	function reset_subtotal_td(shop_id){
		if($("#<?php echo $module['module_name'];?>_html #"+shop_id+" .preferential_way").val()==5){
			$("#<?php echo $module['module_name'];?>_html #"+shop_id+" .subtotal_td").each(function(index, element) {
				$(this).children('.v').html(parseFloat($(this).prev().prev().children('.favorable_price').html()) * parseFloat($(this).parent().attr('quantity')) );
				$(this).children('.v').html(Math.floor($(this).children('.v').html()*100)/100);
				$(this).parent().children('.unit_price_td').addClass('disable');
			});	
		}else{
			$("#<?php echo $module['module_name'];?>_html #"+shop_id+" .subtotal_td").each(function(index, element) {
				$(this).children('.v').html(parseFloat($(this).prev().prev().children('.price').html()) * parseFloat($(this).parent().attr('quantity')));
				$(this).children('.v').html(Math.floor($(this).children('.v').html()*100)/100);
			});	
		}
	}
	
    $(document).ready(function(){
		if('<?php echo $module['pay_mode'];?>'=='money'){
			
		}else{
			$("#<?php echo $module['module_name'];?> .credits").css('display','none');
		}
		
		 
		  
		$(".monxin_head .refresh").css('display','none');
		$(".monxin_head").append('<a href=./index.php class=home><?php echo self::$language['home']?></a>');
		$(".monxin_head").css('display','block');
		$(".page-container").css('padding-top',$(".monxin_head").height());
		$("#<?php echo $module['module_name'];?> .authcode").keyup(function(event){
			if(event.keyCode==13){
				$("#<?php echo $module['module_name'];?>_html .act_div .submit_now").trigger('click');
			}
		});
		
		
		$("#<?php echo $module['module_name'];?>_html .confirm_order_div .receiver #show_more a").click(function(){
			if($("#<?php echo $module['module_name'];?>_html .confirm_order_div .receiver_content").css('overflow')=='hidden'){
				$("#<?php echo $module['module_name'];?>_html .confirm_order_div .receiver_content").css('overflow','visible').css('height','auto');
				$(this).parent().attr('class','m_show');
			}else{
				$("#<?php echo $module['module_name'];?>_html .confirm_order_div .receiver_content").css('overflow','hidden').css('height','17rem');
				$(this).parent().attr('class','m_hide');
			}
			
			return false;	
后面还有 812 行代码,解锁后查看完整代码

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

AI 解读

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

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