@@ -149,6 +149,10 @@ export default {
149149 title: this .$t (' features.fiveDegrees' ),
150150 url: ' https://www.5degrees.io/' ,
151151 },
152+ {
153+ title: this .$t (' product.stakeVault' ),
154+ url: this .stakeVaultUrl
155+ },
152156 {
153157 title: this .$t (' features.approvalDetector' ),
154158 url: this .approvalUrl ,
@@ -157,10 +161,6 @@ export default {
157161 title: this .$t (' features.tokenSecurity' ),
158162 url: this .tokenSecurityUrl ,
159163 },
160- // {
161- // title: this.$t('features.keyGenerator'),
162- // url: this.keyUrl,
163- // },
164164 {
165165 title: this .$t (' features.BATCH_SENDER' ),
166166 url: this .batchSenderUrl ,
@@ -307,44 +307,6 @@ export default {
307307 }
308308 window .open (item .url );
309309 },
310-
311- subscribeEmail () {
312- const isEmail = new RegExp (
313- / ^ [a-zA-Z0-9 . !#$%&'*+\/ =?^_`{|}~-] + @[a-zA-Z0-9 ] (?:[a-zA-Z0-9 -] {0,61} [a-zA-Z0-9 ] )? (?:\. [a-zA-Z0-9 ] (?:[a-zA-Z0-9 -] {0,61} [a-zA-Z0-9 ] )? )* $ /
314- );
315- if (! isEmail .test (this .email )) {
316- const emailMsg =
317- this .language === ' zh' ? ' 请输入正确的邮箱地址' : ' Error Email!' ;
318- this .$message .error (emailMsg);
319- return false ;
320- }
321-
322- if (process .client ) {
323- let url =
324- window .origin ||
325- window .location .protocol +
326- ' //' +
327- window .location .hostname +
328- (window .location .port ? ' :' + window .location .port : ' ' );
329- this .$axios
330- .post (` ${ url} /api/tokenPocket/subscribe` , {
331- email: this .email ,
332- })
333- .then ((res ) => {
334- if (res .data .result === 0 ) {
335- const message =
336- this .language === ' zh' ? ' 订阅成功' : ' Subscribe sucess' ;
337- this .email = ' ' ;
338- this .$message .success (message);
339- } else {
340- this .$message .error (res .data .message );
341- }
342- })
343- .catch ((error ) => {
344- this .$message .error (error);
345- });
346- }
347- },
348310 },
349311};
350312 </script >
@@ -450,8 +412,6 @@ export default {
450412 border : 0 ;
451413 color : #101010 ;
452414 width : 160px ;
453- // height: 32px;
454- // flex: 1;
455415 height : 100% ;
456416 margin : 0 0 0 10px ;
457417 & ::-webkit-input-placeholder {
@@ -481,7 +441,6 @@ export default {
481441 background : #2980fe ;
482442 position : relative ;
483443 border-radius : 0 4px 4px 0 ;
484- // padding: 0 15px 0 10px;
485444 }
486445}
487446
@@ -531,7 +490,6 @@ export default {
531490 }
532491}
533492
534- // 移动端
535493@media screen and (max-width : 768px ) {
536494 @for $i from 1 through 8 {
537495 .footer-follow-#{$i } {
@@ -613,10 +571,6 @@ export default {
613571 margin-bottom : 0 ;
614572 }
615573
616- // .footer-list {
617- // text-align: center;
618- // }
619-
620574 .footer-email {
621575 input {
622576 width : 200px ;
0 commit comments