mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
feat: 完善三方平台设置;完善导出管理
This commit is contained in:
@@ -321,5 +321,14 @@ function show_time_ago($timestamp)
|
|||||||
|
|
||||||
function list_post_platform()
|
function list_post_platform()
|
||||||
{
|
{
|
||||||
return Nav::where('type', 12)->order('sort asc')->cache(30)->select();
|
$list = Nav::where('type', 12)->order('sort asc')->cache(30)->select();
|
||||||
|
|
||||||
|
foreach ($list as $item) {
|
||||||
|
$desc = $item->desc;
|
||||||
|
$desc_arr = explode(PHP_EOL, $desc);
|
||||||
|
$item->home_url = $desc_arr[0] ?? '';
|
||||||
|
$item->account = $desc_arr[1] ?? '';
|
||||||
|
}
|
||||||
|
|
||||||
|
return $list;
|
||||||
}
|
}
|
||||||
|
|||||||
15
public/static/lib/wangeditor/css/style.css
Normal file
15
public/static/lib/wangeditor/css/style.css
Normal file
File diff suppressed because one or more lines are too long
28
public/static/lib/wangeditor/index.js
Normal file
28
public/static/lib/wangeditor/index.js
Normal file
File diff suppressed because one or more lines are too long
@@ -7,8 +7,8 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<title>内容管理</title>
|
<title>内容管理</title>
|
||||||
{include file="common/_require"}
|
{include file="common/_require"}
|
||||||
<link href="https://cdn.jsdelivr.net/npm/@wangeditor/editor@latest/dist/css/style.css" rel="stylesheet">
|
<link href="/static/lib/wangeditor/css/style.css" rel="stylesheet">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@wangeditor/editor@latest/dist/index.min.js"></script>
|
<script src="/static/lib/wangeditor/index.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var currentHeaderNavItem = 'Post-{$Request.param.type|default="1"}';
|
var currentHeaderNavItem = 'Post-{$Request.param.type|default="1"}';
|
||||||
var currentLeftNavItem = 'post-{$Request.param.type|default="1"}';
|
var currentLeftNavItem = 'post-{$Request.param.type|default="1"}';
|
||||||
|
|||||||
@@ -51,10 +51,10 @@
|
|||||||
.options-box>a,
|
.options-box>a,
|
||||||
.options-box>div {
|
.options-box>div {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 2px;
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 5px 10px;
|
padding: 2px 10px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user