diff --git a/locale/ar-SA.json b/locale/ar-SA.json index 49432ba..b1e776d 100644 --- a/locale/ar-SA.json +++ b/locale/ar-SA.json @@ -519,7 +519,8 @@ "successText": "بمجرد الموافقة على المعلومات التي قدمتها، سيتم البدء في دفع الدخول" }, "startNow": "ابدأ الآن" - } + }, + "subsidy": "طلب الإعانات" }, "notice": { "pageTitle": "الإعلانات", diff --git a/locale/en-US.json b/locale/en-US.json index cee0b5f..96307ac 100644 --- a/locale/en-US.json +++ b/locale/en-US.json @@ -518,7 +518,8 @@ "successText": "After you submit the information is approved, you can start to deposit" }, "startNow": "Start Now" - } + }, + "subsidy": "Subsidy application" }, "notice": { "pageTitle": "Announcements", diff --git a/locale/es-ES.json b/locale/es-ES.json index 89631cc..4351ec5 100644 --- a/locale/es-ES.json +++ b/locale/es-ES.json @@ -518,7 +518,8 @@ "successText": "El pago de acceso puede comenzar después de la aprobación de los datos enviados" }, "startNow": "Empieza Ahora" - } + }, + "subsidy": "Solicitud de subvención" }, "notice": { "pageTitle": "Anuncios", diff --git a/locale/hi-IN.json b/locale/hi-IN.json index 06ce3a1..f7e09fc 100644 --- a/locale/hi-IN.json +++ b/locale/hi-IN.json @@ -518,7 +518,8 @@ "successText": "आपके द्वारा सबमिट की गई जानकारी स्वीकृत होने के बाद, आप धनराशि जमा करना और निकालना शुरू कर सकते हैं" }, "startNow": "अब शुरू करें" - } + }, + "subsidy": "सब्सिडी आवेदन" }, "notice": { "pageTitle": "घोषणाएँ", diff --git a/locale/in-ID.json b/locale/in-ID.json index b7e3418..26a7ca2 100644 --- a/locale/in-ID.json +++ b/locale/in-ID.json @@ -518,7 +518,8 @@ "successText": "Kau boleh mulai masuk dan keluar kim setelah meninjau berkas yang kau ajukan" }, "startNow": "Mulai Sekarang" - } + }, + "subsidy": "Aplikasi subsidi" }, "notice": { "pageTitle": "Pengumuman", diff --git a/locale/ko-KR.json b/locale/ko-KR.json index 8b9e3a1..4036c36 100644 --- a/locale/ko-KR.json +++ b/locale/ko-KR.json @@ -518,7 +518,8 @@ "successText": "귀하께서 제출하신 서류가 통과되면 바로 입출금이 시작됩니다" }, "startNow": "지금 시작하기" - } + }, + "subsidy": "보조금 신청" }, "notice": { "pageTitle": "공지사항", diff --git a/locale/th-TH.json b/locale/th-TH.json index ac596d7..918bbac 100644 --- a/locale/th-TH.json +++ b/locale/th-TH.json @@ -518,7 +518,8 @@ "successText": "หลังจาก ที่คุณส่งข้อมูลผ่านไปคุณก็เริ่มเข้า ๆ ออก ๆ คิง" }, "startNow": "เริ่มตอนนี้" - } + }, + "subsidy": "คำขอเงินอุดหนุน" }, "notice": { "pageTitle": "ประกาศ", diff --git a/locale/vi-VN.json b/locale/vi-VN.json index 6855f59..bc57615 100644 --- a/locale/vi-VN.json +++ b/locale/vi-VN.json @@ -518,7 +518,8 @@ "successText": "Bạn gửi thông tin sau khi phê duyệt có thể bắt đầu truy cập vào tiền" }, "startNow": "Bắt đầu ngay" - } + }, + "subsidy": "Đơn xin trợ cấp" }, "notice": { "pageTitle": "Thông Báo", diff --git a/locale/zh-CN.json b/locale/zh-CN.json index 43e20a0..791223b 100644 --- a/locale/zh-CN.json +++ b/locale/zh-CN.json @@ -841,7 +841,8 @@ }, "startNow": "现在开始" - } + }, + "subsidy": "补贴申请" }, "notice": { "pageTitle": "通知公告", diff --git a/locale/zh-TW.json b/locale/zh-TW.json index c2ce825..c1786c1 100644 --- a/locale/zh-TW.json +++ b/locale/zh-TW.json @@ -836,7 +836,8 @@ "successText": "您提交的資料審核通過后 即可開始出入金" }, "startNow": "现在开始" - } + }, + "subsidy": "補貼申請" }, "notice": { "pageTitle": "通知公告", diff --git a/pages.json b/pages.json index e114c44..63b6499 100644 --- a/pages.json +++ b/pages.json @@ -359,6 +359,14 @@ } } }, + { + "path": "pages/capital/mtSubsidy/index", + "style": { + "app-plus": { + "bounce": "none" + } + } + }, { "path": "pages/capital/ibTransfer/index", "style": { diff --git a/pages/capital/index.vue b/pages/capital/index.vue index 88aa67d..3218be9 100644 --- a/pages/capital/index.vue +++ b/pages/capital/index.vue @@ -36,6 +36,10 @@ + + {{ $t('home.subsidy') }} + + {{ $t('common.viewTradeRecord') }} diff --git a/pages/capital/mtSubsidy/index.scss b/pages/capital/mtSubsidy/index.scss new file mode 100644 index 0000000..58fc8c5 --- /dev/null +++ b/pages/capital/mtSubsidy/index.scss @@ -0,0 +1,89 @@ +.container { + padding: 0 24px 24px 16px; + .title { + margin: 14px 0 15px; + } + .minAmount { + margin-top: 4px; + color: #14cc9e; + font-size: 10px; + line-height: 14px; + &.unavailable { + color: #ff5733; + } + } + .availableMoneyOut { + display: flex; + align-items: center; + column-gap: 16px; + margin-bottom: 16px; + font-size: 14px; + color: #777777; + .value { + font-size: 18px; + font-weight: 700; + color: #29bbe4; + } + } + .exchangeRate { + display: flex; + justify-content: space-between; + margin-bottom: 12px; + font-size: 14px; + color: #777777; + .value { + font-weight: 700; + } + } + .currency_amount { + display: flex; + justify-content: space-between; + margin-bottom: 12px; + .label { + font-size: 14px; + color: #777777; + } + .value { + font-size: 14px; + color: #29bbe4; + font-weight: 700; + } + } + .detailModal { + position: relative; + width: calc(100vw - 50px); + max-width: 363px; + padding: 32px 29px 42px; + background-color: #fff; + box-sizing: border-box; + .closeIcon { + position: absolute; + top: 18px; + right: 21px; + width: 17px; + height: 17px; + } + .titleWrapper { + display: flex; + flex-direction: column; + align-items: center; + row-gap: 12px; + color: #333333; + padding: 12px; + margin: 24px 0; + box-shadow: -1px 0 5px 1px rgba(0, 0, 0, 0.1); + .title { + margin: 0; + font-size: 24px; + font-weight: 700; + line-height: 34px; + } + .value { + font-size: 36px; + font-weight: 700; + color: #29bbe4; + line-height: 52px; + } + } + } +} diff --git a/pages/capital/mtSubsidy/index.vue b/pages/capital/mtSubsidy/index.vue new file mode 100644 index 0000000..e27c596 --- /dev/null +++ b/pages/capital/mtSubsidy/index.vue @@ -0,0 +1,109 @@ + + + + + diff --git a/services/capital/deposit.ts b/services/capital/deposit.ts index d33450e..7441979 100644 --- a/services/capital/deposit.ts +++ b/services/capital/deposit.ts @@ -58,3 +58,7 @@ export function getPresentedCredit(data: { act_id: string; usd_amount: number }) export function getBankImg(id: number) { return request({ url: '/api/app/remittance/getBankImg', method: 'GET', data: { id }, responseType: 'arraybuffer' }); } + +export function applySubsidy(data: Record) { + return request({ url: '/api/app/subsidy/apply', method: 'POST', data }); +}