detail.phtml 2.53 KB
{{>layout/header}}
<div class="ps-detail-page ps-page yoho-page">
    {{# ps}}
        <div id="brand-info" 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 clearfix">
                <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>
                <span id="more-intro" class="more-intro">
                    <span id="intro-more-txt">more</span>
                    <i class="icon iconfont">&#xe609;</i>
                </span>
            </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}}

        <input id="jump-to-app" type="hidden" value="{{jumpToApp}}">

        {{!-- 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}}
</div>
{{>layout/footer}}