一、\phpcms\modules\wap\index.php 的lists方法,修改最后一句为
if($catid == 6){ include template(‘wap‘, ‘category_brand‘); }elseif($catid == 10){ include template(‘wap‘, ‘category_product‘); }elseif($catid == 7 || $catid == 8 || $catid == 9){ include template(‘wap‘, ‘list_brand‘); }elseif($catid == 11 || $catid == 12){ include template(‘wap‘, ‘list_product‘); }elseif($catid == 13){ include template(‘wap‘, ‘list_new‘); }
二、\phpcms\modules\wap\index.php 的show方法,修改最后一句为
if($catid == 6){ include template(‘wap‘, ‘show_brand‘); }elseif($catid == 10){ include template(‘wap‘, ‘show_product‘); }elseif($catid == 7 || $catid == 8 || $catid == 9){ include template(‘wap‘, ‘show_brand‘); }elseif($catid == 11 || $catid == 12){ include template(‘wap‘, ‘show_product‘); }elseif($catid == 13){ include template(‘wap‘, ‘show_new‘); }
三、新增对应名字的模板文件
时间: 2024-10-03 03:43:16