From 9bb7fa08ef3ebf1a6d4df82841630cf07dfd196a Mon Sep 17 00:00:00 2001 From: 1549469775 <1549469775@qq.com> Date: Mon, 18 Jul 2022 17:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=BA=86=E4=BA=9B=E4=B8=9C=E8=A5=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 11 ++++- pages/Sub/Tabs/Tabs.vue | 54 +++++++++++++++++----- pages/index/index.vue | 24 +++------- responsive/right-window.vue | 29 ++++++++++++ .../niu-ui/components/niu-navbar/niu-navbar.vue | 2 +- .../niu-ui/components/niu-tabs/niu-tabs.vue | 34 +++++++++----- uni_modules/niu-ui/index.js | 9 ++-- 7 files changed, 113 insertions(+), 50 deletions(-) create mode 100644 responsive/right-window.vue diff --git a/pages.json b/pages.json index 18c2f3e..4bf5776 100644 --- a/pages.json +++ b/pages.json @@ -43,5 +43,14 @@ "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" - } + }, + "rightWindow": { + "path": "responsive/right-window.vue", + "style": { + "width": "calc(100vw - 450px)" + }, + "matchMedia": { + "minWidth": 768 + } + } } diff --git a/pages/Sub/Tabs/Tabs.vue b/pages/Sub/Tabs/Tabs.vue index 8254285..198175a 100644 --- a/pages/Sub/Tabs/Tabs.vue +++ b/pages/Sub/Tabs/Tabs.vue @@ -4,31 +4,47 @@ Tabs - - - -