diff --git a/app/index/view/mobile/product/detail.html b/app/index/view/mobile/product/detail.html index 3ea3fc49..d2789f99 100644 --- a/app/index/view/mobile/product/detail.html +++ b/app/index/view/mobile/product/detail.html @@ -22,7 +22,11 @@ {:lang_i18n('首页')} {volist name="product_categorys" id="ca"} + {eq name="ca.pid" value="0"} {$ca.name} + {else /} + {$ca.name} + {/eq} {/volist} diff --git a/app/index/view/pc/product/detail.html b/app/index/view/pc/product/detail.html index 7e481523..7b061f50 100644 --- a/app/index/view/pc/product/detail.html +++ b/app/index/view/pc/product/detail.html @@ -22,7 +22,11 @@ {:lang_i18n('首页')} {volist name="product_categorys" id="ca"}
+ {eq name="ca.pid" value="0"} {$ca.name} + {else /} + {$ca.name} + {/eq} {/volist}