File: /www/wwwroot/www.elwrky.com/runtime/temp/f9f247449cd26c7db19c39c5083e636c.php
<?php /*a:3:{s:68:"/www/wwwroot/www.elwrky.com/application/member/view/group/index.html";i:1640819545;s:68:"/www/wwwroot/www.elwrky.com/application/admin/view/index_layout.html";i:1640819545;s:61:"/www/wwwroot/www.elwrky.com/application/admin/view/layui.html";i:1640819545;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><?php echo config('system_name'); ?>后台管理系统</title>
<meta name="author" content="<?php echo config('system_name'); ?>">
<meta name="csrf-token" content="<?php echo think\facade\Request::token('__token__'); ?>">
<link rel="stylesheet" href="/static/libs/layui/css/layui.css">
<link rel="stylesheet" href="/static/admin/css/admin.css?v=<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>">
<link rel="stylesheet" href="/static/common/font/iconfont.css?v=<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>">
<link rel="stylesheet" href="/static/admin/css/my.css">
<script src="/static/libs/layui/layui.js"></script>
<script src="/static/libs/jquery/jquery.min.js"></script>
<script type="text/javascript">
//全局变量
var GV = {
'site':<?php echo json_encode($site); ?>,
'image_upload_url': '<?php echo !empty($image_upload_url) ? htmlentities($image_upload_url) : url("attachment/upload/upload", ["dir" => "images"]); ?>',
'file_upload_url': '<?php echo !empty($file_upload_url) ? htmlentities($file_upload_url) : url("attachment/upload/upload", ["dir" => "files"]); ?>',
'ueditor_upload_url': '<?php echo !empty($ueditor_upload_url) ? htmlentities($ueditor_upload_url) : url("attachment/upload/upload", ["dir" => "images","from"=>"ueditor"]); ?>',
'attachment_select_url': '<?php echo !empty($attachment_select_url) ? htmlentities($attachment_select_url) : url("attachment/attachments/select"); ?>',
};
</script>
</head>
<body class="childrenBody <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
<div class="layui-card">
<div class="layui-card-header">会员组列表</div>
<div class="layui-card-body">
<table class="layui-hide" id="currentTable" lay-filter="currentTable"></table>
</div>
</div>
<script type="text/html" id="barTool">
<a data-open='<?php echo url("edit"); ?>?id={{ d.id }}' data-width="900" data-height="600" class="layui-btn layui-btn-xs" title="编辑">编辑</a>
{{# if(d.issystem!=1){ }}
<a href='<?php echo url("del"); ?>?id={{ d.id }}' class="layui-btn layui-btn-danger layui-btn-xs layui-tr-del">删除</a>
{{# } }}
</script>
<script type="text/html" id="issystem">
{{# if(d.issystem==1){ }}
<i class="iconfont text-success icon-success_fill"></i>
{{# } else { }}
<i class="iconfont text-danger icon-delete_fill"></i>
{{# } }}
</script>
<script type="text/html" id="allowattachment">
{{# if(d.allowattachment==1){ }}
<i class="iconfont text-success icon-success_fill"></i>
{{# } else { }}
<i class="iconfont text-danger icon-delete_fill"></i>
{{# } }}
</script>
<script type="text/html" id="allowpost">
{{# if(d.allowpost==1){ }}
<i class="iconfont text-success icon-success_fill"></i>
{{# } else { }}
<i class="iconfont text-danger icon-delete_fill"></i>
{{# } }}
</script>
<script type="text/html" id="allowpostverify">
{{# if(d.allowpostverify==1){ }}
<i class="iconfont text-success icon-success_fill"></i>
{{# } else { }}
<i class="iconfont text-danger icon-delete_fill"></i>
{{# } }}
</script>
<script type="text/html" id="allowsearch">
{{# if(d.allowsearch==1){ }}
<i class="iconfont text-success icon-success_fill"></i>
{{# } else { }}
<i class="iconfont text-danger icon-delete_fill"></i>
{{# } }}
</script>
<script type="text/html" id="allowupgrade">
{{# if(d.allowupgrade==1){ }}
<i class="iconfont text-success icon-success_fill"></i>
{{# } else { }}
<i class="iconfont text-danger icon-delete_fill"></i>
{{# } }}
</script>
<script type="text/html" id="allowsendmessage">
{{# if(d.allowsendmessage==1){ }}
<i class="iconfont text-success icon-success_fill"></i>
{{# } else { }}
<i class="iconfont text-danger icon-delete_fill"></i>
{{# } }}
</script>
<script type="text/javascript">
layui.config({
version: '<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>',
base: '/static/libs/layui_exts/'
}).extend({
yzn: 'yzn/yzn',
yznForm: 'yznForm/yznForm',
yznTable: 'yznTable/yznTable',
treeGrid: 'treeGrid/treeGrid',
clipboard: 'clipboard/clipboard.min',
notice: 'notice/notice.min',
iconPicker: 'iconPicker/iconPicker.min',
ztree: 'ztree/ztree',
dragsort: 'dragsort/dragsort.min',
tagsinput: 'tagsinput/tagsinput',
xmSelect: 'xmSelect/xm-select',
selectPage: 'selectPage/selectpage.min',
echarts: 'echarts/echarts',
echartsTheme: 'echarts/echartsTheme',
citypicker: 'citypicker/city-picker',
webuploader: 'webuploader/webuploader',
ueditor: 'ueditor/ueditor.min',
}).use('yznForm');
</script>
<script>
layui.use('yznTable', function() {
var table = layui.yznTable;
var init = {
table_elem: '#currentTable',
add_url: "<?php echo url('add'); ?>",
modify_url:'<?php echo url("multi"); ?>',
};
table.render({
init: init,
id: 'currentTable',
elem: '#currentTable',
toolbar: ['refresh',
[{
text: '添加',
url: init.add_url,
method: 'open',
class: 'layui-btn layui-btn-normal layui-btn-sm',
icon: 'iconfont icon-add',
extend: 'data-width="900" data-height="600"',
}]
],
url: '<?php echo url("index"); ?>',
search: false,
cols: [
[
{ field: 'id', width: 80, title: 'ID' },
{ field: 'listorder', width: 100, title: '排序', edit: 'text' },
{ field: 'name', align: "left", title: '会员组名' },
{ field: 'issystem', width: 100, title: '系统组', align: "center", templet: '#issystem' },
{ field: '_count', width: 100, align: "center", title: '会员数' },
{ field: 'starnum', width: 100, align: "center", title: '星星数' },
{ field: 'point', width: 100, align: "center", title: '积分小于' },
{ field: 'allowattachment', width: 120, align: "center", title: '允许上传附件', templet: '#allowattachment' },
{ field: 'allowpost', width: 120, title: '投稿权限', align: "center", templet: '#allowpost' },
{ field: 'allowpostverify', width: 120, title: '投稿不需审核', align: "center", templet: '#allowpostverify' },
{ field: 'allowsearch', width: 120, title: '搜索权限', align: "center", templet: '#allowsearch' },
{ field: 'allowupgrade', width: 120, title: '自助升级', align: "center", templet: '#allowupgrade' },
{ field: 'allowsendmessage', width: 120, title: '发短消息', align: "center", templet: '#allowsendmessage' },
{ fixed: 'right', width: 120, title: '操作', templet: '#barTool', align: "center" }
]
]
});
});
</script>
</body>
</html>