模板:首页/右栏/公告:修订间差异
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的6个中间版本) | |||
第1行: | 第1行: | ||
<div class="mod | <div class="mod-c"> | ||
<div class="mod- | <div class="mod-c-hd"> | ||
< | <div class="tit">公告</div> | ||
</div> | </div> | ||
<div class="mod-bd">{{#cargo_query: | <div class="mod-bd">{{#cargo_query: | ||
第7行: | 第7行: | ||
|where=文章归类.归类='公告' | |where=文章归类.归类='公告' | ||
|fields=_pageName=Title,标题,归类,展示标题 | |fields=_pageName=Title,标题,归类,展示标题 | ||
|limit= | |limit=10 | ||
|template=首页右侧边栏文章链接 | |template=首页右侧边栏文章链接 | ||
|format=template | |format=template | ||
|named args=yes | |named args=yes | ||
|order by=文章归类. | |order by=文章归类.时间 DESC | ||
|more results text= | |more results text= | ||
}}</div> | }}</div> | ||
<div class="mod-ft text-right"> | <div class="mod-ft text-right"> | ||
<a href="https://wiki.17173.com/zzz/ | <a href="https://wiki.17173.com/zzz/%E5%AE%98%E6%96%B9%E6%96%B0%E9%97%BB%E8%B5%84%E8%AE%AF" class="mod-ft-link">更多...</a> | ||
</div> | </div> | ||
</div> | </div> | ||
{{#CSS: | |||
.tlist-item{ | |||
margin-left: 10px; !important; | |||
margin-right: 10px !important; | |||
} | |||
.mod-ft-link{ | |||
margin-left: 10px; !important; | |||
margin-right: 10px !important; | |||
} | |||
.so-page .so-content.so-container .so-content-in .tlist-item .tlist-item-link { | |||
color: #fff; | |||
text-align: left; | |||
font-size: 13px; | |||
/* text-shadow: 1px 1px 2px rgb(0 0 0); */ | |||
font-weight: bold; | |||
letter-spacing: 0.1px; | |||
} | |||
.so-page .so-content.so-container .so-content-in .tlist-item-tag { | |||
margin-right: 0.5rem; | |||
flex-shrink: 0; | |||
flex-grow: 0; | |||
border-radius: 0.25rem; | |||
background-color: #000000; | |||
padding-left: 0.375rem; | |||
padding-right: 0.375rem; | |||
padding-top: 0.25rem; | |||
padding-bottom: 0.25rem; | |||
color: #bfdb5a; | |||
font-weight: bold; | |||
font-size: 14px; | |||
} | |||
}} |