0

_ColumnOne在nopcommerce中,当我们在局部视图页面布局中启动项目时,RenderBody()是由局部视图页面调用的_Root。在_Root局部视图页面RenderBody()布局后由_Root.Head局部视图页面调用。现在,我的问题是在_Root.Head哪里@RenderBody调用布局?

4

1 回答 1

0

网站顶部、中间和页脚布局的nopcommerce流程

_ViewStart => _Column1 => _Root => _Root.Head

In _ViewStart.cshtml partial page shows the path of _Column1.cshtml.

In _Column1.cshtml partial display the design between **main_column_before** and **main_column_after** and goes path to _Root.cshtml.

In _Root.cshtml shows the **top** and **footer** design of the website and forward to _Root.Head.cshtml.

In _Root.Head.cshtml shows the **middle layout** of the website.
于 2019-01-22T11:43:31.543 回答