迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費且不限制商業(yè)使用,是免費開源的產(chǎn)品,以萬端互聯(lián)為設(shè)計理念,支持的微信公眾號、小程序、APP客戶端、移動端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
商品折扣信息 如何在其他頁調(diào)用?
http://m.223987.com/wenda/52440.html
回復(fù)迅??蚣軇?chuàng)始人 已經(jīng)解決
{if $rs.ptype==1} <span class="meta-shhop-icon"> <strong style="margin-right: 5px;"> 折扣價{php echo $rs.price*($rs.pvalue/100)}元 </strong> <del><i class="fa fa-rmb"></i> {number_format($rs.price, 2)}</del> </span> {elseif $rs.ptype==2} <span class="meta-shhop-icon"> <strong style="margin-right: 5px;"> 減價到{php echo $rs.price-$rs.pvalue}元 </strong> <del><i class="fa fa-rmb"></i> {number_format($rs.price, 2)}</del> </span> {elseif $rs.ptype==3} <span class="meta-shhop-icon"> <strong style="margin-right: 5px;"> 特價{$rs.pvalue}元 </strong> <del><i class="fa fa-rmb"></i> {number_format($rs.price, 2)}</del> </span> {elseif $rs.ptype==4} <span class="meta-shhop-icon"> <strong style="margin-right: 5px;"> 返余額{$rs.pvalue}元 </strong> <i class="fa fa-rmb"></i> {number_format($rs.price, 2)} </span> {elseif $rs.ptype==5} <span class="meta-shhop-icon"> <strong style="margin-right: 5px;"> 返{$rs.pvalue}積分 </strong> <i class="fa fa-rmb"></i> {number_format($rs.price, 2)} </span> {elseif $rs.ptype==6} <span class="meta-shhop-icon"> <strong style="margin-right: 5px;"> 限時免費 </strong> <del><i class="fa fa-rmb"></i> {number_format($rs.price, 2)}</del> </span> {else} <span class="meta-shhop-icon"><i class="fa fa-rmb"></i> {number_format($rs.price, 2)}</span> {/if}
在折扣頁面 c=zhe 需要在zhe.php 里面加一個value字段,普通頁面 主頁或欄目或其他,1樓方法,并且加一個value字段
http://m.223987.com/wenda/52440.html
回復(fù)迅??蚣軇?chuàng)始人 已經(jīng)解決
在折扣頁面 c=zhe 需要在zhe.php 里面加一個value字段,普通頁面 主頁或欄目或其他,1樓方法,并且加一個value字段