Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
htoooth
2016-12-29 20:44:53 +0800
Commit
5f2781c37f478f924655c64a8efa1d764ae34dfa
2 parents
5e95dcac
d00ce4d2
Merge remote-tracking branch 'origin/feature/new-product-detail' into feature/new-product-detail
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
apps/product/views/action/product/detail.hbs
public/js/product/detail.page.js
apps/product/views/action/product/detail.hbs
View file @
5f2781c
...
...
@@ -41,10 +41,8 @@
{{!-- 因接口原因,暂存size的title的值 --}}
<div
id=
"size-title-json"
style=
"display:none;"
>
{{
sizeTitleJson
}}
</div>
<div
id=
"package"
class=
"package-box clearfix"
></div>
<div
class=
"total-content"
>
<div
id=
"package"
class=
"package-box hide clearfix"
></div>
<div
class=
"other-infos"
>
<div
class=
"description-material info-block getnav"
id=
"goodsMessage"
data-id=
"0"
>
<p
class=
"block-title"
>
...
...
public/js/product/detail.page.js
View file @
5f2781c
...
...
@@ -1534,6 +1534,7 @@ window.fetchRecommend = window.once(loadRecommend);
// 加载套餐默认信息
$
(
function
()
{
if
(
!
isPackageProduct
)
{
$
(
'#package'
).
addClass
(
'hide'
);
return
;
}
...
...
@@ -1549,7 +1550,6 @@ $(function() {
pkgData
=
result
.
data
;
$
(
'#package'
).
html
(
packageTpl
(
pkgData
));
$
(
'#package'
).
removeClass
(
'hide'
);
// 详情页套餐区
$
(
'.good-info .good-detail-text > a'
).
dotdotdot
({
...
...
Please
register
or
login
to post a comment