更新:产品和新闻详情页的返回按钮链接:返回来源栏目列表
							parent
							
								
									316013769b
								
							
						
					
					
						commit
						53b4913262
					
				| 
						 | 
				
			
			@ -29,7 +29,7 @@
 | 
			
		|||
                    <a href="{:url('article/detail', ['id' => $next.id])}">下一篇</a>
 | 
			
		||||
                    {/if}
 | 
			
		||||
                </p>
 | 
			
		||||
                <a href="javascript:history.back(-1);" class="btns">返回</a>
 | 
			
		||||
                <a href="{:url('article/index', ['category_id'=>$article['category_id']])}" class="btns">返回</a>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,7 +31,13 @@
 | 
			
		|||
                    <a href="{:url('article/detail', ['id' => $next.id, 'source'=>$currentCateId])}">下一篇</a>
 | 
			
		||||
                    {/if}
 | 
			
		||||
                </p>
 | 
			
		||||
                <a href="javascript:history.back(-1);" class="btns">返回</a>
 | 
			
		||||
                {php}
 | 
			
		||||
                    $backUrl = url('article/index', ['category_id'=>$currentCateId]);
 | 
			
		||||
                    if($currentCateId != $topCategory['id']) {
 | 
			
		||||
                        $backUrl = url('products.search', ['category_id'=>$currentCateId]);
 | 
			
		||||
                    }
 | 
			
		||||
                {/php}
 | 
			
		||||
                <a href="{$backUrl}" class="btns">返回</a>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue