Authored by 毕凯

Merge branch 'feature/expandNew2' into 'release/6.0'

验收问题



See merge request !784
... ... @@ -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,
... ...
... ... @@ -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}}
... ...
... ... @@ -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}}
... ...
... ... @@ -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);
}
}
});
});
... ...
... ... @@ -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;
});
... ...
... ... @@ -17,11 +17,13 @@
width: 350px;
line-height: 45px;
display: inline-block;
position: relative;
top: -34px;
}
}
.invite-pass {
margin: 66px 30px 0;
margin: 20px 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: 200;
font-weight: 700;
font-size: 24px;
}
... ...
.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: 50px;
line-height: 36px;
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;
}
}
}
... ...
... ... @@ -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;
... ...
... ... @@ -115,4 +115,17 @@
}
}
}
.trend-word {
position: relative;
.trend-right {
padding-right: 28px;
}
.iconfont {
position: absolute;
right: 50px;
}
}
}
... ...
... ... @@ -52,7 +52,8 @@
.more {
color: #4a90e2;
display: block;
padding-bottom: 20px;
padding-bottom: 8px;
line-height: 50px;
}
}
... ...