diff --git a/src/App.vue b/src/App.vue index cbc2a5b..5035507 100644 --- a/src/App.vue +++ b/src/App.vue @@ -157,23 +157,18 @@ function update() { position: fixed; bottom: 90px; right: 20px; - width: 60px; - height: 60px; - border-radius: 50%; + width: 70px; + height: 70px; + //border-radius: 50%; display: flex; justify-content: center; align-items: center; - box-shadow: 0 4px 10px rgba(0,0,0,0.3); + //box-shadow: 0 4px 10px rgba(0,0,0,0.3); cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; z-index: 9999; } -#support-button:hover { - transform: scale(1.1); - box-shadow: 0 6px 14px rgba(0,0,0,0.3); -} - @media screen and (min-width: 426px) { .desktopConfig { width: 426px; diff --git a/src/api/wallet.ts b/src/api/wallet.ts index ab1bbef..302117d 100644 --- a/src/api/wallet.ts +++ b/src/api/wallet.ts @@ -1,6 +1,7 @@ import useAxios from '@/utils/useAxios' import type { Card, Wallet } from '@/models/wallet' import type {Transaction} from '@/models/transaction' +import type {Address} from "@/models/address"; export const getWallet = async () => await useAxios.get(`/customer/wallet/me`) @@ -16,6 +17,10 @@ export const createCard = async (obj: Card): Promise => { return await useAxios.post(`/customer/account`, obj) } +export async function deleteCard(id: number) { + return await useAxios.delete(`customer/account/${id}`) +} + export const getActivatedCards = async () => await useAxios.get(`/customer/account/active`) export const confirmCode = async (params: WithdrawConfirm): Promise => { diff --git a/src/assets/img/support-icon.png b/src/assets/img/support-icon.png index fbc2055..3a16768 100644 Binary files a/src/assets/img/support-icon.png and b/src/assets/img/support-icon.png differ diff --git a/src/views/base/index.vue b/src/views/base/index.vue index c43e14c..a024dc7 100644 --- a/src/views/base/index.vue +++ b/src/views/base/index.vue @@ -98,8 +98,6 @@ - - + :self-index="i" + :img="item" + />