review.html 8.39 KB
{{> layout/header_jian}}
<div class="detail-container clearfix content" id="beauuty-trial-list">
    {{#if trialStep}}
        {{> common/trial_step}}
    {{/if}}

    {{# header}}
        {{> detail/detail_title}}
    {{/ header}}
    <div class="detail-body">
        {{# content}}
            {{> detail/trail_content}}
        {{/ content}}
        <form class="review-form" action="">
            <h2 class="form-title">试用网站评鉴结果分析</h2>
            <div class="final-score form-final">
                <h2>总体评价</h2>
                {{> common/final_score}}
            </div>
            {{#if reviewInfo}}
            <div class="review-info">
                <ul class="clearfix">
                    {{#each reviewInfo}}
                    <li>{{@key}}:{{.}}</li>
                    {{/each}}
                </ul>
            </div>
            {{/if}}
            <div class="chart-score clearfix">
                <div id="chart"></div>
                {{#if detailScore}}
                <div class="detail-score">
                    <ul class="clearfix">
                        {{#each detailScore}}
                        <li class="clearfix" score="{{.}}">
                            <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>
            <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 percent="{{percent}}"><i></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 percent="{{percent}}"><i>{{percent}}</i></em>
                            <span>{{num}}/{{percent}}</span>
                        </li>
                        {{/each}}
                    </ul>
                </div>
                {{/if}}
                {{#if age}}
                <div class="review-percent">
                    <h4>参评网友年龄分布</h4>
                    <ul>
                        {{#each skin}}
                        <li class="clearfix">
                            <span>{{text}}</span>
                            <em percent="{{percent}}"><i>{{percent}}</i></em>
                            <span>{{num}}/{{percent}}</span>
                        </li>
                        {{/each}}
                    </ul>
                </div>
                {{/if}}
            </div>
        </form>
        {{# trialStatus}}
            {{> common/trial_status}}
        {{/ trialStatus}}
        <div class="review-list"  id="{{id}}">
            <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">
                        <p class="info-detail clearfix" class="clearfix">
                            <span class="name">{{nickname}}</span>
                            <span>{{isBuy}}&nbsp;/&nbsp;</span>
                            <span>{{age}}&nbsp;/&nbsp;</span>
                            <span>{{skin}}&nbsp;/&nbsp;</span>
                            <span>{{time}}</span>
                        </p>
                        <div class="clearfix score-wrap">
                            <div class="final-score">
                                <h2>总评星</h2>
                                {{> common/final_score}}
                            </div>
                            
                            {{#if detailScore}}
                            <div class="detail-score">
                                <h4>细项评分:</h4>
                                <ul>
                                    {{#each detailScore}}
                                    <li>{{@key}} {{.}}</li>
                                    {{/each}}
                                </ul>
                                {{#if moreDetailScore}}
                                <div class="more-score">
                                    <a class="more-btn" href="javascript:;">更多</a>
                                    <div class="more-score-list">
                                        <div class="more-score-top"></div>
                                        <div class="more-score-bottom"></div>
                                        <ul>
                                            {{#each moreDetailScore}}
                                            <li>{{@key}} {{.}}</li>
                                            {{/each}}
                                        </ul>
                                    </div>
                                </div>
                                {{/if}}
                            </div>
                            {{/if}}
                        </div>
                    </div>
                </div>
                <div class="review-content">
                    <h2>{{title}}</h2>
                    <div class="min-content">
                        {{# minContent}}
                            <div class="text-wrap">
                                <p>{{text}}<a class="more-content" href="javascript:;">展开</a></p> 
                            </div>
                            <div class="min-img clearfix">
                                {{#each imgBox}}
                                <img src="{{img}}" alt="">
                                {{/each}}
                            </div>
                        {{/ minContent}}
                    </div>
                    <div class="normal-content">
                        {{#each content}}
                            {{#if img}}
                            <img src="{{img}}" alt="">
                            {{/if}}
                            {{#if text}}
                            <p>{{text}}</p>
                            {{/if}}
                        {{/each}}
                    </div>
                    
                </div>
            </div>
            {{/each}}
            <div class="load-more">
                <a href="javascript:;"></a>
            </div>
        </div>
        <div class="review-pagination" style="display:none">
            {{> channel/pager}}
        </div>
    </div>

    <div class="trial-content-right" id="trial-list-top-ten">
        <div class="trial-top" style="padding-top: 0;">
            {{# topTen}}
            <div class="trial-user-info">
            <span class="trial-user-pic">
                <img src="{{userPic}}" alt=""/>
            </span>
                <span>我的试用</span>
            </div>

            <h2 class="beauty-top-h2">本周试用排行榜</h2>
            {{# top}}
            <a class="top-list top-list-{{ranking}}" href="{{link}}" target="_blank">
                <span class="top-leading"></span>

                <div class="top-content">
                    <h2>{{title}}</h2>

                    <h3>{{subTitle}}</h3>
                </div>
                <span class="top-like-num {{bestLike}}">{{likeNum}}</span>
            </a>
            {{/ top}}
            {{/ topTen}}
        </div>
    </div>
</div>
{{> layout/footer_jian}}