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
bbd8613127d103f58849f2deb545db1b1435ce48
2 parents
577e09eb
ccf119e6
Merge branch 'feature/expandNew2' into 'release/6.0'
验收问题 See merge request
!784
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
99 additions
and
16 deletions
apps/activity/controllers/expand-new.js
apps/home/views/action/home.hbs
apps/home/views/action/personal-details.hbs
public/js/activity/invite-reg.page.js
public/js/common/set-trend-world.js
public/scss/activity/invite-reg.page.css
public/scss/common/_set-trend-world.css
public/scss/home/_home.css
public/scss/home/_personal-details.css
public/scss/home/tide-command.page.css
apps/activity/controllers/expand-new.js
View file @
bbd8613
...
...
@@ -122,9 +122,6 @@ exports.inviteReg = (req, res, next) => {
req
.
ctx
(
expandModel
).
promotionData
(
uid
,
isApp
).
then
(
result
=>
{
res
.
render
(
'expand-new/invite-reg'
,
{
pageHeader
:
headerModel
.
setNav
({
navTitle
:
'注册完成'
}),
isApp
:
isApp
,
width750
:
true
,
localCss
:
true
,
...
...
apps/home/views/action/home.hbs
View file @
bbd8613
...
...
@@ -180,8 +180,8 @@
{{#
unless
@root
.
wap
.
ucenter
.
removePrefer
}}
{{>
common
/
recommend-for-you
}}
{{/
unless
}}
</div>
{{>
common
/
set-trend-world
}}
{{>
common
/
set-trend-world
}}
</div>
{{>
footer-tab
}}
...
...
apps/home/views/action/personal-details.hbs
View file @
bbd8613
...
...
@@ -23,9 +23,9 @@
</a>
</span>
</li>
<li>
<li
class=
"trend-word"
>
<span>
我的潮流口令
</span>
<span>
<span
class=
"trend-right"
>
<a
href=
"//m.yohobuy.com/home/tide-command"
class=
"command"
>
{{#if
trendWord
}}
{{
trendWord
}}
...
...
public/js/activity/invite-reg.page.js
View file @
bbd8613
...
...
@@ -4,6 +4,10 @@ require('common');
let
tip
=
require
(
'plugin/tip'
);
$
(
'.invite-reg-page'
).
css
(
'min-height'
,
function
()
{
return
$
(
window
).
height
();
});
// 埋点
function
point
(
type
,
trend
)
{
let
pointJosn
=
{
...
...
@@ -33,6 +37,12 @@ $('.set').click(function() {
success
:
function
(
result
)
{
tip
.
show
(
result
.
message
);
point
(
1
,
$
(
'.command-textarea'
).
val
());
if
(
result
.
code
===
200
)
{
setTimeout
(
function
()
{
location
.
href
=
window
.
cookie
(
'refer'
);
},
500
);
}
}
});
});
...
...
public/js/common/set-trend-world.js
View file @
bbd8613
...
...
@@ -82,3 +82,8 @@ $('.withhold').click(function() {
point
(
2
);
$
(
'.set-trend-world'
).
hide
();
});
$
(
'.set-trend-world'
).
on
(
'mousewheel touchmove'
,
function
(
e
)
{
e
.
preventDefault
();
return
false
;
});
...
...
public/scss/activity/invite-reg.page.css
View file @
bbd8613
...
...
@@ -17,11 +17,13 @@
width
:
350px
;
line-height
:
45px
;
display
:
inline-block
;
position
:
relative
;
top
:
-34px
;
}
}
.invite-pass
{
margin
:
66
px
30px
0
;
margin
:
20
px
30px
0
;
width
:
692px
;
height
:
661px
;
background-image
:
resolve
(
"activity/expand-new/invite-state.png"
);
...
...
@@ -46,7 +48,7 @@
.instructions-title
{
text-align
:
center
;
line-height
:
48px
;
font-weight
:
2
00
;
font-weight
:
7
00
;
font-size
:
24px
;
}
...
...
public/scss/common/_set-trend-world.css
View file @
bbd8613
.set-trend-world
{
position
:
fixed
;
top
:
0
;
width
:
100%
;
height
:
100%
;
z-index
:
5
;
.back
{
width
:
100%
;
height
:
100%
;
...
...
@@ -9,7 +15,6 @@
bottom
:
0
;
background
:
#000
;
opacity
:
0.65
;
z-index
:
5
;
}
.set-content
{
...
...
@@ -24,7 +29,6 @@
border-bottom-right-radius
:
10px
;
border-bottom-left-radius
:
10px
;
padding-bottom
:
35px
;
z-index
:
5
;
.banner
{
width
:
100%
;
...
...
@@ -68,11 +72,12 @@
text-align
:
left
;
width
:
430px
;
margin-left
:
55px
;
line-height
:
50
px
;
line-height
:
36
px
;
margin-bottom
:
20px
;
height
:
0
;
overflow
:
hidden
;
font-size
:
22px
;
font-size
:
21px
;
font-weight
:
700
;
.hide-explain
{
display
:
block
;
...
...
@@ -136,3 +141,48 @@
padding
:
64px
60px
40px
;
}
}
.my-page
{
.set-content
{
width
:
460px
;
margin-top
:
134px
;
margin-left
:
-224px
;
padding-bottom
:
29px
;
.banner
{
height
:
204px
;
}
.title
{
height
:
43px
;
width
:
284px
;
margin
:
17px
85px
;
}
.trend-world-area
{
width
:
422px
;
height
:
55px
;
margin-left
:
18px
;
line-height
:
55px
;
}
.explain-main
{
width
:
400px
;
margin-left
:
30px
;
line-height
:
34px
;
margin-bottom
:
17px
;
.hide-explain
{
width
:
18px
;
height
:
22px
;
}
}
.btn
{
height
:
58px
;
width
:
204px
;
margin-left
:
17px
;
line-height
:
58px
;
}
}
}
...
...
public/scss/home/_home.css
View file @
bbd8613
...
...
@@ -103,10 +103,15 @@
line-height
:
46px
;
overflow
:
hidden
;
.trend-code
{
display
:
inline-block
;
vertical-align
:
top
;
}
.code-set
{
margin-left
:
8px
;
width
:
36px
;
height
:
32px
;
width
:
37px
;
height
:
52px
;
background
:
url("/home/index/code-set.png")
;
background-size
:
100%
;
background-repeat
:
no-repeat
;
...
...
public/scss/home/_personal-details.css
View file @
bbd8613
...
...
@@ -115,4 +115,17 @@
}
}
}
.trend-word
{
position
:
relative
;
.trend-right
{
padding-right
:
28px
;
}
.iconfont
{
position
:
absolute
;
right
:
50px
;
}
}
}
...
...
public/scss/home/tide-command.page.css
View file @
bbd8613
...
...
@@ -52,7 +52,8 @@
.more
{
color
:
#4a90e2
;
display
:
block
;
padding-bottom
:
20px
;
padding-bottom
:
8px
;
line-height
:
50px
;
}
}
...
...
Please
register
or
login
to post a comment