diff --git a/src/api/account.js b/src/api/account.js
index 39dceb2..47d7d4c 100644
--- a/src/api/account.js
+++ b/src/api/account.js
@@ -18,8 +18,42 @@ const api = {
bindWithdrawAccountUrl: ipConfig.api_app + "/user/bindwithdrawaccount",
saveUinfo: ipConfig.api_app + "/fbclick/saveInfo",
getFbInfo: ipConfig.api_app + "/fbclick/getFbInfo",
+ getQuestions: ipConfig.api_app + "/customer/get",
+ questionFail: ipConfig.api_app + "/customer/fail",
+ questionSuccess: ipConfig.api_app + "/customer/success",
+ questionIndex: ipConfig.api_app + "/customer/index",
}
+export const getQuestionsApi = (id = 0) => {
+ return httpRequest.post({
+ url: api.getQuestions,
+ data: {
+ languageType: 'EN',
+ questionId: id
+ }
+ })
+}
+export const questionFailApi = (params) => {
+ return httpRequest.post({
+ url: api.questionFail,
+ data: params
+ })
+}
+export const questionSuccessApi = (params) => {
+ return httpRequest.post({
+ url: api.questionSuccess,
+ data: params
+ })
+}
+export const questionIndexApi = (id = '') => {
+ return httpRequest.post({
+ url: api.questionIndex,
+ data: {
+ questionId: id,
+ languageType: 'EN'
+ }
+ })
+}
export const getFbInfoApi = () => {
return httpRequest.get({
url: api.getFbInfo,
diff --git a/src/components/layout/CommonLayout.vue b/src/components/layout/CommonLayout.vue
index 2c4bd92..396a8e3 100644
--- a/src/components/layout/CommonLayout.vue
+++ b/src/components/layout/CommonLayout.vue
@@ -27,7 +27,7 @@
-->
-
-
+
diff --git a/src/locales/lang/en-US/constants.js b/src/locales/lang/en-US/constants.js
index 3ce4295..2ec1e9b 100644
--- a/src/locales/lang/en-US/constants.js
+++ b/src/locales/lang/en-US/constants.js
@@ -182,7 +182,8 @@ export default {
toast: {
phone: "The phone number cannot be empty"
}
- }
+ },
+ contact: 'Contact Customer Service'
},
}
\ No newline at end of file
diff --git a/src/pages/account/CustomService.vue b/src/pages/account/CustomService.vue
index d0ffe08..a9bf8c4 100644
--- a/src/pages/account/CustomService.vue
+++ b/src/pages/account/CustomService.vue
@@ -1,45 +1,136 @@
-
+
-
- 12
+
+
+
+
+
+
+
+
+
+ {{ item.display }}
+
+
+
+
+ {{ $t('account.contact') }}
+
+
+
+
+
+
+
+
+ {{ item.msg }}
+
+
+
+
+
+
+
+
+ {{ child.display }}
+
+
+
+
+
+
-
+
Send
@@ -47,13 +138,104 @@ const inputVal = ref('')