Showing
5 changed files
with
10 additions
and
5 deletions
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | <div class="title">方法二:使用邀请码</div> | 13 | <div class="title">方法二:使用邀请码</div> |
14 | <div class="code-content"> | 14 | <div class="code-content"> |
15 | <div class="invite-content"> | 15 | <div class="invite-content"> |
16 | - <span class="code">{{#if trendWorld}}{{trendWorld}}{{else}}{{inviteCode}}{{/if}}</span> | 16 | + <span class="code trend-code">{{#if trendWorld}}{{trendWorld}}{{else}}{{inviteCode}}{{/if}}</span> |
17 | <span class="modify button">修改</span> | 17 | <span class="modify button">修改</span> |
18 | {{#if isApp}} | 18 | {{#if isApp}} |
19 | <a class="copy button" href='//m.yohobuy.com/?openby:yohobuy={"action":"go.copy","params":{"text":"{{inviteCode}}","message":"复制成功"}}'>复制</a> | 19 | <a class="copy button" href='//m.yohobuy.com/?openby:yohobuy={"action":"go.copy","params":{"text":"{{inviteCode}}","message":"复制成功"}}'>复制</a> |
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | </div> | 6 | </div> |
7 | <div class="main"> | 7 | <div class="main"> |
8 | <div class="title"></div> | 8 | <div class="title"></div> |
9 | - <textarea type="text" class="trend-world-area" placeholder="请设置15字以内的潮流口令"></textarea> | 9 | + <textarea type="text" class="trend-world-area trend-code" placeholder="请设置15字以内的潮流口令">{{#if trendWorld}}{{trendWorld}}{{/if}}</textarea> |
10 | <div class="explain"> | 10 | <div class="explain"> |
11 | <span class="explain-title">玩转潮流口令,超值福利等你拿</span> | 11 | <span class="explain-title">玩转潮流口令,超值福利等你拿</span> |
12 | <div class="show-explain"> | 12 | <div class="show-explain"> |
@@ -46,9 +46,10 @@ $('.set-world').click(function() { | @@ -46,9 +46,10 @@ $('.set-world').click(function() { | ||
46 | 46 | ||
47 | point(1, $('.trend-world-area').val()); | 47 | point(1, $('.trend-world-area').val()); |
48 | 48 | ||
49 | + $('.trend-code').html($('.trend-world-area').val()); | ||
50 | + | ||
49 | setTimeout(function() { | 51 | setTimeout(function() { |
50 | $('.set-trend-world').hide(); | 52 | $('.set-trend-world').hide(); |
51 | - window.location.reload(); | ||
52 | }, 2500); | 53 | }, 2500); |
53 | } | 54 | } |
54 | } | 55 | } |
@@ -71,3 +72,7 @@ $('.withhold').click(function() { | @@ -71,3 +72,7 @@ $('.withhold').click(function() { | ||
71 | point(2); | 72 | point(2); |
72 | $('.set-trend-world').hide(); | 73 | $('.set-trend-world').hide(); |
73 | }); | 74 | }); |
75 | + | ||
76 | +$('.back').click(function() { | ||
77 | + $('.set-trend-world').hide(); | ||
78 | +}); |
@@ -153,7 +153,7 @@ body.passport-body { | @@ -153,7 +153,7 @@ body.passport-body { | ||
153 | .invite-code { | 153 | .invite-code { |
154 | position: absolute; | 154 | position: absolute; |
155 | left: 15PX; | 155 | left: 15PX; |
156 | - line-height: 2.7; | 156 | + line-height: 3; |
157 | } | 157 | } |
158 | 158 | ||
159 | .phone-container { | 159 | .phone-container { |
-
Please register or login to post a comment