Showing
5 changed files
with
23 additions
and
7 deletions
@@ -5,8 +5,9 @@ | @@ -5,8 +5,9 @@ | ||
5 | <span class="tip-ward"></span> | 5 | <span class="tip-ward"></span> |
6 | </div> | 6 | </div> |
7 | <div class="invite-pass"> | 7 | <div class="invite-pass"> |
8 | + <span class="instructions-title">设置你专属身份口令/传播你独一无二的潮流态度/<br>获取你最有赢得的购物红包</span> | ||
8 | <div class="instructions"> | 9 | <div class="instructions"> |
9 | - {{{trendWordSetReason}}} | 10 | + {{{registerSuccessPageDesc}}} |
10 | </div> | 11 | </div> |
11 | <textarea name="" class="command-textarea" placeholder="请设置15位字符以内的潮流口令"></textarea> | 12 | <textarea name="" class="command-textarea" placeholder="请设置15位字符以内的潮流口令"></textarea> |
12 | <span class="guang btn">先逛逛</span> | 13 | <span class="guang btn">先逛逛</span> |
@@ -436,7 +436,7 @@ let setPassword = (req, res, next) => { | @@ -436,7 +436,7 @@ let setPassword = (req, res, next) => { | ||
436 | data: { | 436 | data: { |
437 | session: refer, | 437 | session: refer, |
438 | href: '//m.yohobuy.com/activity/invite-reg', | 438 | href: '//m.yohobuy.com/activity/invite-reg', |
439 | - msqDelivery: _.get(resultCopy, 'data.msqDelivery', '') | 439 | + msgDelivery: _.get(resultCopy, 'data.msgDelivery', '') |
440 | } | 440 | } |
441 | }); | 441 | }); |
442 | }).catch(next); | 442 | }).catch(next); |
@@ -23,7 +23,7 @@ $('.guang').click(function() { | @@ -23,7 +23,7 @@ $('.guang').click(function() { | ||
23 | }); | 23 | }); |
24 | 24 | ||
25 | (function() { | 25 | (function() { |
26 | - if (window.cookie('msqDelivery')) { | ||
27 | - $('.tip-ward').html(window.cookie('msqDelivery')); | 26 | + if (window.cookie('msgDelivery')) { |
27 | + $('.tip-ward').html(window.cookie('msgDelivery')); | ||
28 | } | 28 | } |
29 | }()); | 29 | }()); |
@@ -83,8 +83,8 @@ function setPassword() { | @@ -83,8 +83,8 @@ function setPassword() { | ||
83 | if (data.code === 200) { | 83 | if (data.code === 200) { |
84 | showErrTip('注册成功'); | 84 | showErrTip('注册成功'); |
85 | 85 | ||
86 | - window.setCookie('refer', data.session); | ||
87 | - window.setCookie('msqDelivery', data.msqDelivery, {expires: 1}); | 86 | + window.setCookie('refer', res.session); |
87 | + window.setCookie('msgDelivery', res.msgDelivery, {expires: 1}); | ||
88 | 88 | ||
89 | // 统计代码:用于统计从哪个渠道注册成功的 | 89 | // 统计代码:用于统计从哪个渠道注册成功的 |
90 | if (window._yas && window._yas.sendCustomInfo) { | 90 | if (window._yas && window._yas.sendCustomInfo) { |
@@ -97,6 +97,7 @@ function setPassword() { | @@ -97,6 +97,7 @@ function setPassword() { | ||
97 | }) | 97 | }) |
98 | }, true); | 98 | }, true); |
99 | } | 99 | } |
100 | + | ||
100 | setTimeout(function() { | 101 | setTimeout(function() { |
101 | location.href = res.href; | 102 | location.href = res.href; |
102 | }, 1500); | 103 | }, 1500); |
@@ -27,13 +27,27 @@ | @@ -27,13 +27,27 @@ | ||
27 | background-image: resolve("activity/expand-new/invite-state.png"); | 27 | background-image: resolve("activity/expand-new/invite-state.png"); |
28 | background-size: 100%; | 28 | background-size: 100%; |
29 | background-repeat: no-repeat; | 29 | background-repeat: no-repeat; |
30 | - padding: 174px 65px 0 70px; | 30 | + padding: 160px 65px 0 70px; |
31 | + text-align: center; | ||
31 | 32 | ||
32 | .instructions { | 33 | .instructions { |
33 | line-height: 42px; | 34 | line-height: 42px; |
34 | margin-bottom: 30px; | 35 | margin-bottom: 30px; |
35 | font-size: 24px; | 36 | font-size: 24px; |
36 | font-weight: 700; | 37 | font-weight: 700; |
38 | + margin-left: 32px; | ||
39 | + | ||
40 | + li { | ||
41 | + text-align: left; | ||
42 | + list-style: disc; | ||
43 | + } | ||
44 | + } | ||
45 | + | ||
46 | + .instructions-title { | ||
47 | + text-align: center; | ||
48 | + line-height: 48px; | ||
49 | + font-weight: 200; | ||
50 | + font-size: 24px; | ||
37 | } | 51 | } |
38 | 52 | ||
39 | .command-textarea { | 53 | .command-textarea { |
-
Please register or login to post a comment