diff --git a/src/common/lang/en.js b/src/common/lang/en.js index a03a8e7..e824a02 100644 --- a/src/common/lang/en.js +++ b/src/common/lang/en.js @@ -641,7 +641,9 @@ Within their 50% share each consensus node will receive their share according to dapps: { dapps: 'DApps', sesameSeed: 'Sesameseed', - sesameseedDesc: 'Sesameseed voting management' + sesameseedDesc: 'Sesameseed voting management', + notification: 'Notification', + userPolicy: 'You will be redirected to the third party dApp. Use of the third party dApp will be subject to their User Agreement and Privacy Policy. You will be liable to the third party dApp only.' }, sesameseed: { stakeAmountTip: 'Stake amount for Sesameseed is 1 unit equals 1 ONT', diff --git a/src/common/lang/zh.js b/src/common/lang/zh.js index 1e8c660..a65deda 100644 --- a/src/common/lang/zh.js +++ b/src/common/lang/zh.js @@ -636,7 +636,9 @@ export default { dapps: { dapps: 'DApps', sesameSeed: '芝麻籽', - sesameseedDesc: 'Sesameseed voting management' + sesameseedDesc: 'Sesameseed voting management', + notification: '注意', + userPolicy: '您将跳转至第三方dApp页面,在第三方dApp上的使用行为将适用该第三方dApp的《用户协议》和《隐私政策》,由该第三方dApp直接并单独向您承担责任' }, sesameseed: { stakeAmountTip: 'Stake amount for Sesameseed is 1 unit equals 1 ONT', diff --git a/src/renderer/assets/dapps-hover.png b/src/renderer/assets/dapps-hover.png index d5917fe..44e9455 100644 Binary files a/src/renderer/assets/dapps-hover.png and b/src/renderer/assets/dapps-hover.png differ diff --git a/src/renderer/assets/dapps.png b/src/renderer/assets/dapps.png index 44e9455..d5917fe 100644 Binary files a/src/renderer/assets/dapps.png and b/src/renderer/assets/dapps.png differ diff --git a/src/renderer/components/Dapps.vue b/src/renderer/components/Dapps.vue index e04f918..712728e 100644 --- a/src/renderer/components/Dapps.vue +++ b/src/renderer/components/Dapps.vue @@ -107,14 +107,14 @@ export default { }; }, mounted: function() { - /* this.$store.dispatch("showLoadingModals"); - setTimeout(() => { - this.$store.dispatch("hideLoadingModals"); - }, 8000); */ - let that = this; - setInterval(() => { - that.getImageData(); - }, this.interval); + this.$confirm({ + title: this.$t('dapps.notification'), + content: this.$t('dapps.userPolicy'), + onOk() {}, + onCancel: () => { + this.$router.back(); + } + }) }, computed: {}, beforeDestroy() {