帝国cms灵动标签中价格折扣的计算方式

灵动标签中使用:

[e:loop={9,6,0,1,'','newstime DESC'}]
        <div class="layui-col-xs4 home-center-product-item"> 
         <div class="product-wrap"> 
          <div class="product-info"> 
           " title="<?=$bqr['title']?>" target="_blank"> 
            <div class="product-titlepic">
             <img src="https://www.zhann.cn/notes/<?=$bqr['titlepic']?>" alt="帝国cms灵动标签中价格折扣的计算方式" />
            </div> 
  
          </div> 
<div class="text-info">

              <h1>"><?=$bqr['title']?></h1>
<ul class="jglist">
              <li> <span style="text-decoration:line-through"><i class="fa fa-diamond"></i> <?=$bqr['yuanjia']?>点</span> </li>

              <li> <span>节省:</span><span> <?=$bqr['yuanjia']-$bqr['jiage']?> 点</span> </li>

              <li> <span><i class="fa fa-diamond"></i> <?=$bqr['jiage']?>点</span> </li>
            </ul>
" target="_blank"><span class="buybtn"><i class="fa fa-plus-square"></i> 查看详情</span>
" target="_blank"><span class="buybtn2"><i class="fa fa-desktop"></i> 查看演示</span>

        </div>
         </div> 
        </div> 
[/e:loop]

 

内容模板使用:

<?=($navinfor[活动价字段名]/$navinfor[原价字段名])*100?>%

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注