{eyou:memberinfos mid='$eyou.field.users_id' id='users' addfields='para_3'} <img src="{$users.head_pic}" class="userimg radius-circle" /> <p class="username text-main margin-top margin-bottom">{$users.nickname}</p> {eyou:if condition="$users.para_3 !=='0'"} <p class="usedescription text-gray height-small">{$users.para_3}</p> {/eyou:if} {$users.hidden} {/eyou:memberinfos}
addfields='自定义会员字锻ID'
{eyou:volist name="$eyou.field.image_list"} {eq name='$i' value='$__LIST__|count=###'}{$i}{/eq} {/eyou:volist}
<meta name="keywords" content="{eyou:notempty name="$eyou.field.seo_keywords"} {$eyou.field.seo_keywords} {eyou:else /} {eyou:tag getall='0'}{$field.tag},{/eyou:tag}{/eyou:notempty} " />
{eyou:arclist row='10'} <a {eyou:if condition='($eyou.field.aid == $field.aid)'}class="active"{/eyou:if} href="{$field.arcurl}" title="{$field.title}">{$field.title}</a> {/eyou:arclist}
eyou.field.aid指当前内容页的ID
{$eyou.field.aid}
{eyou:volist name="$eyou.field.image_list"} <img src="{$field.image_url}" class="img-responsive" alt="{$field.intro}"/> {/eyou:volist}
{eyou:if condition='($eyou.field.attrlist_id > 0)'} {eyou:attribute type='newattr' attrid='$eyou.field.attrlist_id'} <li>{$attr.name}:{$attr.value}</li> {/eyou:attribute} {/eyou:if}
注意:这个只在商品商城中心参数才有效。
{eyou:type typeid="$eyou.field.parent_id"} <a href="{$field.typeurl}">{$field.typename}</a> {/eyou:type}
<a href="{$eyou.field.typeid|gettoptype=###,'typeurl'}"> {$eyou.field.typeid|gettoptype=###,'typename'}</a>
{eyou:volist name="$eyou.field.image_list" row='1'} <img src="{$field.image_url}"> {/eyou:volist}
row='1',也可用limit='0,1',用limit还能控制到调用图集第几张。
{eyou:memberinfos mid='$eyou.field.users_id' id='users' addfields='para_*'} 会员属性:{$users.para_这里请查阅后台会员属性的ID} {$users.hidden} {/eyou:memberinfos}
适用1.47+版本,para_*,可以在会员后台属性查阅
{eyou:memberinfos mid='$eyou.field.users_id' id='users' addfields='level_name'} 会员等级:{$users.level_name} {$users.hidden} {/eyou:memberinfos}
适用1.47+版本
{eyou:memberinfos mid='$eyou.field.users_id' id='users'} 会员昵称:{$users.nickname} 会员头像:<img src="{$users.head_pic}" /> {$users.hidden} {/eyou:memberinfos}
{eyou:volist name="$eyou.field.file_list" id="field"} 附件文件名:{$field.file_name} 文件提取码:{$field.extract_code} 服务器名称:{$field.server_name} 文件大小:{$field.file_size} 下载链接:{$field.file_url} {/eyou:volist}
{eyou:attribute type='newattr' attrid='$eyou.field.attrlist_id'} {$attr.name}:{$attr.value} {/eyou:attribute}
需要在商城中心-参数管理-参数值里先设置好参数组,然后在商城中心-商品管理-商品参数里选择对应的参数组,原旧参数慢慢放弃。
加技术微信沟通更方便