审查视图

public/themes/simpleboot3/portal/region/index.html 12.0 KB
1 2 3 4 5 6 7 8
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>星域秀场</title>
景龙 authored
9 10 11 12 13 14 15
    <link rel="stylesheet" href="__TMPL__/public/assets/js/swiper4/swiper.min.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/show.css">
    <style>
        .slide-image{
            width:260px;
            height:375px;
        }
景龙 authored
16 17 18
        .show_INMain_con5_2 p, .show_INMain_con6_1 p {
            height: 45px;
        }
景龙 authored
19
    </style>
20 21 22 23
</head>

<body>
    <!--头部-->
景龙 authored
24
    <include file="public@header"/>
25 26 27
    <div class="show_index">
        <!-- banner视频 -->
        <div class="show_index_banner">
景龙 authored
28 29 30 31 32 33 34
            <notempty name="res_xqyy">
                <video id="video" autoplay="autoplay" controls width="100%" height="660" src="{:cmf_get_file_download_url($res_xqyy.video)}"></video>
                <else/>
                <video id="video" autoplay="autoplay" controls width="100%" height="660" src="__TMPL__/public/assets/starImg/video.mp4"></video>
            </notempty>
            <!-- poster="__TMPL__/public/assets/starImg/aicon_01.png" -->
            <!-- <img onclick="bofang()" class="show_in_banner2" src="__TMPL__/public/assets/starImg/aicon_30.png" alt=""> -->
35 36 37 38 39 40 41
        </div>

        <!-- main 背景 -->
        <div class="show_InMain">
            <!-- 明星访谈盒子 -->
            <div class="show_InMain_box">
                <!-- 顶部标题 -->
jinglong authored
42
                <div class="show_INMain_tit clearfix" id="star_interview">
43
                    <div class="show_IN1 clearfix">
景龙 authored
44
                        <img src="__TMPL__/public/assets/starImg/aicon_48.png" alt="">
45 46 47 48 49
                        <p>明星<span>访谈</span></p>
                        <h2>Star Interview</h2>
                    </div>
                    <!-- 更多 -->
                    <div class="show_IN2">
景龙 authored
50
                        <a href="/portal/region/getMoreStar"> MORE+ </a>
51 52 53 54
                    </div>
                </div>
                <!-- 内容 -->
                <div class="show_INMain_con clearfix">
景龙 authored
55
                    <a href="/portal/region/getStarDetail?id={$res_mxft.id}">
景龙 authored
56
                        <img class="show_INMain_con1" src="{:cmf_get_image_url($res_mxft.avatar)}" alt="">
57
                        <div class="show_INMain_con2 clearfix">
景龙 authored
58 59 60 61
                            <img class="show_INMain_con3" src="__TMPL__/public/assets/starImg/aicon_32.png" alt="">
                            <h2>{$res_mxft.full_name}</h2>
                            <h3>{$res_mxft.position} {$res_mxft.trade}</h3>
                            <p>{$res_mxft.post_excerpt}</p>
62 63 64 65 66 67 68
                        </div>
                    </a>
                </div>
            </div>
            <!-- 星球故事盒子 -->
            <div class="show_InMain_box show_InMain_box2">
                <!-- 顶部标题 -->
jinglong authored
69
                <div class="show_INMain_tit clearfix" id="story">
70
                    <div class="show_IN1 clearfix">
景龙 authored
71
                        <img src="__TMPL__/public/assets/starImg/aicon_03.png" alt="">
72 73 74 75 76
                        <p>星球<span>故事</span></p>
                        <h2>Planet Story</h2>
                    </div>
                    <!-- 更多 -->
                    <div class="show_IN2">
景龙 authored
77
                        <a href="/portal/region/getMoreStory"> MORE+ </a>
78 79 80 81 82
                    </div>
                </div>
                <!-- 内容 -->
                <div class="show_INMain_con2_2 swiper-container2">
                    <div class="swiper-wrapper">
景龙 authored
83 84
                        <volist name="res_xqgs" id="vo">
                            <div class="swiper-slide">
85 86
                                <div class="show_index_con2Txt clearfix">
                                    <a href="/portal/star/getStoryDetail?id={$vo.id}">
景龙 authored
87 88
                                        <!-- 左侧图片 -->
                                        <img class="show_indexImg1" src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
89 90 91 92
                                    </a>
                                    <!-- 文字 -->
                                    <div class="show_index_con2Txt2">
                                        {$vo.excerpt}
景龙 authored
93
                                    </div>
94 95 96 97 98
                                    <!-- 进度条 -->
                                    <div class="show_index_progress">
                                        <img src="__TMPL__/public/assets/starImg/aicon_15.png" alt="">
                                    </div>
                                </div>
99
                            </div>
景龙 authored
100
                        </volist>
101 102
                    </div>
                    <div class="show_swiper2_btn clearfix">
103 104 105 106 107
                        <div class="show_swiper2_btn22">
                            <div class="swiper-button-prev2"></div>
                            <div class="swiper-pagination">
                            </div>
                            <div class="swiper-button-next2"></div>
108 109

                        </div>
110
111 112 113 114 115 116 117 118
                    </div>

                </div>
            </div>
        </div>
        <!-- 星球画廊盒子 -->
        <div class="show_InMain_box show_InMain_box3">
            <!-- 顶部标题 -->
jinglong authored
119
            <div class="show_INMain_tit clearfix" id="gallery">
120
                <div class="show_IN1 clearfix">
景龙 authored
121
                    <img src="__TMPL__/public/assets/starImg/aicon_50.png" alt="">
122 123 124
                    <p>星球<span>画廊</span></p>
                    <h2>Star Gallery</h2>
                </div>
景龙 authored
125 126
                <!-- 更多 -->
                <div class="show_IN2">
jinglong authored
127
                    <a href="/portal/region/getMoreGallery"> MORE+ </a>
景龙 authored
128
                </div>
129 130 131 132
            </div>
            <!-- 内容 -->
            <div class="show_INMain_con3_3 swiper-container">
                <ul class="swiper-wrapper">
景龙 authored
133 134
                    <volist name="res_xyhl" id="vo">
                        <li class="swiper-slide">
景龙 authored
135
                            <a href="/portal/region/getGalleryDetail?id={$vo.id}">
景龙 authored
136
                            <img class="swiper-slide slide-image" src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
景龙 authored
137
                            </a>
景龙 authored
138 139
                        </li>
                    </volist>
140 141 142 143 144 145 146 147 148 149 150 151 152
                </ul>
                <div class="swiper-button-next">

                </div>
                <div class="swiper-button-prev ">

                </div>
            </div>
        </div>
        <!-- 独角快报 -->
        <div class="show_InMain2">
            <div class="show_InMain_box4">
                <!-- 顶部标题 -->
jinglong authored
153
                <div class="show_INMain_tit clearfix" id="news">
154
                    <div class="show_IN1 clearfix">
景龙 authored
155
                        <img src="__TMPL__/public/assets/starImg/aicon_51.png" alt="" style="margin-top:5px;width: 30px;">
156 157 158 159 160
                        <p>独角<span>快报</span></p>
                        <h2>Planet Express</h2>
                    </div>
                    <!-- 更多 -->
                    <div class="show_IN2">
jinglong authored
161
                        <a href="/portal/region/getMoreNews"> MORE+ </a>
162 163 164 165 166
                    </div>
                </div>
                <!-- 内容 -->
                <div class="show_INMain_con4">
                    <ul>
景龙 authored
167 168
                        <volist name="res_djkb" id="vo">
                            <li class="clearfix">
jinglong authored
169
                                <a href="/portal/region/getNewsDetail?id={$vo.id}">
景龙 authored
170 171 172 173 174 175 176 177 178 179 180
                                    <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
                                    <div class="show_INMain_con4_txt">
                                        <h2>{$vo.post_title}</h2>
                                        <p>
                                            {$vo.post_excerpt}
                                        </p>
                                        <span>{$vo.create_time|date="Y-m-d",###}</span>
                                    </div>
                                </a>
                            </li>
                        </volist>
181 182 183 184 185 186 187
                    </ul>
                </div>
            </div>
        </div>
        <!-- 独角日志 -->
        <div class="show_InMain_box show_InMain_box5">
            <!-- 顶部标题 -->
jinglong authored
188
            <div class="show_INMain_tit clearfix" id="note">
189
                <div class="show_IN1 clearfix">
景龙 authored
190
                    <img src="__TMPL__/public/assets/starImg/aicon_52.png" alt="" style="margin-top:3px;width: 28px;">
191 192 193 194 195 196 197
                    <p>独角<span>日志</span></p>
                    <h2>Neo Blog</h2>
                </div>
            </div>
            <!-- 内容 -->
            <div class="show_INMain_con5">
                <ul class="clearfix">
景龙 authored
198 199
                    <volist name="res_djrz" id="vo">
                        <li>
景龙 authored
200
                            <a href="/portal/region/getNoteDetail?id={$vo.id}">
景龙 authored
201 202 203 204 205 206 207 208 209 210 211 212 213
                                <div class="show_INMain_con5_1">
                                    <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
                                </div>
                                <div class="show_INMain_con5_2">
                                    <h1>{$vo.post_title}</h1>
                                    <p>
                                        {$vo.post_excerpt}
                                    </p>
                                    <img src="{:cmf_get_image_url($vo.avatar)}" alt="">
                                </div>
                            </a>
                        </li>
                    </volist>
214 215 216 217 218 219
                </ul>
            </div>
        </div>
        <!-- 公益未来 -->
        <div class="show_InMain_box show_InMain_box6">
            <!-- 顶部标题 -->
jinglong authored
220
            <div class="show_INMain_tit clearfix" id="future">
221
                <div class="show_IN1 clearfix">
景龙 authored
222
                    <img src="__TMPL__/public/assets/starImg/aicon_53.png" alt="" style="margin-top:5px;width:37px;">
223 224 225 226 227 228 229
                    <p>公益<span>未来</span></p>
                    <h2>Commonweal & Future</h2>
                </div>
            </div>
            <!-- 内容 -->
            <div class="show_INMain_con6">
                <ul class="clearfix">
景龙 authored
230 231
                    <volist name="res_tqwl" id="vo">
                        <li>
景龙 authored
232
                            <a href="/portal/region/getFutureDetail?id={$vo.id}">
景龙 authored
233 234 235 236 237 238 239 240
                                <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
                                <div class="show_INMain_con6_1">
                                    <h1>{$vo.post_title}</h1>
                                    <p>{$vo.post_excerpt}</p>
                                </div>
                            </a>
                        </li>
                    </volist>
241 242 243 244 245
                </ul>
            </div>
        </div>
    </div>
    <!-- 底部 -->
景龙 authored
246 247 248
    <include file="public@footer"/>
    <script src="__TMPL__/public/assets/js/jquery-3.2.1.min.js"></script>
    <script src="__TMPL__/public/assets/js/swiper4/swiper.min.js"></script>
景龙 authored
249
    <script src="__TMPL__/public/assets/js/public.js"></script>
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
    <script>
        // 星球画廊swiper
        var swiper = new Swiper('.swiper-container', {
            slidesPerView: 4,
            spaceBetween: 53,

            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },
        });
        // 星球故事swiper
        var swiper = new Swiper('.swiper-container2', {
            slidesPerView: 1,
            spaceBetween: 30,
            // loop: true,
            pagination: {
                el: '.swiper-pagination',
                clickable: true,
            },
            navigation: {
                nextEl: '.swiper-button-next2',
                prevEl: '.swiper-button-prev2',
            },
        });

        // banner视频
        // var video = document.getElementById("video");
        // function bofang() {
        //     video.play();
        //     $('#video').attr('controls', 'controls')
        //     $('.show_in_banner2').hide();
        // }
    </script>
</body>

</html>