迅睿開(kāi)源框架是一款PHP8高性能·簡(jiǎn)單易用的PHP開(kāi)源開(kāi)發(fā)框架, 基于MIT開(kāi)源許可協(xié)議發(fā)布,不限制商業(yè)使用,以多端互聯(lián)為設(shè)計(jì)理念, 支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
業(yè)務(wù)經(jīng)理
微信掃描以上二維碼
028-61286886
技術(shù)咨詢
個(gè)人空間首頁(yè)的動(dòng)態(tài)不顯示,我發(fā)了三條,還是什么都沒(méi)有顯示
d調(diào)用標(biāo)簽怎么寫的
回復(fù)@一盤散沙默認(rèn)的模板 沒(méi)動(dòng)過(guò)啥
{list action=table table=sns_feed uid=$space.uid order=inputtime num=6} <div class="box"> <dl class="feed_list" id="dr_row_{$t.id}"> <dt class="face memberinfo_avatar"> <a href="{dr_sns_feed_url($t.uid, $t.id)}" event-node="face_card" uid="{$t.uid}"><img src="{dr_avatar($t.uid)}" /></a> </dt> <dd class="content"> <p class="hd"> <a href="{dr_sns_feed_url($t.uid, $t.id)}" class="name" event-node="face_card" uid="{$t.uid}">{$t.username}</a> <span class="remark"></span> </p> <span class="contents"> {dr_sns_content($t.content)} {php $images = $t.images ? @explode('|', $t.images) : '';} {if $images} <br> <div class="feed_img_lists" rel="small"> <ul class="small"> {loop $images $img} <li style="margin-top:10px"> <a href="{dr_get_file($img)}" target="_blank"><img class="imgicon" src="{dr_get_file($img)}" width="100" height="100"></a> </li> {/loop} </ul> </div> {/if} {if $t.repost_id && $repost = dr_sns_feed($t.repost_id)} <dl class="comment"> <dt class="arrow bgcolor_arrow"><em class="arrline">◆</em><span class="downline">◆</span></dt> <dd class="name"> <a event-node="face_card" uid="{$repost.uid}" href="javascript:;" class="name" target="_self">@{$repost.username}</a></dd> <dd>{dr_sns_content($repost.content)}</dd> <p class="info"> <span class="right"> <a href="{dr_sns_feed_url($repost.uid, $repost.id)}">原文轉(zhuǎn)發(fā)({$repost.repost})</a><i class="vline">|</i> <a href="{dr_sns_feed_url($repost.uid, $repost.id)}">原文評(píng)論({$repost.comment})</a> </span> <span> <a href="{dr_sns_feed_url($repost.uid, $repost.id)}" class="date">{dr_fdate($repost.inputtime)}</a> <span>{$repost.source}</span> </span> </p> </dl> {/if}
{list action=table table=space_sns_feed uid=$space.uid order=inputtime num=6}
d調(diào)用標(biāo)簽怎么寫的
回復(fù)@一盤散沙
默認(rèn)的模板 沒(méi)動(dòng)過(guò)啥
{list action=table table=sns_feed uid=$space.uid order=inputtime num=6} <div class="box"> <dl class="feed_list" id="dr_row_{$t.id}"> <dt class="face memberinfo_avatar"> <a href="{dr_sns_feed_url($t.uid, $t.id)}" event-node="face_card" uid="{$t.uid}"><img src="{dr_avatar($t.uid)}" /></a> </dt> <dd class="content"> <p class="hd"> <a href="{dr_sns_feed_url($t.uid, $t.id)}" class="name" event-node="face_card" uid="{$t.uid}">{$t.username}</a> <span class="remark"></span> </p> <span class="contents"> {dr_sns_content($t.content)} {php $images = $t.images ? @explode('|', $t.images) : '';} {if $images} <br> <div class="feed_img_lists" rel="small"> <ul class="small"> {loop $images $img} <li style="margin-top:10px"> <a href="{dr_get_file($img)}" target="_blank"><img class="imgicon" src="{dr_get_file($img)}" width="100" height="100"></a> </li> {/loop} </ul> </div> {/if} {if $t.repost_id && $repost = dr_sns_feed($t.repost_id)} <dl class="comment"> <dt class="arrow bgcolor_arrow"><em class="arrline">◆</em><span class="downline">◆</span></dt> <dd class="name"> <a event-node="face_card" uid="{$repost.uid}" href="javascript:;" class="name" target="_self">@{$repost.username}</a></dd> <dd>{dr_sns_content($repost.content)}</dd> <p class="info"> <span class="right"> <a href="{dr_sns_feed_url($repost.uid, $repost.id)}">原文轉(zhuǎn)發(fā)({$repost.repost})</a><i class="vline">|</i> <a href="{dr_sns_feed_url($repost.uid, $repost.id)}">原文評(píng)論({$repost.comment})</a> </span> <span> <a href="{dr_sns_feed_url($repost.uid, $repost.id)}" class="date">{dr_fdate($repost.inputtime)}</a> <span>{$repost.source}</span> </span> </p> </dl> {/if}{list action=table table=space_sns_feed uid=$space.uid order=inputtime num=6}