优化页面展示
rss订阅新增查看原地址
This commit is contained in:
parent
ab49b9400b
commit
305d94b891
@ -1 +1,2 @@
|
||||
.mybody{left: 200px;overflow:auto;}
|
||||
.body2{ height: 90%;top: 100px;overflow:auto; }
|
@ -6,12 +6,13 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>动画元数据设置</title>
|
||||
<link rel="stylesheet" href="/layui/css/layui.css">
|
||||
<link rel="stylesheet" href="/css/my.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="layui-layout layui-layout-admin">
|
||||
<div id="header"></div>
|
||||
<div class="layui-body mybody">
|
||||
<div class="layui-body mybody body2">
|
||||
<div id="side"></div>
|
||||
<div id="animmeta"></div>
|
||||
<div id="footer"></div>
|
||||
|
@ -6,13 +6,14 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>NAS</title>
|
||||
<link rel="stylesheet" href="/layui/css/layui.css">
|
||||
<link rel="stylesheet" href="/css/my.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="layui-layout layui-layout-admin">
|
||||
<div id="header"></div>
|
||||
<div class="layui-body" style="top: 100px;overflow:auto; ">
|
||||
<div class="layui-body body2">
|
||||
|
||||
<div id="side"></div>
|
||||
<blockquote class="layui-elem-quote"><span id="ip">番剧订阅器</span></blockquote>
|
||||
@ -165,9 +166,11 @@
|
||||
<script src="/layui/layui.js"></script>
|
||||
<script src="/js/jquery-3.2.1.js"></script>
|
||||
<script type="text/html" id="rssTopTools">
|
||||
<a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="rss_src">原地址</a>
|
||||
<a class="layui-btn layui-btn-xs" lay-event="addRss">订阅</a>
|
||||
</script>
|
||||
<script type="text/html" id="listTools">
|
||||
<a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="src">原地址</a>
|
||||
<a class="layui-btn layui-btn-xs" lay-event="show">查看</a>
|
||||
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
|
||||
</script>
|
||||
@ -217,10 +220,10 @@
|
||||
, cols: [[
|
||||
{field: "id", title: "id", width: 80, sort: true, fixed: 'left'}
|
||||
, {field: 'title', title: '标题', edit: 'text'}
|
||||
, {field: 'categories', title: '类型'}
|
||||
, {field: 'author', title: '字幕组'}
|
||||
, {field: 'categories', title: '类型',width: 80}
|
||||
, {field: 'author', title: '字幕组',width:100}
|
||||
, {field: 'titlekey', title: '搜索关键词', edit: 'text'}
|
||||
, {field: 'enable', title: '状态', templet: '#animState'}
|
||||
, {field: 'enable', title: '状态',width:80, templet: '#animState'}
|
||||
, {field: "right", toolbar: '#listTools'}
|
||||
]]
|
||||
});
|
||||
@ -290,6 +293,8 @@
|
||||
layer.close(index);
|
||||
}
|
||||
})
|
||||
}else if(obj.event === 'src'){
|
||||
window.open("https://share.dmhy.org/topics/list?keyword="+encodeURI(obj.data.titlekey))
|
||||
}
|
||||
})
|
||||
table.on('tool(rssTools)', function (obj) {
|
||||
@ -312,6 +317,8 @@
|
||||
layer.close(index)
|
||||
})
|
||||
})
|
||||
}else if(obj.event === "rss_src"){
|
||||
window.open(obj.data.link)
|
||||
}
|
||||
})
|
||||
form.on('switch(stateCheckbox)', function (data) {
|
||||
@ -332,8 +339,8 @@
|
||||
page: true,
|
||||
cols: [[
|
||||
{field: "title", title: "标题", sort: true, fixed: 'left'}
|
||||
, {field: 'author', title: '字幕组',}
|
||||
, {field: 'categories', title: '类型', templet: '<div><label>{{d.categories[0]}}</label><div>'}
|
||||
, {field: 'author', title: '字幕组',width:100}
|
||||
, {field: 'categories', title: '类型',width:80, templet: '<div><label>{{d.categories[0]}}</label><div>'}
|
||||
, {field: 'pubDate', title: '发布时间',}
|
||||
, {field: 'thumbnail', title: '封面', templet: '<div><img src="{{d.thumbnail}}"/><div>'}
|
||||
, {field: 'title', title: 'magnet', templet: '<div><label >{{d.enclosure.link}}</label ></div>'}
|
||||
|
@ -11,7 +11,7 @@
|
||||
<div class="layui-layout layui-layout-admin">
|
||||
<div id="header"></div>
|
||||
|
||||
<div class="layui-body mybody">
|
||||
<div class="layui-body mybody body2">
|
||||
<!-- <div id="side"></div>-->
|
||||
|
||||
<div style="margin-left: 2%; margin-top: 2%;">
|
||||
|
Loading…
Reference in New Issue
Block a user