From d170a9d189b390bf66771dd1467691256aebd20a Mon Sep 17 00:00:00 2001 From: zhuoda Date: Wed, 13 Mar 2024 21:05:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90smart-app=E6=9B=B4=E6=96=B0=E3=80=911?= =?UTF-8?q?=E3=80=81=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=EF=BC=9B2=E3=80=81=E5=A4=8D=E6=9D=82=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E2=80=983=E3=80=81=E5=BC=95=E5=85=A5tabs=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- smart-app/src/api/support/change-log-api.js | 7 + smart-app/src/pages.json | 14 +- .../form/components/font-size-select.vue | 49 - .../src/pages/form/components/interest.vue | 59 - .../src/pages/form/components/radio-sex.vue | 60 - smart-app/src/pages/form/form.vue | 251 +-- smart-app/src/pages/home/components/menu.vue | 20 +- smart-app/src/pages/list/list.vue | 2 +- .../support/change-log/change-log-detail.vue | 79 + .../support/change-log/change-log-list.vue | 16 +- smart-app/src/theme/index.scss | 9 +- .../y-tabs/components/css/index.scss | 464 ++++++ .../uni_modules/y-tabs/components/js/const.js | 194 +++ .../y-tabs/components/js/touchMixin.js | 75 + .../uni_modules/y-tabs/components/js/uitls.js | 177 +++ .../y-tabs/components/js/utilMixin.js | 8 + .../y-tabs/components/y-tab/y-tab.vue | 238 +++ .../y-tabs/components/y-tabs/y-tabs.vue | 1363 +++++++++++++++++ 18 files changed, 2717 insertions(+), 368 deletions(-) delete mode 100644 smart-app/src/pages/form/components/font-size-select.vue delete mode 100644 smart-app/src/pages/form/components/interest.vue delete mode 100644 smart-app/src/pages/form/components/radio-sex.vue create mode 100644 smart-app/src/pages/support/change-log/change-log-detail.vue create mode 100644 smart-app/src/uni_modules/y-tabs/components/css/index.scss create mode 100644 smart-app/src/uni_modules/y-tabs/components/js/const.js create mode 100644 smart-app/src/uni_modules/y-tabs/components/js/touchMixin.js create mode 100644 smart-app/src/uni_modules/y-tabs/components/js/uitls.js create mode 100644 smart-app/src/uni_modules/y-tabs/components/js/utilMixin.js create mode 100644 smart-app/src/uni_modules/y-tabs/components/y-tab/y-tab.vue create mode 100644 smart-app/src/uni_modules/y-tabs/components/y-tabs/y-tabs.vue diff --git a/smart-app/src/api/support/change-log-api.js b/smart-app/src/api/support/change-log-api.js index 67727d95..9fbe1efa 100644 --- a/smart-app/src/api/support/change-log-api.js +++ b/smart-app/src/api/support/change-log-api.js @@ -14,4 +14,11 @@ export const changeLogApi = { queryPage: (param) => { return postRequest('/support/changeLog/queryPage', param); }, + + /** + * 详情 @author 卓大 + */ + getDetail: (changeLogId) => { + return getRequest(`/support/changeLog/getDetail/${changeLogId}`); + }, }; diff --git a/smart-app/src/pages.json b/smart-app/src/pages.json index 44d5ed04..e1c224f3 100644 --- a/smart-app/src/pages.json +++ b/smart-app/src/pages.json @@ -2,7 +2,8 @@ "easycom": { "autoscan": true, "custom": { - "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" + "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue", + "^y-(.*)": "@/uni_modules/y-$1/components/y-$1.vue" } }, "pages": [ @@ -69,7 +70,7 @@ "path" : "pages/notice/notice-detail", "style" : { - "navigationBarTitleText" : "通知公告", + "navigationBarTitleText" : "公告内容", "enablePullDownRefresh" : false, "navigationBarBackgroundColor": "#fff" } @@ -92,6 +93,15 @@ "navigationBarBackgroundColor": "#fff" } }, + { + "path" : "pages/support/change-log/change-log-detail", + "style" : + { + "navigationBarTitleText" : "版本更新内容", + "enablePullDownRefresh" : false, + "navigationBarBackgroundColor": "#fff" + } + }, { "path" : "pages/list/list", "style" : diff --git a/smart-app/src/pages/form/components/font-size-select.vue b/smart-app/src/pages/form/components/font-size-select.vue deleted file mode 100644 index f1cb8c01..00000000 --- a/smart-app/src/pages/form/components/font-size-select.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - - diff --git a/smart-app/src/pages/form/components/interest.vue b/smart-app/src/pages/form/components/interest.vue deleted file mode 100644 index 32b2e70c..00000000 --- a/smart-app/src/pages/form/components/interest.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - \ No newline at end of file diff --git a/smart-app/src/pages/form/components/radio-sex.vue b/smart-app/src/pages/form/components/radio-sex.vue deleted file mode 100644 index 913a950f..00000000 --- a/smart-app/src/pages/form/components/radio-sex.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/smart-app/src/pages/form/form.vue b/smart-app/src/pages/form/form.vue index f22d9f0e..816d1d54 100644 --- a/smart-app/src/pages/form/form.vue +++ b/smart-app/src/pages/form/form.vue @@ -1,199 +1,94 @@