webmain/main/kaoqin/rock_kaoqin_kqdw.php
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
var a = $('#view_{rand}').bootstable({
tablename:'kqdw',celleditor:true,fanye:true,url:publicstore('{mode}','{dir}'),storebeforeaction:'kqdwbefore',
columns:[{
text:'规则名称',dataIndex:'name',align:'left',editor:true
},{
text:'经度',dataIndex:'location_x',editor:true
},{
text:'纬度',dataIndex:'location_y',editor:true
},{
text:'经纬度',dataIndex:'xuanz',renderer:function(v,d,i){
return ''+v+' <a href="javascript:;" onclick="changeweizhi{rand}('+i+')">选择位置</a>';
}
},{
text:'位置名称',dataIndex:'address',editor:true
},{
text:'允许误差(米)',dataIndex:'precision',editor:true
},{
text:'无固定地点',dataIndex:'iswgd',editor:true,type:'checkbox'
},{
text:'拍照打卡',dataIndex:'ispz',editor:true,type:'checkbox'
},{
text:'关联其他位置ID',dataIndex:'dwids',editor:true
},{
text:'ID',dataIndex:'id'
}],
itemclick:function(){
btn(false);
},
beforeload:function(){
btn(true);
}
});
function btn(bo){
get('del_{rand}').disabled = bo;
get('edit_{rand}').disabled = bo;
}
var c = {
del:function(){
a.del({url:js.getajaxurl('kqdwdkdatadel','{mode}','{dir}')});
},
clickwin:function(o1,lx){
var gzdata = [{id:'',name:''}];
var das = a.getData();
for(var i in das)gzdata.push(das[i]);
var h = $.bootsform({
title:'位置',height:380,width:400,
tablename:'kqdw',isedit:lx,
submitfields:'name,address,precision,dwids',
items:[{
labelText:'名称',name:'name',required:true
},{
labelText:'位置名称',name:'address',required:true
},{
labelText:'允许误差(米)',name:'precision',type:'number',value:0
},{
后面还有 52 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
