diff --git a/src/api/index.js b/src/api/index.js
index ebaf282..58d5b0b 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -57,6 +57,10 @@ const buyPack = param => {
return ajax.post(`${HOST}/buyPack`, stringify(param));
};
+const buyAndLottery = param => {
+ return ajax.post(`${HOST}/lottery`, stringify(param));
+};
+
export {
queryPrizeInfo,
queryTicketNum,
@@ -68,5 +72,6 @@ export {
rateList,
getRulePic,
queryPackList,
- buyPack
+ buyPack,
+ buyAndLottery
};
diff --git a/src/components/bottomView/balanceView.vue b/src/components/bottomView/balanceView.vue
index 235dc1f..ea13f62 100644
--- a/src/components/bottomView/balanceView.vue
+++ b/src/components/bottomView/balanceView.vue
@@ -9,7 +9,7 @@
+
+
diff --git a/src/components/luckyGridView/main.vue b/src/components/luckyGridView/main.vue
index 2333e31..2205107 100644
--- a/src/components/luckyGridView/main.vue
+++ b/src/components/luckyGridView/main.vue
@@ -21,9 +21,10 @@