index.html
13.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
56
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" type="text/css" href="__TMPL__/public/assets/css/swiper-3.4.2.min.css" />
<link rel="stylesheet" type="text/css" href="__TMPL__/public/assets/css/base.css" />
<link rel="stylesheet" type="text/css" href="__TMPL__/public/assets/css/audio.css" />
<link rel="stylesheet" type="text/css" href="__TMPL__/public/assets/css/index.css" />
<title>星域秀场</title>
<style>
.fourth_video {
width: 100%;
height: 3.4rem;
position: relative;
}
.xiucImg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.xiucImg img {
width: 100%;
height: 100%;
}
.swiper-containerHua {
overflow: hidden;
}
.swiper-containerHua ul li {
height: 3.78rem;
}
.swiper-containerHua ul li a {
height: 100%;
}
.swiper-containerHua ul li img {
height: 100%;
}
.fourth_log_top {
height: 3.34rem;
}
</style>
</head>
<body>
<include file="public@header" />
<!-- 视频 -->
<div class="fourth_video">
<div class="fourth_video_center">
<notempty name="res_xqyy">
<div class="video_bg" style="background-color:black;">
<video src="{:cmf_get_file_download_url($res_xqyy.video)}" id="video" width="100%" style="height: 3.4rem;" autoplay="autoplay" controls controlslist="nodownload"></video>
<!--<video src="/portal/index/getVideoById?id={$res_xqyy.id}" id="video" width="100%" style="height: 3.4rem;" autoplay="autoplay" controls controlslist="nodownload"></video>-->
</div>
</notempty>
</div>
</div>
<!-- 明星访谈 -->
<div class="first_scene">
<div class="first_scene_contant" id="star_interview">
<div class="first_scene_img">
<div class="first_scene_top_img">
<img src="__TMPL__/public/assets/images/cicon_38@2x.png" alt="" />
</div>
<div class="first_scene_top_ch">明星<span>访谈</span>
</div>
<div class="first_scene_top_en">
Star Interview
</div>
</div>
</div>
</div>
<!-- 胡歌 -->
<div class="fourth_huge_star">
<div class="userimg">
<img src="{:cmf_get_image_url($res_mxft.avatar)}" alt="" />
</div>
<div class="useraccount tip left star_introduce">
<a href="/portal/region/getStarDetail?id={$res_mxft.id}">
<div class="useraccount_top">
<div class="useraccount_name one-txt-cut">{$res_mxft.full_name}</div>
<div class="useraccount_career">
{$res_mxft.position}<span>{$res_mxft.trade}</span>
</div>
</div>
<div class="useraccount_intro txt-cut" style="-webkit-line-clamp: 3;">
{$res_mxft.post_excerpt}
</div>
</a>
</div>
</div>
<div class="video_bottom">
<a href="/portal/region/getMoreStar">
<div class="video_bottom_contant">
more+
</div>
</a>
</div>
<!-- 星球故事 -->
<div class="first_scene">
<div class="first_scene_contant" id="story">
<div class="first_scene_img">
<div class="first_scene_top_img">
<img src="__TMPL__/public/assets/images/cicon_39@2x.png" alt="" />
</div>
<div class="first_scene_top_ch">星球<span>故事</span></div>
<div class="first_scene_top_en">
Planet Story
</div>
</div>
</div>
</div>
<div class="fourth_audio">
<div class="index_eighteenth_top">
<volist name="res_xqgs" id="vo" offset="0" length="1">
<a href="/portal/star/getStoryDetail?id={$vo.id}">
<div class="fourth_audio_top_one">
<div class="fourth_audio_to_left">
<img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
</div>
<div class="fourth_audio_to_right">
{$vo.excerpt}
</div>
</div>
<div class="index_eighteenth_top_three">
<notempty name="vo.audio">
<audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio>
<else/>
<audio id="audio" src="__TMPL__/public/assets/images/清平调.mp3"></audio>
</notempty>
</div>
</a>
</volist>
</div>
</div>
<div class="video_bottom">
<a href="/portal/region/getMoreStory">
<div class="video_bottom_contant">
more+
</div>
</a>
</div>
<!-- 星球画廊 -->
<div class="first_scene">
<div class="first_scene_contant" id="gallery">
<div class="first_scene_img">
<div class="first_scene_top_img">
<img src="__TMPL__/public/assets/images/cicon_40@2x.png" alt="" />
</div>
<div class="first_scene_top_ch">星球<span>画廊</span></div>
<div class="first_scene_top_en">
Star Gallery
</div>
</div>
</div>
</div>
<div class="gallery">
<!-- 图片 -->
<div class="star_gall_img swiper-container2" style="height:4rem;">
<!-- 轮播图 -->
<ul class="swiper-wrapper">
<volist name="res_xyhl" id="vo">
<li class="swiper-slide">
<a href="/portal/region/getGalleryDetail?id={$vo.id}">
<!-- <img style="width:100%;height: 3.74rem;" src="__TMPL__/public/assets/images/cicon_38@2x.png" alt="" /> -->
<img style="width:100%;height: 3.74rem;" src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
</a>
</li>
</volist>
</ul>
</div>
</div>
<div class="video_bottom">
<a href="/portal/region/getMoreGallery">
<div class="video_bottom_contant">
more+
</div>
</a>
</div>
<!-- 独角快报 -->
<div class="first_scene">
<div class="first_scene_contant" id="news">
<div class="first_scene_img">
<div class="first_scene_top_img">
<img src="__TMPL__/public/assets/images/cicon_41@2x.png" alt="" />
</div>
<div class="first_scene_top_ch">独角<span>快报</span></div>
<div class="first_scene_top_en">Planet Express</div>
</div>
</div>
</div>
<div class="fourth_bulletin">
<volist name="res_djkb" id="vo">
<a href="/portal/region/getNewsDetail?id={$vo.id}">
<div class="fourth_bulletin_contant">
<div class="fourth_bulletin_left">
<img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
</div>
<div class="fourth_bulletin_right">
<div class="fourth_bulletin_one txt-cut" style="-webkit-line-clamp: 2;">
{$vo.post_title}
</div>
<div class="fourth_bulletin_two">{$vo.create_time|date="Y-m-d",###}</div>
</div>
</div>
</a>
</volist>
</div>
<div class="video_bottom">
<a href="/portal/region/getMoreNews">
<div class="video_bottom_contant">
more+
</div>
</a>
</div>
<!-- 独角日志 -->
<div class="first_scene">
<div class="first_scene_contant" id="note">
<div class="first_scene_img">
<div class="first_scene_top_img">
<img src="__TMPL__/public/assets/images/cicon_45@2x.png" alt="" />
</div>
<div class="first_scene_top_ch">独角<span>日志</span></div>
<div class="first_scene_top_en">Neo Blog</div>
</div>
</div>
</div>
<div class="gallery" id="fourth_logs">
<!-- 图片 -->
<div class="star_gall_img swiper-container_one">
<!-- 轮播图 -->
<ul class="swiper-wrapper">
<volist name="res_djrz" id="vo">
<li class="swiper-slide">
<a href="/portal/region/getNoteDetail?id={$vo.id}">
<div class="fourth_log">
<div class="fourth_log_top">
<img src="{:cmf_get_image_url($vo.index_thumbnail)}" alt="" />
</div>
<div class="fourth_log_bottom" style="height:4.04rem;">
<div class="fourth_log_one txt-cut" style="-webkit-line-clamp: 2;">
{$vo.post_title}
</div>
<div class="fourth_log_two txt-cut" style="-webkit-line-clamp: 3;">
{$vo.post_excerpt}
</div>
<div class="fourth_log_three">
<img src="{:cmf_get_image_url($vo.avatar)}" alt="" />
</div>
</div>
</div>
</a>
</li>
</volist>
</ul>
</div>
</div>
<div class="video_bottom">
<a href="/portal/region/getMoreNote">
<div class="video_bottom_contant">
more+
</div>
</a>
</div>
<!-- 公益未来 -->
<div class="first_scene">
<div class="first_scene_contant" id="future">
<div class="first_scene_img">
<div class="first_scene_top_img">
<img src="__TMPL__/public/assets/images/cicon_44@2x.png" alt="" />
</div>
<div class="first_scene_top_ch">公益<span>未来</span></div>
<div class="first_scene_top_en">Great dreams & Education</div>
</div>
</div>
</div>
<div class="gallery " id="fourth_logs">
<!-- 图片 -->
<div class="star_gall_img swiper-container">
<!-- 轮播图 -->
<ul class="swiper-wrapper">
<volist name="res_tqwl" id="vo">
<li class="swiper-slide">
<a href="/portal/region/getFutureDetail?id={$vo.id}">
<div class="fourth_log">
<div class="fourth_log_top">
<img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
</div>
<div class="fourth_log_bottom">
<div class="fourth_log_one">
{$vo.post_title}
</div>
<div class="fourth_log_two txt-cut" style="-webkit-line-clamp: 2;">
{$vo.post_excerpt}
</div>
</div>
</div>
</a>
</li>
</volist>
</ul>
</div>
</div>
<div class="video_bottom">
<a href="/portal/region/getMoreFuture">
<div class="video_bottom_contant">
more+
</div>
</a>
</div>
<!--底部-->
<include file="public@footer" />
</body>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script src="__TMPL__/public/assets/js/base.js"></script>
<script src="__TMPL__/public/assets/js/swiper.min.js"></script>
<script src="__TMPL__/public/assets/js/k-audio.js"></script>
<script src="__TMPL__/public/assets/js/public.js"></script>
<script>
$('.navImg1 img').click(function() {
if ($(this).attr('src') == "__TMPL__/public/assets/images/xx.png") {
$('.video_bg').show()
} else {
$('.video_bg').hide()
}
});
//音频
var audios = document.getElementsByTagName("audio");
for (var i = 0; i < audios.length; i++) {
var a = new kac(
audios[i],
800,
30,
"https://raw.githubusercontent.com/KIPI-C/k-audio.js/master/22.lrc",
true
);
a.style("#E1E1E6");
}
// 星域秀场视频
// swiper
var swiper = new Swiper(".swiper-container2", {
slidesPerView: 2.4,
paginationClickable: true,
spaceBetween: 10,
freeMode: true
});
var swiper = new Swiper(".swiper-container", {
slidesPerView: 1.16,
paginationClickable: true,
spaceBetween: 10,
freeMode: true
});
var swiper = new Swiper(".swiper-container_one", {
slidesPerView: 1.2,
paginationClickable: true,
spaceBetween: 10,
freeMode: true
});
</script>
</html>