From c103da8513feaf874d53b53cfd99d9e35abec5ce Mon Sep 17 00:00:00 2001 From: shidongli Date: Mon, 23 Oct 2023 10:09:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 29 ++++++++++++++++++----------- pages/index/index.vue | 9 +++++---- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/pages.json b/pages.json index 09d84f1..48983eb 100644 --- a/pages.json +++ b/pages.json @@ -3,6 +3,14 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, { "path": "pages/homepage/homepage", @@ -10,17 +18,16 @@ "enablePullDownRefresh": false, "navigationStyle": "custom" } - }, { - "path": "pages/login/login", - "style": { - "navigationBarTitleText": "", - "enablePullDownRefresh": false, - "navigationStyle": "custom" - "navigationBarTitleText": "", - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - }, { + }, + // { + // "path": "pages/login/login", + // "style": { + // "navigationBarTitleText": "", + // "enablePullDownRefresh": false, + // "navigationStyle": "custom" + // } + // }, + { "path": "pages/myinformation/myinformation", "style": { "navigationBarTitleText": "我的", diff --git a/pages/index/index.vue b/pages/index/index.vue index 3ae19e7..693b49b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -97,7 +97,7 @@ .login { top: 31px; - width: 30%; + width: 36%; height: 49px; font-size: 23px; font-family: SourceHanSansCN-Medium, SourceHanSansCN; @@ -133,10 +133,11 @@ .name { position: relative; - width: 96%; + width: 83%; /* background: red; */ - left: 9%; - top: 9%; + left: 50%; + transform: translateX(-50%); + top: 9%; ::v-deep .u-form-item--left { font-size: 30rpx;