templates/1/weixin/default/phone/input_image_add.php
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<div id=<?php echo $module['module_name'];?> class="portlet light" monxin-module="<?php echo $module['module_name'];?>" align=left >
<script>
$(document).ready(function(){
$("#type_select_div a").click(function(){
j_key=$("#<?php echo $module['module_name'];?>_html #key").val();
if(j_key!='<?php echo $_GET['key'];?>'){
$(this).attr('href',$(this).attr('href')+'&key='+encodeURI(j_key));
}
});
$('#<?php echo $module['module_name'];?> #input_type_<?php echo $_GET['type'];?>').attr('class','current');
});
</script>
<style>
#<?php echo $module['module_name'];?>_html{ margin-top:10px;}
#<?php echo $module['module_name'];?>_html .m_label{ display:block; margin-bottom:1rem;}
#<?php echo $module['module_name'];?>_html .input_span{ }
#<?php echo $module['module_name'];?>_html #answer_input_div{ width:100%; min-height:200px; border:1px solid #CCC; border-radius:5px; overflow:hidden; white-space:nowrap;}
#<?php echo $module['module_name'];?>_html #key{ width:50%;}
#<?php echo $module['module_name'];?>_html #type_select_div{ background-color:#ccc; line-height:2.5rem; }
#<?php echo $module['module_name'];?>_html #type_select_div a{ display:inline-block; padding-left:0.3rem; padding-right:0.3rem;}
#<?php echo $module['module_name'];?>_html #type_select_div .current{ background-color:#FFF; }
#<?php echo $module['module_name'];?>_html #input_div{ padding:20px;}
#<?php echo $module['module_name'];?>_html #input_type_text:before{font:normal normal normal 1rem/1 FontAwesome;content:"\f1c2"; padding-right:2px;}
#<?php echo $module['module_name'];?>_html #input_type_image:before{font:normal normal normal 1rem/1 FontAwesome;content:"\f1c5"; padding-right:2px;}
#<?php echo $module['module_name'];?>_html #input_type_voice:before{font:normal normal normal 1rem/1 FontAwesome;content:"\f1c7"; padding-right:2px;}
#<?php echo $module['module_name'];?>_html #input_type_video:before{font:normal normal normal 1rem/1 FontAwesome;content:"\f1c8"; padding-right:2px;}
#<?php echo $module['module_name'];?>_html #input_type_single_news:before{font:normal normal normal 1rem/1 FontAwesome;content:"\f1c4"; padding-right:2px;}
#<?php echo $module['module_name'];?>_html #input_type_news:before{font:normal normal normal 1rem/1 FontAwesome;content:"\f0f6"; padding-right:2px;}
#<?php echo $module['module_name'];?>_html #input_type_function:before{font:normal normal normal 1rem/1 FontAwesome;content:"\f1c9"; padding-right:2px;}
#<?php echo $module['module_name'];?>_html #image_file{ border:none;}
</style>
<div id="<?php echo $module['module_name'];?>_html">
<div class=key_div><span class=m_label><?php echo self::$language['keyword'];?></span><span class=input_span>
<input type="text" id=key value="<?php echo @$_GET['key']?>" /> <span id=key_state></span>
</span></div>
<div class=answer_div><span class=m_label><?php echo self::$language['answer_content'];?></span><span class=input_span>
<div id=answer_input_div>
<div id=type_select_div><?php echo $module['input_select'];?></div>
<div id=input_div>
<!-----------------------------------------------------------------------------------answer_content_input_start-->
<script>
$(document).ready(function(){
$('#image_ele').insertBefore($('#image_state'));
$("#<?php echo $module['module_name'];?> #submit").click(function(){
$("#<?php echo $module['module_name'];?> #key_state").html('');
$("#<?php echo $module['module_name'];?> #image_state").html('');
$("#<?php echo $module['module_name'];?> #submit_state").html('<span class=\'fa fa-spinner fa-spin\'></span>');
$.post('<?php echo $module['action_url'];?>',{key:$("#<?php echo $module['module_name'];?> #key").val(),image:$("#<?php echo $module['module_name'];?> #image").val()}, function(data){
//alert(data);
try{v=eval("("+data+")");}catch(exception){alert(data);}
if(v.state=='success'){
$("#<?php echo $module['module_name'];?> #submit").css('display','none');
后面还有 38 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
