mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-05-23 13:29:32 +08:00
modified 完成文档主图片显示
This commit is contained in:
parent
ea1cae1d54
commit
147067f70b
@ -16,7 +16,7 @@
|
||||
<div class="ui items">
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
<img src="http://static10.photo.sina.com.cn/middle/5a3ab1b1x9961016a8699&690">
|
||||
<img src="{$groupInfo['image'] ? $groupInfo['image'] : '/static/defaultImg.jpg'}">
|
||||
</div>
|
||||
<div class="content">
|
||||
<span class="header">{$groupInfo['name']}</span>
|
||||
@ -191,7 +191,7 @@
|
||||
imgExpanded: "__STATIC__/jsonFormater/Expanded.gif"
|
||||
};
|
||||
window.jf = new JsonFormater(options);
|
||||
jf.doFormat('{$detail["returnStr"]}');
|
||||
jf.doFormat({$detail["returnStr"]});
|
||||
}();
|
||||
});
|
||||
$('.ui .vertical').css('max-height', $('#detail').outerHeight(true));
|
||||
|
@ -32,7 +32,7 @@
|
||||
{if condition="$apiLength"}
|
||||
<div class="card column">
|
||||
<a class="image" href="{:url('/wiki/detail/' . $key)}">
|
||||
<img src="http://static10.photo.sina.com.cn/middle/5a3ab1b1x9961016a8699&690">
|
||||
<img src="{$groupInfo[$key]['image'] ? $groupInfo[$key]['image'] : '/static/defaultImg.jpg'}">
|
||||
</a>
|
||||
<div class="content">
|
||||
<a class="header" href="{:url('/wiki/detail/' . $key)}">
|
||||
|
BIN
public/static/defaultImg.jpg
Normal file
BIN
public/static/defaultImg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
x
Reference in New Issue
Block a user