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
陈峰
2017-01-18 10:38:41 +0800
Commit
1a6c895148f1abdb96df2c3ec890797a0339c822
2 parents
b132ad5e
b3426b55
Merge branch 'feature/raffle' into 'release/5.4'
适配宽度 使活动页高度,至少为窗口高度 See merge request
!170
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
apps/activity/models/raffle.js
public/js/activity/raffle.page.js
public/scss/activity/raffle/promotion.page.css
apps/activity/models/raffle.js
View file @
1a6c895
...
...
@@ -35,8 +35,6 @@ const activity = (params) => {
let
bgUrl
=
''
;
let
prizesList
=
result
[
0
].
data
.
prizes
;
let
newPrizes
=
[];
let
same
=
false
;
...
...
@@ -56,6 +54,8 @@ const activity = (params) => {
});
// 合并名称相同奖项
let
prizesList
=
result
[
0
].
data
.
prizes
;
prizesList
.
forEach
((
val
,
index
)
=>
{
if
(
newPrizes
==
''
)
{
newPrizes
[
0
]
=
{
...
...
public/js/activity/raffle.page.js
View file @
1a6c895
...
...
@@ -331,6 +331,9 @@ $(window).scroll(function() {
getOrders
();
$
(
function
()
{
// 适配背景图
var
winH
=
$
(
document
).
height
();
$
(
".wx-act-c"
).
height
(
winH
+
"px"
);
if
(
$
(
'.dia-tip'
).
length
>
0
)
{
if
(
window
.
cookie
(
'bindUrl'
)
==
'http://m.yohobuy.com/passport/bind/success?type=bind'
)
{
userId
=
$
(
'.dia-tip'
).
val
();
...
...
public/scss/activity/raffle/promotion.page.css
View file @
1a6c895
...
...
@@ -4,7 +4,7 @@
width
:
100%
;
overflow
:
hidden
;
position
:
relative
;
background-size
:
100%
;
background-size
:
100%
auto
;
background-repeat
:
no-repeat
;
.logo
{
...
...
@@ -95,7 +95,7 @@
.rule-list-c
{
height
:
198px
;
overflow-y
:
scroll
;
padding
:
0
3
0px
;
padding
-left
:
1
0px
;
li
{
color
:
#fff
;
...
...
Please
register
or
login
to post a comment