迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
1835022288
028-61286886
当0折的时候是否能直接显示“免费特权”前端要怎么调用。
插件名称:
{if $zhekou} {php $zhekou=dr_string2array($zhekou);} {loop $zhekou $gid $v} {if $v} <tr><td>{php echo \Phpcmf\Service::C()->member_cache['group'][$gid]['name'];}:{$v}折</td></tr> {else} <tr><td>{php echo \Phpcmf\Service::C()->member_cache['group'][$gid]['name'];}:免费特权</td></tr> {/if} {/loop} <tr><td>当前价格:{ys_zhekou($member, $zhekou, $price)}</td></tr> {/if}
{if $zhekou} {php $zhekou=dr_string2array($zhekou);} {loop $zhekou $gid $v} {if $v==10} <tr><td>{php echo \Phpcmf\Service::C()->member_cache['group'][$gid]['name'];}:原价无优惠</td></tr> {elseif $v} <tr><td>{php echo \Phpcmf\Service::C()->member_cache['group'][$gid]['name'];}:{$v}折</td></tr> {else} <tr><td>{php echo \Phpcmf\Service::C()->member_cache['group'][$gid]['name'];}:免费特权</td></tr> {/if} {/loop} <tr><td>当前价格:{ys_zhekou($member, $zhekou, $price)}</td></tr> {/if}
{if $zhekou} {php $zhekou=dr_string2array($zhekou);} {loop $zhekou $gid $v} {if $v==10} <tr><td>{php echo \Phpcmf\Service::C()->member_cache['group'][$gid]['name'];}:原价无优惠</td></tr> {elseif $v} <tr><td>{php echo \Phpcmf\Service::C()->member_cache['group'][$gid]['name'];}:{if $member}{$v}折{else}登陆后擦好看{/if}</td></tr> {else} <tr><td>{php echo \Phpcmf\Service::C()->member_cache['group'][$gid]['name'];}:免费特权</td></tr> {/if} {/loop} <tr><td>当前价格:{ys_zhekou($member, $zhekou, $price)}</td></tr> {/if}
下面的管用了,上面这个 当等于10折的时候 能否显示 原价无折扣靠悬赏(设置悬赏)赚钱买授权