<!DOCTYPE html>
<!--解决idea thymeleaf 表达式模板报红波浪线-->
<!--suppress ALL -->
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 引入公用部分 -->
    <script th:replace="common/head::static"></script>
    <!-- 游戏数据用户相关样式 -->
    <link th:href="@{/sys/aComUser/css/user.css}" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="layui-row layui-col-space15">
    <!-- 树 -->
    <div class="layui-col-md6">
        <div class="layui-card">
            <div class="layui-card-header">用户属性列表</div>
            <div class="layui-card-body">
                <!-- 表格主体 -->
                <table class="layui-hide" id="userTable" lay-filter="test"></table>
                <!-- 模板 -->
                <script type="text/html" id="userTableToolbarDemo">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">钱包地址</label>
                            <div class="layui-input-inline" style="width: 300px;">
                                <input type="text" id="queryByAddress" name="queryByAddress" autocomplete="off"
                                       placeholder="输入钱包地址" class="layui-input layui-btn-sm">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <button class="layui-btn layui-btn-sm" style="padding: 0 10px;" lay-event="query">查询<i
                                    class="layui-icon layui-icon-search"></i></button>
                        </div>
                    </div>
                </script>
                <script type="text/html" id="userTableBarDemo">
                    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑<i class="layui-icon layui-icon-edit"></i></a>
                </script>
            </div>
        </div>

    </div>
    <!-- 操作表单 -->
    <div class="layui-col-md6">
        <div class="layui-card">
            <div class="layui-card-header">操作表单</div>
            <div class="layui-card-body">
                <form id="comUserForm" class="layui-form layui-form-pane">
                    <div class="layui-form-item">
                        <label class="layui-form-label">已使用的体力</label>
                        <div class="layui-input-block">
                            <input type="text" name="strength" autocomplete="off" placeholder="strength"
                                   class="layui-input"  lay-verify="positiveWholeNumberRequiredTrue">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">最近修改时间</label>
                            <div class="layui-input-block">
                                <input type="text" name="updateTime" autocomplete="off" class="layui-input"
                                       readonly="readonly">
                            </div>
                        </div>
                    </div>
                    <!-- 隐藏域 -->
                    <input type="text" name="userId" hidden="hidden"/>
                    <input type="text" name="id" hidden="hidden"/>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <a class="layui-btn" type="submit" lay-submit lay-filter="comUserFilter" >保存</a>
                        </div>
                    </div>
                </form>

            </div>
        </div>
    </div>

</div>
</body>
<!-- js -->
<script th:src="@{/sys/aComUser/js/userAttri.js}"></script>
</html>