From a5688f6ff89b3d19d9ddefde7b351e69e2ad56ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com>
Date: Wed, 17 Nov 2021 15:32:21 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E5=8F=96=E6=B0=B4=E6=99=B6=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E9=98=9F=E5=88=97=E5=A4=84=E7=90=86=EF=BC=8C=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E6=89=B9=E9=87=8F=E9=A2=86=E5=8F=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apis/interfaces/chain.js | 20 +-
pages/index/index.vue | 176 ++++++++++-----
static/icons/crystals-icon.png | Bin 0 -> 5962 bytes
unpackage/dist/dev/app-plus/app-service.js | 249 +++++++++++++--------
4 files changed, 298 insertions(+), 147 deletions(-)
create mode 100644 static/icons/crystals-icon.png
diff --git a/apis/interfaces/chain.js b/apis/interfaces/chain.js
index ddb188c..82516ab 100644
--- a/apis/interfaces/chain.js
+++ b/apis/interfaces/chain.js
@@ -28,11 +28,29 @@ const thawlog = (data) => {
url: 'user/account/thawlog',
method: 'POST',
data
+ }, true)
+}
+
+// 获取新的一批水晶
+const crystalsBefore = (data) => {
+ return request({
+ url: 'user/account/crystals/before',
+ })
+}
+
+// 批量领取水晶
+const allThawall = (data) => {
+ return request({
+ url: 'user/account/thawall',
+ method: 'POST',
+ data
})
}
export {
chain,
crystals,
- thawlog
+ thawlog,
+ crystalsBefore,
+ allThawall
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 29306e7..1b72a3b 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -35,6 +35,13 @@
发权证
+
+
+
+
+
+ 一键领取
+
@@ -120,38 +127,38 @@