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
51af015dfeebafba84a0e3ae1ebd8f582b71430d
1 parent
27276ae5
h5的brand-detail页
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
res/js/mobile.js
website/view/script/brand/detailmobile.php
res/js/mobile.js
View file @
51af015
...
...
@@ -127,12 +127,11 @@ define('mobile', function(require, exports) {
qqText
:
'【YOHOOD 2015】'
+
detailTitle
.
text
()
+
' '
+
detailSubtitle
.
text
()
+
'#YOHOOD 2015'
})
};
exports
.
show
=
function
()
{
$
(
".layout-item"
).
bind
(
"
click
"
,
function
()
{
$
(
".layout-item"
).
bind
(
"
tap
"
,
function
()
{
var
imageWidth
=
320
,
imageHeight
=
320
;
console
.
log
(
"test"
);
$
(
this
).
find
(
".image-box .pic-tip"
).
each
(
function
()
{
var
style_top
=
parseInt
(
$
(
this
).
attr
(
"x"
))
/
10000
*
imageHeight
;
var
style_left
=
parseInt
(
$
(
this
).
attr
(
"y"
))
/
10000
*
imageWidth
;
...
...
website/view/script/brand/detailmobile.php
View file @
51af015
<?php
$this
->
_extends
(
'layout/default_layout_mobile'
);
?>
<?php
$this
->
_block
(
'main'
);
?>
<div
class=
"detail-title brand-title"
>
<h2
class=
"title"
>
About
<?php
echo
$this
->
view
->
info
[
'name'
];
?>
/h2>
<h2
class=
"title"
>
About
<?php
echo
$this
->
view
->
info
[
'name'
];
?>
<
/h2>
</div>
<div
class=
"detail-article"
>
<img
src=
"
<?php
echo
Lib_Images
::
getImageUrl
(
$this
->
view
->
info
[
'logo'
],
'0147x0097'
,
'fragmentimg'
);
?>
"
alt=
""
>
...
...
Please
register
or
login
to post a comment