无关风月
2025-03-20 2ad97245d64b65132507cab36ad89d968edb7705
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@layout("/common/_container.html"){
<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">
<link href="${ctxPath}/static/js/layui/css/layui.css" rel="stylesheet" media="all"/>
<style type="text/css">
    .layui-table-cell {
        height: auto;
    }
    .layui-table .layui-table-cell{
        text-align: center;
    }
</style>
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>等级列表</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <button onclick="saveExposure()" style="height: 35px;width: 80px;">保存</button>
                            <select id="exposure" onchange="choiceType(this)" style="height: 35px; width: 200px; margin: 0px 10px; text-indent: 10px" >
                                <option value="part" ${item == 'part' ? 'selected' : ''}>开启部分</option>
                                <option value="all" ${item == 'all' ? 'selected' : ''}>开启全部</option>
                                <option value="close" ${item == 'close' ? 'selected' : ''}>关闭</option>
                            </select>
                            <div style="margin-left: 438px;width: 400px;white-space: nowrap;margin-top: -35px;">
                                <#TimeCon id="beginTime" name="样式生效时间" isTime="true"/>
                            </div>
                            <button id="exposureBut" onclick="clickExposure()" style="height: 35px;width: 100px;background-color: #0E6828;color: #ffffff;${item == 'part' ? 'display:initial;' : 'display:none;'}">曝光人群</button>
                            <span id="fileName" style="color: #2D4FFB"></span>
                            <input type="file" id="file1" style="display: none;">
 
                        </div>
                        <div class="row">
                            <div id="title">
 
                            </div>
                            <div id="table">
                                <table id="demo" lay-filter="test"></table>
                                <button onclick="addVipLevel()" style="height: 35px;width: 80px;">添加</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<input type="file" style="display: none" id="file" accept="image/*">
<script src="${ctxPath}/static/modular/system/vipLevel/vipLevel.js"></script>
<script src="${ctxPath}/static/js/layui/layui.js" charset="utf-8"></script>
<script>
    $(function () {
        $("#beginTime").val("${times}");
    })
    layui.use('laydate', function() {
        var laydate = layui.laydate;
        laydate.render({
            elem: '#beginTime',
            type:'datetime',
            done:function (value) {
                changeTime(value);
            }
        });
    });
</script>
@}