diff --git a/src/api/lottery.js b/src/api/lottery.js
index 15224bc..bac88a0 100644
--- a/src/api/lottery.js
+++ b/src/api/lottery.js
@@ -164,6 +164,31 @@ export const winnerHistory = async () => {
}
}
+// 获取累计抽奖-徽章信息
+export const rewardConfigsBadge = async (data) => {
+ try {
+ const response = await get(
+ `/activity/lottery/reward-configs-badge?activityType=${data.activityType}&activityId=${data.activityId}`
+ )
+ return response
+ } catch (error) {
+ console.error('Failed to fetch get reward configs badge:', error)
+ console.error('error:' + error.response.errorMsg)
+ throw error
+ }
+}
+
+// 领取累计抽奖奖励-徽章
+export const receiveRewardBadge = async (data) => {
+ try {
+ const response = await post('/activity/lottery/claim-reward-badge', data)
+ return response
+ } catch (error) {
+ console.error('Failed to fetch receive reward badge:', error)
+ throw error
+ }
+}
+
// 获取任务列表
export const ActTaskList = async () => {
try {
diff --git a/src/views/Activities/NewYear/index.vue b/src/views/Activities/NewYear/index.vue
index ac9da66..f75c753 100644
--- a/src/views/Activities/NewYear/index.vue
+++ b/src/views/Activities/NewYear/index.vue
@@ -56,7 +56,7 @@
-
Total Tickets:({{ totalDraw?.usedCount || 0 }}/100)
+
+
+
@@ -1106,10 +1149,19 @@
font-weight: 590;
padding: 16px;
- border-radius: 8px;
- background: rgba(255, 255, 255, 0.2);
- box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
- backdrop-filter: blur(32px);
+ border-radius: 12px;
+ border: 2px solid #fff;
+ background: linear-gradient(
+ 264deg,
+ rgba(220, 228, 255, 0.4) 10.17%,
+ rgba(151, 176, 255, 0.4) 60.22%,
+ rgba(220, 228, 255, 0.4) 103.12%
+ );
+ box-shadow: 0 36.858px 13.981px 0 rgba(151, 176, 255, 0.02),
+ 0 20.335px 12.71px 0 rgba(151, 176, 255, 0.08),
+ 0 8.897px 8.897px 0 rgba(151, 176, 255, 0.13),
+ 0 2.542px 5.084px 0 rgba(151, 176, 255, 0.15);
+ backdrop-filter: blur(4.5px);
"
@click="searchPayee"
>
@@ -1126,7 +1178,7 @@
:class="['coin-item', { selected: selectedCoin?.id === coin.id }]"
>

-
${{ coin.price }}
+
${{ coin.price }}
@@ -1139,8 +1191,21 @@
display: flex;
justify-content: center;
align-items: center;
- border-radius: 32px;
- background: linear-gradient(135deg, #bb92ff 2.82%, #8b45ff 99.15%);
+
+ border-radius: 12px;
+ border: 2px solid #fff;
+ background: linear-gradient(
+ 264deg,
+ rgba(220, 228, 255, 0.4) 10.17%,
+ rgba(151, 176, 255, 0.4) 60.22%,
+ rgba(220, 228, 255, 0.4) 103.12%
+ );
+ box-shadow: 0 36.858px 13.981px 0 rgba(151, 176, 255, 0.02),
+ 0 20.335px 12.71px 0 rgba(151, 176, 255, 0.08),
+ 0 8.897px 8.897px 0 rgba(151, 176, 255, 0.13),
+ 0 2.542px 5.084px 0 rgba(151, 176, 255, 0.15);
+ backdrop-filter: blur(4.5px);
+
font-weight: 590;
"
@click="transfer"
@@ -1189,7 +1254,7 @@
>