From d4f7dc2da6767a3e6dd149c06ffaaff8f55680a4 Mon Sep 17 00:00:00 2001 From: thuongtruong1009 Date: Wed, 11 May 2022 12:30:39 +0700 Subject: [PATCH 1/6] init payment account --- locales/en.yml | 1 + src/components/buyer/CBAccount.vue | 7 ++ .../account/{LBVerify.vue => LBCredit.vue} | 0 src/pages/buyer/account/address.vue | 56 ++++++++++++++- .../buyer/account/{verify.vue => credit.vue} | 2 +- src/pages/buyer/account/payment.vue | 68 ++++++++++++++++--- 6 files changed, 122 insertions(+), 12 deletions(-) rename src/layouts/buyer/account/{LBVerify.vue => LBCredit.vue} (100%) rename src/pages/buyer/account/{verify.vue => credit.vue} (99%) diff --git a/locales/en.yml b/locales/en.yml index 8072eda..97c6981 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -33,6 +33,7 @@ caccount: orders: Orders download: Download payment-method: Payment Method + credit-card: Credit Card address: Address account-details: Account Details Logout: Logout diff --git a/src/components/buyer/CBAccount.vue b/src/components/buyer/CBAccount.vue index 9c6b7cb..fcc5cdc 100644 --- a/src/components/buyer/CBAccount.vue +++ b/src/components/buyer/CBAccount.vue @@ -32,6 +32,13 @@ const { t } = useI18n() + +
+ + {{ t('caccount.credit-card') }} +
+
+
diff --git a/src/layouts/buyer/account/LBVerify.vue b/src/layouts/buyer/account/LBCredit.vue similarity index 100% rename from src/layouts/buyer/account/LBVerify.vue rename to src/layouts/buyer/account/LBCredit.vue diff --git a/src/pages/buyer/account/address.vue b/src/pages/buyer/account/address.vue index 17e5bd2..42377de 100644 --- a/src/pages/buyer/account/address.vue +++ b/src/pages/buyer/account/address.vue @@ -3,6 +3,58 @@ meta: layout: buyer/account/LBAddress + +