用的是默认的模板,后台添加二级分类后appfront端出现显示问题。 前端banner大图,3张会变5张,后边2张是空白的。 商品详情会显示多余的框,点击了直接跳转到当前商品分类。
分类菜单关闭后显示就恢复正常。试了许久,不清楚哪里出现了问题,大佬帮忙看下。
问:1.appfront显示异常,指的是分类页面,还是产品页面,异常报错是什么?
appfront显示异常
2.前端banner大图,3张会变5张,后边2张是空白的:具体是那个页面的那个部分?
前端banner大图,3张会变5张,后边2张是空白的
本人看不大明白你的问题
@Fecmall #1楼 显示有问题是产品页面,我上边有发了图,color这里多出现了3个框。还有首页轮播图,原先是3张,添加分类后,就变5张了,前边3张正常轮播,后边2张是空白。我把分类激活状态改成关闭就恢复正常
@wileep #2楼 这个情况,第一次有人出现这种问题,您如果是程序员,可以debug看看,对接结构不清楚,代码找不到的地方,可以咨询,我给你找文件
我先贴一下分类,产品,和首页几个文件路径,你参考debug下
1.首页block部分:https://github.com/fecshop/yii2_fecshop/blob/master/app/appfront/modules/Cms/block/home/Index.php
首页theme部分:https://github.com/fecshop/yii2_fecshop/blob/master/app/appfront/theme/base/front/cms/home/index.php
2.分类block部分: https://github.com/fecshop/yii2_fecshop/blob/master/app/appfront/modules/Catalog/block/category/Index.php
分类页theme部分:https://github.com/fecshop/yii2_fecshop/blob/master/app/appfront/theme/base/front/catalog/category/index.php
3.产品block部分: https://github.com/fecshop/yii2_fecshop/blob/master/app/appfront/modules/Catalog/block/product/Index.php
产品页theme部分:https://github.com/fecshop/yii2_fecshop/blob/master/app/appfront/theme/base/front/catalog/product/index.php