detail.phtml 2.27 KB
{{>layout/header}}
<div class="ps-detail-page ps-page yoho-page">
    {{# ps}}
        <div class="header brand-info ps-block" data-id="{{id}}">
            <img class="banner lazy" data-original="{{banner}}">
            <img class="logo lazy" data-original="{{logo}}">
            <div class="header-content">
                <p class="name-islike-container">
                    <span class="name">{{name}}</span>
                    <a id="brand-like" class="brand-islike iconfont {{# isLike}}like{{/ isLike}}" href="{{likeUrl}}">
                        &#xe605;
                    </a>
                </p>
                <p id="intro" class="intro">
                    {{intro}}
                </p>
                <div id="more-intro" class="more-intro">
                    <span class="more-intro-text more">more</span>
                    <span class="more-intro-icon more iconfont down">&#xe609;</span>
                    <span class="more-intro-icon more iconfont up hide">&#xe608;</span>
                </div>
            </div>
        </div>
        {{# newArrival}}
            <div class="new-arrival ps-block">
                <div class="new-arrival-header">
                    <span class="header-text">NEW ARRIVAL</span>
                    <a class="more-prods iconfont" href="{{moreUrl}}">&#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}}
        {{#if infos}}
            <div class="related-infos ps-block">
                <div>
                    <h2 class="related-info-title">相关资讯</h2>
                </div>
                <div id="related-infos-container" class="related-infos-container">
                    {{# infos}}
                        {{> guang/info}}
                    {{/ infos}}
                </div>
            </div>
        {{/if}}
    {{/ ps}}
</div>
{{>layout/footer}}