Authored by xuqi

各文章类型页面结构数据展示

{{#detail}}
{{# detail}}
{{> article_author}}
{{> article_title}}
{{/detail}}
\ No newline at end of file
{{> article}}
{{/ detail}}
\ No newline at end of file
... ...
{{#article}}
<div class="article-title partial">
<div class="article-title partial">
<p class="title">{{title}}</p>
<p class="date-pageview">{{publishTime}} {{pageView}}</p>
</div>
{{/article}}
\ No newline at end of file
</div>
\ No newline at end of file
... ...
{{# type5}}
<div class="article-type-5">
{{# products}}
{{> good_info}}
{{/ products}}
</div>
{{/ type5}}
\ No newline at end of file
... ...
{{# type4}}
<div class="article-type-four">
{{# img}}
<img src="{{img}}" alt="{{alt}}">
{{/ img}}
</div>
{{/ type4}}
\ No newline at end of file
... ...
{{# type1}}
<div class="article-type-one">
<img src="{{img}}" alt="{{alt}}">
</div>
{{/ type1}}
\ No newline at end of file
... ...
{{# type3}}
<div class="article-type-three">
{{# collocation}}
<img class="thumb" src="{{thumb}}">
<div class="prod-list hide">
{{# products}}
{{> good_info}}
{{/ products}}
</div>
{{/ collocation}}
</div>
{{/ type3}}
\ No newline at end of file
... ...
{{# type2}}
<div class="article-type-two">
{{text}}
</div>
{{/ type2}}
\ No newline at end of file
... ...
{{# article}}
{{> article_title}}
{{# content}}
{{> article_type_one}}
{{> article_type_two}}
{{> article_type_three}}
{{> article_type_four}}
{{> article_type_five}}
{{/ content}}
{{/ article}}
\ No newline at end of file
... ...