聯系官方銷售客服
1835022288
028-61286886
在獨立模塊中,為什么調用附加的單選字段不出來呢,還有,在獨立模塊可以調用共享模塊的內容嗎?獨立模塊中寫法跟共享模塊的一樣嗎
{module catid=1 order=updatetime page=1}
<li class="media news-one">
<a class="media-left" title="{$t.title}" alt="{$t.keywords}" href="{$t.url}">
<img title="{$t.title}" alt="{$t.keywords}" src="{dr_thumb($t.thumb)}">
</a>
<div class="media-body">
<div class="media_text">
<h4 class="media-heading"><a title="{$t.title}" alt="{$t.keywords}" href="{$t.url}">{$t.title}</a></h4>
<h5 class="news-remark fl">{$t.original}</h5>
{php $field = dr_field_options(192);}
{$field[$t.original]}
{if $t.original == 1}<span class="fr news-class">原創</span>{/if}
</div>
<h4 class="news-info">
<small>
<span class="man-img-man"><img src="{dr_avatar($t.uid)}"> {$t.author}</span>
<span class="news-time">2019-08-05</span>
<span class="news-browse"><img src="{THEME_PATH}pcbbs/picture/news_view.png">{$t.hits}</span>
</small>
</h4>
</div>
</li>
{/module}
附加字段截圖看看,你方法必然錯誤的
圖在大一點,看不全啊
附加字段就是那一個
{module catid=1 more=1 order=updatetime page=1}
catid=欄目id more=1調用指定欄目的模型字段