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
郭成尧
8 years ago
Commit
86249114826b307af6bed65b9cc33f4861c24ac0
2 parents
090f580e
e958d70f
Merge branch 'hotfix/detailInfo' of git.yoho.cn:fe/yohobuywap-node into hotfix/detailInfo
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
apps/3party/controllers/sitemap.js
public/js/activity/share-buy.page.js
public/scss/activity/share-buy/_share-buy.css
apps/3party/controllers/sitemap.js
View file @
8624911
...
...
@@ -40,7 +40,7 @@ const itemXmlData = () => {// eslint-disable-line
return
api
.
get
(
''
,
{
method
:
'web.product.bdPromotion'
},
{
cache
:
86400
}).
then
(
res
=>
{
_
.
forEach
(
_
.
get
(
res
,
'data'
,
''
),
val
=>
{
urls
.
push
({
url
:
'https:'
+
helpers
.
urlFormat
(
`
/
product
/
$
{
val
.
i
d
}.
html
`
,
''
,
null
),
url
:
'https:'
+
helpers
.
urlFormat
(
`
/
product
/
$
{
val
.
erpProductI
d
}.
html
`
,
''
,
null
),
changefreq
:
'daily'
,
priority
:
0.3
});
...
...
public/js/activity/share-buy.page.js
View file @
8624911
...
...
@@ -19,10 +19,6 @@ let shareData = {
require
(
'common'
);
require
(
'common/share'
)(
shareData
);
if
(
$
(
'.share-buy-page'
).
height
()
<
$
(
window
).
height
())
{
$
(
'.share-buy-page'
).
height
(
$
(
window
).
height
());
}
if
(
yoho
.
isApp
)
{
if
(
window
.
queryString
.
act_id
)
{
shareData
.
link
=
'http://m.yohobuy.com/activity/share-buy?act_id='
+
window
.
queryString
.
act_id
;
...
...
public/scss/activity/share-buy/_share-buy.css
View file @
8624911
.share-buy-page
{
width
:
100%
;
body
{
height
:
100%
;
}
.main-wrap
{
height
:
100%
;
background-image
:
resolve
(
"activity/share-buy/back.jpg"
);
background-size
:
100%
;
}
.share-buy-page
{
width
:
100%
;
height
:
100%
;
padding-bottom
:
145px
;
.share-title
{
...
...
Please
register
or
login
to post a comment