detail.hbs 5.78 KB
<div class="ps-detail-page ps-page yoho-page">
    {{# ps}}
        <div id="brand-info" class="header brand-info ps-block" data-id="{{brand_id}}">
            <img class="banner lazy" data-original="{{image cover_img 640 309}}">
            <img class="logo lazy" src="{{brand_ico}}">
            <div class="header-content clearfix">
                <p class="name-islike-container">
                    <span class="name">{{brand_name}}</span>
                    {{#unless @root.wap.plustar.removeCollect}}
                    <a id="brand-like" class="brand-islike iconfont" href="{{likeUrl}}">
                        &#xe605;
                    </a>
                    {{/unless}}
                </p>
                <div id="more-intro-click-range" class="clearfix">
                    <div id="intro" class="intro">
                        {{{brand_intro}}}
                    </div>
                    {{#if brand_intro}}
                    <span id="more-intro" class="more-intro">
                        <span id="intro-more-txt">more</span>
                        <i class="icon iconfont">&#xe609;</i>
                    </span>
                    {{/if}}
                </div>
            </div>
        </div>
        {{# newArrival}}
            <div class="new-arrival ps-block">
                <div class="floor-header-more">
                    <h2>NEW ARRIVAL</h2>
                    <a class="more-btn iconfont buriedpoint" href="{{moreUrl}}" data-bp-id="shop_more_btn_0">&#xe606;</a>
                </div>
                <div class="new-arrival-content clearfix">
                    {{# naList}}
                        {{> good}}
                    {{/ naList}}
                </div>
                <div class="more-goods-container">
                    <a class="mg-text" href="{{moreUrl}}">
                        更多商品
                        <span class="more-prods iconfont">&#xe604;</span>
                    </a>
                </div>
            </div>
        {{/ newArrival}}
        <div class="related-infos data-bind ps-block">
            <div>
                <h2 class="related-info-title">相关资讯</h2>
            </div>
            <div id="related-infos-container" class="related-infos-container">
                <div class="guang-info" data-id="">
                    <a class="info-author clearfix data-bind" href="">
                        <img class="lazy avatar" data-original="">
                        <span class="name"></span>
                    </a>

                    <div class="info-img">
                        <a href="javascript:;" class="info-match data-bind">
                            <span class="is-tips data-bind">小贴士</span>
                            <div class="is-tips info-tag tip data-bind"></div>
                            <span class="is-collocation data-bind">搭配</span>
                            <div class="is-collocation info-tag collocation data-bind"></div>
                            <span class="is-fashionMan data-bind">潮人</span>
                            <div class="is-fashionMan info-tag fashion-man data-bind"></div>
                            <span class="is-fashion-good data-bind">潮品</span>
                            <div class="is-fashion-good info-tag fashion-good data-bind"></div>
                            <span class="is-topic data-bind">话题</span>
                            <div class="is-topic info-tag topic data-bind"></div>
                            <span class="is-special-topic data-bind">专题</span>
                            <div class="is-special-topic info-tag special-topic data-bind"></div>
                        </a>
                        <a href="" class="info-img-link">
                            <img class="lazy" data-original="" alt="">
                        </a>
                    </div>

                    <div class="info-deps">
                        <a class="info-title-container" href="">
                            <h2 class="info-title"></h2>
                        </a>
                        <p class="info-text"></p>
                        <div class="time-view-like-share clearfix">
                            <i class="iconfont">&#xe603;</i>
                            <span class="publish-time"></span>&nbsp;&nbsp;&nbsp;&nbsp;
                            <i class="iconfont">&#xe602;</i>
                            <span class="page-view"></span>
                            <div class="like-share-container">
                                <i class="iconfont data-bind like-btn">&#xe601;</i>
                                <span class="like-count data-bind"></span>
                                <a href="" class="collect-link data-bind">
                                    <i class="iconfont collect-btn">&#xe605;</i>
                                </a>
                                <a href="" class="iconfont share-btn data-bind">&#xe600;</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <input id="jump-to-app" type="hidden" value="{{jumpToApp}}">
        <input id="brandId" type="hidden" value="{{brand_id}}">
        <input id="clientType" type="hidden" value="{{clientType}}">
        {{#unless @root.wap.plustar.removeRelatedPost}}
            <input id="related-infos-demote" type="hidden" value="1">
        {{/unless}}
        {{!-- wx-share --}}
        <input id="shareLink" type="hidden" value="{{shareLink}}">
        <input id="shareImg" type="hidden" value="{{shareImg}}">
        <input id="shareTitle" type="hidden" value="{{shareTitle}}">
        <input id="shareDesc" type="hidden" value="{{shareDesc}}">
    {{/ ps}}

        <input type="hidden" name="uid" value="{{uid}}">
        <input type="hidden" name="isApp" value="{{isApp}}">
</div>