templates/1/mall/default/phone/recommendation_set.php
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<div id=<?php echo $module['module_name'];?> class="portlet light" monxin-module="<?php echo $module['module_name'];?>" align=left >
<script>
$(document).ready(function(){
$("#<?php echo $module['module_name'];?>_html input").blur(function(){
p=$(this).parent();
p.children('.state').html('<span class=\'fa fa-spinner fa-spin\'></span>');
$.post('<?php echo $module['action_url'];?>&act='+$(this).attr('class'),{v:$(this).val()},function(data){
//alert(data);
try{v=eval("("+data+")");}catch(exception){alert(data);}
p.children('.state').html(v.info);
});
});
$("#<?php echo $module['module_name'];?>_html textarea").blur(function(){
p=$(this).parent();
p.children('.state').html('<span class=\'fa fa-spinner fa-spin\'></span>');
$.post('<?php echo $module['action_url'];?>&act=recommendation_slogan',{id:p.attr('id').replace(/goods_/,''),v:$(this).val()},function(data){
//alert(data);
try{v=eval("("+data+")");}catch(exception){alert(data);}
p.children('.state').html(v.info);
});
});
});
</script>
<style>
#<?php echo $module['module_name'];?>{ line-height:3rem; }
#<?php echo $module['module_name'];?> input{ margin-left:5px; margin-right:5px; text-align:right; width:4rem; padding-right:5px;}
#<?php echo $module['module_name'];?>_html{}
#<?php echo $module['module_name'];?>_html .remark{ display:inline-block; vertical-align:top; border-radius:15px; line-height:40px; padding-left:10px; padding-right:10px;}
#<?php echo $module['module_name'];?>_html .renew{ margin:auto; display:none;}
#<?php echo $module['module_name'];?>_html .line{ line-height:50px;}
#<?php echo $module['module_name'];?>_html .line .m_label{ display:inline-block; vertical-align:top; width:12%; text-align:right; }
#<?php echo $module['module_name'];?>_html .line .input{display:inline-block; vertical-align:top; }
#<?php echo $module['module_name'];?>_html .add_deposit{ display:inline-block; vertical-align:top; margin-top:10px; margin-left:20px; border-radius:15px; height:30px; line-height:30px; padding-left:10px; padding-right:10px;}
#<?php echo $module['module_name'];?>_html .add_deposit:hover{ }
#<?php echo $module['module_name'];?>_html .increase{ display:inline-block; line-height:2rem; padding:5px; border-radius:5px; }
#<?php echo $module['module_name'];?>_html .increase:hover{ }
#<?php echo $module['module_name'];?>_html .increase:before{ font: normal normal normal 1rem/1 FontAwesome; content:"\f067"; padding-right:3px;}
#<?php echo $module['module_name'];?>_html .goods_div{ padding:10px;}
#<?php echo $module['module_name'];?>_html .goods_div .goods{ display:block; vertical-align:top; margin-bottom:1rem; margin-right:1%; vertical-align:top; overflow:hidden; line-height:2rem; text-align:center; padding:10px; border:4px solid #ddd; }
#<?php echo $module['module_name'];?>_html .goods_div .goods_a{ display:block; overflow:hidden; font-size:1rem; line-height:19px; }
#<?php echo $module['module_name'];?>_html .goods_div .goods_a:hover img{ opacity:0.8;}
#<?php echo $module['module_name'];?>_html .goods_div .goods_a img{ height:11.42rem; max-width:11.42rem;}
#<?php echo $module['module_name'];?>_html .goods_div .goods_a .goods_name{ display:block; height:2.8rem; overflow:hidden; font-size:0.9rem;}
textarea{ height:10rem; line-height:1.5rem;}
</style>
<div id="<?php echo $module['module_name'];?>_html">
<div class=recommendation_discount_remark_div><?php echo $module['recommendation_discount_remark'];?> <span class=state></span></div>
<div class=recommendation_rebate_remark_div><?php echo $module['recommendation_rebate_remark'];?> <span class=state></span></div>
<div class="alert alert-success" role="alert"><?php echo self::$language['recommendation_seller_remark'];?></div>
<div class="portlet-title">
<div class="caption"><?php echo self::$language['support_recommendation_goods']?></div>
<div class="actions"><a href=./index.php?monxin=mall.goods_admin&act=recommendation class=increase><?php echo self::$language['increase'];?></a></div>
</div>
<div class=goods_div>
后面还有 6 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
