From 505b3b6f87a2b09efa0a6c9e06eb114c85818e72 Mon Sep 17 00:00:00 2001 From: MickeyWang <1244134672@qq.com> Date: Fri, 16 Aug 2019 10:59:10 +0800 Subject: [PATCH] add user policy --- src/common/lang/en.js | 4 +++- src/common/lang/zh.js | 4 +++- src/renderer/assets/dapps-hover.png | Bin 2978 -> 2795 bytes src/renderer/assets/dapps.png | Bin 2795 -> 2978 bytes src/renderer/components/Dapps.vue | 16 ++++++++-------- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/common/lang/en.js b/src/common/lang/en.js index bdd241f..3aa2754 100644 --- a/src/common/lang/en.js +++ b/src/common/lang/en.js @@ -640,6 +640,8 @@ Within their 50% share each consensus node will receive their share according to }, dapps: { dapps: 'DApps', - sesameSeed: 'Sesame Seed' + sesameSeed: 'Sesame Seed', + 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.' } } diff --git a/src/common/lang/zh.js b/src/common/lang/zh.js index 2c755be..8314353 100644 --- a/src/common/lang/zh.js +++ b/src/common/lang/zh.js @@ -635,6 +635,8 @@ export default { }, dapps: { dapps: 'DApps', - sesameSeed: '芝麻籽' + sesameSeed: '芝麻籽', + notification: '注意', + userPolicy: '您将跳转至第三方dApp页面,在第三方dApp上的使用行为将适用该第三方dApp的《用户协议》和《隐私政策》,由该第三方dApp直接并单独向您承担责任' } } diff --git a/src/renderer/assets/dapps-hover.png b/src/renderer/assets/dapps-hover.png index d5917fea7b9501c54a0e0608e9bd3a9057126c00..44e945519fb2713ab3b3910628a1b514b818884e 100644 GIT binary patch literal 2795 zcmeHJ`#+T19$xP|V_b46d#63k;FZ};D0Y-fg;z~x#;#l=6xpV6zmwcwIy)r1CS69+ zJ}!wauA3zH%8)qdqqGfjsU)M_b_wCUXa9Wufb+xoVXbFk67`bCx0S0V zhLBOpM(8Zrm=sLDF5^#7Ekc>sX}^`dDc&_uuIW>_mbd)-T50}8?Vr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U-iR1>_=iL8uaNz`)`X>dHh~NaTUh<*^aIb=PN1WEp;Jw3F_U`&=g#;?X#Ix9q^x`nvAI)YvSv2n z&n4>K`5S85cjVa|4u`KXc_*r;5&~JZbmq))?|2SA#!;NOQAt}+?>eX`j!xHkSk@Co z!J9rXMz+j)1(tklQ)|g-khK3Wml<^bNW;1P#KB~{`(-O1`I2zq~P3{4XB@@ z-r-s3><}DKSMM)7+hD3JApqvWyY-3BYDpfCVc1gkyFOYP)q#qz&QXJ+oL0`E zVIteJUq$L-tt>QvF@nECYjv5y7*m8DDNp|+&kQCmjP9flew4R(g$JJrKY#wbRy-za z?chL9NK9P)%i3ygad0?qE;u4W!WaLz*PXGH*Cu;~FRyF2C|O)6l8ilG_GXJN7eW4% zHKfalILBkawB70UOw}=WhXV&T-txyJ^1R0zp7-wG-_lRlpH<}6N|Jh-rr-BYHY2a! zOn5$<&~K@6{?nc#3+Lp1_N50Fd@Z8_8w>vjy#ZcRwSy5dbc-iMgqF;lJKJ&~TmhKyqRK;6yn-iw}u>K9qaqB%;#)rcdwUUc5 zD{v%8E%m`TfDbYf%11}e+dY}n9M2em>6P+MhA@P#irA*e0V9OV-f)I6q{d4VjQ<{D zPBlIS3Ujo;_*d1GZCQSQ0fpUOJagjIFA($fmX^e+yObIQY}0T5H}yZ~s{%MFcUd$z zIGF91+wPTbwrlSkcwxNx?1M-qVJ82f)Qu{cX$i=U8-tpF)TQk~X_n5y$`9b)EH9s@1_aReq-$vRE`I4u z^4HFf9T#Uo=gUn%!tGJyO99z}h3ZY+l;=?I4Y<1=b*Xhao$*hrkUACs diff --git a/src/renderer/assets/dapps.png b/src/renderer/assets/dapps.png index 44e945519fb2713ab3b3910628a1b514b818884e..d5917fea7b9501c54a0e0608e9bd3a9057126c00 100644 GIT binary patch literal 2978 zcmeHJSyYqB68^IwBtVFOYzFyZ0uCS|3`kgnut~rLCmI$d;INJCOF)ptB;W$W76O7A zP-e);2ooFxR0e|r5rW)+;1HEvKoBCEh;d}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z>%})$ z3xQQ@>y}N?O8zGT^fuqiqy$hL@r_Jx&N!P8wAd^6O~17W#BWY$ES&@_b{qo%wXMN!-P?sW5ee z7>Q(lJ^4*eoQ<)A_Dy-&BeLKhB`9n_z?211$rbVD8uAH?|6a5c`RMJKaqAcUGh4hZ zGakk}mkuskSZVF;&zTu)^0R+`WHtTwoFI{x?osS>dTY%6rn8G)G44{gtsf*n?Ot3* zy0uHA%&D!#V$@12mbqG)Bp%`F6+OOTRx#`sP(40v^(AQDst*=T`z)yk0GFFR>GkWL zej0AEDwkv4Ng~!dYE;mVBX17~=6{NMYua>AR5U#{I_vh&Yc4=!cX0oD91~x@Y+?TC zQ>!SM#8~+Nv-Tx{tYq*vS+JSsg&8E1 zSl0qhoWVZiQ&M#QDDMQlhZQ!Ss`0o2<)>{$9{IOvlUQ5!qTz!VjuQ#K*oR7myYd@P zy#&2yXpU6m(H$uNx#2y1G~D+8LjPkP%{yb?{Q2q;yVcy5mQE@SiE9^vpOT~e`14J+ zwe5Vz_4?|D;KjjjieJA@K4J3BeE0w4OVvlcEkAw2P$loUEk-|Iu^e!kto&H*jkkY*^Ky`u94eKLn5b+ zUQ`L{YuZy4$^7BcuHvr^^-V*eh>?Yg{mQ5$Lc*;TqrS6NTJA#UQ`|;;!O-c??avdm zCR?&+`cD??&CCSx7t-sWo11yV6Ww>kL#BQ{zvOOCn3WjqT5+%{x#oLA@0H8K1ZM=BIhgz(S|VAk4N`weFr$59tHijvVfuO^M)$~sGTA$H^T}bw%q<>on#;g zef=Ta0S2j7IcM#*13bIUvbaDQa2)!oFY7~CA>DAF>J@5m^ znZhFg(MnD~#{LoDcM5%&XJEiJ@ekjpowyE7Rt&q(MX$aiKCys%_!#TK!P80q221eH Aq5uE@ diff --git a/src/renderer/components/Dapps.vue b/src/renderer/components/Dapps.vue index 85132b7..8e11d89 100644 --- a/src/renderer/components/Dapps.vue +++ b/src/renderer/components/Dapps.vue @@ -104,14 +104,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() {