Skip to content

Commit e94572e

Browse files
committed
add ETH Staking Vault update LTC
1 parent bcdbf50 commit e94572e

File tree

15 files changed

+218
-372
lines changed

15 files changed

+218
-372
lines changed

package-lock.json

Lines changed: 0 additions & 114 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"irisnet-crypto": "^1.3.4",
3333
"jingtum-base-lib": "^1.2.2",
3434
"js-conflux-sdk": "^2.1.6",
35-
"litecore-lib": "^0.13.22",
3635
"lodash": "^4.17.15",
3736
"nostr-tools": "^0.24.1",
3837
"tronweb": "^2.7.1",

src/assets/nav-icon/12-on.png

718 Bytes
Loading

src/assets/nav-icon/12.png

723 Bytes
Loading

src/components/common/Footer.vue

Lines changed: 4 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -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;

src/components/common/MiniHeader.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
/>
1111
</div>
1212
<div class="menu-status text-right">
13-
<!-- <span
14-
class="mini-navbar-language"
15-
@click="changeLanguage"
16-
>{{language === 'zh' ? 'En' : '中文'}}</span>-->
17-
<!-- <i :class="!menuState ? 'icon-menu' : 'icon-close'" @click="changeMenuState"></i> -->
1813
<img
1914
src="../../assets/menu.png"
2015
v-if="!menuState"
@@ -40,7 +35,6 @@
4035
@click.stop="navGo(item, index, $event)"
4136
>
4237
<div class="mini-menu-title">
43-
<!-- 一级菜单 -->
4438
<div class="menu-item">
4539
<div>{{ item.title }}</div>
4640
<div class="text-right" v-if="item.children">
@@ -57,7 +51,6 @@
5751
</div>
5852
</div>
5953

60-
<!-- 子菜单 -->
6154
<div
6255
class="mini-menu-children"
6356
v-if="item.children && navIndex === index"

src/components/common/NavIndex.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,16 @@ export default {
117117
title: this.$t('product.fiveDegrees'),
118118
url: 'https://www.5degrees.io/#/',
119119
},
120+
{
121+
width: '224px',
122+
class: 'nav-icon-12',
123+
desc: this.$t('product.stakeVaultDesc'),
124+
line: false,
125+
title: this.$t('product.stakeVault'),
126+
url: this.stakeVaultUrl
127+
}
120128
],
121129
},
122-
// 项目提交
123130
{
124131
title: this.$t('collaborations.title'),
125132
leftDis: true,
@@ -241,7 +248,6 @@ export default {
241248
'click',
242249
(e) => {
243250
if (this.clientWidth > 768) {
244-
// 点击除弹出层外的空白区域
245251
if (this.$refs.navMain && !this.$refs.navMain.contains(e.target)) {
246252
this.navIndex = '';
247253
}
@@ -266,7 +272,6 @@ export default {
266272
}
267273
// return false
268274
},
269-
// 鼠标进入
270275
navEnter(item, index, el) {
271276
el.preventDefault();
272277
if (item.children) {
@@ -281,7 +286,6 @@ export default {
281286
this.$router.push(item.url);
282287
}
283288
},
284-
// 鼠标离开
285289
navLeave(item, index, el) {
286290
el.preventDefault();
287291
if (item.children) {

src/components/common/NormalHeader.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
</div>
7575
</div>
7676
</div>
77-
<!-- <div :class="{ line: navChildren.line }"></div> -->
7877
</a>
7978
</div>
8079
</a>
@@ -93,7 +92,7 @@ export default {
9392
</script>
9493

9594
<style lang="scss" scoped>
96-
@for $i from 1 through 11 {
95+
@for $i from 1 through 12 {
9796
.navbar-tab-list {
9897
.nav-children-wrap {
9998
a {

0 commit comments

Comments
 (0)