Browse Source

调整前台模板

tags/6.5.6
叙述、别离 4 days ago
parent
commit
e857d942ce
2 changed files with 16 additions and 21 deletions
  1. +16
    -18
      src/theme/dedebiz/list_infos.htm
  2. +0
    -3
      src/theme/dedebiz/widget_search.htm

+ 16
- 18
src/theme/dedebiz/list_infos.htm View File

@@ -23,25 +23,23 @@
<main class="container py-3">
<div class="row">
<div class="col-md-9 pb-m-3">
<div class="row">
{dede:infolink}
<div class="item-info bg-white shadow-sm rounded mb-3 p-3">
<div class="mb-3">地区:[field:linkallplace/] [field:nativeplace/]</div>
<div>类型:[field:linkalltype/] [field:infotype/]</div>
</div>
{/dede:infolink}
{dede:list pagesize='10' titlelen='230'}
<article class="list-article bg-white rounded shadow-sm mb-3 p-3">
<div class="list-article-body">
<h2 class="mb-3"><a href="[field:arcurl/]">[field:title/]</a></h2>
<p>[field:description function="cn_substr(@me,130)"/]...</p>
<div class="meta">
<span class="author mr-3"><a href="[field:userurl/]"><img src="[field:face/]" class="user-img-xs mr-2">[field:uname/]</a></span>
<span class="date"><i class="fa fa-calendar mr-2"></i>[field:pubdate function="MyDate('Y-m-d',@me)"/]</span>
</div>
</div>
</article>{/dede:list}
{dede:infolink}
<div class="item-info bg-white shadow-sm rounded mb-3 p-3">
<div class="mb-3">地区:[field:linkallplace/] [field:nativeplace/]</div>
<div>类型:[field:linkalltype/] [field:infotype/]</div>
</div>
{/dede:infolink}
{dede:list pagesize='10' titlelen='230'}
<article class="list-article bg-white rounded shadow-sm mb-3 p-3">
<div class="list-article-body">
<h2 class="mb-3"><a href="[field:arcurl/]">[field:title/]</a></h2>
<p>[field:description function="cn_substr(@me,130)"/]...</p>
<div class="meta">
<span class="author mr-3"><a href="[field:userurl/]"><img src="[field:face/]" class="user-img-xs mr-2">[field:uname/]</a></span>
<span class="date"><i class="fa fa-calendar mr-2"></i>[field:pubdate function="MyDate('Y-m-d',@me)"/]</span>
</div>
</div>
</article>{/dede:list}
<ul class="pagination">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}</ul>
</div>
<aside class="col-md-3">


+ 0
- 3
src/theme/dedebiz/widget_search.htm View File

@@ -3,9 +3,6 @@
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" value="{dede:global name='keyword' function='RemoveXSS(@me)'/}" placeholder="请输入关键词">
<a class="btn bg-transparent" style="margin-left: -40px; z-index: 100;" href="{dede:global.cfg_phpurl/}/search.php">
<i class="fa fa-times"></i>
</a>
<div class="input-group-append"><button type="submit" class="btn btn-success"><i class="fa fa-search"></i></button></div>
</div>
</form>

Loading…
Cancel
Save