setter
parent
4129a9d31d
commit
12c7d2ef34
|
@ -67,6 +67,9 @@ class Index extends Base
|
|||
foreach ($conf["footBar"] as &$item) {
|
||||
$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);
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<input type="text" name="title" lay-verify="required" lay-reqtext="标题不能为空" placeholder="请输入标题" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-form-item layui-hide">
|
||||
<label class="layui-form-label">图标:</label>
|
||||
<div class="layui-inline layui-col-xs12 layui-col-md8">
|
||||
<div class="layui-row upload-file-div">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<input type="text" name="title" lay-verify="required" value="{$item.title ?? ''}" lay-reqtext="标题不能为空" placeholder="请输入标题" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item ">
|
||||
<div class="layui-form-item layui-hide">
|
||||
<label class="layui-form-label">封面:</label>
|
||||
<div class="layui-inline layui-col-xs12 layui-col-md8">
|
||||
<div class="layui-row upload-file-div">
|
||||
|
|
Loading…
Reference in New Issue