udxcms 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/common.d.ts +28 -28
- package/dist/api/h5/axios.d.ts +3 -3
- package/dist/api/h5/axios.js +12 -9
- package/dist/api/h5/common.d.ts +10 -10
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +8 -6
- package/dist/utils/connect.d.ts +1 -1
- package/dist/utils/connect.js +6 -4
- package/dist/utils/http.d.ts +2 -2
- package/dist/utils/http.js +12 -10
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +2 -1
- package/package.json +1 -1
- package/dist/components/basicComponents/AdsBanner.vue +0 -148
- package/dist/components/basicComponents/AreaSelect.vue +0 -30
- package/dist/components/basicComponents/BaseMenu.vue +0 -130
- package/dist/components/basicComponents/BasePopup.vue +0 -27
- package/dist/components/basicComponents/CustomDate.vue +0 -117
- package/dist/components/basicComponents/Dashboard.vue +0 -263
- package/dist/components/basicComponents/DialogBox.vue +0 -167
- package/dist/components/basicComponents/ErrMsg.vue +0 -49
- package/dist/components/basicComponents/Fullpage.vue +0 -186
- package/dist/components/basicComponents/GtForm.vue +0 -161
- package/dist/components/basicComponents/Img.vue +0 -34
- package/dist/components/basicComponents/Input.vue +0 -296
- package/dist/components/basicComponents/LineProcess.vue +0 -186
- package/dist/components/basicComponents/ListTag.vue +0 -169
- package/dist/components/basicComponents/MenuTag.vue +0 -64
- package/dist/components/basicComponents/MessageTips.vue +0 -108
- package/dist/components/basicComponents/MsgTips.vue +0 -66
- package/dist/components/basicComponents/NoticeMess.vue +0 -95
- package/dist/components/basicComponents/Pages.vue +0 -145
- package/dist/components/basicComponents/ParentView.vue +0 -10
- package/dist/components/basicComponents/PortfolioMenu.vue +0 -156
- package/dist/components/basicComponents/PowxBread.vue +0 -110
- package/dist/components/basicComponents/SelectPop.vue +0 -78
- package/dist/components/basicComponents/SubComfirm.vue +0 -153
- package/dist/components/basicComponents/SvgIcon.vue +0 -60
- package/dist/components/basicComponents/TokenAmountSelect.vue +0 -309
- package/dist/components/basicComponents/UserMenu.vue +0 -260
- package/dist/components/basicComponents/WalletConnected.vue +0 -179
- package/dist/components/basicComponents/sModal.vue +0 -59
- package/dist/components/businessComponents/About.vue +0 -757
- package/dist/components/businessComponents/ChainNetWork.vue +0 -365
- package/dist/components/businessComponents/CoinSelectList.vue +0 -291
- package/dist/components/businessComponents/CountryList.vue +0 -252
- package/dist/components/businessComponents/Currency.vue +0 -347
- package/dist/components/businessComponents/CustomAnnounceModal.vue +0 -204
- package/dist/components/businessComponents/Flag.vue +0 -45
- package/dist/components/businessComponents/Footer.vue +0 -374
- package/dist/components/businessComponents/FooterPointx.vue +0 -374
- package/dist/components/businessComponents/Header.vue +0 -169
- package/dist/components/businessComponents/HeaderNetworkSelect.vue +0 -42
- package/dist/components/businessComponents/Language.vue +0 -308
- package/dist/components/businessComponents/List.vue +0 -177
- package/dist/components/businessComponents/ListSelect.vue +0 -164
- package/dist/components/businessComponents/LoadingDefault.vue +0 -88
- package/dist/components/businessComponents/LoadingDot.vue +0 -118
- package/dist/components/businessComponents/LoadingWallet.vue +0 -42
- package/dist/components/businessComponents/MarketChartmini.vue +0 -148
- package/dist/components/businessComponents/MediaList.vue +0 -49
- package/dist/components/businessComponents/Modal.vue +0 -81
- package/dist/components/businessComponents/NavInner.vue +0 -80
- package/dist/components/businessComponents/NetworkSelect.vue +0 -345
- package/dist/components/businessComponents/Networklist.vue +0 -279
- package/dist/components/businessComponents/NoticePanel.vue +0 -239
- package/dist/components/businessComponents/Partnermedias.vue +0 -151
- package/dist/components/businessComponents/SignaturePopup.vue +0 -415
- package/dist/components/businessComponents/SiteLoading.vue +0 -71
- package/dist/components/businessComponents/SiteLoadingTwo.vue +0 -74
- package/dist/components/businessComponents/SubMenuMore.vue +0 -126
- package/dist/components/businessComponents/TopMessage.vue +0 -79
- package/dist/components/businessComponents/TradeChainNetWork.vue +0 -137
- package/dist/components/businessComponents/userPanel.vue +0 -358
- package/dist/components/businessComponents/walletPanel.vue +0 -241
- package/dist/components/cmsComponents/academy/Academy.vue +0 -414
- package/dist/components/cmsComponents/academy/CmsAcademyJoinComunity.vue +0 -202
- package/dist/components/cmsComponents/academy/CmsAcademySectionOne.vue +0 -229
- package/dist/components/cmsComponents/academy/CmsArticleList.vue +0 -173
- package/dist/components/cmsComponents/academy/CmsArticleListGroupByTag.vue +0 -262
- package/dist/components/cmsComponents/academy/CmsArticleListWide.vue +0 -155
- package/dist/components/cmsComponents/academy/CmsDetail.vue +0 -234
- package/dist/components/cmsComponents/academy/CmsItem.vue +0 -128
- package/dist/components/cmsComponents/academy/categeItemThree.vue +0 -137
- package/dist/components/cmsComponents/academy/categeItemTwo.vue +0 -161
- package/dist/components/cmsComponents/api/ApiMain.vue +0 -508
- package/dist/components/cmsComponents/api/DocMain.vue +0 -506
- package/dist/components/cmsComponents/dapps/Dapp copy.vue +0 -543
- package/dist/components/cmsComponents/dapps/Dapp.vue +0 -570
- package/dist/components/cmsComponents/dapps/Dapplist.vue +0 -219
- package/dist/components/cmsComponents/help/Index.vue +0 -540
- package/dist/components/cmsComponents/help/detail.vue +0 -119
- package/dist/components/cmsComponents/paragen/SubMenu.vue +0 -99
- package/dist/components/cmsComponents/sdk/Logo.vue +0 -75
- package/dist/components/cmsComponents/sdk/NavBread.vue +0 -104
- package/dist/components/cmsComponents/sdk/SiderBar.vue +0 -198
- package/dist/components/cmsComponents/sdk/SiderBarItem.vue +0 -60
- package/dist/components/cmsComponents/sdk/TitleList.vue +0 -74
- package/dist/components/cmsComponents/sdk/demo/marked.js +0 -1558
- package/dist/components/cmsComponents/sdk/index.vue +0 -1128
- package/dist/components/cmsComponents/sdk/lib/highlight/styles/vs2015.css +0 -115
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-Bold.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-Italic.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Math-Italic.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Script-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/sdk/lib/katex/katex.min.css +0 -1
- package/dist/components/cmsComponents/sdk/lib/katex/katex.min.js +0 -1
- package/dist/components/cmsComponents/sdk/typora-lark.css +0 -440
- package/dist/components/cmsComponents/wiki/Logo.vue +0 -75
- package/dist/components/cmsComponents/wiki/NavBread.vue +0 -104
- package/dist/components/cmsComponents/wiki/SiderBar.vue +0 -206
- package/dist/components/cmsComponents/wiki/SiderBarItem.vue +0 -60
- package/dist/components/cmsComponents/wiki/TitleList.vue +0 -74
- package/dist/components/cmsComponents/wiki/Wiki.vue +0 -1143
- package/dist/components/cmsComponents/wiki/demo/marked.js +0 -1558
- package/dist/components/cmsComponents/wiki/lib/highlight/styles/vs2015.css +0 -115
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-Bold.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-Italic.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Math-Italic.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Script-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/components/cmsComponents/wiki/lib/katex/katex.min.css +0 -1
- package/dist/components/cmsComponents/wiki/lib/katex/katex.min.js +0 -1
- package/dist/components/cmsComponents/wiki/typora-lark.css +0 -440
- package/dist/components/h5Components/ChainNetH5Work.vue +0 -250
- package/dist/components/h5Components/DateH5.vue +0 -79
- package/dist/components/h5Components/GoHistory.vue +0 -83
- package/dist/components/h5Components/Language.vue +0 -113
- package/dist/components/h5Components/ListSelectH5.vue +0 -63
- package/dist/components/h5Components/Menu.vue +0 -449
- package/dist/components/h5Components/NavCenter.vue +0 -194
- package/dist/components/h5Components/NoRecord.vue +0 -52
- package/dist/components/h5Components/NoticeModule.vue +0 -83
- package/dist/components/h5Components/OtherNav.vue +0 -115
- package/dist/components/h5Components/PopList.vue +0 -82
- package/dist/components/h5Components/SearchInput.vue +0 -54
- package/dist/components/h5Components/SvgCircle.vue +0 -104
- package/dist/components/h5Components/Top.vue +0 -648
- package/dist/components/h5Components/walletconnectBottom.vue +0 -667
- package/dist/components/pageComponents/academy/academy_mobi.vue +0 -181
- package/dist/components/pageComponents/academy/academy_wallet.vue +0 -202
- package/dist/components/pageComponents/h5/IndexCommon.vue +0 -896
- package/dist/components/pageComponents/h5/IndexWallet.vue +0 -225
- package/dist/components/pageComponents/header/header_2mr.vue +0 -590
- package/dist/components/pageComponents/header/header_a.vue +0 -1246
- package/dist/components/pageComponents/header/header_auction.vue +0 -1842
- package/dist/components/pageComponents/header/header_b.vue +0 -621
- package/dist/components/pageComponents/header/header_b1.vue +0 -1821
- package/dist/components/pageComponents/header/header_bridge.vue +0 -516
- package/dist/components/pageComponents/header/header_c.vue +0 -1629
- package/dist/components/pageComponents/header/header_dex.vue +0 -1967
- package/dist/components/pageComponents/header/header_dtx.vue +0 -1744
- package/dist/components/pageComponents/header/header_dtx2.vue +0 -482
- package/dist/components/pageComponents/header/header_insure.vue +0 -1326
- package/dist/components/pageComponents/header/header_lending.vue +0 -352
- package/dist/components/pageComponents/header/header_morse.vue +0 -673
- package/dist/components/pageComponents/header/header_morse_wallet.vue +0 -582
- package/dist/components/pageComponents/header/header_paragen.vue +0 -391
- package/dist/components/pageComponents/header/header_pointx.vue +0 -472
- package/dist/components/pageComponents/header/header_vortex.vue +0 -609
- package/dist/components/pageComponents/index/IndexBlank.vue +0 -16
- package/dist/components/pageComponents/index/IndexBridge.vue +0 -102
- package/dist/components/pageComponents/index/IndexCommon.vue +0 -1475
- package/dist/components/pageComponents/index/IndexDemo.vue +0 -1419
- package/dist/components/pageComponents/index/IndexDex.vue +0 -1686
- package/dist/components/pageComponents/index/IndexExchange.vue +0 -490
- package/dist/components/pageComponents/index/IndexMorse.vue +0 -2007
- package/dist/components/pageComponents/index/IndexMorseNew.vue +0 -845
- package/dist/components/pageComponents/index/IndexNextpublic.vue +0 -26
- package/dist/components/pageComponents/index/IndexOrbits.vue +0 -1262
- package/dist/components/pageComponents/index/IndexPointx.vue +0 -491
- package/dist/components/pageComponents/index/IndexVortex.vue +0 -1715
- package/dist/components/pageComponents/index/IndexWallet.vue +0 -696
- package/dist/components/pageComponents/index/component/DexFooter.vue +0 -141
- package/dist/components/pageComponents/index/component/SubComfirm.vue +0 -128
- package/dist/components/pageComponents/index/component/bridge-page.vue +0 -82
- package/dist/components/pageComponents/index/component/campaigns-item.vue +0 -129
- package/dist/components/pageComponents/index/component/exbang-two.vue +0 -75
- package/dist/components/pageComponents/index/component/space-item.vue +0 -119
|
@@ -1,1821 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @Author: Sneed
|
|
3
|
-
* @Date: 2020-11-16 14:38:46
|
|
4
|
-
* @LastEditTime: 2022-08-24 00:45:44
|
|
5
|
-
* @LastEditors: Lewis
|
|
6
|
-
* @Description: update logoIcon
|
|
7
|
-
-->
|
|
8
|
-
<template>
|
|
9
|
-
<div class="header-wrapper">
|
|
10
|
-
<div
|
|
11
|
-
:class="{ 'header-nav': true, active: active }"
|
|
12
|
-
v-theme="{ background: getStyleAttrs('background') }"
|
|
13
|
-
>
|
|
14
|
-
<div :class="['contentWidth']">
|
|
15
|
-
<div class="flex flex-a">
|
|
16
|
-
<div class="logo" @click="goHome"
|
|
17
|
-
v-theme="{ height: (styleConf && styleConf.conf && styleConf.conf.logoHeight) || commonConf.logoHeight }"
|
|
18
|
-
>
|
|
19
|
-
<img :src="logoSrc + '/' + language + '/w72.png'" class="imgsvg"
|
|
20
|
-
v-theme="{ height: (styleConf && styleConf.conf && styleConf.conf.logoHeight) || commonConf.logoHeight}"
|
|
21
|
-
/>
|
|
22
|
-
<!-- <img :src="logoSrc + '/' + language +'/w72.png'" class='imgsvg' v-theme="{height: styleConf && styleConf.conf && styleConf.conf.logoHeight || commonConf.logoHeight}" v-show='!active'/>
|
|
23
|
-
<img :src="logoSrc + '/' + language + '/b72.png'" :class="['imgsvg', {'imgsvgactive': routeName != 'home'}]" v-theme="{height: styleConf && styleConf.conf && styleConf.conf.logoHeight || commonConf.logoHeight}" v-show='active'/> -->
|
|
24
|
-
</div>
|
|
25
|
-
<ul class="nav" v-show="showMiddleInfo">
|
|
26
|
-
<!-- <li class="chain-li">
|
|
27
|
-
<ChainNetWork />
|
|
28
|
-
</li> -->
|
|
29
|
-
<li
|
|
30
|
-
class="li wallet wallet-order"
|
|
31
|
-
v-for="(item, index) in navList"
|
|
32
|
-
:key="index"
|
|
33
|
-
@click="dealUrl(item)"
|
|
34
|
-
v-hover="{
|
|
35
|
-
color: getHoverAttr('color'),
|
|
36
|
-
oldColor: getStyleAttrs('color'),
|
|
37
|
-
}"
|
|
38
|
-
v-theme="getStyleSetAttrs(['color', 'fontWeight'])"
|
|
39
|
-
>
|
|
40
|
-
<span>
|
|
41
|
-
{{ item.bar_name }}
|
|
42
|
-
<svg-icon
|
|
43
|
-
className="li-img-2"
|
|
44
|
-
icon-class="arrow-down-w"
|
|
45
|
-
v-if="item.child.length"
|
|
46
|
-
></svg-icon>
|
|
47
|
-
</span>
|
|
48
|
-
<div
|
|
49
|
-
class="wallet-more-box"
|
|
50
|
-
v-if="item.child.length"
|
|
51
|
-
>
|
|
52
|
-
<div class="wallet-more">
|
|
53
|
-
<div
|
|
54
|
-
class="wallet-title"
|
|
55
|
-
v-for="(innerItem, innerIndex) in item.child"
|
|
56
|
-
:key="innerIndex"
|
|
57
|
-
@click="dealUrl(innerItem)"
|
|
58
|
-
>
|
|
59
|
-
{{ innerItem.bar_name }}
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
</li>
|
|
64
|
-
<!-- <li class='li wallet wallet-order'>
|
|
65
|
-
<span>
|
|
66
|
-
Derivate
|
|
67
|
-
<svg-icon
|
|
68
|
-
className="li-img-2"
|
|
69
|
-
icon-class="arrow-down-w"
|
|
70
|
-
></svg-icon>
|
|
71
|
-
</span>
|
|
72
|
-
<div class="wallet-more-box">
|
|
73
|
-
<div class="wallet-more">
|
|
74
|
-
<div class="wallet-title" @click="goPerpetual">USDT Perpetual</div>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</li> -->
|
|
78
|
-
</ul>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="flex">
|
|
81
|
-
<ul class="right-tool" v-if="!walletName.length">
|
|
82
|
-
<li v-show="!isCentral"><HeaderNetworkSelect mode="black" /></li>
|
|
83
|
-
<li v-show="isCentral" class="download-li" @click="goLogin">
|
|
84
|
-
<span v-hover="{color: getHoverAttr('color'), oldColor: getStyleAttrs('color')}" v-theme="{color: getStyleAttrs('color')}">{{$t("user_common_log_in")}}</span>
|
|
85
|
-
</li>
|
|
86
|
-
<li v-show="isCentral" class="getstarted download-li" @click="goStarted" v-hover="{color: 'white'}" v-theme="{borderColor: getStyleAttrs('color')}">
|
|
87
|
-
<span v-theme="{color: getStyleAttrs('color'), borderColor: getStyleAttrs('color')}">{{$t("index_header_menu_get_started")}}</span>
|
|
88
|
-
</li>
|
|
89
|
-
<li
|
|
90
|
-
class="walletconnect"
|
|
91
|
-
v-show="!isCentral"
|
|
92
|
-
@click="login"
|
|
93
|
-
v-theme="{
|
|
94
|
-
fontWeight: getStyleAttrs('fontWeight'),
|
|
95
|
-
}"
|
|
96
|
-
>
|
|
97
|
-
{{ $t("wallet_common_connect") }}
|
|
98
|
-
</li>
|
|
99
|
-
<li
|
|
100
|
-
class="englishUSD"
|
|
101
|
-
:data-role="currencyRole"
|
|
102
|
-
v-hover="{
|
|
103
|
-
color: getHoverAttr('color'),
|
|
104
|
-
oldColor: getStyleAttrs('color'),
|
|
105
|
-
}"
|
|
106
|
-
v-theme="{
|
|
107
|
-
color: getStyleAttrs('color'),
|
|
108
|
-
fontWeight: getStyleAttrs('fontWeight'),
|
|
109
|
-
}"
|
|
110
|
-
@mouseenter="isShowCurrency = true"
|
|
111
|
-
>
|
|
112
|
-
<span
|
|
113
|
-
>{{ lang }}/{{
|
|
114
|
-
currency.name || 'USD'
|
|
115
|
-
}}</span
|
|
116
|
-
>
|
|
117
|
-
<svg-icon
|
|
118
|
-
className="li-img-2"
|
|
119
|
-
icon-class="arrow-down-w"
|
|
120
|
-
:data-role="currencyRole"
|
|
121
|
-
></svg-icon>
|
|
122
|
-
<div class="currencyBox" v-if="isShowCurrency">
|
|
123
|
-
<Currency
|
|
124
|
-
v-model="isShowCurrency"
|
|
125
|
-
top="42"
|
|
126
|
-
left=""
|
|
127
|
-
right="0"
|
|
128
|
-
:role="currencyRole"
|
|
129
|
-
:isClickstatus="false"
|
|
130
|
-
@setLang="setLang"
|
|
131
|
-
/>
|
|
132
|
-
</div>
|
|
133
|
-
</li>
|
|
134
|
-
</ul>
|
|
135
|
-
<ul
|
|
136
|
-
class="right-tool right-tool-login"
|
|
137
|
-
v-if="walletName.length"
|
|
138
|
-
>
|
|
139
|
-
<!-- <li
|
|
140
|
-
class="mobi"
|
|
141
|
-
v-show="showMobiBtn"
|
|
142
|
-
@click="showMobiInfo"
|
|
143
|
-
>
|
|
144
|
-
<img
|
|
145
|
-
:src="require('../../../assets/img/mobi.png')"
|
|
146
|
-
alt=""
|
|
147
|
-
/>
|
|
148
|
-
</li> -->
|
|
149
|
-
<li class="nav-a wallet wallet-order" v-if="activeUser">
|
|
150
|
-
<span
|
|
151
|
-
v-hover="{
|
|
152
|
-
color: getHoverAttr('color'),
|
|
153
|
-
oldColor: getStyleAttrs('color'),
|
|
154
|
-
}"
|
|
155
|
-
v-theme="{
|
|
156
|
-
color: getStyleAttrs('color'),
|
|
157
|
-
fontWeight: getStyleAttrs('fontWeight'),
|
|
158
|
-
}"
|
|
159
|
-
>{{ $t("index_header_menu_order") }}</span
|
|
160
|
-
>
|
|
161
|
-
<!-- <router-link to='/wallet'>{{$t("index_header_menu_wallet")}}</router-link> -->
|
|
162
|
-
<div class="wallet-more-box">
|
|
163
|
-
<div class="wallet-more">
|
|
164
|
-
<div
|
|
165
|
-
class="wallet-title"
|
|
166
|
-
@click="goOrderUrl('orders')"
|
|
167
|
-
>
|
|
168
|
-
{{ $t("trade_history_open_orders") }}
|
|
169
|
-
</div>
|
|
170
|
-
<div
|
|
171
|
-
class="wallet-title"
|
|
172
|
-
@click="goOrderUrl('history')"
|
|
173
|
-
>
|
|
174
|
-
{{ $t("trade_history_order_history") }}
|
|
175
|
-
</div>
|
|
176
|
-
</div>
|
|
177
|
-
</div>
|
|
178
|
-
</li>
|
|
179
|
-
<li
|
|
180
|
-
class="marl18 download-li"
|
|
181
|
-
v-if="activeUser && false"
|
|
182
|
-
>
|
|
183
|
-
<!-- <img :src='/' /> -->
|
|
184
|
-
<div
|
|
185
|
-
class="li-message"
|
|
186
|
-
@mouseover="showNoticeFunc(1)"
|
|
187
|
-
@mouseleave="showNoticeFunc(0)"
|
|
188
|
-
v-hover="{
|
|
189
|
-
color: getHoverAttr('color'),
|
|
190
|
-
oldColor: getStyleAttrs('color'),
|
|
191
|
-
}"
|
|
192
|
-
v-theme="{
|
|
193
|
-
color: getStyleAttrs('color'),
|
|
194
|
-
fontWeight: getStyleAttrs('fontWeight'),
|
|
195
|
-
}"
|
|
196
|
-
>
|
|
197
|
-
<svg-icon
|
|
198
|
-
className="li-img-2"
|
|
199
|
-
icon-class="message"
|
|
200
|
-
></svg-icon>
|
|
201
|
-
<div class="li-message-dot" v-if="unreadCount">
|
|
202
|
-
{{
|
|
203
|
-
unreadCount >= 100 ? "99+" : unreadCount
|
|
204
|
-
}}
|
|
205
|
-
</div>
|
|
206
|
-
<div class="li-message-box" v-if="showNotice">
|
|
207
|
-
<NoticePanel
|
|
208
|
-
:list="msgList"
|
|
209
|
-
:unreadCount="unreadCount"
|
|
210
|
-
@readAll="readAll"
|
|
211
|
-
@setRead="setItemRead"
|
|
212
|
-
/>
|
|
213
|
-
</div>
|
|
214
|
-
</div>
|
|
215
|
-
</li>
|
|
216
|
-
<li class="marl18 nav-a wallet">
|
|
217
|
-
<!-- 没激活(锁定) / 没登录 -->
|
|
218
|
-
<div
|
|
219
|
-
class="user-account wallet-no"
|
|
220
|
-
v-if="!activeUser"
|
|
221
|
-
>
|
|
222
|
-
<img
|
|
223
|
-
:src="
|
|
224
|
-
walletIcon ||
|
|
225
|
-
require('../../../assets/img/walletconnect.png')
|
|
226
|
-
"
|
|
227
|
-
alt=""
|
|
228
|
-
v-if="walletIcon && walletIcon.indexOf('<svg') == -1"
|
|
229
|
-
/>
|
|
230
|
-
<span v-html="walletIcon" v-else></span>
|
|
231
|
-
<!-- <img :src="require('../../../assets/img/wrong.png')" alt="" class='walletWrong'/> -->
|
|
232
|
-
{{ walletAccount || walletName }}
|
|
233
|
-
<!-- 锁定 -->
|
|
234
|
-
<img
|
|
235
|
-
:src="
|
|
236
|
-
require('../../../assets/img/unlock.png')
|
|
237
|
-
"
|
|
238
|
-
alt=""
|
|
239
|
-
class="walletLock"
|
|
240
|
-
/>
|
|
241
|
-
</div>
|
|
242
|
-
<!-- 已经登录正常状态 -->
|
|
243
|
-
<div
|
|
244
|
-
to="/wallet"
|
|
245
|
-
class="user-account"
|
|
246
|
-
v-hover="{
|
|
247
|
-
color: getHoverAttr('color'),
|
|
248
|
-
oldColor: getStyleAttrs('color'),
|
|
249
|
-
}"
|
|
250
|
-
v-theme="{ color: getStyleAttrs('color') }"
|
|
251
|
-
v-if="activeUser"
|
|
252
|
-
>
|
|
253
|
-
<!-- <img v-if="!userCenter" :src="$store.state.user.userInfo.profile.avatar" alt="" /> -->
|
|
254
|
-
<img
|
|
255
|
-
:src="
|
|
256
|
-
walletIcon ||
|
|
257
|
-
require('../../../assets/img/walletconnect.png')
|
|
258
|
-
"
|
|
259
|
-
alt=""
|
|
260
|
-
v-if="walletIcon && walletIcon.indexOf('<svg') == -1"
|
|
261
|
-
/>
|
|
262
|
-
<span v-html="walletIcon" v-else></span>
|
|
263
|
-
{{ walletAccount || walletName }}
|
|
264
|
-
<svg-icon
|
|
265
|
-
className="li-img-2"
|
|
266
|
-
icon-class="arrow-down-w"
|
|
267
|
-
></svg-icon>
|
|
268
|
-
</div>
|
|
269
|
-
|
|
270
|
-
<div
|
|
271
|
-
class="wallet-more-box"
|
|
272
|
-
v-if="walletName.length"
|
|
273
|
-
>
|
|
274
|
-
<userPanel
|
|
275
|
-
v-model="isShowUserPanel"
|
|
276
|
-
top="20"
|
|
277
|
-
:isClickstatus="false"
|
|
278
|
-
type="B"
|
|
279
|
-
/>
|
|
280
|
-
</div>
|
|
281
|
-
</li>
|
|
282
|
-
<li
|
|
283
|
-
class="englishUSD"
|
|
284
|
-
:data-role="currencyRole"
|
|
285
|
-
v-hover="{
|
|
286
|
-
color: getHoverAttr('color'),
|
|
287
|
-
oldColor: getStyleAttrs('color'),
|
|
288
|
-
}"
|
|
289
|
-
v-theme="{
|
|
290
|
-
color: getStyleAttrs('color'),
|
|
291
|
-
fontWeight: getStyleAttrs('fontWeight'),
|
|
292
|
-
}"
|
|
293
|
-
@mouseenter="isShowCurrency = true"
|
|
294
|
-
>
|
|
295
|
-
<span
|
|
296
|
-
>{{ lang }}/{{
|
|
297
|
-
currency.name ||
|
|
298
|
-
'USD'
|
|
299
|
-
}}</span
|
|
300
|
-
>
|
|
301
|
-
<!-- <img src="@/assets/img/down.png" alt=""> -->
|
|
302
|
-
<svg-icon
|
|
303
|
-
className="li-img-2"
|
|
304
|
-
icon-class="arrow-down-w"
|
|
305
|
-
></svg-icon>
|
|
306
|
-
<div class="currencyBox" v-if="isShowCurrency">
|
|
307
|
-
<Currency
|
|
308
|
-
v-model="isShowCurrency"
|
|
309
|
-
top="22"
|
|
310
|
-
left=""
|
|
311
|
-
right="0"
|
|
312
|
-
:role="currencyRole"
|
|
313
|
-
:isClickstatus="false"
|
|
314
|
-
@setLang="setLang"
|
|
315
|
-
/>
|
|
316
|
-
</div>
|
|
317
|
-
</li>
|
|
318
|
-
</ul>
|
|
319
|
-
</div>
|
|
320
|
-
</div>
|
|
321
|
-
</div>
|
|
322
|
-
<TopMessage :class='{active: active}' :show='updateVertionIng'/>
|
|
323
|
-
<dialog-box v-model="noticeDetail" :mask="true" :close="false">
|
|
324
|
-
<div class="notice-detail">
|
|
325
|
-
<div class="title-box">
|
|
326
|
-
<div class="notice-title">
|
|
327
|
-
{{ $t("notification_notifications_title") }}
|
|
328
|
-
</div>
|
|
329
|
-
<div
|
|
330
|
-
:class="[
|
|
331
|
-
'notice-viewall fontHover',
|
|
332
|
-
{ 'notice-gray': !msgList.length || hasNoMsg },
|
|
333
|
-
]"
|
|
334
|
-
>
|
|
335
|
-
<span
|
|
336
|
-
:class="['notice-act-color fontHover']"
|
|
337
|
-
@click="checkNext"
|
|
338
|
-
>{{ $t("notification_notifications_next") }}</span
|
|
339
|
-
>
|
|
340
|
-
<svg-icon
|
|
341
|
-
className="notice-arrow"
|
|
342
|
-
icon-class="arrow-right"
|
|
343
|
-
></svg-icon>
|
|
344
|
-
</div>
|
|
345
|
-
</div>
|
|
346
|
-
<div class="content">
|
|
347
|
-
<div class="title">{{ msgDetail.title }}</div>
|
|
348
|
-
<div class="detail" v-html="msgDetail.content"></div>
|
|
349
|
-
</div>
|
|
350
|
-
<div class="btn-box">
|
|
351
|
-
<button class="btn" @click="noticeDetail = false">
|
|
352
|
-
{{ $t("notification_notifications_understand") }}
|
|
353
|
-
</button>
|
|
354
|
-
</div>
|
|
355
|
-
</div>
|
|
356
|
-
</dialog-box>
|
|
357
|
-
|
|
358
|
-
<dialog-box
|
|
359
|
-
:title="$t('notification_notifications_confirmation')"
|
|
360
|
-
:mask="true"
|
|
361
|
-
v-model="confirmation"
|
|
362
|
-
>
|
|
363
|
-
<div class="confirmation-content">
|
|
364
|
-
<div class="confirmation-desc">
|
|
365
|
-
{{ $t("notification_notifications_all_read") }}
|
|
366
|
-
</div>
|
|
367
|
-
<div class="conf-btns">
|
|
368
|
-
<button
|
|
369
|
-
class="cancel opcHover"
|
|
370
|
-
@click="confirmation = false"
|
|
371
|
-
>
|
|
372
|
-
{{ $t("notification_notifications_cancel") }}
|
|
373
|
-
</button>
|
|
374
|
-
<button class="sure" @click="readAll('sure')">
|
|
375
|
-
{{ $t("notification_notifications_sure") }}
|
|
376
|
-
</button>
|
|
377
|
-
</div>
|
|
378
|
-
</div>
|
|
379
|
-
</dialog-box>
|
|
380
|
-
<div class="mobi-info" v-show="showMobi">
|
|
381
|
-
<div class="mobi-content">
|
|
382
|
-
<div class="mobi-title">
|
|
383
|
-
<span>{{ $t("trade_swap_platform_title") }}</span>
|
|
384
|
-
<svg-icon
|
|
385
|
-
class="icon"
|
|
386
|
-
icon-class="icon-white"
|
|
387
|
-
@click="closeMobi"
|
|
388
|
-
></svg-icon>
|
|
389
|
-
</div>
|
|
390
|
-
<div class="platform bottom">
|
|
391
|
-
<div>
|
|
392
|
-
<span class="platform-title">
|
|
393
|
-
<img :src="mbopSrc" alt="" />
|
|
394
|
-
{{ info.platform_coin_symbol }}
|
|
395
|
-
{{ $t("trade_swap_platform_balance") }}
|
|
396
|
-
</span>
|
|
397
|
-
<span> {{ info.platform_coin_balance }}</span>
|
|
398
|
-
</div>
|
|
399
|
-
<div>
|
|
400
|
-
<span>{{
|
|
401
|
-
$t("trade_swap_mbop_price", {
|
|
402
|
-
coinOp: info.platform_coin_symbol,
|
|
403
|
-
})
|
|
404
|
-
}}</span>
|
|
405
|
-
<span
|
|
406
|
-
>{{ info.currency_symbol
|
|
407
|
-
}}{{ info.market_price }}</span
|
|
408
|
-
>
|
|
409
|
-
</div>
|
|
410
|
-
<div>
|
|
411
|
-
<span>{{
|
|
412
|
-
$t("trade_swap_mbop_circulation", {
|
|
413
|
-
coinOp: info.platform_coin_symbol,
|
|
414
|
-
})
|
|
415
|
-
}}</span>
|
|
416
|
-
<span
|
|
417
|
-
>{{ info.circulation_supply }}
|
|
418
|
-
{{ info.platform_coin_symbol }}</span
|
|
419
|
-
>
|
|
420
|
-
</div>
|
|
421
|
-
<div>
|
|
422
|
-
<span>{{
|
|
423
|
-
$t("trade_swap_total_supply", {
|
|
424
|
-
coin: info.platform_coin_symbol,
|
|
425
|
-
coinOp: info.platform_coin_symbol,
|
|
426
|
-
})
|
|
427
|
-
}}</span>
|
|
428
|
-
<span v-if="info.total_supply">{{
|
|
429
|
-
info.total_supply + " " + info.platform_coin_symbol
|
|
430
|
-
}}</span>
|
|
431
|
-
<span v-else></span>
|
|
432
|
-
</div>
|
|
433
|
-
</div>
|
|
434
|
-
<div class="platform">
|
|
435
|
-
<div>
|
|
436
|
-
<span class="platform-title">
|
|
437
|
-
<img :src="mobiSrc" alt="" />
|
|
438
|
-
{{ info.dividend_coin_symbol }}
|
|
439
|
-
{{ $t("trade_swap_platform_balance") }}
|
|
440
|
-
</span>
|
|
441
|
-
<span>{{ info.dividend_coin_balance }}</span>
|
|
442
|
-
</div>
|
|
443
|
-
<div>
|
|
444
|
-
<span>{{
|
|
445
|
-
$t("trade_swap_mobi_price", {
|
|
446
|
-
coin: info.dividend_coin_symbol,
|
|
447
|
-
})
|
|
448
|
-
}}</span>
|
|
449
|
-
<span
|
|
450
|
-
>{{ info.currency_symbol }}
|
|
451
|
-
{{ info.rigid_price }}</span
|
|
452
|
-
>
|
|
453
|
-
</div>
|
|
454
|
-
<div>
|
|
455
|
-
<span>{{
|
|
456
|
-
$t("trade_swap_mobi_circulation", {
|
|
457
|
-
coin: info.dividend_coin_symbol,
|
|
458
|
-
})
|
|
459
|
-
}}</span>
|
|
460
|
-
<span
|
|
461
|
-
>{{ info.reserve_fund }}
|
|
462
|
-
{{ info.dividend_coin_symbol }}</span
|
|
463
|
-
>
|
|
464
|
-
</div>
|
|
465
|
-
<div>
|
|
466
|
-
<span>{{
|
|
467
|
-
$t("trade_swap_has_mined", {
|
|
468
|
-
coin: info.dividend_coin_symbol,
|
|
469
|
-
})
|
|
470
|
-
}}</span>
|
|
471
|
-
<span v-if="info.yielded">{{
|
|
472
|
-
info.yielded + " " + info.dividend_coin_symbol
|
|
473
|
-
}}</span>
|
|
474
|
-
<span v-else></span>
|
|
475
|
-
</div>
|
|
476
|
-
</div>
|
|
477
|
-
<a
|
|
478
|
-
:href="
|
|
479
|
-
'#/trade/data-preview?coin_name=' +
|
|
480
|
-
info.dividend_coin_symbol +
|
|
481
|
-
'&symbol=' +
|
|
482
|
-
info.platform_coin_symbol
|
|
483
|
-
"
|
|
484
|
-
class="uni"
|
|
485
|
-
>{{
|
|
486
|
-
$t("trade_swap_view_uni_analytics", {
|
|
487
|
-
coin: info.dividend_coin_symbol,
|
|
488
|
-
})
|
|
489
|
-
}}</a
|
|
490
|
-
>
|
|
491
|
-
<a
|
|
492
|
-
href="http://192.168.2.11:7000/ "
|
|
493
|
-
class="uni float-r"
|
|
494
|
-
target="block"
|
|
495
|
-
>
|
|
496
|
-
{{ $t("trade_swap_reserve_funds") }}
|
|
497
|
-
</a>
|
|
498
|
-
</div>
|
|
499
|
-
</div>
|
|
500
|
-
<!-- <MessageTips v-model="urlTips.show" :content='urlTips.content' @sureCallback='gouThirdUrl(urlTips.url)'></MessageTips> -->
|
|
501
|
-
<dialog-box :title="urlTips.title" v-model="urlTips.show" :mask="true">
|
|
502
|
-
<sub-comfirm
|
|
503
|
-
@callFunc="gouThirdUrl"
|
|
504
|
-
title=" "
|
|
505
|
-
:content="urlTips.content"
|
|
506
|
-
:sureText="urlTips.btnText"
|
|
507
|
-
:btnShow="[0, 1]"
|
|
508
|
-
></sub-comfirm>
|
|
509
|
-
</dialog-box>
|
|
510
|
-
</div>
|
|
511
|
-
</template>
|
|
512
|
-
<script>
|
|
513
|
-
import _ from "lodash";
|
|
514
|
-
import { mapState } from "vuex";
|
|
515
|
-
import {
|
|
516
|
-
getUnreadCount,
|
|
517
|
-
getMessage,
|
|
518
|
-
setRead,
|
|
519
|
-
setReadById,
|
|
520
|
-
breakdown,
|
|
521
|
-
} from "../../../api/common";
|
|
522
|
-
import conf from "../../../config/index";
|
|
523
|
-
import { isUserCenter } from "../../../utils/index";
|
|
524
|
-
export default {
|
|
525
|
-
name: "Headerb",
|
|
526
|
-
props: {
|
|
527
|
-
navList: {
|
|
528
|
-
type: Array,
|
|
529
|
-
default: function() {
|
|
530
|
-
return [];
|
|
531
|
-
},
|
|
532
|
-
},
|
|
533
|
-
scrollTop: {
|
|
534
|
-
type: Number,
|
|
535
|
-
default: 500,
|
|
536
|
-
},
|
|
537
|
-
showMiddleInfo: {
|
|
538
|
-
//显示中间信息 区分首页/注册登陆
|
|
539
|
-
type: Boolean,
|
|
540
|
-
default: true,
|
|
541
|
-
},
|
|
542
|
-
logoUrl: {
|
|
543
|
-
type: String,
|
|
544
|
-
default: "",
|
|
545
|
-
},
|
|
546
|
-
background: {
|
|
547
|
-
type: String,
|
|
548
|
-
default: "",
|
|
549
|
-
},
|
|
550
|
-
color: {
|
|
551
|
-
type: String,
|
|
552
|
-
default: "",
|
|
553
|
-
},
|
|
554
|
-
font: {
|
|
555
|
-
type: String,
|
|
556
|
-
default: "",
|
|
557
|
-
},
|
|
558
|
-
hoverColor: {
|
|
559
|
-
type: String,
|
|
560
|
-
default: "var(--primary-color)",
|
|
561
|
-
},
|
|
562
|
-
styleConf: {
|
|
563
|
-
type: Object,
|
|
564
|
-
default: function() {
|
|
565
|
-
return {};
|
|
566
|
-
},
|
|
567
|
-
},
|
|
568
|
-
commonConf: {
|
|
569
|
-
type: Object,
|
|
570
|
-
default: function() {
|
|
571
|
-
return {};
|
|
572
|
-
},
|
|
573
|
-
},
|
|
574
|
-
hideArr: {
|
|
575
|
-
type: Array,
|
|
576
|
-
default: function() {
|
|
577
|
-
return [];
|
|
578
|
-
},
|
|
579
|
-
},
|
|
580
|
-
commonHeader: {
|
|
581
|
-
type: Object,
|
|
582
|
-
default: function() {
|
|
583
|
-
return {};
|
|
584
|
-
},
|
|
585
|
-
},
|
|
586
|
-
},
|
|
587
|
-
computed: {
|
|
588
|
-
...mapState("user", ["userInfo", "currency"]),
|
|
589
|
-
isCentral() {
|
|
590
|
-
return this.$store.state.siteConfig.isCentral;
|
|
591
|
-
},
|
|
592
|
-
logoSrc() {
|
|
593
|
-
let path =
|
|
594
|
-
this.$t("site_common_logo_base_url") +
|
|
595
|
-
(window.location.host.indexOf(conf.localHostIp) == -1
|
|
596
|
-
? window.location.hostname
|
|
597
|
-
: conf.testSite);
|
|
598
|
-
return path;
|
|
599
|
-
},
|
|
600
|
-
routeName() {
|
|
601
|
-
return this.$route.name;
|
|
602
|
-
},
|
|
603
|
-
updateVertionIng() {
|
|
604
|
-
return this.$store.state.common && this.$store.state.common.updateVertionStatus
|
|
605
|
-
},
|
|
606
|
-
chainId() {
|
|
607
|
-
return this.$store.state.wallet.walletChainId;
|
|
608
|
-
},
|
|
609
|
-
walletIcon() {
|
|
610
|
-
const networkDetail = this.$store.getters.filterNetworkItem(this.chainId, 'L1');
|
|
611
|
-
return networkDetail.networkLogo;
|
|
612
|
-
},
|
|
613
|
-
account() {
|
|
614
|
-
return this.$store.getters.account || '';
|
|
615
|
-
},
|
|
616
|
-
},
|
|
617
|
-
watch: {
|
|
618
|
-
isShowCurrency(val) {
|
|
619
|
-
console.log("isShowCurrency", val);
|
|
620
|
-
if (!val) {
|
|
621
|
-
clearTimeout(this.currencyTime);
|
|
622
|
-
}
|
|
623
|
-
},
|
|
624
|
-
"$store.state.wallet.wallet": {
|
|
625
|
-
handler: function(wallet) {
|
|
626
|
-
this.walletlistenerFunc(wallet);
|
|
627
|
-
},
|
|
628
|
-
deep: true,
|
|
629
|
-
},
|
|
630
|
-
"$store.state.user.userInfo.uid"(val) {
|
|
631
|
-
this.initActiveUser();
|
|
632
|
-
if (val && val.length && typeof val != "undefined") {
|
|
633
|
-
this.walletName = val;
|
|
634
|
-
this.activeAccount = this.walletAccount =
|
|
635
|
-
val.slice(0, 4) + "******" + val.slice(-4, val.length);
|
|
636
|
-
// this.initMess()
|
|
637
|
-
} else {
|
|
638
|
-
let syncWallet = this.walletData.getSyncWallet();
|
|
639
|
-
if (!syncWallet) {
|
|
640
|
-
this.activeUser = false;
|
|
641
|
-
this.walletName = "";
|
|
642
|
-
this.walletAccount = this.activeAccount.length
|
|
643
|
-
? this.activeAccount
|
|
644
|
-
: "";
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
},
|
|
648
|
-
},
|
|
649
|
-
data() {
|
|
650
|
-
return {
|
|
651
|
-
urlTips: {
|
|
652
|
-
title: this.$t("common_base_gothird_url_tips_title"),
|
|
653
|
-
show: false,
|
|
654
|
-
content: this.$t("common_base_gothird_url_tips_content"),
|
|
655
|
-
url: "",
|
|
656
|
-
btnText: this.$t("common_base_gothird_url_btn_text"),
|
|
657
|
-
},
|
|
658
|
-
active: false,
|
|
659
|
-
show: true,
|
|
660
|
-
isShowUserPanel: true,
|
|
661
|
-
isShowCurrency: true,
|
|
662
|
-
currencyRole: "currency",
|
|
663
|
-
currencyTime: null,
|
|
664
|
-
left: "",
|
|
665
|
-
rightR: "360",
|
|
666
|
-
noticeNum: 9,
|
|
667
|
-
noticeDetail: false,
|
|
668
|
-
confirmation: false,
|
|
669
|
-
showNotice: false,
|
|
670
|
-
noticeTimeer: null,
|
|
671
|
-
unreadCount: 0,
|
|
672
|
-
msgPage: {
|
|
673
|
-
pageSize: 5,
|
|
674
|
-
pageNum: 1,
|
|
675
|
-
},
|
|
676
|
-
msgList: [],
|
|
677
|
-
msgIndex: 0,
|
|
678
|
-
msgDetail: {},
|
|
679
|
-
hasNoMsg: false,
|
|
680
|
-
sitePath: conf.sitePath,
|
|
681
|
-
siteLogo: conf.siteLogo,
|
|
682
|
-
lang: "",
|
|
683
|
-
language: localStorage.getItem("language") || conf.baseLanguage,
|
|
684
|
-
showMobi: false,
|
|
685
|
-
showMobiBtn: false,
|
|
686
|
-
activeAccount: "",
|
|
687
|
-
activeUser: false,
|
|
688
|
-
info: {},
|
|
689
|
-
mbopSrc: "",
|
|
690
|
-
mobiSrc: "",
|
|
691
|
-
userCenter: isUserCenter(),
|
|
692
|
-
walletName: "",
|
|
693
|
-
walletAccount: "",
|
|
694
|
-
walletActive: false,
|
|
695
|
-
// walletIcon: "",
|
|
696
|
-
};
|
|
697
|
-
},
|
|
698
|
-
created() {
|
|
699
|
-
let fn = this.init();
|
|
700
|
-
window.addEventListener("scroll", fn);
|
|
701
|
-
this.msgList = [];
|
|
702
|
-
// if (this.userInfo.id) {
|
|
703
|
-
// this.initMess()
|
|
704
|
-
// }
|
|
705
|
-
},
|
|
706
|
-
mounted() {
|
|
707
|
-
// refresh event
|
|
708
|
-
this.$nextTick(() => {
|
|
709
|
-
$Vue.$bus.$on("refresh", (events) => {
|
|
710
|
-
events.map((type) => {
|
|
711
|
-
switch (type) {
|
|
712
|
-
case "initActiveUser":
|
|
713
|
-
this.initActiveUser();
|
|
714
|
-
break;
|
|
715
|
-
default:
|
|
716
|
-
break;
|
|
717
|
-
}
|
|
718
|
-
});
|
|
719
|
-
});
|
|
720
|
-
});
|
|
721
|
-
this.walletlistenerFunc();
|
|
722
|
-
},
|
|
723
|
-
methods: {
|
|
724
|
-
/**
|
|
725
|
-
* @description 距离顶部${scrollTop} 设置active
|
|
726
|
-
* @param {*}
|
|
727
|
-
* @return {*}
|
|
728
|
-
*/
|
|
729
|
-
init() {
|
|
730
|
-
return _.throttle(() => {
|
|
731
|
-
let scrollT = window.scrollY;
|
|
732
|
-
if (scrollT >= this.scrollTop) {
|
|
733
|
-
this.active = true;
|
|
734
|
-
} else {
|
|
735
|
-
this.active = false;
|
|
736
|
-
}
|
|
737
|
-
}, 50);
|
|
738
|
-
},
|
|
739
|
-
async initActiveUser() {
|
|
740
|
-
let activeUser =
|
|
741
|
-
(this.userInfo &&
|
|
742
|
-
this.userInfo.uid &&
|
|
743
|
-
this.userInfo.uid.length) ||
|
|
744
|
-
0;
|
|
745
|
-
let token = localStorage.getItem("TOKEN");
|
|
746
|
-
let syncWallet = this.walletData.getSyncWallet();
|
|
747
|
-
let walletActive =
|
|
748
|
-
(syncWallet && Object.keys(syncWallet).length) || false;
|
|
749
|
-
if (this.userCenter) {
|
|
750
|
-
this.activeUser = activeUser;
|
|
751
|
-
} else {
|
|
752
|
-
this.activeUser = activeUser && walletActive && token;
|
|
753
|
-
}
|
|
754
|
-
// this.walletIcon = window.localStorage.getItem("selectedIcon");
|
|
755
|
-
},
|
|
756
|
-
async testLogin() {
|
|
757
|
-
let account = localStorage.getItem("walletconnect_self");
|
|
758
|
-
let walletAccount = this.account || ''; //this.walletData.getAddress() || "";
|
|
759
|
-
if (account && account != walletAccount) {
|
|
760
|
-
$Vue.$bus.$emit("linkLogin", {
|
|
761
|
-
type: "clearWallet",
|
|
762
|
-
});
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
|
-
walletlistenerFunc(wallet) {
|
|
766
|
-
wallet = wallet || this.$store.state.wallet.wallet;
|
|
767
|
-
let walletName = (!this.userCenter && wallet.address) || "";
|
|
768
|
-
if (walletName && walletName.length) {
|
|
769
|
-
this.walletAccount = this.activeAccount = this.walletName =
|
|
770
|
-
walletName.slice(0, 4) +
|
|
771
|
-
"******" +
|
|
772
|
-
walletName.slice(-4, walletName.length);
|
|
773
|
-
} else {
|
|
774
|
-
this.walletName = "";
|
|
775
|
-
}
|
|
776
|
-
this.$store.dispatch("getCommonTokenList").then((result) => {
|
|
777
|
-
let symbolCoins = this.$store.getters["commonTokenDetail"](
|
|
778
|
-
"MOBI"
|
|
779
|
-
);
|
|
780
|
-
if (Object.keys(symbolCoins).length) {
|
|
781
|
-
this.showMobiBtn = true;
|
|
782
|
-
// this.breakdown()
|
|
783
|
-
}
|
|
784
|
-
}).catch(e => e);
|
|
785
|
-
this.initActiveUser();
|
|
786
|
-
},
|
|
787
|
-
setLang(lang) {
|
|
788
|
-
this.lang = lang;
|
|
789
|
-
this.language = localStorage.getItem("language");
|
|
790
|
-
},
|
|
791
|
-
getHoverAttr(type) {
|
|
792
|
-
let site_type = this.active ? "down" : "up";
|
|
793
|
-
let dealObj = Object.keys(this.styleConf).length
|
|
794
|
-
? this.styleConf
|
|
795
|
-
: this.commonHeader;
|
|
796
|
-
let hover =
|
|
797
|
-
(dealObj && dealObj[site_type] && dealObj[site_type].hover) ||
|
|
798
|
-
{};
|
|
799
|
-
return hover[type] || "";
|
|
800
|
-
},
|
|
801
|
-
getStyleAttrs(type) {
|
|
802
|
-
let dealObj = Object.keys(this.styleConf).length
|
|
803
|
-
? this.styleConf
|
|
804
|
-
: this.commonHeader;
|
|
805
|
-
return this.active
|
|
806
|
-
? (dealObj && dealObj.down && dealObj.down[type]) || ""
|
|
807
|
-
: (dealObj && dealObj.up && dealObj.up[type]) || "";
|
|
808
|
-
},
|
|
809
|
-
getStyleSetAttrs(arr) {
|
|
810
|
-
let temp = {};
|
|
811
|
-
arr.map((v) => {
|
|
812
|
-
temp[v] = this.getStyleAttrs(v);
|
|
813
|
-
});
|
|
814
|
-
return temp;
|
|
815
|
-
},
|
|
816
|
-
dealUrl(item) {
|
|
817
|
-
if (item.child && item.child.length) return;
|
|
818
|
-
switch (item.bar_name) {
|
|
819
|
-
// case 'API':
|
|
820
|
-
// this.goApi()
|
|
821
|
-
// break;
|
|
822
|
-
case "history":
|
|
823
|
-
this.$router.push({
|
|
824
|
-
path: "/trade/history",
|
|
825
|
-
});
|
|
826
|
-
break;
|
|
827
|
-
default:
|
|
828
|
-
console.log('item.click_url', item.click_url)
|
|
829
|
-
if (item.click_url.indexOf("http") >= 0) {
|
|
830
|
-
if (item.bar_name !== "Faucet") {
|
|
831
|
-
window.open(item.click_url, "_blank");
|
|
832
|
-
} else {
|
|
833
|
-
this.urlTips.show = true;
|
|
834
|
-
this.urlTips.url = item.click_url;
|
|
835
|
-
}
|
|
836
|
-
} else {
|
|
837
|
-
this.$router.push({
|
|
838
|
-
path: item.click_url,
|
|
839
|
-
});
|
|
840
|
-
}
|
|
841
|
-
break;
|
|
842
|
-
}
|
|
843
|
-
},
|
|
844
|
-
gouThirdUrl(url) {
|
|
845
|
-
if (url) {
|
|
846
|
-
window.open(this.urlTips.url, "_blank");
|
|
847
|
-
}
|
|
848
|
-
this.urlTips.show = false;
|
|
849
|
-
},
|
|
850
|
-
goOrderUrl(type) {
|
|
851
|
-
// if (this.uid) {
|
|
852
|
-
let tradeMode = this.$store.state.trade.tradeMode
|
|
853
|
-
this.$router.push({
|
|
854
|
-
path: `/order/history/${tradeMode}`,
|
|
855
|
-
query: {
|
|
856
|
-
type: type,
|
|
857
|
-
t: +new Date(),
|
|
858
|
-
},
|
|
859
|
-
});
|
|
860
|
-
// }
|
|
861
|
-
},
|
|
862
|
-
goApi() {
|
|
863
|
-
let url = this.$t("site_common_api_doc_url");
|
|
864
|
-
if (url != "site_common_api_doc_url") {
|
|
865
|
-
window.open("https://mysoftlife.github.io/", "_target");
|
|
866
|
-
} else {
|
|
867
|
-
window.open(url, "_target");
|
|
868
|
-
}
|
|
869
|
-
},
|
|
870
|
-
initMess() {
|
|
871
|
-
let token = localStorage.getItem("TOKEN");
|
|
872
|
-
if (!token) return;
|
|
873
|
-
this.getUnreadCountFunc();
|
|
874
|
-
clearTimeout(this.noticeTimeer);
|
|
875
|
-
this.noticeTimeer = setTimeout(() => {
|
|
876
|
-
this.getUnreadCountFunc();
|
|
877
|
-
}, conf.noticeRefresh);
|
|
878
|
-
|
|
879
|
-
// register msg read
|
|
880
|
-
$Vue.$bus.$on("setRead", (idArrs) => {
|
|
881
|
-
if (idArrs.length) {
|
|
882
|
-
this.msgList.map((v) => {
|
|
883
|
-
if (v.unread && idArrs.indexOf(v.id) != "-1") {
|
|
884
|
-
v.unread = false;
|
|
885
|
-
this.unreadCount--;
|
|
886
|
-
this.unreadCount =
|
|
887
|
-
this.unreadCount < 0 ? 0 : this.unreadCount;
|
|
888
|
-
}
|
|
889
|
-
});
|
|
890
|
-
}
|
|
891
|
-
});
|
|
892
|
-
},
|
|
893
|
-
showNoticeToast() {
|
|
894
|
-
this.$Message.warning({
|
|
895
|
-
render: (h) => {
|
|
896
|
-
let that = this;
|
|
897
|
-
return h(
|
|
898
|
-
"span",
|
|
899
|
-
{
|
|
900
|
-
style: {
|
|
901
|
-
fontSize: "16px",
|
|
902
|
-
fontFamily: "Font",
|
|
903
|
-
fontWeight: 400,
|
|
904
|
-
color: "var(--text-color)",
|
|
905
|
-
lineHeight: "22px",
|
|
906
|
-
},
|
|
907
|
-
},
|
|
908
|
-
[
|
|
909
|
-
that.$t("notification_notifications_new_message") +
|
|
910
|
-
".",
|
|
911
|
-
h(
|
|
912
|
-
"a",
|
|
913
|
-
{
|
|
914
|
-
style: {
|
|
915
|
-
marginLeft: "30px",
|
|
916
|
-
color: "rgba(22,82,240,1)",
|
|
917
|
-
},
|
|
918
|
-
on: {
|
|
919
|
-
click: () => {
|
|
920
|
-
let routeName = this.$route.name;
|
|
921
|
-
if (routeName == "notice") {
|
|
922
|
-
// this.$parent.getMessageFunc(1, 5)
|
|
923
|
-
$Vue.$bus.$emit(
|
|
924
|
-
"noticeRefresh"
|
|
925
|
-
);
|
|
926
|
-
} else {
|
|
927
|
-
this.msgPage.pageNum = 1;
|
|
928
|
-
this.msgPage.pageSize = 5;
|
|
929
|
-
this.getMessageFunc(
|
|
930
|
-
1,
|
|
931
|
-
5,
|
|
932
|
-
this.noticeDetail
|
|
933
|
-
);
|
|
934
|
-
}
|
|
935
|
-
this.$Message.destroy();
|
|
936
|
-
},
|
|
937
|
-
},
|
|
938
|
-
},
|
|
939
|
-
that.$t("notification_notifications_refresh")
|
|
940
|
-
),
|
|
941
|
-
]
|
|
942
|
-
);
|
|
943
|
-
},
|
|
944
|
-
duration: 0,
|
|
945
|
-
});
|
|
946
|
-
},
|
|
947
|
-
breakdown() {
|
|
948
|
-
if (
|
|
949
|
-
this.$store.state.user.currency &&
|
|
950
|
-
!Object.keys(this.info).length
|
|
951
|
-
) {
|
|
952
|
-
breakdown({
|
|
953
|
-
currency_symbol:
|
|
954
|
-
this.$store.state.user.currency.symbol || "$",
|
|
955
|
-
currency_name:
|
|
956
|
-
this.$store.state.user.currency.name ||
|
|
957
|
-
'USD',
|
|
958
|
-
}).then((res) => {
|
|
959
|
-
this.info = res.data;
|
|
960
|
-
let mbopCoins = this.$store.getters["commonTokenDetail"](
|
|
961
|
-
res.data.platform_coin_symbol
|
|
962
|
-
);
|
|
963
|
-
this.mbopSrc = mbopCoins.icon_url || "";
|
|
964
|
-
let mobiCoins = this.$store.getters["commonTokenDetail"](
|
|
965
|
-
res.data.dividend_coin_symbol
|
|
966
|
-
);
|
|
967
|
-
this.mobiSrc = mobiCoins.icon_url || "";
|
|
968
|
-
}).catch(e => e);
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
showNoticeFunc(val) {
|
|
972
|
-
this.showNotice = Boolean(val);
|
|
973
|
-
},
|
|
974
|
-
getUnreadCountFunc() {
|
|
975
|
-
getUnreadCount()
|
|
976
|
-
.then((res) => {
|
|
977
|
-
if (res.data.code == 200) {
|
|
978
|
-
if (this.unreadCount != res.data.data) {
|
|
979
|
-
if (this.showNotice) {
|
|
980
|
-
this.showNoticeToast();
|
|
981
|
-
} else if (!this.noticeDetail && res.data.data) {
|
|
982
|
-
this.msgPage.pageNum = 1;
|
|
983
|
-
this.msgPage.pageSize = 5;
|
|
984
|
-
this.getMessageFunc(1, 5);
|
|
985
|
-
}
|
|
986
|
-
this.unreadCount = res.data.data;
|
|
987
|
-
} else if (!this.unreadCount) {
|
|
988
|
-
this.getMessageFunc(1, 5);
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
})
|
|
992
|
-
.catch((err) => {
|
|
993
|
-
clearTimeout(this.noticeTimeer);
|
|
994
|
-
});
|
|
995
|
-
},
|
|
996
|
-
getMessageFunc(pageNum, pageSize, isCheckNext) {
|
|
997
|
-
getMessage({ page_number: pageNum, page_size: pageSize }).then(
|
|
998
|
-
(res) => {
|
|
999
|
-
let result = res.data;
|
|
1000
|
-
if (result.code == 200) {
|
|
1001
|
-
let msgList = Object.assign(
|
|
1002
|
-
[],
|
|
1003
|
-
result.data && result.data.message_list
|
|
1004
|
-
);
|
|
1005
|
-
msgList.map((v) => {
|
|
1006
|
-
v.content = v.content.replace(
|
|
1007
|
-
/((?:http:\/\/)(.*?)\/)(.*)/g,
|
|
1008
|
-
function(a, b, c, d) {
|
|
1009
|
-
let host = window.location.origin + "/";
|
|
1010
|
-
if (a.indexOf("#") === -1) {
|
|
1011
|
-
host += "#/";
|
|
1012
|
-
}
|
|
1013
|
-
let url = a
|
|
1014
|
-
.slice(0, a.length - 1)
|
|
1015
|
-
.replace(b, host);
|
|
1016
|
-
return `<a href='${url}'>${url}</a>`;
|
|
1017
|
-
}
|
|
1018
|
-
);
|
|
1019
|
-
});
|
|
1020
|
-
if (isCheckNext) {
|
|
1021
|
-
if (msgList.length) {
|
|
1022
|
-
this.hasNoMsg = false;
|
|
1023
|
-
this.msgList = msgList;
|
|
1024
|
-
this.msgIndex = 0;
|
|
1025
|
-
this.msgDetail = Object.assign(
|
|
1026
|
-
{},
|
|
1027
|
-
this.msgDetail,
|
|
1028
|
-
this.msgList[this.msgIndex]
|
|
1029
|
-
);
|
|
1030
|
-
this.msgDetail.content.replace(
|
|
1031
|
-
/((?:http:\/\/)(.*?)\/)(.*)/g,
|
|
1032
|
-
function(a, b, c, d) {
|
|
1033
|
-
let host = window.location.origin + "/";
|
|
1034
|
-
if (a.indexOf("#") === -1) {
|
|
1035
|
-
host += "#/";
|
|
1036
|
-
}
|
|
1037
|
-
let url = a
|
|
1038
|
-
.slice(0, a.length - 1)
|
|
1039
|
-
.replace(b, host);
|
|
1040
|
-
return `<a href='${url}'>${url}</a>`;
|
|
1041
|
-
}
|
|
1042
|
-
);
|
|
1043
|
-
} else {
|
|
1044
|
-
this.hasNoMsg = true;
|
|
1045
|
-
}
|
|
1046
|
-
} else {
|
|
1047
|
-
this.msgList = msgList;
|
|
1048
|
-
this.hasNoMsg = false;
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
).catch(e => e);
|
|
1053
|
-
},
|
|
1054
|
-
readAll(judge) {
|
|
1055
|
-
if (!judge) {
|
|
1056
|
-
this.confirmation = true;
|
|
1057
|
-
} else {
|
|
1058
|
-
this.confirmation = false;
|
|
1059
|
-
setRead().then((res) => {
|
|
1060
|
-
if (res.data.code == 200) {
|
|
1061
|
-
let idarrs = this.msgList.map((v) => {
|
|
1062
|
-
v.unread = false;
|
|
1063
|
-
return v.id;
|
|
1064
|
-
});
|
|
1065
|
-
this.unreadCount -= this.msgList.length;
|
|
1066
|
-
this.unreadCount =
|
|
1067
|
-
this.unreadCount < 0 ? 0 : this.unreadCount;
|
|
1068
|
-
$Vue.$bus.$emit("noticeCenter", idarrs);
|
|
1069
|
-
$Vue.$bus.$on("setRead", idarrs);
|
|
1070
|
-
}
|
|
1071
|
-
}).catch(e => e);
|
|
1072
|
-
}
|
|
1073
|
-
},
|
|
1074
|
-
setItemRead(item) {
|
|
1075
|
-
let id = item.id;
|
|
1076
|
-
let routeName = this.$route.name;
|
|
1077
|
-
if (item.unread) {
|
|
1078
|
-
setReadById({ id: id }).then((res) => {
|
|
1079
|
-
let editItem = {};
|
|
1080
|
-
this.msgList.map((v, i) => {
|
|
1081
|
-
if (v.id === id) {
|
|
1082
|
-
v.unread = false;
|
|
1083
|
-
this.unreadCount--;
|
|
1084
|
-
this.unreadCount =
|
|
1085
|
-
this.unreadCount < 0 ? 0 : this.unreadCount;
|
|
1086
|
-
editItem = v;
|
|
1087
|
-
if (routeName != "notice") {
|
|
1088
|
-
this.msgList.splice(i, 1);
|
|
1089
|
-
}
|
|
1090
|
-
$Vue.$bus.$emit("noticeCenter", [v.id]);
|
|
1091
|
-
}
|
|
1092
|
-
});
|
|
1093
|
-
if (routeName != "notice") {
|
|
1094
|
-
this.msgList.unshift(editItem);
|
|
1095
|
-
this.msgIndex = 0;
|
|
1096
|
-
this.msgDetail = Object.assign(
|
|
1097
|
-
{},
|
|
1098
|
-
this.msgList[this.msgIndex]
|
|
1099
|
-
);
|
|
1100
|
-
this.noticeDetail = true;
|
|
1101
|
-
}
|
|
1102
|
-
this.showNotice = false;
|
|
1103
|
-
$Vue.$bus.$on("setRead", [id]);
|
|
1104
|
-
}).catch(e => e);
|
|
1105
|
-
} else {
|
|
1106
|
-
let editItem = {};
|
|
1107
|
-
this.msgList.map((v, i) => {
|
|
1108
|
-
if (v.id === id) {
|
|
1109
|
-
editItem = v;
|
|
1110
|
-
if (routeName != "notice") {
|
|
1111
|
-
this.msgList.splice(i, 1);
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
});
|
|
1115
|
-
if (routeName != "notice") {
|
|
1116
|
-
this.msgList.unshift(editItem);
|
|
1117
|
-
this.msgIndex = 0;
|
|
1118
|
-
this.msgDetail = Object.assign(
|
|
1119
|
-
{},
|
|
1120
|
-
this.msgList[this.msgIndex]
|
|
1121
|
-
);
|
|
1122
|
-
this.noticeDetail = true;
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
checkNext() {
|
|
1127
|
-
if (!this.msgList.length) return;
|
|
1128
|
-
if (this.msgIndex < this.msgList.length - 1) {
|
|
1129
|
-
this.hasNoMsg = false;
|
|
1130
|
-
this.msgDetail = Object.assign(
|
|
1131
|
-
{},
|
|
1132
|
-
this.msgList[++this.msgIndex]
|
|
1133
|
-
);
|
|
1134
|
-
let id = this.msgDetail.id;
|
|
1135
|
-
if (this.msgDetail.unread) {
|
|
1136
|
-
setReadById({ id: id }).then((res) => {
|
|
1137
|
-
let editItem = {};
|
|
1138
|
-
this.msgList.map((v, i) => {
|
|
1139
|
-
if (v.id === id) {
|
|
1140
|
-
v.unread = false;
|
|
1141
|
-
this.unreadCount--;
|
|
1142
|
-
this.unreadCount =
|
|
1143
|
-
this.unreadCount < 0 ? 0 : this.unreadCount;
|
|
1144
|
-
$Vue.$bus.$emit("noticeCenter", [v.id]);
|
|
1145
|
-
}
|
|
1146
|
-
});
|
|
1147
|
-
}).catch(e => e);
|
|
1148
|
-
}
|
|
1149
|
-
} else {
|
|
1150
|
-
this.msgPage.pageNum++;
|
|
1151
|
-
this.getMessageFunc(this.msgPage.pageNum, 5, true);
|
|
1152
|
-
}
|
|
1153
|
-
},
|
|
1154
|
-
setCurrencyFunc() {
|
|
1155
|
-
clearTimeout(this.currencyTime);
|
|
1156
|
-
this.currencyTime = setTimeout(() => {
|
|
1157
|
-
this.isShowCurrency = true;
|
|
1158
|
-
}, 1000);
|
|
1159
|
-
},
|
|
1160
|
-
goPerpetual() {
|
|
1161
|
-
this.$router.push({
|
|
1162
|
-
path: "/trade/perpetual?symbol=WBTC-USDT"
|
|
1163
|
-
});
|
|
1164
|
-
},
|
|
1165
|
-
getStarted() {
|
|
1166
|
-
localStorage.setItem("loginType", "1");
|
|
1167
|
-
this.$router.push({
|
|
1168
|
-
path: "/user/register",
|
|
1169
|
-
});
|
|
1170
|
-
},
|
|
1171
|
-
login(type) {
|
|
1172
|
-
if (this.userCenter) {
|
|
1173
|
-
this.$router.push({
|
|
1174
|
-
path: "/user/login",
|
|
1175
|
-
});
|
|
1176
|
-
} else {
|
|
1177
|
-
$Vue.$bus.$emit("linkWalletByConnetBtn");
|
|
1178
|
-
}
|
|
1179
|
-
},
|
|
1180
|
-
closeMobi() {
|
|
1181
|
-
this.showMobi = false;
|
|
1182
|
-
},
|
|
1183
|
-
showMobiInfo() {
|
|
1184
|
-
this.showMobi = true;
|
|
1185
|
-
this.breakdown();
|
|
1186
|
-
},
|
|
1187
|
-
goWhite() {
|
|
1188
|
-
this.$router.push({
|
|
1189
|
-
path: "/cms/announcement/announcement?type=WHITE_PAPER",
|
|
1190
|
-
});
|
|
1191
|
-
},
|
|
1192
|
-
goHome() {
|
|
1193
|
-
this.$router.push({
|
|
1194
|
-
path: "/",
|
|
1195
|
-
});
|
|
1196
|
-
},
|
|
1197
|
-
|
|
1198
|
-
goStarted() {
|
|
1199
|
-
Storage.set("loginType", "1");
|
|
1200
|
-
this.$router.push({
|
|
1201
|
-
path:"/user/register"
|
|
1202
|
-
})
|
|
1203
|
-
},
|
|
1204
|
-
goLogin() {
|
|
1205
|
-
this.$router.push({
|
|
1206
|
-
path:"/user/login"
|
|
1207
|
-
})
|
|
1208
|
-
},
|
|
1209
|
-
},
|
|
1210
|
-
};
|
|
1211
|
-
</script>
|
|
1212
|
-
<style lang="less" scoped>
|
|
1213
|
-
.header-wrapper {
|
|
1214
|
-
height: 60px;
|
|
1215
|
-
}
|
|
1216
|
-
.mobi-info {
|
|
1217
|
-
position: fixed;
|
|
1218
|
-
top: 0;
|
|
1219
|
-
left: 0;
|
|
1220
|
-
z-index: 9999999;
|
|
1221
|
-
width: 100vw;
|
|
1222
|
-
height: 100vh;
|
|
1223
|
-
overflow: hidden;
|
|
1224
|
-
background: rgba(0, 0, 0, 0.8);
|
|
1225
|
-
|
|
1226
|
-
.mobi-content {
|
|
1227
|
-
position: absolute;
|
|
1228
|
-
top: 50%;
|
|
1229
|
-
left: 50%;
|
|
1230
|
-
transform: translate(-50%, -50%);
|
|
1231
|
-
width: 450px;
|
|
1232
|
-
height: 457px;
|
|
1233
|
-
background: url("../../../assets/img/mobi-bg.png") 0 0 no-repeat;
|
|
1234
|
-
background-size: contain;
|
|
1235
|
-
padding: 20px;
|
|
1236
|
-
.mobi-title {
|
|
1237
|
-
font-size: 16px;
|
|
1238
|
-
font-family: Font;
|
|
1239
|
-
|
|
1240
|
-
text-align: left;
|
|
1241
|
-
color: #ffffff;
|
|
1242
|
-
line-height: 16px;
|
|
1243
|
-
display: flex;
|
|
1244
|
-
justify-content: space-between;
|
|
1245
|
-
align-items: center;
|
|
1246
|
-
.icon {
|
|
1247
|
-
width: 20px;
|
|
1248
|
-
height: 20px;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
.platform {
|
|
1252
|
-
padding-bottom: 28px;
|
|
1253
|
-
div {
|
|
1254
|
-
margin-top: 15px;
|
|
1255
|
-
font-size: 16px;
|
|
1256
|
-
font-family: Font;
|
|
1257
|
-
|
|
1258
|
-
text-align: left;
|
|
1259
|
-
color: #ffffff;
|
|
1260
|
-
line-height: 16px;
|
|
1261
|
-
display: flex;
|
|
1262
|
-
justify-content: space-between;
|
|
1263
|
-
}
|
|
1264
|
-
.platform-title {
|
|
1265
|
-
display: flex;
|
|
1266
|
-
align-items: center;
|
|
1267
|
-
img {
|
|
1268
|
-
margin-right: 11px;
|
|
1269
|
-
width: 36px;
|
|
1270
|
-
height: 36px;
|
|
1271
|
-
display: flex;
|
|
1272
|
-
align-items: center;
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
.platform.bottom {
|
|
1277
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
|
1278
|
-
}
|
|
1279
|
-
.uni {
|
|
1280
|
-
font-size: 16px;
|
|
1281
|
-
font-family: Font;
|
|
1282
|
-
|
|
1283
|
-
text-decoration: underline;
|
|
1284
|
-
text-align: left;
|
|
1285
|
-
color: var(--primary-color);
|
|
1286
|
-
line-height: 16px;
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
.header-nav {
|
|
1291
|
-
position: absolute;
|
|
1292
|
-
// width: 100vw;
|
|
1293
|
-
z-index: 1000;
|
|
1294
|
-
box-sizing: border-box;
|
|
1295
|
-
top: 0;
|
|
1296
|
-
left: 0;
|
|
1297
|
-
right: 0;
|
|
1298
|
-
height: 60px;
|
|
1299
|
-
display: flex;
|
|
1300
|
-
align-items: center;
|
|
1301
|
-
background: rgba(0, 0, 0, 0.8);
|
|
1302
|
-
.contentWidth {
|
|
1303
|
-
// .heartWidth;
|
|
1304
|
-
flex: auto;
|
|
1305
|
-
width: 100%;
|
|
1306
|
-
padding: 0 10px;
|
|
1307
|
-
display: flex;
|
|
1308
|
-
align-items: center;
|
|
1309
|
-
flex-wrap: nowrap;
|
|
1310
|
-
justify-content: space-between;
|
|
1311
|
-
}
|
|
1312
|
-
.logo {
|
|
1313
|
-
min-width: 132px;
|
|
1314
|
-
height: 20px;
|
|
1315
|
-
font-size: 0;
|
|
1316
|
-
cursor: pointer;
|
|
1317
|
-
margin-top: -2px;
|
|
1318
|
-
.imgsvg {
|
|
1319
|
-
width: auto;
|
|
1320
|
-
height: 20px;
|
|
1321
|
-
color: white;
|
|
1322
|
-
}
|
|
1323
|
-
.imgsvgactive {
|
|
1324
|
-
filter: invert(1);
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
.nav,
|
|
1328
|
-
.right-tool {
|
|
1329
|
-
font-size: 14px;
|
|
1330
|
-
font-family: Font;
|
|
1331
|
-
//
|
|
1332
|
-
text-align: left;
|
|
1333
|
-
letter-spacing: 0px;
|
|
1334
|
-
display: flex;
|
|
1335
|
-
align-items: center;
|
|
1336
|
-
margin-left: 15rpx;
|
|
1337
|
-
li {
|
|
1338
|
-
position: relative;
|
|
1339
|
-
margin-left: 26px;
|
|
1340
|
-
white-space: nowrap;
|
|
1341
|
-
cursor: pointer;
|
|
1342
|
-
.wallet-more-box {
|
|
1343
|
-
display: none;
|
|
1344
|
-
position: absolute;
|
|
1345
|
-
top: 30px;
|
|
1346
|
-
left: 0;
|
|
1347
|
-
min-width: 160px;
|
|
1348
|
-
min-height: 120px;
|
|
1349
|
-
}
|
|
1350
|
-
.wallet-more {
|
|
1351
|
-
position: absolute;
|
|
1352
|
-
z-index: 2;
|
|
1353
|
-
top: 22px;
|
|
1354
|
-
left: 0;
|
|
1355
|
-
min-width: 160px;
|
|
1356
|
-
background: #ffffff;
|
|
1357
|
-
border: 1px solid var(--border-color-base);
|
|
1358
|
-
border-radius: 6px;
|
|
1359
|
-
box-shadow: 0px 4px 12px 0px rgba(17, 51, 83, 0.02);
|
|
1360
|
-
.wallet-title {
|
|
1361
|
-
height: 48px;
|
|
1362
|
-
line-height: 48px;
|
|
1363
|
-
padding: 0 16px;
|
|
1364
|
-
font-size: 16px;
|
|
1365
|
-
font-family: Font;
|
|
1366
|
-
|
|
1367
|
-
color: #303233;
|
|
1368
|
-
}
|
|
1369
|
-
.wallet-title:hover {
|
|
1370
|
-
background: var(--card-bg-color);
|
|
1371
|
-
color: var(--primary-color);
|
|
1372
|
-
}
|
|
1373
|
-
.wallet-subtitle {
|
|
1374
|
-
margin-top: 8px;
|
|
1375
|
-
font-size: 12px;
|
|
1376
|
-
// font-weight:400px;
|
|
1377
|
-
color: #909599;
|
|
1378
|
-
font-family: FontMedium;
|
|
1379
|
-
}
|
|
1380
|
-
}
|
|
1381
|
-
.wallet-more-box-first {
|
|
1382
|
-
top: 10px;
|
|
1383
|
-
.wallet-more {
|
|
1384
|
-
top: 32px;
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
.wallet-more-box:hover {
|
|
1388
|
-
display: block;
|
|
1389
|
-
}
|
|
1390
|
-
.download {
|
|
1391
|
-
width: 16px;
|
|
1392
|
-
}
|
|
1393
|
-
.li-img-2 {
|
|
1394
|
-
width: 20px;
|
|
1395
|
-
height: 20px;
|
|
1396
|
-
// margin-left: 4px;
|
|
1397
|
-
vertical-align: -5px;
|
|
1398
|
-
transition: all 0.5s;
|
|
1399
|
-
color: var(--border-color-base);
|
|
1400
|
-
}
|
|
1401
|
-
.li-img {
|
|
1402
|
-
width: 20px;
|
|
1403
|
-
height: 20px;
|
|
1404
|
-
margin-left: 2px;
|
|
1405
|
-
cursor: pointer;
|
|
1406
|
-
}
|
|
1407
|
-
/deep/ .li-img {
|
|
1408
|
-
width: 20px;
|
|
1409
|
-
height: 20px;
|
|
1410
|
-
margin-left: 2px;
|
|
1411
|
-
}
|
|
1412
|
-
.li-img-head {
|
|
1413
|
-
height: 30px;
|
|
1414
|
-
width: 30px;
|
|
1415
|
-
border-radius: 50%;
|
|
1416
|
-
}
|
|
1417
|
-
}
|
|
1418
|
-
li.wallet-order {
|
|
1419
|
-
height: 46px;
|
|
1420
|
-
line-height: 46px;
|
|
1421
|
-
color: white;
|
|
1422
|
-
.wallet-more-box {
|
|
1423
|
-
transform: translateX(0);
|
|
1424
|
-
}
|
|
1425
|
-
.nav-text {
|
|
1426
|
-
height: 46px;
|
|
1427
|
-
line-height: 46px;
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
li.mobi {
|
|
1431
|
-
img {
|
|
1432
|
-
width: 56px;
|
|
1433
|
-
height: 34px;
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
li.walletconnect {
|
|
1437
|
-
min-width: 131px;
|
|
1438
|
-
height: 36px;
|
|
1439
|
-
padding: 0 6px;
|
|
1440
|
-
border: 1px solid transparent;
|
|
1441
|
-
opacity: 1;
|
|
1442
|
-
background: var(--primary-bg-color);
|
|
1443
|
-
border-radius: 6px;
|
|
1444
|
-
line-height: 36px;
|
|
1445
|
-
text-align: center;
|
|
1446
|
-
font-size: 14px;
|
|
1447
|
-
font-family: FontMedium;
|
|
1448
|
-
color: #ffffff;
|
|
1449
|
-
}
|
|
1450
|
-
li.walletconnect:hover {
|
|
1451
|
-
color: var(--primary-color);
|
|
1452
|
-
border: 1px solid var(--primary-color);
|
|
1453
|
-
background: #ffffff;
|
|
1454
|
-
}
|
|
1455
|
-
li.walletconnectActive {
|
|
1456
|
-
color: var(--primary-color);
|
|
1457
|
-
border: 1px solid var(--primary-color);
|
|
1458
|
-
background: #ffffff;
|
|
1459
|
-
&:hover {
|
|
1460
|
-
color: #ffffff !important;
|
|
1461
|
-
background: var(--primary-bg-color);
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
.userPannel-li {
|
|
1465
|
-
position: relative;
|
|
1466
|
-
.userPannel {
|
|
1467
|
-
display: none;
|
|
1468
|
-
position: absolute;
|
|
1469
|
-
top: 30px;
|
|
1470
|
-
left: 15px;
|
|
1471
|
-
z-index: 2;
|
|
1472
|
-
width: 200px;
|
|
1473
|
-
height: 500px;
|
|
1474
|
-
transform: translateX(-50%);
|
|
1475
|
-
}
|
|
1476
|
-
.userPannel:hover {
|
|
1477
|
-
display: block;
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
.userPannel-li:hover {
|
|
1481
|
-
.userPannel {
|
|
1482
|
-
display: block;
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
.download-li {
|
|
1486
|
-
position: relative;
|
|
1487
|
-
z-index: 2;
|
|
1488
|
-
.li-message {
|
|
1489
|
-
position: relative;
|
|
1490
|
-
width: 20px;
|
|
1491
|
-
height: 20px;
|
|
1492
|
-
.li-message-dot {
|
|
1493
|
-
position: absolute;
|
|
1494
|
-
z-index: 2;
|
|
1495
|
-
top: 0;
|
|
1496
|
-
right: 0;
|
|
1497
|
-
transform: translateX(50%) translateY(-50%);
|
|
1498
|
-
padding: 0 4px;
|
|
1499
|
-
line-height: 16px;
|
|
1500
|
-
text-align: center;
|
|
1501
|
-
background: #ff3b30;
|
|
1502
|
-
border-radius: 16px;
|
|
1503
|
-
color: white;
|
|
1504
|
-
font-size: 12px;
|
|
1505
|
-
}
|
|
1506
|
-
.li-message-box {
|
|
1507
|
-
display: block;
|
|
1508
|
-
position: absolute;
|
|
1509
|
-
left: 0;
|
|
1510
|
-
top: 20px;
|
|
1511
|
-
padding-top: 22px;
|
|
1512
|
-
width: 380px;
|
|
1513
|
-
transform: translateX(-50%);
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
.li-message:hover {
|
|
1517
|
-
.li-message-box {
|
|
1518
|
-
display: block;
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
.wallet:hover {
|
|
1523
|
-
.wallet-more-box {
|
|
1524
|
-
display: block;
|
|
1525
|
-
}
|
|
1526
|
-
.li-img-2 {
|
|
1527
|
-
transform: rotate(180deg);
|
|
1528
|
-
color: var(--primary-color);
|
|
1529
|
-
}
|
|
1530
|
-
a {
|
|
1531
|
-
color: var(--primary-color);
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
li.getstarted {
|
|
1535
|
-
width: 108px;
|
|
1536
|
-
height: 36px;
|
|
1537
|
-
line-height: 36px;
|
|
1538
|
-
margin-left: 16rpx;
|
|
1539
|
-
border-radius: 6px;
|
|
1540
|
-
border: 1px solid var(--border-color-base);
|
|
1541
|
-
color: var(--border-color-base);
|
|
1542
|
-
text-align: center;
|
|
1543
|
-
}
|
|
1544
|
-
li.englishUSD {
|
|
1545
|
-
position: relative;
|
|
1546
|
-
font-size: 14px;
|
|
1547
|
-
color: var(--border-color-base);
|
|
1548
|
-
img {
|
|
1549
|
-
width: 8px;
|
|
1550
|
-
vertical-align: 2px;
|
|
1551
|
-
margin-left: 2px;
|
|
1552
|
-
}
|
|
1553
|
-
.currencyBox {
|
|
1554
|
-
display: none;
|
|
1555
|
-
// display: block;
|
|
1556
|
-
position: absolute;
|
|
1557
|
-
top: 20px;
|
|
1558
|
-
right: 0;
|
|
1559
|
-
width: 160px;
|
|
1560
|
-
height: 450px;
|
|
1561
|
-
}
|
|
1562
|
-
.currencyBox:hover {
|
|
1563
|
-
display: block;
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
|
-
li.englishUSD:hover {
|
|
1567
|
-
.currencyBox {
|
|
1568
|
-
display: block;
|
|
1569
|
-
}
|
|
1570
|
-
.li-img-2 {
|
|
1571
|
-
transform: rotate(180deg);
|
|
1572
|
-
color: var(--primary-color);
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
li.getstarted:hover {
|
|
1576
|
-
background: var(--primary-bg-color);
|
|
1577
|
-
color: var(--border-color-base);
|
|
1578
|
-
border-color: var(--primary-color);
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
.nav {
|
|
1582
|
-
margin-left: 60px;
|
|
1583
|
-
& .chain-li {
|
|
1584
|
-
margin-left: 0;
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
.nav li:hover,
|
|
1588
|
-
.right-tool li:hover,
|
|
1589
|
-
.nav-a a:hover,
|
|
1590
|
-
.nav .li:hover {
|
|
1591
|
-
color: var(--primary-color) !important;
|
|
1592
|
-
z-index: 99;
|
|
1593
|
-
}
|
|
1594
|
-
.user-account {
|
|
1595
|
-
// opacity: .8;
|
|
1596
|
-
padding: 10px;
|
|
1597
|
-
border: 1px solid rgba(251, 251, 252, 0.15);
|
|
1598
|
-
border-radius: 7px;
|
|
1599
|
-
display: flex;
|
|
1600
|
-
align-items: center;
|
|
1601
|
-
color: var(--border-color-base);
|
|
1602
|
-
img,
|
|
1603
|
-
/deep/ svg {
|
|
1604
|
-
width: 24px;
|
|
1605
|
-
height: 24px;
|
|
1606
|
-
// margin-right: 8px;
|
|
1607
|
-
}
|
|
1608
|
-
img{
|
|
1609
|
-
margin-right: 8px;
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
.nav-a a:hover .user-account {
|
|
1613
|
-
border: 1px solid rgba(251, 251, 252, 0.15);
|
|
1614
|
-
}
|
|
1615
|
-
.wallet-no {
|
|
1616
|
-
filter: hue-rotate(148deg);
|
|
1617
|
-
color: #0089ff;
|
|
1618
|
-
img {
|
|
1619
|
-
filter: hue-rotate(206deg);
|
|
1620
|
-
}
|
|
1621
|
-
.walletWrong {
|
|
1622
|
-
background: blue;
|
|
1623
|
-
border-radius: 50%;
|
|
1624
|
-
}
|
|
1625
|
-
.walletLock {
|
|
1626
|
-
filter: hue-rotate(242deg);
|
|
1627
|
-
margin-left: 0.2em;
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
.right-tool {
|
|
1631
|
-
margin-left: auto;
|
|
1632
|
-
li {
|
|
1633
|
-
margin-left: 24px;
|
|
1634
|
-
}
|
|
1635
|
-
}
|
|
1636
|
-
.right-tool-login {
|
|
1637
|
-
li {
|
|
1638
|
-
margin-left: 22px;
|
|
1639
|
-
}
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
.header-nav.active {
|
|
1643
|
-
position: fixed;
|
|
1644
|
-
top: -100px;
|
|
1645
|
-
transform: translateY(100px);
|
|
1646
|
-
z-index: 999;
|
|
1647
|
-
// background: #ffffff;
|
|
1648
|
-
// box-shadow: 0px 2px 4px 0px rgba(193,193,193,0.5);
|
|
1649
|
-
transition: transform 0.3s ease;
|
|
1650
|
-
.nav {
|
|
1651
|
-
margin-left: 58px;
|
|
1652
|
-
}
|
|
1653
|
-
.nav,
|
|
1654
|
-
.right-tool,
|
|
1655
|
-
.right-tool-login {
|
|
1656
|
-
color: var(--text-color);
|
|
1657
|
-
}
|
|
1658
|
-
.nav li:hover,
|
|
1659
|
-
.right-tool li:hover,
|
|
1660
|
-
.nav-a a:hover,
|
|
1661
|
-
.logo .imgsvg {
|
|
1662
|
-
color: var(--primary-color);
|
|
1663
|
-
}
|
|
1664
|
-
.nav-a a {
|
|
1665
|
-
color: var(--text-color);
|
|
1666
|
-
}
|
|
1667
|
-
.right-tool /deep/ .li-img {
|
|
1668
|
-
width: 20px;
|
|
1669
|
-
height: 20px;
|
|
1670
|
-
margin-left: 2px;
|
|
1671
|
-
// color: var(--text-color) !important;
|
|
1672
|
-
// filter: invert(1);
|
|
1673
|
-
}
|
|
1674
|
-
li.getstarted {
|
|
1675
|
-
background: var(--primary-bg-color);
|
|
1676
|
-
color: #ffffff;
|
|
1677
|
-
border: 1px solid var(--primary-color);
|
|
1678
|
-
}
|
|
1679
|
-
li.getstarted:hover {
|
|
1680
|
-
background: #1349d7;
|
|
1681
|
-
color: var(--border-color-base);
|
|
1682
|
-
border-color: #1349d7;
|
|
1683
|
-
}
|
|
1684
|
-
}
|
|
1685
|
-
.marl18 {
|
|
1686
|
-
margin-left: 18px;
|
|
1687
|
-
}
|
|
1688
|
-
|
|
1689
|
-
.notice-gray {
|
|
1690
|
-
opacity: 0.6;
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
.notice-detail {
|
|
1694
|
-
width: 520px;
|
|
1695
|
-
height: 280px;
|
|
1696
|
-
margin-top: -20px;
|
|
1697
|
-
}
|
|
1698
|
-
.notice-viewall {
|
|
1699
|
-
display: flex;
|
|
1700
|
-
align-items: center;
|
|
1701
|
-
color: var(--primary-color);
|
|
1702
|
-
cursor: pointer;
|
|
1703
|
-
.notice-arrow {
|
|
1704
|
-
width: 16px;
|
|
1705
|
-
height: 16px;
|
|
1706
|
-
margin-left: 4px;
|
|
1707
|
-
color: var(--primary-color);
|
|
1708
|
-
}
|
|
1709
|
-
}
|
|
1710
|
-
.title-box {
|
|
1711
|
-
display: flex;
|
|
1712
|
-
height: 56px;
|
|
1713
|
-
justify-content: space-between;
|
|
1714
|
-
align-items: center;
|
|
1715
|
-
font-size: 16px;
|
|
1716
|
-
font-family: FontMedium;
|
|
1717
|
-
|
|
1718
|
-
color: var(--text-color);
|
|
1719
|
-
border-bottom: 1px solid #f5f6fa;
|
|
1720
|
-
}
|
|
1721
|
-
.content {
|
|
1722
|
-
height: 168px;
|
|
1723
|
-
overflow-y: auto;
|
|
1724
|
-
overflow-x: hidden;
|
|
1725
|
-
font-family: Font;
|
|
1726
|
-
|
|
1727
|
-
.title {
|
|
1728
|
-
margin-top: 20px;
|
|
1729
|
-
height: 16px;
|
|
1730
|
-
line-height: 16px;
|
|
1731
|
-
font-size: 16px;
|
|
1732
|
-
color: var(--text-color);
|
|
1733
|
-
}
|
|
1734
|
-
.detail {
|
|
1735
|
-
margin-top: 16px;
|
|
1736
|
-
font-size: 14px;
|
|
1737
|
-
line-height: 22px;
|
|
1738
|
-
color: var(--text-color-placeholder);
|
|
1739
|
-
text-align: left;
|
|
1740
|
-
}
|
|
1741
|
-
.title {
|
|
1742
|
-
font-size: 12px;
|
|
1743
|
-
font-family: Font;
|
|
1744
|
-
|
|
1745
|
-
text-align: left;
|
|
1746
|
-
color: #708599;
|
|
1747
|
-
line-height: 12px;
|
|
1748
|
-
}
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1751
|
-
.btn-box {
|
|
1752
|
-
height: 76px;
|
|
1753
|
-
display: flex;
|
|
1754
|
-
align-items: center;
|
|
1755
|
-
justify-content: center;
|
|
1756
|
-
border-top: 1px solid #f5f6fa;
|
|
1757
|
-
.btn {
|
|
1758
|
-
width: 280px;
|
|
1759
|
-
height: 36px;
|
|
1760
|
-
background: var(--primary-bg-color);
|
|
1761
|
-
border-radius: 6px;
|
|
1762
|
-
line-height: 36px;
|
|
1763
|
-
text-align: center;
|
|
1764
|
-
color: #ffffff;
|
|
1765
|
-
font-size: 14px;
|
|
1766
|
-
}
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
.confirmation-content {
|
|
1770
|
-
width: 400px;
|
|
1771
|
-
height: 120px;
|
|
1772
|
-
.confirmation-desc {
|
|
1773
|
-
margin: 40px 0 50px 0;
|
|
1774
|
-
font-size: 18px;
|
|
1775
|
-
color: var(--text-color-secondary);
|
|
1776
|
-
height: 18px;
|
|
1777
|
-
line-height: 18px;
|
|
1778
|
-
text-align: left;
|
|
1779
|
-
}
|
|
1780
|
-
.conf-btns {
|
|
1781
|
-
display: flex;
|
|
1782
|
-
justify-content: space-between;
|
|
1783
|
-
button {
|
|
1784
|
-
width: 190px;
|
|
1785
|
-
height: 48px;
|
|
1786
|
-
line-height: 48px;
|
|
1787
|
-
border-radius: 6px;
|
|
1788
|
-
text-align: center;
|
|
1789
|
-
font-size: 16px;
|
|
1790
|
-
font-family: Font;
|
|
1791
|
-
|
|
1792
|
-
color: #ffffff;
|
|
1793
|
-
}
|
|
1794
|
-
.cancel {
|
|
1795
|
-
background: #c0c3cc;
|
|
1796
|
-
}
|
|
1797
|
-
.sure {
|
|
1798
|
-
background: var(--primary-bg-color);
|
|
1799
|
-
}
|
|
1800
|
-
}
|
|
1801
|
-
}
|
|
1802
|
-
.float-r {
|
|
1803
|
-
float: right;
|
|
1804
|
-
}
|
|
1805
|
-
@media screen and (max-width: 1280px) {
|
|
1806
|
-
.header-nav {
|
|
1807
|
-
.contentWidth {
|
|
1808
|
-
padding: 20px;
|
|
1809
|
-
}
|
|
1810
|
-
.nav {
|
|
1811
|
-
margin-left: 38px;
|
|
1812
|
-
li.wallet-order {
|
|
1813
|
-
margin-left: 25px;
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
.right-tool-login li{
|
|
1817
|
-
margin-left: 20px;
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
}
|
|
1821
|
-
</style>
|