Blame view

actions/channel/detail/index_hk320.html 3.86 KB
lore-w authored
1 2
{{> layout/writer_header_hk320}}
{{#detailData}}
3
<div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src="{{shareImg}}"/></div>
lore-w authored
4 5 6
<div class="detail">
    <h2 class="share-h2">{{title}}</h2>
    <h3 class="share-h3">{{subTitle}}</h3>
7
    <div class="author-channel">
lore-w authored
8
        {{# author}}
9
        <p><a class="detail_author" href="{{link}}" target="_blank">Text:&nbsp;{{name}}</a></p>
lore-w authored
10
        {{/ author}}
11 12
        {{# channel}}<a href="{{link}}">{{name}}</a>&nbsp;|&nbsp;{{/ channel}}
        {{# twoChannel}}<a href="{{link}}">{{name}}</a>&nbsp;|&nbsp;{{/ twoChannel}}
lore-w authored
13
        <span time="{{time}}" class="time-format"></span>
14
    </div>
lore-w authored
15 16 17 18 19 20 21
    <div class="media">
        {{# coverSwiper}}
        <!--大圖輪播-->
        <div class="detail-banner swiper-container">
            <ul class="swiper-wrapper">
                {{#banner}}
                <li class="swiper-slide">
22 23
                    <img class="swiper-lazy" data-src="{{.}}" alt="">
                    <div class="swiper-lazy-preloader"></div>
lore-w authored
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
                </li>
                {{/banner}}
            </ul>
            <div class="detail-switch"></div>
        </div>
        {{/ coverSwiper}}

        {{^ coverSwiper}}
        {{# coverPic}}
        <!--只有一張封面圖-->
        <img src="{{img}}"/>
        {{/ coverPic}}
        {{/ coverSwiper}}


        {{# coverEffect}}
        <!--翻轉、變臉、視頻-->
        {{{html}}}
        {{/ coverEffect}}
    </div>
    <!--內容-->
    <div class="detail-text" cover-url="{{coverUrl}}">
        {{{detailStr}}}
    </div>
</div>
{{/detailData}}
<!--標簽-->
{{# tags}}
<div class="tags">
    <ul>
        {{# tagItem}}
        <li>
56
            <p><a href="{{link}}" target="_blank">{{name}}</a></p>
lore-w authored
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
        </li>
        {{/ tagItem}}
    </ul>
</div>
{{/ tags}}
<div class="comment">
    <ul class="statslist stats-btn">
        <li class="wow">
            <div class="status-white">
                <span style="right: -24px;"></span>
                <i></i>
            </div>
        </li>
        <li class="zzz">
            <div class="status-white">
                <span style="right: -18px;"></span>
                <i></i>
            </div>
        </li>
        <li class="wtf">
            <div class="status-white">
                <span style="right: -21px;"></span>
                <i></i>
            </div>
        </li>
82
        <li class="comments" id="comment-hk">
lore-w authored
83 84
            <div class="status-white">
                <span class="comment-num" id="comment-num" style="right: -15px;"></span>
85
                <i style="right: -20px;bottom: 2px;"></i>
lore-w authored
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
            </div>
        </li>
    </ul>
    {{# commentPartials}}
    <div class="comments-box" data-id="{{id}}" data-type="{{type}}" data-c="{{c}}" data-twoc="{{twoc}}"></div>
    {{/ commentPartials}}
</div>
<div class="detail-page">
    <span class="detail-prev">
        <a href="{{prevLink}}" title="{{prevTitle}}" onclick="prevOrNextClickEvent();">上一篇</a>
    </span>
    <span class="detail-next">
        <a href="{{nextLink}}" title="{{nextTitle}}" onclick="prevOrNextClickEvent();">下一篇</a>
    </span>
</div>
<div class="recomment">
    <h2>相關推薦</h2>
    <ul></ul>
</div>
106
{{> common/comment_publish_hk320}}
lore-w authored
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
{{> common/comment320}}
{{> common/third_login320}}
{{> default/download_hk320}}
{{> default/share320}}
{{> layout/footer_hk320}}

<script id="related-tpl" type="x-tmpl-mustache">
\{{#relatedPost}}
    <li>
        <a href="\{{link}}" target="_blank" onclick="relatedClickEvent();">
            <div class="content-pic">
                <img src="\{{cover}}" alt="" />
                \{{#isVideo}}
                    <span class="video-icon"></span>
                \{{/isVideo}}
            </div>
            <div class="content-text">
                <h2>\{{title}}</h2>
                <h3>\{{subtitle}}</h3>
            </div>
        </a>
    </li>
\{{/relatedPost}}
130
</script>