#
luxiaotao1123
2021-01-25 17cca9b35e64550a03aa8a231bb53265cd86a00c
#
4个文件已修改
16 ■■■■ 已修改文件
src/main/webapp/static/css/common.css 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/tag/tag.js 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/tag/tag.html 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/tag/tag_detail.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/css/common.css
@@ -6,10 +6,12 @@
/*}*/
* {
    font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
    color: #313131;
}
body {
    background-color: #fff;
}
#data-search-btn button {
    color: #595959;
}
input::placeholder {
@@ -246,4 +248,4 @@
    font-size: 14px;
    line-height: 1;
    color: #ed4014;
}
}
src/main/webapp/static/js/tag/tag.js
@@ -17,13 +17,16 @@
        url: baseUrl+'/tag/list/auth',
        headers: {token: localStorage.getItem('token')},
        height: 'full-200',
        toolbar: ['<p>',
            '<button lay-event="add" class="layui-btn layui-btn-sm icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>&nbsp;',
            '<button lay-event="del" class="layui-btn layui-btn-sm layui-btn-danger icon-btn"><i class="layui-icon">&#xe640;</i>删除</button>',
            '</p>'].join(''),
        tree: {
            iconIndex: 1,           // 折叠图标显示在第几列
            isPidData: true,        // 是否是id、pid形式数据
            idName: 'id',  // id字段名称
            pidName: 'parentId'     // pid字段名称
        },
        toolbar: 'default',
        cols: [[
            {type: 'checkbox'}
            ,{field: 'name', align: 'left',title: '名称'}
src/main/webapp/views/tag/tag.html
@@ -10,7 +10,9 @@
    <link rel="stylesheet" href="../../static/css/cool.css" media="all">
    <link rel="stylesheet" href="../../static/css/common.css" media="all">
    <style>
        .layui-btn {
            color: #fff;
        }
    </style>
</head>
<body>
src/main/webapp/views/tag/tag_detail.html
@@ -30,6 +30,7 @@
        .text-right {
            text-align: right;
        }
</style>
</head>
<body>