diff --git a/uni-app/src/App.vue b/uni-app/src/App.vue index b18e9c6..f4b3a23 100644 --- a/uni-app/src/App.vue +++ b/uni-app/src/App.vue @@ -26,4 +26,37 @@ uni-page-body { overflow-y: auto !important; min-height: 100% !important; } + +/* ===== Desktop responsive (≥1024px) ===== */ +@media (min-width: 1024px) { + /* Sidebar — shift page content right */ + uni-page-body { + margin-left: 220px !important; + font-size: 16px !important; + } + + /* Constrain + center page content */ + uni-page-body > view { + max-width: 1200px !important; + margin-left: auto !important; + margin-right: auto !important; + padding: 40px 48px !important; + } + + /* Cards more breathing room */ + uni-page-body .card { + padding: 32px !important; + border-radius: 20px !important; + } + + /* Fix floating AI assistant (clear sidebar + reasonable position) */ + .ai-float-btn { + right: 40px !important; + bottom: 40px !important; + } + .ai-dialog { + right: 40px !important; + bottom: 100px !important; + } +} diff --git a/uni-app/src/custom-tab-bar/index.vue b/uni-app/src/custom-tab-bar/index.vue index cc1f1f0..b882c48 100644 --- a/uni-app/src/custom-tab-bar/index.vue +++ b/uni-app/src/custom-tab-bar/index.vue @@ -1,13 +1,15 @@ @@ -55,6 +57,7 @@ onUnmounted(() => { \ No newline at end of file