织梦标签
1、面包屑
<div class="mbx">
<p>{dede:field name='position'/}</p>
</div>
2、文章标题及获取发文章时间
<div class="con_bt">
<p>{dede:field.title/}</p>
<p class="word">时间:{dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/} 来源:北京市武警总队第三医院</p>
</div>
3、文章内容调用
<div class="wz_con">
{dede:field.body/}
</div>
文章导语
{dede:field.description runphp='yes'}
if(@me<>'' )@me = '
<div class="intro">'.@me.'</div>';
{/dede:field.description}
4、上一篇下一篇
<div class="page">
<p>{dede:prenext get='pre'/}</p>
<p>{dede:prenext get='next'/}</p>
</div>
文章列表调用针对首页不受限制
<ul style="display:block;" >
{dede:arclist row="6" typeid="4" titlelen="20" infolen="54"}
<li><a href="[field:arcurl/]">[field:title/]</a> </li>
{/dede:arclist}
</ul>
文章列表
{dede:list pagesize='10'}
<li> [field:array runphp='yes']@me = (empty(@me['litpic']) ? "" : "<a href='{@me['arcurl']}' class='preview'><img src='{@me['litpic']}'/></a>"); [/field:array]
[<b>[field:typelink/]</b>] <a href="[field:arcurl/]" class="title">[field:title/]</a> <span class="info"> <small>日期:</small>[field:pubdate function="GetDateTimeMK(@me)"/] <small>点击:</small>[field:click/] <small>好评:</small>[field:scores/] </span>
<p class="intro"> [field:description/]... </p>
</li>
{/dede:list}
免费电话
<div class="sea">
<form target="_blank" action="http://tel.kuaishang.com.cn/calld.php" method="post" name="f" id="theform">
<input type="hidden" value="2012101729" name="sid">
<input type="hidden" value="1009516" name="did">
<input type="hidden" value="" id="call_fromurl" name="fromurl">
<input type="text" value="请输入您的电话" onfocus="if (value =='请输入您的电话'){value =''}" onblur="if (value ==''){value='请输入您的电话'}" class="text" name="tel" id="tel" title="请输入您的电话号码">
</form></div>
<div class="seaBtn">
<img src="http://images.cnblogs.com/wujing5.jpg" onclick="fromsub();">
</div>
<script type="text/javascript">
function fromsub(){
document.getElementById('theform').submit();
}
</script>
文章缩略图有显示无不显示配合样式调整,主要是图片浮动
[field:array runphp='yes']@me = (strpos(@me['litpic'],'defaultpic') ? "" : "<a href='{@me['arcurl']}' class='preview'><img src='{@me['litpic']}'/></a>"); [/field:array]
页面分享到新浪各个网
<div class="bshare-custom"><a title="分享到QQ空间" class="bshare-qzone"></a><a title="分享到新浪微博" class="bshare-sinaminiblog"></a><a title="分享到人人网" class="bshare-renren"></a><a title="分享到腾讯微博" class="bshare-qqmb"></a><a title="分享到网易微博" class="bshare-neteasemb"></a><a title="更多平台" class="bshare-more bshare-more-icon more-style-addthis"></a><span class="BSHARE_COUNT bshare-share-count">0</span></div><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=2&lang=zh"></script><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/bshareC0.js"></script>