Authored by 2586703@qq.com

review 模板

... ... @@ -18,7 +18,23 @@
</div>
</div>
{{#if detailScore}}
{{> common/detail_score}}
<div class="detail-score">
<ul class="clearfix">
{{#each detailScore}}
<li class="clearfix" index="{{@key}}">
<label>{{.}}</label>
<div class="score-select-wrap clearfix">
<a class="score-select" href="javascript:;">1</a>
<a class="score-select" href="javascript:;">2</a>
<a class="score-select" href="javascript:;">3</a>
<a class="score-select" href="javascript:;">4</a>
<a class="score-select" href="javascript:;">5</a>
</div>
<span class="score-text"></span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
</div>
... ...
{{> layout/writer_header320}}
<div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src="{{shareImg}}"/></div>
<div id="trial-detail" class="detail">
{{# detailData}}
<h2 class="share-h2">{{title}}</h2>
<h3 class="share-h3">{{subTitle}}</h3>
<div class="author-channel">
{{# author}}
<p><a class="detail_author" href="{{link}}" target="_blank">Text:&nbsp;{{name}}</a></p>
{{/ author}}
{{# channel}}<a href="{{link}}">{{name}}</a>&nbsp;|&nbsp;{{/ channel}}
{{# twoChannel}}<a href="{{link}}">{{name}}</a>&nbsp;|&nbsp;{{/ twoChannel}}
<span time="{{time}}" class="time-format"></span>
</div>
{{/ detailData}}
<div class="detail-body">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
<form class="review-form" action="">
<h2 class="form-title">试用网站评鉴结果分析</h2>
<div class="chart-score clearfix">
<div class="final-score">
<h2>总体评价</h2>
{{> common/final_score}}
</div>
<div id="chart"></div>
</div>
{{#if reviewInfo}}
<div class="review-info">
<ul class="clearfix">
{{#each reviewInfo}}
<li>{{@key}}:{{.}}</li>
{{/each}}
</ul>
</div>
{{/if}}
{{#if detailScore}}
<div class="detail-score">
<ul class="clearfix">
{{#each detailScore}}
<li class="clearfix" core="{{.}}">
<label>{{@key}}</label>
<div class="score-select-wrap clearfix">
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
</div>
</li>
{{/each}}
</ul>
</div>
{{/if}}
<div class="review-class clearfix">
{{#if buyAgain}}
<div class="buy-again review-percent">
<h4>回购评分</h4>
<ul>
{{#each buyAgain}}
<li class="clearfix">
<span>{{text}}</span>
<em><i>{{percent}}</i></em>
<span>{{num}}/{{percent}}</span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
{{#if skin}}
<div class="review-percent">
<h4>参评网友肤质分布</h4>
<ul>
{{#each skin}}
<li class="clearfix">
<span>{{text}}</span>
<em><i>{{percent}}</i></em>
<span>{{num}}/{{percent}}</span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
{{#if age}}
<div class="review-percent">
<h4>参评网友年龄分布</h4>
<ul>
{{#each age}}
<li class="clearfix">
<span>{{text}}</span>
<em><i>{{percent}}</i></em>
<span>{{num}}/{{percent}}</span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
</div>
</form>
{{# trialStatus}}
{{> common/trial_status}}
{{/ trialStatus}}
<div class="review-list">
<h2>试用报告</h2>
{{#each reviewList}}
<div class="review-item">
<div class="item-top clearfix">
<div class="user-avatar">
<img src="{{avatar}}" alt="">
<i class="{{type}}"></i>
</div>
<div class="user-info clearfix">
<span class="name">{{nickname}}</span>
<p class="clearfix">
<span>{{isBuy}}&nbsp;/&nbsp;</span>
<span>{{age}}&nbsp;/&nbsp;</span>
<span>{{skin}}&nbsp;/&nbsp;</span>
<span>{{time}}</span>
</p>
</div>
</div>
<div class="review-content">
<h2>{{title}}</h2>
{{#each content}}
{{#if img}}
<img src="{{img}}" alt="">
{{/if}}
{{#if text}}
<p>{{text}}</p>
{{/if}}
{{/each}}
</div>
<div class="score-wrap clearfix">
{{#if detailScore}}
<div class="detail-score">
<h4>细项评分:</h4>
<ul class="clearfix">
{{#each detailScore}}
<li>{{@key}} {{.}}</li>
{{/each}}
</ul>
<div class="more-score">
<a class="more-btn" href="javascript:;">更多></a>
</div>
</div>
{{/if}}
<div class="final-score">
<h2>总评星</h2>
{{> common/final_score}}
</div>
</div>
</div>
{{/each}}
<div class="load-more">
<a href="javascript:;"></a>
</div>
</div>
</div>
</div>
\ No newline at end of file
... ...