幫助

前端模板頁面如何調(diào)用會(huì)員列表

2023-12-20 08:48 標(biāo)簽調(diào)用

易優(yōu)cms前端模板頁面需要以列表形式調(diào)用全站會(huì)員信息時(shí),該如何使用標(biāo)簽調(diào)用呢?

請(qǐng)參考下面代碼。

{eyou:memberlist row='10' orderby='logintime' id='userslist'}
    <div id="{$userslist.txtid}">
            <div>會(huì)員字段:</div>
            <span>用戶id:{$userslist.users_id}</span>
            <span>用戶頭像:<img src="{$userslist.head_pic}" style="width: 60px; height: 60px;"></span>
            <span>用戶昵稱:{$userslist.nickname}</span>
            <span>用戶名稱:{$userslist.username}</span>
            <span>手機(jī)號(hào)碼:{$userslist.mobile}</span>
            <span>郵箱地址:{$userslist.email}</span>
            <span>會(huì)員級(jí)別:{$userslist.level}</span>
            <span>會(huì)員天數(shù):{$userslist.level_maturity_days}</span>
            <span>積分:{$userslist.scores}</span>

            <div>自定義字段:</div>
            <!-- 自定義字段需要后臺(tái)審查元素查看字段ID -->
            <span>{$userslist.para_3}</span>
            <span>{$userslist.para_4}</span>
            <span>{$userslist.para_5}</span>
            <span>{$userslist.para_6}</span>
    </div>
    {$userslist.hidden}
{/eyou:memberlist}



QQ在線咨詢