From 49c6f7372f7b83602600373992ee46fcb4671d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com> Date: Sun, 26 Sep 2021 17:18:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E5=8F=96=E6=B0=B4=E6=99=B6=E6=B0=B4?= =?UTF-8?q?=E6=99=B6=E8=B4=A6=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/interfaces/chain.js | 20 +- apis/interfaces/crystal.js | 17 - pages/found/index.vue | 1 - pages/index/index.vue | 389 ++++++++++--------- pages/login/login.vue | 6 - static/background/chain-back-01.png | Bin 169874 -> 0 bytes static/background/crystal-background.png | Bin 261297 -> 0 bytes static/background/wallet-back.png | Bin 267219 -> 0 bytes static/background/wallet-code-background.png | Bin 2107 -> 0 bytes static/icons/e-logo-white.png | Bin 1657 -> 0 bytes static/icons/e-logo.png | Bin 4152 -> 0 bytes static/icons/gemstone-ore-icon.png | Bin 5394 -> 7502 bytes static/icons/market_icon_high.png | Bin 1739 -> 0 bytes static/icons/market_icon_low.png | Bin 1716 -> 0 bytes static/icons/order_icon_00.png | Bin 2201 -> 0 bytes static/icons/order_icon_01.png | Bin 1892 -> 0 bytes static/icons/order_icon_02.png | Bin 1232 -> 0 bytes static/icons/order_icon_03.png | Bin 2190 -> 0 bytes static/icons/order_icon_04.png | Bin 1833 -> 0 bytes static/icons/property_icon_00.png | Bin 10317 -> 0 bytes static/icons/property_icon_01.png | Bin 9991 -> 0 bytes static/icons/tool_icon_00.png | Bin 2793 -> 0 bytes static/icons/tool_icon_01.png | Bin 3414 -> 0 bytes static/icons/tool_icon_02.png | Bin 3554 -> 0 bytes static/icons/tool_icon_03.png | Bin 3344 -> 0 bytes static/icons/tool_icon_04.png | Bin 2846 -> 0 bytes static/icons/tool_icon_05.png | Bin 2911 -> 0 bytes static/icons/tool_icon_06.png | Bin 3198 -> 0 bytes static/icons/tool_icon_07.png | Bin 3518 -> 0 bytes static/icons/tool_icon_08.png | Bin 3225 -> 0 bytes static/icons/user_icon_01.png | Bin 9786 -> 0 bytes static/icons/user_icon_02.png | Bin 10196 -> 0 bytes static/icons/user_icon_03.png | Bin 9712 -> 0 bytes static/icons/user_icon_04.png | Bin 9464 -> 0 bytes static/mp3/crystal.mp3 | Bin 0 -> 20496 bytes 35 files changed, 214 insertions(+), 219 deletions(-) delete mode 100644 static/background/chain-back-01.png delete mode 100644 static/background/crystal-background.png delete mode 100644 static/background/wallet-back.png delete mode 100644 static/background/wallet-code-background.png delete mode 100644 static/icons/e-logo-white.png delete mode 100644 static/icons/e-logo.png delete mode 100644 static/icons/market_icon_high.png delete mode 100644 static/icons/market_icon_low.png delete mode 100644 static/icons/order_icon_00.png delete mode 100644 static/icons/order_icon_01.png delete mode 100644 static/icons/order_icon_02.png delete mode 100644 static/icons/order_icon_03.png delete mode 100644 static/icons/order_icon_04.png delete mode 100644 static/icons/property_icon_00.png delete mode 100644 static/icons/property_icon_01.png delete mode 100644 static/icons/tool_icon_00.png delete mode 100644 static/icons/tool_icon_01.png delete mode 100644 static/icons/tool_icon_02.png delete mode 100644 static/icons/tool_icon_03.png delete mode 100644 static/icons/tool_icon_04.png delete mode 100644 static/icons/tool_icon_05.png delete mode 100644 static/icons/tool_icon_06.png delete mode 100644 static/icons/tool_icon_07.png delete mode 100644 static/icons/tool_icon_08.png delete mode 100644 static/icons/user_icon_01.png delete mode 100644 static/icons/user_icon_02.png delete mode 100644 static/icons/user_icon_03.png delete mode 100644 static/icons/user_icon_04.png create mode 100644 static/mp3/crystal.mp3 diff --git a/apis/interfaces/chain.js b/apis/interfaces/chain.js index cd75ebe..3956fad 100644 --- a/apis/interfaces/chain.js +++ b/apis/interfaces/chain.js @@ -36,9 +36,27 @@ const occ = () => { }) } +// 水晶原石 +const crystals = () => { + return request({ + url: 'user/account/crystals' + }) +} + +// 领取水晶 +const thawlog = (data) => { + return request({ + url: 'user/account/thawlog', + method: 'POST', + data + }) +} + export { chain, situation, hash, - occ + occ, + crystals, + thawlog } diff --git a/apis/interfaces/crystal.js b/apis/interfaces/crystal.js index 96f97f6..399452a 100644 --- a/apis/interfaces/crystal.js +++ b/apis/interfaces/crystal.js @@ -8,21 +8,6 @@ import { request } from '../index' -// 水晶原石 -const crystals = () => { - return request({ - url: 'user/account/crystals' - }) -} - -// 领取水晶 -const thawlog = (data) => { - return request({ - url: 'user/account/thawlog', - method: 'POST', - data - }) -} // 水晶分类 const category = () => { @@ -54,8 +39,6 @@ const operateSign = () => { } export{ - crystals, - thawlog, category, task, sign, diff --git a/pages/found/index.vue b/pages/found/index.vue index 706aafc..fa7144c 100644 --- a/pages/found/index.vue +++ b/pages/found/index.vue @@ -282,7 +282,6 @@ min-height: 100vh; padding-top: var(--status-bar-height); box-sizing: border-box; - background-image: url(@/static/background/crystal-background.png); background-size: 100%; background-position: top center; background-repeat: no-repeat; diff --git a/pages/index/index.vue b/pages/index/index.vue index 0d35411..9a55ac9 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -2,8 +2,8 @@ - 能量球 99 - 能量碎片 11 + {{isAuth ? '能量球' + account.coin : '查看能量球'}} + {{isAuth ? '能量碎片' + account.crystal : '查看能量碎片'}} @@ -11,123 +11,129 @@ - - - - - 能量碎片{{ item.amount || '-'}} - + + + + + + + + {{ item.amount || '-'}} + + + + + + + 发权证 + - - - 购物 - - + + + + + + - + - - {{ item.remark }} + + + slogan - + - {{ item.title }} + 任务标题 + 能量碎片+10 - 平台原石余量 - {{ occBalance }} + 平台能量球余量 + 0 - 昨日瓜分水晶 - {{ yesterdayCrystal }} + 上期能量球价值 + 0 - 区块链高度 - {{ blockHeight }} + 昨日瓜分能量碎片 + 0 - 平台累计盈利额 - {{ gain }} + 区块链高度 + 0 - 已开通节点数 - {{ nodeNumber }} + 已开通节点数 + 0 - - - - 轻节点 - {{occs.light || '-'}} - - - 合作节点 - {{occs.cooperation || '-'}} - - - 主节点 - {{occs.main || '-'}} - - - 超级节点 - {{occs.super || '-'}} - - - 运营节点 - {{occs.operating || '-'}} - - - 技术节点 - {{occs.technology || '-'}} - - - + - 平台累计营业额和原石价值走势图 + 累计盈利和能量球价值走势图 + +