diff --git a/api/customerServicePlatform/customerServicePlatform.js b/api/customerServicePlatform/customerServicePlatform.js new file mode 100644 index 0000000..0f20be0 --- /dev/null +++ b/api/customerServicePlatform/customerServicePlatform.js @@ -0,0 +1,46 @@ +import { http } from '@/utils/http.js' + +const baseURL = "http://39.101.133.168:8828" +//图片上传 +export const uploadImageApi = (data) => { + return http({ + method: 'POST', + url: baseURL +'/hljw/api/aws/upload', + data + }) +} + +//问题回答 +export const getAnswerApi = (data) => { + return http({ + method: 'POST', + url: 'http://pbb6edde.natappfree.cc' +'/api/customer/askQuestion', + data + }) +} + +//获取随机5条猜你想问问题 +export const getQuestionApi = (data) => { + return http({ + method: 'GET', + url: 'http://pbb6edde.natappfree.cc' +'/api/customer/getQuestion', + }) +} + + +//反馈添加 +export const addFeedbackRecordApi = (data) => { + return http({ + method: 'POST', + url: baseURL +'/link/third/dcFeedBack/feedback/add', + data + }) +} +//反馈历史记录 +export const getFeedbackRecordsApi = (data) => { + return http({ + method: 'POST', + url: baseURL+'/link/third/dcFeedBack/feedback/select', + data + }) +} \ No newline at end of file diff --git a/components/FeedbackModal.vue b/components/FeedbackModal.vue new file mode 100644 index 0000000..a4bc5e4 --- /dev/null +++ b/components/FeedbackModal.vue @@ -0,0 +1,196 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index 299278f..c90736c 100644 --- a/pages.json +++ b/pages.json @@ -306,7 +306,35 @@ { "navigationBarTitleText" : "创建密码" } + }, + { + "path": "pages/customerServicePlatform/csPlatformIndex", + "style": { + "navigationStyle": "custom", + "disableSwipeBack": true, + "titleNView": false, + "bounce": false + } + }, + { + "path": "pages/customerServicePlatform/historyRecord", + "style": { + "navigationStyle": "custom", + "disableSwipeBack": true, + "titleNView": false, + "bounce": false + } + }, + { + "path": "pages/customerServicePlatform/questionDetail", + "style": { + "navigationStyle": "custom", + "disableSwipeBack": true, + "titleNView": false, + "bounce": false + } } + ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/customerServicePlatform/csPlatformIndex.vue b/pages/customerServicePlatform/csPlatformIndex.vue new file mode 100644 index 0000000..d8cd7bc --- /dev/null +++ b/pages/customerServicePlatform/csPlatformIndex.vue @@ -0,0 +1,687 @@ +