diff --git a/package.json b/package.json index 9a5f266..f020831 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,14 @@ "lint": "vue-cli-service lint --fix" }, "dependencies": { + "-": "0.0.1", "axios": "^0.19.2", "core-js": "^3.6.4", "qs": "^6.10.1", + "swiper": "^5.4.5", "vant": "^2.12.26", "vue": "^2.6.11", + "vue-awesome-swiper": "^4.1.1", "vue-luck-draw": "^3.4.6", "vue-router": "^3.1.6", "vuex": "^3.1.3" diff --git a/public/favicon.ico b/public/favicon.ico index df36fcf..c473c99 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/api/index.js b/src/api/index.js index f9cd888..5c1a8b1 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -30,4 +30,16 @@ const saveLog = param => { return ajax.post(`${HOST}/saveLog`, stringify(param), "form"); }; -export { queryPrizeInfo, queryTicketNum, queryTicketRule, doLottery, saveLog }; +// 抽奖中奖信息 +const queryPrizeMsg = param => { + return ajax.get(`${HOST}/queryPrizeMsg`, param); +}; + +export { + queryPrizeInfo, + queryTicketNum, + queryTicketRule, + doLottery, + saveLog, + queryPrizeMsg +}; diff --git a/src/components/ballContent/notice.vue b/src/components/ballContent/notice.vue index 2b8d3e7..a7a6e1f 100644 --- a/src/components/ballContent/notice.vue +++ b/src/components/ballContent/notice.vue @@ -1,16 +1,31 @@