review_hk.html 7.91 KB
{{> layout/header_fan}}
<div class="detail-container clearfix">
    {{#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">
                {{#if chart}}
                <div id="chart" {{#each chart}}data-chart{{@key}}="{{.}}"{{/each}}>
                </div>
                {{/if}}
                {{#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_hk}}
        {{/ trialStatus}}
        <div class="review-list-wrap" id="{{id}}">
            <h2>試用報告</h2>
            <div class="review-list" id="{{id}}">
                {{> detail/review_item_hk}}
            </div>
            <!-- {{#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>
{{> layout/footer_fan}}