Showing
4 changed files
with
16 additions
and
6 deletions
@@ -122,9 +122,6 @@ exports.inviteReg = (req, res, next) => { | @@ -122,9 +122,6 @@ exports.inviteReg = (req, res, next) => { | ||
122 | 122 | ||
123 | req.ctx(expandModel).promotionData(uid, isApp).then(result => { | 123 | req.ctx(expandModel).promotionData(uid, isApp).then(result => { |
124 | res.render('expand-new/invite-reg', { | 124 | res.render('expand-new/invite-reg', { |
125 | - pageHeader: headerModel.setNav({ | ||
126 | - navTitle: '注册完成' | ||
127 | - }), | ||
128 | isApp: isApp, | 125 | isApp: isApp, |
129 | width750: true, | 126 | width750: true, |
130 | localCss: true, | 127 | localCss: true, |
@@ -4,6 +4,10 @@ require('common'); | @@ -4,6 +4,10 @@ require('common'); | ||
4 | 4 | ||
5 | let tip = require('plugin/tip'); | 5 | let tip = require('plugin/tip'); |
6 | 6 | ||
7 | +$('.invite-reg-page').css('min-height', function() { | ||
8 | + return $(window).height(); | ||
9 | +}); | ||
10 | + | ||
7 | // 埋点 | 11 | // 埋点 |
8 | function point(type, trend) { | 12 | function point(type, trend) { |
9 | let pointJosn = { | 13 | let pointJosn = { |
@@ -33,6 +37,12 @@ $('.set').click(function() { | @@ -33,6 +37,12 @@ $('.set').click(function() { | ||
33 | success: function(result) { | 37 | success: function(result) { |
34 | tip.show(result.message); | 38 | tip.show(result.message); |
35 | point(1, $('.command-textarea').val()); | 39 | point(1, $('.command-textarea').val()); |
40 | + | ||
41 | + if (result.code === 200) { | ||
42 | + setTimeout(function() { | ||
43 | + location.href = window.cookie('refer'); | ||
44 | + }, 500); | ||
45 | + } | ||
36 | } | 46 | } |
37 | }); | 47 | }); |
38 | }); | 48 | }); |
@@ -17,11 +17,13 @@ | @@ -17,11 +17,13 @@ | ||
17 | width: 350px; | 17 | width: 350px; |
18 | line-height: 45px; | 18 | line-height: 45px; |
19 | display: inline-block; | 19 | display: inline-block; |
20 | + position: relative; | ||
21 | + top: -34px; | ||
20 | } | 22 | } |
21 | } | 23 | } |
22 | 24 | ||
23 | .invite-pass { | 25 | .invite-pass { |
24 | - margin: 66px 30px 0; | 26 | + margin: 20px 30px 0; |
25 | width: 692px; | 27 | width: 692px; |
26 | height: 661px; | 28 | height: 661px; |
27 | background-image: resolve("activity/expand-new/invite-state.png"); | 29 | background-image: resolve("activity/expand-new/invite-state.png"); |
@@ -46,7 +48,7 @@ | @@ -46,7 +48,7 @@ | ||
46 | .instructions-title { | 48 | .instructions-title { |
47 | text-align: center; | 49 | text-align: center; |
48 | line-height: 48px; | 50 | line-height: 48px; |
49 | - font-weight: 200; | 51 | + font-weight: 700; |
50 | font-size: 24px; | 52 | font-size: 24px; |
51 | } | 53 | } |
52 | 54 |
-
Please register or login to post a comment