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
Email Patches
Plain Diff
Browse Files
Authored by
lijing
8 years ago
Commit
9d556905ec75519cd974b1cc29fd780e7af7b729
1 parent
2ad3a19e
店铺入口埋点,添加全球购情况
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
apps/product/models/list.js
apps/product/views/action/newshop/brand.hbs
public/js/product/shop/shop-base.js
apps/product/models/list.js
View file @
9d55690
...
...
@@ -35,7 +35,8 @@ const _processBrandShops = (list) => {
shop_id
:
item
.
shop_id
}),
thumb
:
helpers
.
image
(
item
.
shop_logo
,
75
,
40
),
name
:
item
.
shop_name
name
:
item
.
shop_name
,
shopId
:
item
.
shop_id
});
}
else
if
(
item
.
shop_type
===
'tbl_brand'
)
{
formatDat
.
push
({
...
...
@@ -43,7 +44,8 @@ const _processBrandShops = (list) => {
brand
:
item
.
global_brand_id
}),
thumb
:
helpers
.
image
(
item
.
brand_ico
,
75
,
40
),
name
:
item
.
brand_name
name
:
item
.
brand_name
,
brandId
:
item
.
global_brand_id
});
}
});
...
...
apps/product/views/action/newshop/brand.hbs
View file @
9d55690
...
...
@@ -13,10 +13,10 @@
<ul
class=
"search-associate"
></ul>
{{/
search
}}
{{#if
brandWay
}}
<div
class=
"brand-way"
data-shopid=
"
{{
brandWay
/
shopId
}}
"
data-brandid=
"
{{
brandWay
/
brandId
}}
"
>
<div
class=
"brand-way"
>
<div
class=
"brand-enter"
>
{{#
brandWay
}}
<a
href=
{{
url
}}
>
<a
href=
{{
url
}}
data-shopid="
{{
shopId
}}
"
data-brandid=
"
{{
brandId
}}
"
>
<img
class=
"brand-thumb"
src=
{{
image2
thumb
q
=
60
}}
>
<span
class=
"brand-name"
>
{{
name
}}
</span>
<span
class=
"entry"
>
...
...
public/js/product/shop/shop-base.js
View file @
9d55690
...
...
@@ -839,8 +839,8 @@ $('.brand-way a').on('click', function() {
window
.
_yas
.
sendCustomInfo
({
op
:
'YB_BRAND_SHOP_C'
,
param
:
JSON
.
stringify
({
BRAND_ID
:
$
(
'.brand-way'
).
data
(
'brandid'
),
SHOP_ID
:
$
(
'.brand-way'
).
data
(
'shopid'
),
BRAND_ID
:
$
(
'.brand-enter a'
).
data
(
'brandid'
),
SHOP_ID
:
$
(
'.brand-enter a'
).
data
(
'shopid'
),
POS_ID
:
101
})
},
true
);
...
...
Please
register
or
login
to post a comment