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 @@
-
您好,欢迎使用
@@ -10,16 +9,8 @@
-
+
-