webmain/system/menu/rock_menu.php
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
var a = $('#menu_{rand}').bootstable({
tablename:'menu',url:js.getajaxurl('data','{mode}','{dir}'),method:'get',loadtree:false,
tree:true,celleditor:!ISDEMO,bodyStyle:'height:'+(viewheight-70)+'px;overflow:auto',
columns:[{
text:'名称',dataIndex:'name',align:'left',editor:true,renderstyle:function(v,d){
return 'min-width:220px';
}
},{
text:'编号',dataIndex:'num' ,editor:true,renderstyle:function(v,d){
return 'width:70px';
}
},{
text:'URL',dataIndex:'url',editor:true,repEmpty:true,renderstyle:function(v,d){
return 'word-wrap:break-word;word-break:break-all;white-space:normal;width:180px';
}
},{
text:'PID',dataIndex:'pid',editor:true
},{
text:'图标',dataIndex:'icons',editor:true,renderstyle:function(v,d){
return 'width:70px';
}
},{
text:'启用',dataIndex:'status',type:'checkbox',editor:true
},{
text:'验证',dataIndex:'ispir',type:'checkbox',editor:true
},{
text:'显首',dataIndex:'ishs',type:'checkbox',editor:true
},{
text:'排序',dataIndex:'sort' ,editor:true
},{
text:'颜色',dataIndex:'color',editor:true
},{
text:'级别',dataIndex:'type',editor:true,renderer:function(v){
var s=' ';
if(v==1)s='系统';
return s;
},type:'select',store:[['0','普通'],['1','系统']]
},{
text:'ID',dataIndex:'id'
}],
itemclick:function(){
btn(false);
},
load:function(d){
if(d.pdata && d.pdata.length>0){
var o1 = get('soupid_{rand}');
js.setselectdata(o1,d.pdata,'id');
$(o1).change(c.changed);
}
}
});
function btn(bo){
get('del_{rand}').disabled = bo;
get('edit_{rand}').disabled = bo;
get('down_{rand}').disabled = bo;
}
后面还有 101 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
