Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
QC-L
6 years ago
Commit
00364e2b9bde87a95e1ce2758758e712154864ef
2 parents
1515a946
78d3f1df
Merge branch 'release/6.9.2' into feature/group-home-correct
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
apps/activity/models/yoluck-service.js
apps/activity/views/partial/feature/swiper-product.hbs
package.json
public/js/common.js
apps/activity/models/yoluck-service.js
View file @
00364e2
...
...
@@ -403,7 +403,7 @@ class YoLuckService extends global.yoho.BaseModel {
async
getDetailBanner
()
{
try
{
const
result
=
await
this
.
getResourceCode
({
contentCode
:
'
ccc32dbedf164a52b4efa34383878860
'
contentCode
:
'
60a3d9bf6e3724c91f39ef5ff9f55d55
'
});
if
(
!
result
.
width
)
{
...
...
@@ -422,7 +422,7 @@ class YoLuckService extends global.yoho.BaseModel {
async
getBottomBanner
()
{
try
{
const
result
=
await
this
.
getResourceCode
({
contentCode
:
'
5a2203f5656fbc9788bd8af70f2823d3
'
contentCode
:
'
7699904c4a2377bb970e2941e0de14d9
'
});
if
(
!
result
.
width
)
{
...
...
apps/activity/views/partial/feature/swiper-product.hbs
View file @
00364e2
...
...
@@ -29,6 +29,12 @@
</div>
{{/
isEqualOr
}}
{{#
isEqualOr
..
/
showPrdName
'1'
}}
<div
class=
"product-name"
>
<span
{{#if
..
/
fontColor
}}
style=
"color:
{{
..
/
fontColor
}}
;"
{{/if}}
>
{{
productname
}}
</span>
</div>
{{/
isEqualOr
}}
{{#if
..
/
brandImg
}}
<img
class=
"brand-img"
src=
"
{{
image2
..
/
brandImg
q
=
85
}}
"
>
{{/if}}
...
...
package.json
View file @
00364e2
{
"name"
:
"yohobuywap-node"
,
"version"
:
"6.9.2-
9
"
,
"version"
:
"6.9.2-
10
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
public/js/common.js
View file @
00364e2
...
...
@@ -334,11 +334,11 @@ $('body').on('touchstart', '.similar-btn', function() {
// 更新union_type
+
(()
=>
{
$
(
'a[href*=
activity
]'
).
each
(
function
()
{
$
(
'a[href*=
"activity.yoho.cn"
]'
).
each
(
function
()
{
const
$el
=
$
(
this
);
const
href
=
$el
.
attr
(
'href'
);
if
(
href
.
indexOf
(
'union_type'
)
<
0
)
{
if
(
href
.
indexOf
(
'union_type'
)
<
0
&&
cookie
(
'unionTypeYas'
)
)
{
const
sps
=
href
.
split
(
'?'
);
$el
.
attr
(
'href'
,
`
$
{
sps
[
0
]}?
union_type
=
$
{
cookie
(
'unionTypeYas'
)}
&
$
{
sps
[
1
]}
`
);
...
...
Please
register
or
login
to post a comment