master
wangxinglong 2022-05-27 19:01:18 +08:00
parent 4129a9d31d
commit 12c7d2ef34
3 changed files with 5 additions and 2 deletions

View File

@ -67,6 +67,9 @@ class Index extends Base
foreach ($conf["footBar"] as &$item) { foreach ($conf["footBar"] as &$item) {
$item["icon"] = resourceJoin($item["icon"],$this->request->domain()); $item["icon"] = resourceJoin($item["icon"],$this->request->domain());
} }
foreach ($conf["recommend"] as &$item) {
$item["icon"] = resourceJoin($item["icon"],$this->request->domain());
}
return $this->json(0, 'success', $conf); return $this->json(0, 'success', $conf);
} }

View File

@ -17,7 +17,7 @@
<input type="text" name="title" lay-verify="required" lay-reqtext="标题不能为空" placeholder="请输入标题" class="layui-input"> <input type="text" name="title" lay-verify="required" lay-reqtext="标题不能为空" placeholder="请输入标题" class="layui-input">
</div> </div>
</div> </div>
<div class="layui-form-item"> <div class="layui-form-item layui-hide">
<label class="layui-form-label">图标:</label> <label class="layui-form-label">图标:</label>
<div class="layui-inline layui-col-xs12 layui-col-md8"> <div class="layui-inline layui-col-xs12 layui-col-md8">
<div class="layui-row upload-file-div"> <div class="layui-row upload-file-div">

View File

@ -17,7 +17,7 @@
<input type="text" name="title" lay-verify="required" value="{$item.title ?? ''}" lay-reqtext="标题不能为空" placeholder="请输入标题" class="layui-input"> <input type="text" name="title" lay-verify="required" value="{$item.title ?? ''}" lay-reqtext="标题不能为空" placeholder="请输入标题" class="layui-input">
</div> </div>
</div> </div>
<div class="layui-form-item "> <div class="layui-form-item layui-hide">
<label class="layui-form-label">封面:</label> <label class="layui-form-label">封面:</label>
<div class="layui-inline layui-col-xs12 layui-col-md8"> <div class="layui-inline layui-col-xs12 layui-col-md8">
<div class="layui-row upload-file-div"> <div class="layui-row upload-file-div">