作者 刘朕
1 个管道 的构建 通过 耗费 46 秒

商品详情介绍修改

... ... @@ -76,7 +76,7 @@ class GoodsdetailsController extends WeChatBaseController{
$data['pricing1'] = $pricing[1];
$data['det_img'] = json_decode($data['det_img'],true);
$data['instr'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['instr']));
$data['instr'] = explode(' ',$data['instr']);
// $data['instr'] = explode(' ',$data['instr']);
/* $data['det_img'] = explode(',',$data['det_img']);*/
$this -> assign('det_img',$data['det_img']);
$this -> assign('data',$data);
... ...
... ... @@ -124,11 +124,9 @@
<div class="de_main5">
<div class="de_main5Tit">商品说明</div>
<ul>
<volist name="$data.instr" id="vo">
<li>
<div class="de_main5Con">{$vo}</div>
</li>
</volist>
<li>
<div class="de_main5Con">{$data.instr}</div>
</li>
</ul>
<div class="phone" style="font-size: 0.29rem;color: #666666;margin-top: 0.2rem;margin-left: 0.3rem">咨询电话:{$data.zixun_phone}</div>
</div>
... ...