review_hk320.html 7.34 KB
{{> layout/writer_header_hk320}}
<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" id="{{id}}">
        {{# content}}
            {{> detail/trail_content}}
        {{/ content}}
        <form class="review-form" action="">
            <h2 class="form-title">試用網站評鑒結果分析</h2>
            <div class="chart-score clearfix">
                <div class="final-score form-final">
                    <h2>總體評價</h2>
                    {{> common/final_score}}
                </div>
                <div id="chart" {{#each chart}}data-chart{{@key}}="{{.}}"{{/each}}></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" 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 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></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 percent="{{percent}}"><i></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">
                {{> detail/review_item_hk320}}
            </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 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>
                    <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 class="score-wrap clearfix">
                    {{#if detailScore}}
                        <div class="detail-score">
                            <h4>细项评分:</h4>
                            <ul class="clearfix">
                                {{#each detailScore}}
                                <li>{{@key}} {{.}}</li>
                                {{/each}}
                                <li class="more-score-btn">
                                    <span class="show-icon iconfont">更多&#xe604;</span>
                                    <span class="put-away iconfont">收起&#xe603;</span>
                                </li>
                            </ul>
                        </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>
{{> layout/footer_hk320}}