<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sptg="http://www.thymeleaf.org">
<head>
    <script th:replace="common/head"></script>
    <!-- 省市区样式 -->
    <link rel="stylesheet" th:href="@{'/layui/lay/mymodules/region.css'}">
</head>

<body>
    <div class="layui-fluid">
        <div class="layui-card">
            <div class="layui-form layui-card-header layuiadmin-card-header-auto" style="padding:0;">
                <div class="layui-form-item border-b">
        <div class="">
            <div class="layui-card">
                <div class="layui-form layui-form-item" style="padding:0;">
                    <div class="layui-inline">
                        <label class="layui-form-label">广告编号</label>
                        <div class="layui-input-block">
                            <input type="text" name="adCode" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">广告名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="adName" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">广告类别</label>
                        <div class="layui-input-block">
                            <select id="selectedAdTypeId" lay-verify="" lay-search="">
                                <option value="">全部</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <div class="layui-form-item">
                            <label class="layui-form-label">选择地区</label>
                            <div class="layui-input-block" id="region_body">
                                <input type="hidden"  name="regionProvince" />
                                <input type="hidden"  name="regionCity" />
                                <input type="hidden"  name="regionArea" />
                                <input type="text" id="region"  readonly="readonly" placeholder="请选择" autocomplete="off" class="layui-input" />
                                <div th:replace="common/region"></div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">观看时间</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" id="laydate-range-datetime" placeholder="" lay-key="28">
                        </div>
                    </div>
                    <div class="layui-inline" style="margin-left: 38px;">
                        <button class="layui-btn layuiadmin-btn-useradmin"  lay-submit lay-filter="query">查询</button>
                        <button class="layui-btn  layui-btn-primary"  lay-submit lay-filter="reset">重置</button>
                    </div>
                </div>

                <!-- 表格+头部按钮 -->
                <div class="layui-card-body" style="padding:0;">
                    <!--
                    <div style="padding-bottom: 10px;">
                       <button class="layui-btn layuiadmin-btn-admin" data-type="export"lay-event="export" sptg:security="statistics:statisticsAdWatch:export">导出</button>
                    </div>
                     -->
                    <table id="table-id" lay-filter="table-id"></table>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" th:src="@{'/layui/layui.js '}" charset="utf-8"></script>
    <script type="text/javascript">
        layui.config({
            base: '/' //静态资源所在路径
        });
    </script>
    <script type="text/javascript" th:src="@{'/js/statistics/statistics-ad-watch-detail.js'}" charset="utf-8"></script>
</body>
</html>