review_item_hk.html 2.29 KB
<script id="review-list-template" type="text/x-handlebars-template">
\{{#each reviewList}}
<div class="review-item">
    <div class="item-top clearfix">
        <div class="user-avatar">
            <img src="\{{titlePic}}" alt="">
            <i class="\{{partnerType}}"></i>
        </div>
        <div class="user-info">
            <p class="info-detail clearfix" class="clearfix">
                <span class="name">\{{nick}}</span>
                <span>\{{buyAgain}}&nbsp;/&nbsp;</span>
                <span>\{{age}}&nbsp;/&nbsp;</span>
                <span>\{{skin}}&nbsp;/&nbsp;</span>
                <span>\{{update_time}}</span>
            </p>
            <div class="clearfix score-wrap">
                <div class="final-score">
                    <h2>总评星</h2>
                    {{> common/final_score}}
                </div>
                
                \{{#if sub}}
                <div class="detail-score">
                    <h4>细项评分:</h4>
                    <ul>
                        \{{#each sub}}
                        <li>\{{aName}} \{{t_score}}</li>
                        \{{/each}}
                    </ul>
                    <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>
                            </ul>
                        </div>
                    </div>
                </div>
                \{{/if}}
            </div>
        </div>
    </div>
    <div class="review-content">
        <h2>\{{title}}</h2>
        <div class="min-content">
            <div class="text-wrap">
                <p>\{{summary}}<a class="more-content" href="javascript:;">展開</a></p> 
            </div>
            \{{#if pics}}
            <div class="min-img clearfix">
                \{{#each pics}}
                <img src="\{{.}}" alt="">
                \{{/each}}
            </div>
            \{{/if}}
        </div>
        <div class="normal-content">
            \{{{content}}}
        </div>
        
    </div>
</div>
\{{/each}}
</script>