templates/1/mall/default/phone/buyer_sum.php
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<div id=<?php echo $module['module_name'];?> class="portlet light sum_card" monxin-module="<?php echo $module['module_name'];?>" align=left >
<script>
$(document).ready(function(){
$("#<?php echo $module['module_name'];?>").insertAfter("#index_user_html");
$(".background_mode_1 a[href='./index.php?monxin=mall.my_cart']").parent().css('display','none');
$(".background_mode_1 a[href='./index.php?monxin=mall.my_collect']").parent().css('display','none');
$(".background_mode_1 a[href='./index.php?monxin=mall.my_order']").parent().css('display','none');
$("#<?php echo $module['module_name'];?> .diy_sum_card .s_top .value").each(function(index, element) {
if($(this).html()!='0'){$(this).css('display','inline-block');}
});
reset_cart_sum();
});
function reset_cart_sum(){
if($(".cart_goods_sum .m").html()){$(".diy_car_icon .value").html($(".cart_goods_sum .m").html());}else{$(".diy_car_icon .value").html(<?php echo $module['cart'];?>);}
}
</script>
<style>
#<?php echo $module['module_name'];?>{ display:block !important; width:100%; height:auto; margin-top:1rem; margin:0px;}
#<?php echo $module['module_name'];?>_html{ display:none;}
#<?php echo $module['module_name'];?> .card_head{background-color: #4bb2dd; }
#<?php echo $module['module_name'];?> .diy_sum_card{}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top{ white-space:nowrap; padding-top:0.2rem; padding-bottom:0.2rem;}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top a{ white-space:nowrap; text-align:left; display: inline-block; vertical-align:top; width:20%; overflow:hidden; padding:0px; margin:0px;}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top span{ display:inline-block; vertical-align:top;}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top .name{ width:100%; text-align:center;}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top .name img{ display:block; width:1.8rem; height:1.8rem; margin:auto;}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top .name:before{ opacity:0.2; display:none; font: normal normal normal 2rem/1 FontAwesome;content: "\f07a";}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top .order_state_0 .name:before{content:"\f157";}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top .diy_favorites .name:before{content:"\f08a";}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top .order_state_1 .name:before{content:"\f013";}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top .order_state_2 .name:before{content:"\f0d1";}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top .order_state_3 .name:before{content:"\f157";}
#<?php echo $module['module_name'];?> .diy_sum_card .s_top .value{ margin-left:-1.8rem; width:1.5rem; height:1.5rem; line-height:1.5rem; border-radius:50%; text-align:center; border:#FFF 1px solid; display:none;background:rgba(255,51,51,1); color:#fff;}
#<?php echo $module['module_name'];?> .diy_sum_card .s_bottom{ border-bottom:1px dashed #d3d3d3; padding-left:2rem;}
#<?php echo $module['module_name'];?> .diy_sum_card .s_bottom .order_all{ display:block; line-height:2.5rem; }
#<?php echo $module['module_name'];?> .diy_sum_card .s_bottom .order_all .name{ display:inline-block;width:65%;}
#<?php echo $module['module_name'];?> .diy_sum_card .s_bottom .order_all:before{ font: normal normal normal 1.3rem/1 FontAwesome;content: "\f0f6"; border-radius:3px; padding:0.3rem; text-align:center; display:inline-block; width:2rem; height:2rem; margin-right:0.5rem;background:<?php echo $_POST['monxin_user_color_set']['nv_1_hover']['background']?>; color:<?php echo $_POST['monxin_user_color_set']['nv_1_hover']['text']?>; display:none; }
#<?php echo $module['module_name'];?> .diy_sum_card .s_bottom .order_all:after{ display:inline-block; vertical-align:top; float:right; padding-right:0.5rem; font: normal normal normal 1.2rem/1 FontAwesome;content: "\f105"; opacity:0.3;line-height:2.5rem; }
</style>
<div class=diy_sum_card>
<div class=s_bottom>
<a href=./index.php?monxin=mall.my_order& class=order_all><span class=name><?php echo self::$language['all'];?><?php echo self::$language['order'];?></span></a>
</div>
<div class=s_top>
<a href=./index.php?monxin=mall.my_cart& class=diy_car_icon>
<span class=name><img src="./program/mall/img/cart.png" /><?php echo self::$language['cart']?></span><span class=value></span>
</a><a href=./index.php?monxin=mall.my_collect& class=diy_favorites>
<span class=name><img src="./program/mall/img/collect.png" /><?php echo self::$language['favorites']?></span><span class=value><?php echo $module['favorite'];?></span>
</a><a href=./index.php?monxin=mall.my_order&state=0 class=order_state_0>
<span class=name><img src="./program/mall/img/order_0.png" /><?php echo self::$language['order_state'][0]?></span><span class=value><?php echo $module['order_0'];?></span>
</a><a href=./index.php?monxin=mall.my_order&state=1 class=order_state_1>
<span class=name><img src="./program/mall/img/order_1.png" /><?php echo self::$language['order_state'][1]?></span><span class=value><?php echo $module['order_1'];?></span>
</a><a href=./index.php?monxin=mall.my_order&state=2 class=order_state_2>
<span class=name><img src="./program/mall/img/order_2.png" /><?php echo self::$language['order_state'][2]?></span><span class=value><?php echo $module['order_2'];?></span>
</a>
</div>
后面还有 37 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
