代码拉取完成,页面将自动刷新
同步操作将从 jQ酷/jqadmin 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jQadmin后台模板</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<!-- load css -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" media="all">
<link rel="stylesheet" type="text/css" href="css/font/iconfont.css" media="all">
<link rel="stylesheet" type="text/css" href="css/layui.css" media="all">
<link rel="stylesheet" type="text/css" href="css/main.css?v1.0.0" media="all">
</head>
<body>
<div class="container-fluid larry-wrapper">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<!--头部搜索-->
<section class="panel panel-padding">
<form class="layui-form" action="/php/data.php">
<div class="layui-form">
<div class="layui-inline">
<div class="layui-input-inline">
<input class="layui-input" name="keyword" placeholder="关键字">
</div>
</div>
<div class="layui-inline">
<button lay-submit class="layui-btn" lay-filter="search">查找</button>
</div>
</div>
</form>
</section>
<!--列表-->
<section class="panel panel-padding">
<div class="group-button">
<button class="layui-btn layui-btn-small layui-btn-danger ajax-all" data-name="checkbox" data-params='{"url": "/php/test.php","data":"id=1&name=ni&checkbox=6,9,0&va=23"}'>
<i class="iconfont"></i> 删除
</button>
<button class="layui-btn layui-btn-small layui-btn-normal ajax-all" data-name="checkbox" data-params='{"url": "/php/test.php","data":"id=1&name=hao&checkbox=6,9,0&va=23"}'>
<i class="layui-icon">စ</i> 禁用
</button>
<button class="layui-btn layui-btn-small modal-iframe" data-params='{"content": "admin-role-add.html", "title": "添加角色","full":"true"}'>
<i class="iconfont"></i> 添加角色
</button>
</div>
<div id="list" class="layui-form"></div>
<div class="text-right" id="page"></div>
</section>
</div>
</div>
</div>
</body>
<script id="list-tpl" type="text/html" data-params='{"url":"/php/data.php","pageid":"#page"}'>
<table id="example" class="layui-table lay-even">
<thead>
<tr>
<th><input type="checkbox" id="checkall" data-name="checkbox" lay-filter="check" lay-skin="primary"></th>
<th>序号</th>
<th>角色名称</th>
<th>描述</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<colgroup>
<col width="30">
<col width="60">
<col>
<col>
<col width="80">
<col width="142">
</colgroup>
{{# layui.each(d.list, function(index, item){ }}
<tr>
<td><input type="checkbox" name="checkbox" value="{{ item.id}}" lay-skin="primary"></td>
<td>{{ item.id}}</td>
<td>客服</td>
<td>{{ item.title}}</td>
<td><input type="checkbox" name="switch" lay-skin="switch" lay-text="启用|禁用" lay-filter="ajax" data-params='{"url":"/php/test.php","data":"id={{ item.id}}&name=paco"}'> </td>
<td>
<button class="layui-btn layui-btn-mini modal-iframe" data-params='{"content": "admin-role-add.html", "title": "{{item.title}}","full":"true"}'>
<i class="iconfont"></i>编辑
</button>
<button class="layui-btn layui-btn-mini layui-btn-danger ajax" data-params='{"url": "/php/test.php","data":"id=1&name=ni"}'>
<i class="iconfont"></i>删除
</button></td>
</td>
</tr>
{{# }); }}
</tbody>
</table>
</script>
<script type="text/javascript " src="js/layui/layui.js"></script>
<script>
layui.config({
base: 'js/'
}).extend({
dtable: 'jqmodules/dtable',
ajax: 'jqmodules/ajax',
jqdate: 'jqmodules/jqdate',
jqform: 'jqmodules/jqform',
modal: 'jqmodules/modal'
}).use('list');
</script>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。