From 3e278ce6e2d54020c24c7588cafe9b807fef4af5 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 6 May 2024 17:12:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E5=92=8C?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=8F=90=E7=A4=BA=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 2 + src/mycomponents/common/comMessage.vue | 723 ++++++++++++------------- src/pages.json | 8 +- src/pages/login/index.vue | 294 ++++------ 4 files changed, 482 insertions(+), 545 deletions(-) diff --git a/src/main.ts b/src/main.ts index c19c9640..677698d8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,6 +3,7 @@ import * as Pinia from 'pinia' // @ts-ignore import uView from 'vk-uview-ui' import App from './App.vue' +import comMessage from '@/mycomponents/common/comMessage.vue' @@ -30,6 +31,7 @@ export function createApp() { app.config.globalProperties.$modal = modal // 时间对象 app.config.globalProperties.$time = time + app.component('com-message', comMessage) diff --git a/src/mycomponents/common/comMessage.vue b/src/mycomponents/common/comMessage.vue index b81f2019..3e32c73b 100644 --- a/src/mycomponents/common/comMessage.vue +++ b/src/mycomponents/common/comMessage.vue @@ -11,7 +11,7 @@ - + @@ -29,395 +29,386 @@ - + \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index af76b466..50725bf3 100644 --- a/src/pages.json +++ b/src/pages.json @@ -49,7 +49,13 @@ { "path": "pages/login/index", "style": { - "navigationBarTitleText": "登录" + "navigationBarTitleText": "登录", + "navigationBarBackgroundColor": "#476df5", + "h5": { + "maxWidth": 1190, + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#476df5 !important" + } } }, diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index 9eccb527..8f5f45b0 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -1,6 +1,5 @@ -