From c80cee6eb0c51cddbd18d4322580085f2ea216cb Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Mon, 25 Dec 2023 18:39:49 +0800 Subject: [PATCH] no message --- app.vue | 2 +- components/Empty.vue | 4 +- components/Header.vue | 24 +- components/MyPopup.vue | 495 ++++++++++++++++++++++++++-------------- composables/api.js | 14 +- package-lock.json | 229 ++++++++++++++++++- package.json | 6 +- pages/details/[id].vue | 340 ++++++++++++++++----------- pages/publish/index.vue | 30 ++- tsconfig.json | 14 +- utils/http.js | 110 +++++---- 11 files changed, 879 insertions(+), 389 deletions(-) diff --git a/app.vue b/app.vue index e058ced..8997749 100644 --- a/app.vue +++ b/app.vue @@ -5,7 +5,7 @@ diff --git a/components/Empty.vue b/components/Empty.vue index 8b555c4..8e3a042 100644 --- a/components/Empty.vue +++ b/components/Empty.vue @@ -1,5 +1,5 @@ @@ -631,26 +677,35 @@ const handleItem = uni => { width: 376px; border-right: 16px solid #f6f6f6; padding-top: 30px; + height: calc(100vh - 70px); + overflow: auto; + .school-box { flex-direction: column; margin-bottom: 40px; text-align: center; - .school-icon { - width: 40px; - height: 40px; - margin-bottom: 12px; - } + .school-box-icon { + height: 52px; + + .school-icon { + width: 40px; + height: 40px; + margin-bottom: 12px; + } + } .school-name { font-weight: 650; font-size: 15px; color: #000000; margin-bottom: 7px; + height: 28px; } .school-en-name { color: #555555; font-size: 13px; + height: 18px; } } @@ -762,6 +817,16 @@ const handleItem = uni => { } .right { + height: calc(100vh - 70px); + overflow: auto; + + &::-webkit-scrollbar { + width: 0 !important; + } + + scrollbar-width: none; + -ms-overflow-style: none; + .header { padding: 30px 45px 25px; border-bottom: 1px solid #ebebeb; @@ -885,6 +950,7 @@ const handleItem = uni => { justify-content: flex-end; padding-bottom: 38px; line-height: normal; + // display: none; > div { margin-top: 7px; @@ -946,12 +1012,16 @@ const handleItem = uni => { height: 60px; background-color: rgba(98, 177, 255, 1); color: #fff; - font-size: 13px; + font-size: 14px; cursor: pointer; border-radius: 6px; } } + .empty-box { + padding: 80px 0 110px; + } + .comment-list { margin-bottom: 78px; .comment-item { diff --git a/pages/publish/index.vue b/pages/publish/index.vue index d6b44cf..bd90b74 100644 --- a/pages/publish/index.vue +++ b/pages/publish/index.vue @@ -107,7 +107,6 @@