切换导航条
此项目
正在载入...
登录
景龙
/
xingqiu
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
zhangwei
6 years ago
提交
e4fc039d0d345d19e54756391bbc5eb6c86ebd3c
1 个父辈
ce25603f
1 个管道 的构建
通过
耗费 1 秒
1
变更
10
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
10 个修改的文件
包含
344 行增加
和
345 行删除
public/themes/simpleboot3_mobile/portal/index/index.html
public/themes/simpleboot3_mobile/portal/region/get_more_news.html
public/themes/simpleboot3_mobile/portal/region/get_more_star.html
public/themes/simpleboot3_mobile/portal/region/get_more_story.html
public/themes/simpleboot3_mobile/public/assets/css/happy.css
public/themes/simpleboot3_mobile/public/assets/css/header.css
public/themes/simpleboot3_mobile/public/assets/css/index.css
public/themes/simpleboot3_mobile/public/assets/js/base.js
public/themes/simpleboot3_mobile/public/assets/js/public.js
public/themes/simpleboot3_mobile/public/header.html
public/themes/simpleboot3_mobile/portal/index/index.html
查看文件 @
e4fc039
...
...
@@ -40,10 +40,6 @@
.indeX_Hl
img
{
height
:
100%
;
}
.swiper-container4
.swiper-wrapper
{
transition-duration
:
1.5s
!important
;
}
</style>
</head>
...
...
@@ -612,6 +608,14 @@
<img
onclick=
"bofang()"
src=
"__TMPL__/public/assets/images/aicon_30.png"
alt=
""
/>
</div>
</div>
<!-- 更多 -->
<div
class=
"video_bottom"
>
<a
href=
"/portal/region/getMoreVideo"
>
<div
class=
"video_bottom_contant"
>
more+
</div>
</a>
</div>
<!-- 胡歌 -->
<notempty
name=
"res_mxft"
>
<a
href=
"/portal/region/getStarDetail?id={$res_mxft.id}"
>
...
...
public/themes/simpleboot3_mobile/portal/region/get_more_news.html
查看文件 @
e4fc039
...
...
@@ -14,7 +14,7 @@
</head>
<body>
<include
file=
"public@header"
/>
<include
file=
"public@header"
/>
<!-- 独角快报 -->
<div
class=
"first_scene"
>
<div
class=
"first_scene_contant"
>
...
...
@@ -49,8 +49,8 @@
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"1"
length=
"2"
>
<div
class=
"index_fifth_two"
>
<a
href=
"/portal/region/getNewsDetail?id={$vo.id}"
>
<a
href=
"/portal/region/getNewsDetail?id={$vo.id}"
>
<div
class=
"index_fifth_two"
>
<div
class=
"index_fifth_two_left"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
...
...
@@ -62,14 +62,14 @@
{$vo.create_time|date="Y-m-d",###}
</div>
</div>
</a>
</div>
</div>
</a>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"3"
length=
"1"
>
<div
class=
"index_fifth_one index_fifth_second"
>
<a
href=
"/portal/region/getNewsDetail?id={$vo.id}"
>
<a
href=
"/portal/region/getNewsDetail?id={$vo.id}"
>
<div
class=
"index_fifth_one index_fifth_second"
>
<div
class=
"index_fifth_one_img"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
...
...
@@ -81,8 +81,8 @@
{$vo.create_time|date="Y-m-d",###}
</div>
</div>
</a>
</div>
</div>
</a>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"4"
length=
"2"
>
...
...
@@ -109,7 +109,7 @@
</div>
</div>
</div>
<include
file=
"public@footer"
/>
<include
file=
"public@footer"
/>
</body>
<script
src=
"__TMPL__/public/assets/js/base.js"
></script>
<script
src=
"__TMPL__/public/assets/js/jquery-2.1.0.js"
></script>
...
...
public/themes/simpleboot3_mobile/portal/region/get_more_star.html
查看文件 @
e4fc039
...
...
@@ -14,7 +14,7 @@
</head>
<body>
<include
file=
"public@header"
/>
<include
file=
"public@header"
/>
<div
class=
"index_sixth_top"
>
<!-- 明星访谈 -->
<div
class=
"first_scene"
>
...
...
@@ -39,13 +39,13 @@
</div>
<div
class=
"useraccount tip left"
>
<div
class=
"useraccount_top"
>
<div
class=
"useraccount_name"
>
{$vo.full_name}
</div>
<div
class=
"useraccount_career"
>
<div
class=
"useraccount_name one-txt-cut"
>
{$vo.full_name}
</div>
<div
class=
"useraccount_career one-txt-cut"
>
{$vo.position}
<span>
{$vo.trade}
</span>
</div>
</div>
<div
class=
"useraccount_intro txt-cut"
style=
"-webkit-line-clamp: 4;"
>
{$vo.post_excerpt}
{$vo.post_excerpt}
</div>
</div>
</div>
...
...
@@ -78,7 +78,7 @@
</div>
</div>
<include
file=
"public@footer"
/>
<include
file=
"public@footer"
/>
</body>
<script
src=
"__TMPL__/public/assets/js/base.js"
></script>
<script
src=
"__TMPL__/public/assets/js/jquery-2.1.0.js"
></script>
...
...
public/themes/simpleboot3_mobile/portal/region/get_more_story.html
查看文件 @
e4fc039
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html;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"
href=
"__TMPL__/public/assets/css/bootstrap4.0.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__TMPL__/public/assets/css/audio.css"
/>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/happy.css"
/>
<title>
星球故事更多
</title>
</head>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html;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"
href=
"__TMPL__/public/assets/css/bootstrap4.0.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__TMPL__/public/assets/css/audio.css"
/>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/happy.css"
/>
<title>
星球故事更多
</title>
</head>
<body>
<include
file=
"public@header"
/>
<div
class=
"hpaay_storyBox"
>
<!--标题-->
<div
class=
"hpin_main1Title"
>
<img
src=
"__TMPL__/public/assets/images/cicon_23@2x.png"
alt=
""
/>
<h1>
星球
<span>
故事
</span></h1>
<p>
Planet Story
</p>
</div>
<!--内容-->
<div
class=
"hpaay_storyCon"
>
<volist
name=
"res['data']"
id=
"vo"
offset=
"0"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span>
{$vo.create_time|date="Y-m-d",###}
</span>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
<body>
<include
file=
"public@header"
/>
<div
class=
"hpaay_storyBox"
>
<!--标题-->
<div
class=
"hpin_main1Title"
>
<img
src=
"__TMPL__/public/assets/images/cicon_23@2x.png"
alt=
""
/>
<h1>
星球
<span>
故事
</span></h1>
<p>
Planet Story
</p>
</div>
<!--内容-->
<div
class=
"hpaay_storyCon"
>
<volist
name=
"res['data']"
id=
"vo"
offset=
"0"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
</div>
<div
class=
"hpaay_storyLi2"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span></span>
</div>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"1"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
</div>
<div
class=
"hpaay_storyLi2"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span></span>
</div>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"1"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span>
2019-01-09
</span>
</div>
</a>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
<volist
name=
"res['data']"
id=
"vo"
offset=
"2"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
</div>
<div
class=
"hpaay_storyLi2"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span></span>
</div>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"3"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
</div>
<div
class=
"hpaay_storyLi2"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span></span>
</div>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"2"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span>
{$vo.create_time|date="Y-m-d",###}
</span>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
<volist
name=
"res['data']"
id=
"vo"
offset=
"4"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span></span>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"3"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span>
2019-01-09
</span>
</div>
</a>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
<volist
name=
"res['data']"
id=
"vo"
offset=
"5"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span></span>
</div>
</a>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"4"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span>
{$vo.create_time|date="Y-m-d",###}
</span>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
<volist
name=
"res['data']"
id=
"vo"
offset=
"6"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span></span>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"5"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span>
2019-01-09
</span>
</div>
</a>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
<volist
name=
"res['data']"
id=
"vo"
offset=
"7"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span></span>
</div>
</a>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
<volist
name=
"res['data']"
id=
"vo"
offset=
"6"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</a>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span>
{$vo.create_time|date="Y-m-d",###}
</span>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
</div>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
<!--分页-->
<div
class=
"page"
>
<div
class=
"pagination"
>
{$page|default=''}
</div>
</div>
</div>
<include
file=
"public@footer"
/>
<script
src=
"__TMPL__/public/assets/js/base.js"
></script>
<script
src=
"__TMPL__/public/assets/js/jquery-2.1.0.js"
></script>
<script
src=
"__TMPL__/public/assets/js/k-audio.js"
></script>
<script
src=
"__TMPL__/public/assets/js/public.js"
></script>
<script
type=
"text/javascript"
>
//音频
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"
);
}
<volist
name=
"res['data']"
id=
"vo"
offset=
"7"
length=
"1"
>
<div
class=
"hpaay_storyLi"
>
<div
class=
"hpaay_storyLi1"
>
<a
href=
"/portal/star/getStoryDetail?id={$vo.id}"
>
<div
class=
"hpaay_storyLTxt"
>
<h2
class=
"txt-cut"
>
{$vo.excerpt}
</h2>
<span>
2019-01-09
</span>
</div>
</a>
<div
class=
"hpaay_storyLImg"
>
<img
src=
"{:cmf_get_image_url($vo.thumbnail)}"
alt=
""
/>
</div>
</div>
<div
class=
"hpaay_storyLi2"
>
</div>
<div
class=
"hpin_mainCon2"
>
<notempty
name=
"vo.audio"
>
<audio
id=
"audio"
src=
"{:cmf_get_file_download_url($vo.audio)}"
></audio>
<else/>
<audio
id=
"audio"
src=
"http://link.hhtjim.com/163/442869240.mp3"
></audio>
</notempty>
</div>
</div>
</volist>
</div>
<!--分页-->
<div
class=
"page"
>
<div
class=
"pagination"
>
{$page|default=''}
</div>
</div>
</div>
<include
file=
"public@footer"
/>
<script
src=
"__TMPL__/public/assets/js/base.js"
></script>
<script
src=
"__TMPL__/public/assets/js/jquery-2.1.0.js"
></script>
<script
src=
"__TMPL__/public/assets/js/k-audio.js"
></script>
<script
src=
"__TMPL__/public/assets/js/public.js"
></script>
<script
type=
"text/javascript"
>
//音频
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"
);
}
// 获取所有audios
var
audios
=
document
.
getElementsByTagName
(
"audio"
);
// 暂停函数
function
pauseAll
()
{
var
self
=
this
;
[].
forEach
.
call
(
audios
,
function
(
i
)
{
// 将audios中其他的audio全部暂停
i
!==
self
&&
i
.
pause
();
})
}
// 给play事件绑定暂停函数
[].
forEach
.
call
(
audios
,
function
(
i
)
{
i
.
addEventListener
(
"play"
,
pauseAll
.
bind
(
i
));
})
</script>
</body>
// 获取所有audios
var
audios
=
document
.
getElementsByTagName
(
"audio"
);
// 暂停函数
function
pauseAll
()
{
var
self
=
this
;
[].
forEach
.
call
(
audios
,
function
(
i
)
{
// 将audios中其他的audio全部暂停
i
!==
self
&&
i
.
pause
();
})
}
// 给play事件绑定暂停函数
[].
forEach
.
call
(
audios
,
function
(
i
)
{
i
.
addEventListener
(
"play"
,
pauseAll
.
bind
(
i
));
})
</script>
</body>
</html>
\ No newline at end of file
...
...
public/themes/simpleboot3_mobile/public/assets/css/happy.css
查看文件 @
e4fc039
...
...
@@ -668,24 +668,24 @@ body {
.hpaay_storyLi1
{
padding
:
0
0.24rem
;
display
:
flex
;
display
:
-webkit-flex
;
justify-content
:
space-between
;
}
.hpaay_storyLImg
{
width
:
1.86rem
;
height
:
1.86rem
;
width
:
35%
;
margin
:
auto
;
/* height: 1.86rem; */
}
.hpaay_storyLImg
img
{
width
:
100%
;
height
:
100%
;
border-radius
:
50%
;
}
.hpaay_storyLTxt
{
/* .hpaay_storyLTxt {
width: 4.04rem;
}
}
*/
.hpaay_storyLTxt
h2
{
-webkit-line-clamp
:
2
;
...
...
@@ -698,12 +698,13 @@ body {
.hpaay_storyLTxt
span
{
display
:
block
;
margin-top
:
0.2rem
;
/* margin-top: 0.2rem; */
font-size
:
0.26rem
;
color
:
rgba
(
102
,
102
,
102
,
1
);
}
.hpaay_storyLi2
{
text-align
:
center
;
overflow-y
:
scroll
;
height
:
3.06rem
;
padding
:
0
0.24rem
0.2rem
;
...
...
public/themes/simpleboot3_mobile/public/assets/css/header.css
查看文件 @
e4fc039
...
...
@@ -85,6 +85,7 @@
.nav_downImg
img
{
width
:
100%
;
height
:
100%
;
border-radius
:
50%
;
}
.nav_downName
{
...
...
public/themes/simpleboot3_mobile/public/assets/css/index.css
查看文件 @
e4fc039
...
...
@@ -593,7 +593,7 @@ body::-webkit-scrollbar {
/* 明星自述 */
.video_star
{
margin-top
:
0.
32
rem
;
margin-top
:
0.
66
rem
;
display
:
flex
;
display
:
-webkit-flex
;
justify-content
:
flex-start
;
...
...
@@ -632,7 +632,7 @@ body::-webkit-scrollbar {
position
:
relative
;
background-color
:
#fff
;
color
:
rgba
(
60
,
60
,
148
,
1
);
width
:
4.2
rem
;
width
:
5.1
rem
;
/* height: 2.84rem; */
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
0.1rem
;
...
...
@@ -671,7 +671,7 @@ body::-webkit-scrollbar {
}
.useraccount_career
{
width
:
1rem
;
width
:
1
.8
rem
;
margin-left
:
0.32rem
;
font-size
:
0.24rem
;
font-family
:
PingFang-SC-Medium
;
...
...
@@ -1316,10 +1316,9 @@ body::-webkit-scrollbar {
.index_sixth_contant_title
{
width
:
6.86rem
;
/* height: 4.62rem; */
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
0.1rem
;
padding
:
1
rem
0.45rem
0.3rem
0.45rem
;
padding
:
0.9
rem
0.45rem
0.3rem
0.45rem
;
box-sizing
:
border-box
;
display
:
flex
;
justify-content
:
center
;
...
...
@@ -1328,9 +1327,6 @@ body::-webkit-scrollbar {
}
.index_sixth_contant_title_top
{
/* width: 2.06rem; */
/* height: 0.3rem; */
margin-top
:
0.3rem
;
font-size
:
0.32rem
;
font-family
:
PingFang-SC-Heavy
;
font-weight
:
800
;
...
...
@@ -1339,9 +1335,7 @@ body::-webkit-scrollbar {
}
.index_sixth_contant_title_center
{
/* width:2.4rem; */
/* height: 0.24rem; */
margin-top
:
0.24rem
;
margin-top
:
0.16rem
;
font-size
:
0.24rem
;
font-family
:
PingFang-SC-Medium
;
font-weight
:
500
;
...
...
@@ -1350,9 +1344,7 @@ body::-webkit-scrollbar {
}
.index_sixth_contant_title_bottom
{
/* width: 5.96rem; */
/* height: 2.28rem; */
margin-top
:
0.28rem
;
margin-top
:
0.16rem
;
font-size
:
0.26rem
;
font-family
:
PingFang-SC-Medium
;
font-weight
:
500
;
...
...
@@ -1786,6 +1778,7 @@ body::-webkit-scrollbar {
position
:
absolute
;
top
:
1.54rem
;
left
:
3rem
;
background-color
:
white
;
border
:
0.1rem
solid
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
50%
;
}
...
...
public/themes/simpleboot3_mobile/public/assets/js/base.js
查看文件 @
e4fc039
...
...
@@ -28,8 +28,4 @@ window.onload = function() {
}
}
}
// function ajaxFun(url,data) {
//
// }
\ No newline at end of file
}
\ No newline at end of file
...
...
public/themes/simpleboot3_mobile/public/assets/js/public.js
查看文件 @
e4fc039
$
(
function
()
{
var
host
=
'http://'
+
window
.
location
.
host
+
'/themes/simpleboot3_mobile/public/assets'
;
var
host
=
'http://'
+
window
.
location
.
host
+
'/themes/simpleboot3_mobile/public/assets'
;
// 点击左上角
$
(
'.nav_downN9,.nav_drop-down ul a'
).
click
(
function
()
{
$
(
'.nav_down'
).
hide
();
$
(
'.navImg1 img'
).
attr
(
'src'
,
host
+
"/images/cicon_02@2x.png"
)
});
//导航
$
(
'.navImg1 img'
).
click
(
function
()
{
if
(
$
(
this
).
attr
(
'src'
)
==
host
+
"/images/cicon_02@2x.png"
)
{
$
(
this
).
attr
(
'src'
,
host
+
'/images/xx.png'
);
$
(
'.nav_down'
).
slideToggle
();
if
(
$
(
this
).
attr
(
'src'
)
==
host
+
"/images/cicon_02@2x.png"
)
{
$
(
this
).
attr
(
'src'
,
host
+
'/images/xx.png'
);
$
(
'.nav_down'
).
slideDown
();
}
else
{
$
(
this
).
attr
(
'src'
,
host
+
'/images/cicon_02@2x.png'
);
$
(
'.nav_down'
).
slideToggle
();
console
.
log
(
1
)
$
(
this
).
attr
(
'src'
,
host
+
'/images/cicon_02@2x.png'
);
$
(
'.nav_down'
).
slideUp
();
}
});
//二级导航
//二级导航
$
(
'.nav_downN'
).
each
(
function
()
{
$
(
this
).
click
(
function
()
{
if
(
$
(
this
).
children
(
'.nav_downImg2'
).
attr
(
'src'
)
==
host
+
'/images/down.png'
)
{
$
(
this
).
children
(
'.nav_downImg2'
).
attr
(
'src'
,
host
+
'/images/top.png'
);
if
(
$
(
this
).
children
(
'.nav_downImg2'
).
attr
(
'src'
)
==
host
+
'/images/down.png'
)
{
$
(
this
).
children
(
'.nav_downImg2'
).
attr
(
'src'
,
host
+
'/images/top.png'
);
$
(
this
).
next
(
'.nav_drop-down'
).
slideDown
();
}
else
{
$
(
this
).
children
(
'.nav_downImg2'
).
attr
(
'src'
,
host
+
'/images/down.png'
);
$
(
this
).
children
(
'.nav_downImg2'
).
attr
(
'src'
,
host
+
'/images/down.png'
);
$
(
this
).
next
(
'.nav_drop-down'
).
slideUp
();
}
});
...
...
@@ -25,34 +31,34 @@ $(function() {
// 收藏
$
(
'.collections'
).
click
(
function
()
{
if
(
$
(
this
).
children
(
'img'
).
attr
(
'src'
)
==
host
+
'/images/bicon_02.png'
)
{
if
(
$
(
this
).
children
(
'img'
).
attr
(
'src'
)
==
host
+
'/images/bicon_02.png'
)
{
var
login
=
operation
(
'/portal/star/collection'
);
if
(
login
==
0
)
{
if
(
login
==
0
)
{
return
false
;
}
$
(
this
).
children
(
'img'
).
attr
(
'src'
,
host
+
'/images/bicon_15.png'
);
$
(
this
).
children
(
'img'
).
attr
(
'src'
,
host
+
'/images/bicon_15.png'
);
}
else
{
var
login
=
operation
(
'/portal/star/cancelCollection'
);
if
(
login
==
0
)
{
if
(
login
==
0
)
{
return
false
;
}
$
(
this
).
children
(
'img'
).
attr
(
'src'
,
host
+
'/images/bicon_02.png'
);
$
(
this
).
children
(
'img'
).
attr
(
'src'
,
host
+
'/images/bicon_02.png'
);
}
});
//点赞
$
(
'.likes'
).
click
(
function
()
{
if
(
$
(
this
).
children
(
'img'
).
attr
(
'src'
)
==
host
+
'/images/bicon_03.png'
)
{
if
(
$
(
this
).
children
(
'img'
).
attr
(
'src'
)
==
host
+
'/images/bicon_03.png'
)
{
var
login
=
operation
(
'/portal/star/like'
);
if
(
login
==
0
)
{
if
(
login
==
0
)
{
return
false
;
}
$
(
this
).
children
(
'img'
).
attr
(
'src'
,
host
+
'/images/bicon_16.png'
);
$
(
this
).
children
(
'img'
).
attr
(
'src'
,
host
+
'/images/bicon_16.png'
);
}
else
{
var
login
=
operation
(
'/portal/star/cancelLike'
);
if
(
login
==
0
)
{
if
(
login
==
0
)
{
return
false
;
}
$
(
this
).
children
(
'img'
).
attr
(
'src'
,
host
+
'/images/bicon_03.png'
);
$
(
this
).
children
(
'img'
).
attr
(
'src'
,
host
+
'/images/bicon_03.png'
);
}
});
...
...
@@ -95,41 +101,41 @@ $(function() {
window
.
location
.
href
=
"/portal/login/register"
;
});
//个人中心
$
(
'.login_person'
).
click
(
function
(){
$
(
'.login_person'
).
click
(
function
()
{
window
.
location
.
href
=
'/portal/login/info'
;
});
//修改资料页面
$
(
'#editInfo'
).
click
(
function
(){
$
(
'#editInfo'
).
click
(
function
()
{
window
.
location
.
href
=
'/portal/login/editInfo'
;
});
//我的收藏页面
$
(
'#myCollection'
).
click
(
function
(){
$
(
'#myCollection'
).
click
(
function
()
{
window
.
location
.
href
=
'/portal/login/myCollection'
;
});
//跳转链接
$
(
'.nav_drop-down a'
).
click
(
function
(){
$
(
'.nav_down'
).
css
(
'display'
,
'none'
);
$
(
'.nav_drop-down a'
).
click
(
function
()
{
$
(
'.nav_down'
).
css
(
'display'
,
'none'
);
});
//评论
$
(
'#comment'
).
click
(
function
(){
$
(
'#comment'
).
click
(
function
()
{
var
content
=
$
(
'#comment_content'
).
val
();
var
article_id
=
getUrlParam
(
'id'
);
var
url
=
window
.
location
.
pathname
+
window
.
location
.
search
;
var
url
=
window
.
location
.
pathname
+
window
.
location
.
search
;
$
.
ajax
({
type
:
'POST'
,
url
:
"/portal/star/comment"
,
data
:
{
'content'
:
content
,
'article_id'
:
article_id
,
'url'
:
url
'article_id'
:
article_id
,
'url'
:
url
},
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
console
.
log
(
data
);
if
(
data
.
code
==
1
)
{
mask
(
data
.
msg
);
...
...
@@ -141,13 +147,13 @@ $(function() {
});
});
//关于我们
$
(
'#about_us'
).
click
(
function
(){
$
(
'#about_us'
).
click
(
function
()
{
window
.
location
.
href
=
'/portal/index/aboutUs'
;
});
//搜索
$
(
"#keywords"
).
keypress
(
function
(
e
)
{
$
(
"#keywords"
).
keypress
(
function
(
e
)
{
if
(
e
.
which
==
13
)
{
$
(
"#searchForm"
).
submit
();
//处理事件
$
(
"#searchForm"
).
submit
();
//处理事件
}
});
});
...
...
@@ -156,36 +162,36 @@ $(function() {
function
mask
(
msg
)
{
$
(
'.mask'
).
text
(
msg
);
$
(
'.mask'
).
show
();
setTimeout
(
function
(){
setTimeout
(
function
()
{
$
(
'.mask'
).
hide
();
$
(
'.mask'
).
text
(
''
);
},
4000
);
},
4000
);
}
//弹框
function
video_mask
(
msg
)
{
$
(
'.mask'
).
text
(
msg
);
$
(
'.mask'
).
show
();
setTimeout
(
function
(){
setTimeout
(
function
()
{
$
(
'.mask'
).
hide
();
$
(
'.mask'
).
text
(
''
);
},
6000
);
},
6000
);
}
//点赞收藏
function
operation
(
url
){
function
operation
(
url
)
{
var
article_id
=
getUrlParam
(
'id'
);
var
is_login
=
1
;
var
post_url
=
window
.
location
.
pathname
+
window
.
location
.
search
;
var
post_url
=
window
.
location
.
pathname
+
window
.
location
.
search
;
$
.
ajax
({
type
:
'POST'
,
url
:
url
,
data
:
{
'article_id'
:
article_id
,
'post_url'
:
post_url
'article_id'
:
article_id
,
'post_url'
:
post_url
},
dataType
:
'json'
,
async
:
false
,
success
:
function
(
data
)
{
async
:
false
,
success
:
function
(
data
)
{
if
(
data
.
code
==
1
)
{
mask
(
data
.
msg
);
}
else
{
...
...
public/themes/simpleboot3_mobile/public/header.html
查看文件 @
e4fc039
...
...
@@ -29,7 +29,7 @@
</div>
<else/>
<div
class=
"nav_downImg"
>
<img
src=
"__TMPL__/public/assets/
starImg
/aicon_82.png"
alt=
""
/>
<img
src=
"__TMPL__/public/assets/
images
/aicon_82.png"
alt=
""
/>
</div>
</notempty>
...
...
@@ -38,8 +38,8 @@
<else/>
<p
class=
"nav_downName"
></p>
</notempty>
</div>
<else/>
<!-- 登录注册 -->
<div
class=
"nav_downBtn"
>
...
...
@@ -60,7 +60,7 @@
</div>
</div>
<div
class=
"nav_downLi"
>
<div
class=
"nav_downN"
>
<div
class=
"nav_downN
nav_downN9
"
>
<a
href=
"/#star"
>
<p
class=
"nav_downTxt"
>
星球奇境
</p>
</a>
...
...
@@ -78,7 +78,9 @@
<notempty
name=
"vo.child"
>
<ul>
<volist
name=
"vo.child"
id=
"voo"
>
<a
href=
"{$voo.url}"
><li>
{$voo.name}
</li></a>
<a
href=
"{$voo.url}"
>
<li>
{$voo.name}
</li>
</a>
</volist>
</ul>
</notempty>
...
...
请
注册
或
登录
后发表评论