From 4a158ae6e893eb60edab78a436f44a989a7f4184 Mon Sep 17 00:00:00 2001 From: sudoooooo Date: Tue, 6 Aug 2024 19:33:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E5=99=A8=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Pagination}/PaginationPanel.vue | 196 +++++++----- .../Pagination/PaginationWrapper.vue | 125 ++++++++ .../pages/edit/components/PagingWrapper.vue | 101 ------ .../edit/modules/contentModule/buildData.js | 2 +- .../modules/questionModule/PreviewPanel.vue | 26 +- .../components/QuestionCatalog.vue | 85 ++--- .../edit/modules/skinModule/PreviewPanel.vue | 39 ++- web/src/management/stores/edit.ts | 298 ++++++++++-------- web/src/render/pages/IndexPage.vue | 18 +- web/src/render/pages/RenderPage.vue | 142 ++++----- web/src/render/stores/question.js | 38 +-- web/src/render/stores/survey.js | 8 +- 12 files changed, 594 insertions(+), 484 deletions(-) rename web/src/management/pages/edit/{modules/pagingModule => components/Pagination}/PaginationPanel.vue (59%) create mode 100644 web/src/management/pages/edit/components/Pagination/PaginationWrapper.vue delete mode 100644 web/src/management/pages/edit/components/PagingWrapper.vue diff --git a/web/src/management/pages/edit/modules/pagingModule/PaginationPanel.vue b/web/src/management/pages/edit/components/Pagination/PaginationPanel.vue similarity index 59% rename from web/src/management/pages/edit/modules/pagingModule/PaginationPanel.vue rename to web/src/management/pages/edit/components/Pagination/PaginationPanel.vue index 0cfbd201..7cc30324 100644 --- a/web/src/management/pages/edit/modules/pagingModule/PaginationPanel.vue +++ b/web/src/management/pages/edit/components/Pagination/PaginationPanel.vue @@ -4,8 +4,12 @@ \ No newline at end of file + diff --git a/web/src/management/pages/edit/components/Pagination/PaginationWrapper.vue b/web/src/management/pages/edit/components/Pagination/PaginationWrapper.vue new file mode 100644 index 00000000..020fcf16 --- /dev/null +++ b/web/src/management/pages/edit/components/Pagination/PaginationWrapper.vue @@ -0,0 +1,125 @@ + + + + diff --git a/web/src/management/pages/edit/components/PagingWrapper.vue b/web/src/management/pages/edit/components/PagingWrapper.vue deleted file mode 100644 index b4a35a45..00000000 --- a/web/src/management/pages/edit/components/PagingWrapper.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - - diff --git a/web/src/management/pages/edit/modules/contentModule/buildData.js b/web/src/management/pages/edit/modules/contentModule/buildData.js index c9229cc2..0da833d6 100644 --- a/web/src/management/pages/edit/modules/contentModule/buildData.js +++ b/web/src/management/pages/edit/modules/contentModule/buildData.js @@ -10,7 +10,7 @@ export default function (schema) { 'skinConf', 'submitConf', 'questionDataList', - "pagingConf", + 'pageConf', 'logicConf' ]) configData.dataConf = { diff --git a/web/src/management/pages/edit/modules/questionModule/PreviewPanel.vue b/web/src/management/pages/edit/modules/questionModule/PreviewPanel.vue index 94acb146..56679265 100644 --- a/web/src/management/pages/edit/modules/questionModule/PreviewPanel.vue +++ b/web/src/management/pages/edit/modules/questionModule/PreviewPanel.vue @@ -1,12 +1,12 @@