易优CMS文章付费设置与调用标签

wdzsjl 1个月前 (10-10) 阅读数 14 #HTML
{eyou:articlepay id='field'} <!-- 内容显示 --> <div {$field.contentId}>    {$field.content} </div>   <!-- 付费文档 -->   <div {$field.displayId}>     <div>     <div>当前隐藏内容需要支付<span>{$eyou.field.users_price}RNB</span></div>     <p>已有<span class='red'>&nbsp;{eyou:freebuynum /}</span>人支付</p>     <div>       <a {$field.onclick}>支付查看</a>     </div>   </div> </div> <!-- 会员限制 --> <div {$field.vipDisplayId}>   <div>     {eyou:eq name='$eyou.field.restric_type' value='2'}<span>加入VIP 永久免费浏览</span>{/eyou:eq}     <div class='login-false'>       {eyou:if condition='$eyou.field.restric_type == 2'}       <p>当前隐藏内容需要【<font color='red'>{$eyou.field.arc_level_id|getArcLevelName=###}</font>】才能查看</p>       {eyou:elseif condition='$eyou.field.restric_type == 3' /}        <p>当前隐藏内容需要【<font color='red'>{$eyou.field.arc_level_id|getArcLevelName=###}</font>】付费才能查看</p>       {/eyou:if}     </div>     <div>       <a {$field.onBuyVipClick}> 购买会员</a>     </div>   </div> </div> {$field.hidden} {/eyou:articlepay}

 

wx.jpg ywfw.jpg
热门