diff --git a/apis/interfaces/chain.js b/apis/interfaces/chain.js
index 3956fad..ddb188c 100644
--- a/apis/interfaces/chain.js
+++ b/apis/interfaces/chain.js
@@ -8,31 +8,10 @@
import { request } from '../index'
-// 最新区块列表
+// 最新统计
const chain = () => {
return request({
- url: 'chain'
- })
-}
-
-// 发行量概况
-const situation = () => {
- return request({
- url: 'nodes'
- })
-}
-
-// 区块详情
-const hash = (hash) => {
- return request({
- url: 'chain/block/' + hash
- })
-}
-
-// 区块链首页
-const occ = () => {
- return request({
- url: 'occ/index'
+ url: 'chain/tasks'
})
}
@@ -54,9 +33,6 @@ const thawlog = (data) => {
export {
chain,
- situation,
- hash,
- occ,
crystals,
thawlog
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 9a55ac9..cb817ed 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -42,14 +42,13 @@
-
-
- slogan
+
+ {{item.remark}}
-
+
- 任务标题
- 能量碎片+10
+ {{item.title}}
+ 能量碎片{{item.tips}}
@@ -57,23 +56,23 @@
@@ -90,7 +89,7 @@