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
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
258ae868e3d67b2b259a43a817fa39f5a38a2705
2 parents
7def7b31
34d4080e
修改detail,不在新页面打开
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
website/config/core/db.test.config.php
website/view/script/brand/detailmobile.php
website/view/script/news/detailmobile.php
website/view/widget/news/listmobile.php
website/config/core/db.test.config.php
View file @
258ae86
[mysql]
yohood.username = yohodb
yohood.password = yohonj_9646_mysql
pre_yohood.username = yohodb
pre_yohood.password = yohonj_9646_mysql
pre_yohood.writers = 10.170.183.158:5510
pre_yohood.readers = 10.170.183.158:5510
...
...
website/view/script/brand/detailmobile.php
View file @
258ae86
...
...
@@ -14,7 +14,7 @@
<ul>
<?php foreach(
$this->view
->news as
$val
):?>
<li>
<a class="
clearfix
" href="
<?
php
echo
url
(
'news/detail'
,
array
(
'id'
=>
$val
[
'id'
]))
?>
"
target="_blank"
>
<a class="
clearfix
" href="
<?
php
echo
url
(
'news/detail'
,
array
(
'id'
=>
$val
[
'id'
]))
?>
">
<div
class=
"image-box"
>
<img
src=
"
<?php
echo
Lib_Images
::
getImageUrl
(
$val
[
'thumb'
],
'source'
,
'fragmentimg'
);
?>
"
alt=
""
>
</div>
...
...
website/view/script/news/detailmobile.php
View file @
258ae86
...
...
@@ -55,7 +55,7 @@
<ul>
<?php
foreach
(
$this
->
view
->
news
as
$news
)
:?>
<
li
>
<
a
class
="
clearfix
" href="
/
news
/
detail
/
id
/<?
php
echo
$news
[
'id'
];
?>
"
target="_blank"
>
<
a
class
="
clearfix
" href="
/
news
/
detail
/
id
/<?
php
echo
$news
[
'id'
];
?>
">
<div
class=
"image-box"
>
<img
src=
"
<?php
echo
Lib_Images
::
getImageUrl
(
$news
[
'thumb'
],
'source'
,
'fragmentimg'
);
?>
"
alt=
""
>
</div>
...
...
website/view/widget/news/listmobile.php
View file @
258ae86
...
...
@@ -21,7 +21,7 @@ else
?>
<div
class=
"layout-item tiled"
>
<div
class=
"image-box"
>
<a
href=
"
<?php
echo
url
(
'news/detail'
,
array
(
'id'
=>
$news
[
'id'
]))
?>
"
title=
"
<?php
echo
$news
[
'title'
];
?>
"
target=
"_blank"
>
<a
href=
"
<?php
echo
url
(
'news/detail'
,
array
(
'id'
=>
$news
[
'id'
]))
?>
"
title=
"
<?php
echo
$news
[
'title'
];
?>
"
>
<img
src=
"
<?php
echo
$thumb
;
?>
"
alt=
""
style=
""
>
<?php
if
(
trim
(
$news
[
'tag'
])
==
'视频'
)
:?>
<
i
class
="
play
-
icon
"></i>
...
...
Please
register
or
login
to post a comment