Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
b67c2a09c7a90c5eca2cd13bcecd821237e3123c
1 parent
26123a9e
修改bug
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
res/js/yohood.js
website/view/script/default/indexmobile.php
website/view/script/default/othermobile.php
res/js/yohood.js
View file @
b67c2a0
...
...
@@ -631,13 +631,13 @@ define('yohood', function(require, exports) {
//热门视频
$
.
each
(
data
.
data
.
hotVideo
,
function
(
i
,
v
)
{
isTitleStyle
=
(
v
.
main_title_type
==
1
)
?
1
:
0
;
hotVideo
+=
template
(
v
.
title
,
common
.
getImages
(
v
.
thumb
,
'0230x0230'
,
'blogimg'
,
'1'
),
hotVideo
+=
template
(
tools
.
limitWords
(
v
.
title
,
52
)
,
common
.
getImages
(
v
.
thumb
,
'0230x0230'
,
'blogimg'
,
'1'
),
'/news/detail/id/'
+
v
.
id
,
2
,
isTitleStyle
,
v
.
title
,
''
);
});
//最新视频
$
.
each
(
data
.
data
.
lastVideo
,
function
(
i
,
v
)
{
isTitleStyle
=
(
v
.
main_title_type
==
1
)
?
1
:
0
;
lastVideo
+=
template
(
v
.
title
,
common
.
getImages
(
v
.
thumb
,
'0230x0230'
,
'blogimg'
,
'1'
),
lastVideo
+=
template
(
tools
.
limitWords
(
v
.
title
,
52
)
,
common
.
getImages
(
v
.
thumb
,
'0230x0230'
,
'blogimg'
,
'1'
),
'/news/detail/id/'
+
v
.
id
,
2
,
isTitleStyle
,
v
.
title
,
''
);
});
$
(
".post-list"
).
html
(
recom
);
...
...
website/view/script/default/indexmobile.php
View file @
b67c2a0
...
...
@@ -49,7 +49,7 @@
</a>
</li>
<li>
<a
href=
"
javascript:;
"
>
<a
href=
"
/default/other?callback=/default/index
"
>
<div
class=
"channel-pic recmmend"
></div>
<h2
class=
"channel-name"
>
RECMMEND
</h2>
<p
class=
"channel-name-cn"
>
限量推荐
</p>
...
...
@@ -70,7 +70,7 @@
</a>
</li>
<li>
<a
href=
"
javascript:;
"
>
<a
href=
"
/default/other?callback=/default/index
"
>
<div
class=
"channel-pic ticket iconfont"
></div>
<h2
class=
"channel-name"
>
TICKET
</h2>
<p
class=
"channel-name-cn"
>
购票通道
</p>
...
...
website/view/script/default/othermobile.php
0 → 100644
View file @
b67c2a0
<?php
$this
->
_extends
(
'layout/default_layout_mobile'
);
?>
<?php
$this
->
_block
(
'main'
);
?>
<img
src=
"
<?php
echo
SITE_RES
.
'/images/yohood/comingsoon.jpg'
;
?>
"
style=
"width: 100%"
/>
<?php
$this
->
_endblock
();
?>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment