@liujitcn/kratos-uni-app-system 0.0.81 → 0.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -230,7 +230,6 @@ var systemPages = {
230
230
  "pages/my/my": {
231
231
  style: {
232
232
  navigationStyle: "custom",
233
- navigationBarTextStyle: "white",
234
233
  navigationBarTitleText: ""
235
234
  }
236
235
  },
@@ -246,7 +245,6 @@ var systemPages = {
246
245
  "pagesMember/profile/profile": {
247
246
  style: {
248
247
  navigationStyle: "custom",
249
- navigationBarTextStyle: "white",
250
248
  navigationBarTitleText: ""
251
249
  }
252
250
  },
@@ -332,7 +330,6 @@ var zh_CN_default = {
332
330
  "system.profile.account": "\u8D26\u53F7",
333
331
  "system.profile.avatar_change": "\u70B9\u51FB\u4FEE\u6539\u5934\u50CF",
334
332
  "system.profile.avatar_upload_failed": "\u4E0A\u4F20\u5934\u50CF\u5931\u8D25",
335
- "system.profile.avatar_update": "\u66F4\u65B0\u5934\u50CF\u6635\u79F0",
336
333
  "system.profile.gender": "\u6027\u522B",
337
334
  "system.profile.email": "\u90AE\u7BB1",
338
335
  "system.profile.email_placeholder": "\u8BF7\u8F93\u5165\u90AE\u7BB1",
@@ -362,22 +359,20 @@ var zh_CN_default = {
362
359
  "system.settings.ai_description": "\u5E2E\u4F60\u6574\u7406\u4FE1\u606F\u3001\u56DE\u7B54\u95EE\u9898\u5E76\u5904\u7406\u65E5\u5E38\u4EFB\u52A1",
363
360
  "system.settings.ai_title": "\u667A\u80FD\u52A9\u624B",
364
361
  "system.settings.go_ask": "\u53BB\u63D0\u95EE",
365
- "system.notification.title": "\u6D88\u606F\u4E2D\u5FC3",
362
+ "system.notification.title": "\u6D88\u606F",
366
363
  "system.notification.sender.system": "\u7CFB\u7EDF",
367
- "system.notification.description": "\u67E5\u770B\u7CFB\u7EDF\u901A\u77E5\u548C\u4E1A\u52A1\u6D88\u606F",
368
364
  "system.notification.empty": "\u6682\u65E0\u6D88\u606F",
369
- "system.notification.action.view_all": "\u67E5\u770B\u5168\u90E8",
365
+ "system.notification.empty_inbox_hint": "\u65B0\u6D88\u606F\u5C06\u5728\u6B64\u663E\u793A",
366
+ "system.notification.empty_unread_hint": "\u5168\u90E8\u6D88\u606F\u5747\u5DF2\u8BFB\u5B8C",
367
+ "system.notification.empty_archived_hint": "\u5F52\u6863\u7684\u6D88\u606F\u5C06\u5728\u6B64\u663E\u793A",
370
368
  "system.notification.view.inbox": "\u5168\u90E8",
371
369
  "system.notification.view.unread": "\u672A\u8BFB",
372
370
  "system.notification.view.archived": "\u5DF2\u5F52\u6863",
373
- "system.notification.category_filter": "\u5206\u7C7B ID",
374
371
  "system.notification.mark_all_read": "\u5168\u90E8\u5DF2\u8BFB",
375
372
  "system.notification.action.archive": "\u5F52\u6863",
376
373
  "system.notification.action.restore": "\u6062\u590D",
377
374
  "system.notification.action.delete": "\u5220\u9664",
378
- "system.ai.model.provider_placeholder": "\u9009\u62E9\u4F9B\u5E94\u5546",
379
375
  "system.ai.model.model_placeholder": "\u9009\u62E9\u6A21\u578B",
380
- "system.ai.model.load_failed": "\u52A0\u8F7D\u4F9B\u5E94\u5546\u548C\u6A21\u578B\u5931\u8D25",
381
376
  "system.ai.model.title": "\u9009\u62E9\u6A21\u578B",
382
377
  "system.ai.model.provider_model_count": "{providers} \u4E2A\u4F9B\u5E94\u5546 \xB7 {models} \u4E2A\u6A21\u578B",
383
378
  "system.ai.model.empty": "\u6682\u65E0\u53EF\u9009\u6A21\u578B",
@@ -459,7 +454,6 @@ var en_US_default = {
459
454
  "system.profile.account": "Account",
460
455
  "system.profile.avatar_change": "Tap to change avatar",
461
456
  "system.profile.avatar_upload_failed": "Avatar upload failed",
462
- "system.profile.avatar_update": "Update avatar and name",
463
457
  "system.profile.gender": "Gender",
464
458
  "system.profile.email": "Email",
465
459
  "system.profile.email_placeholder": "Enter email",
@@ -489,22 +483,20 @@ var en_US_default = {
489
483
  "system.settings.ai_description": "Organize information, answer questions, and handle everyday tasks",
490
484
  "system.settings.ai_title": "AI Assistant",
491
485
  "system.settings.go_ask": "Ask now",
492
- "system.notification.title": "Message Center",
486
+ "system.notification.title": "Messages",
493
487
  "system.notification.sender.system": "System",
494
- "system.notification.description": "View system notifications and business messages",
495
488
  "system.notification.empty": "No messages",
496
- "system.notification.action.view_all": "View all",
489
+ "system.notification.empty_inbox_hint": "New messages will appear here",
490
+ "system.notification.empty_unread_hint": "You're all caught up",
491
+ "system.notification.empty_archived_hint": "Archived messages will appear here",
497
492
  "system.notification.view.inbox": "All",
498
493
  "system.notification.view.unread": "Unread",
499
494
  "system.notification.view.archived": "Archived",
500
- "system.notification.category_filter": "Category ID",
501
495
  "system.notification.mark_all_read": "Mark all read",
502
496
  "system.notification.action.archive": "Archive",
503
497
  "system.notification.action.restore": "Restore",
504
498
  "system.notification.action.delete": "Delete",
505
- "system.ai.model.provider_placeholder": "Select a provider",
506
499
  "system.ai.model.model_placeholder": "Select a model",
507
- "system.ai.model.load_failed": "Failed to load providers and models",
508
500
  "system.ai.model.title": "Select Model",
509
501
  "system.ai.model.provider_model_count": "{providers} providers \xB7 {models} models",
510
502
  "system.ai.model.empty": "No models available",
@@ -586,7 +578,6 @@ var ja_JP_default = {
586
578
  "system.profile.account": "\u30A2\u30AB\u30A6\u30F3\u30C8",
587
579
  "system.profile.avatar_change": "\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30A2\u30D0\u30BF\u30FC\u3092\u5909\u66F4\u3057\u307E\u3059",
588
580
  "system.profile.avatar_upload_failed": "\u30A2\u30D0\u30BF\u30FC\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
589
- "system.profile.avatar_update": "\u30A2\u30D0\u30BF\u30FC\u306E\u30CB\u30C3\u30AF\u30CD\u30FC\u30E0\u3092\u66F4\u65B0",
590
581
  "system.profile.gender": "\u6027\u5225",
591
582
  "system.profile.email": "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",
592
583
  "system.profile.email_placeholder": "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
@@ -616,22 +607,20 @@ var ja_JP_default = {
616
607
  "system.settings.ai_description": "\u306F\u3001\u60C5\u5831\u3092\u6574\u7406\u3057\u3001\u8CEA\u554F\u306B\u7B54\u3048\u3001\u65E5\u5E38\u696D\u52D9\u3092\u51E6\u7406\u3059\u308B\u306E\u306B\u5F79\u7ACB\u3061\u307E\u3059",
617
608
  "system.settings.ai_title": "\u30A4\u30F3\u30C6\u30EA\u30B8\u30A7\u30F3\u30C8 \u30A2\u30B7\u30B9\u30BF\u30F3\u30C8",
618
609
  "system.settings.go_ask": "\u8CEA\u554F\u3057\u3066\u307F\u3088\u3046",
619
- "system.notification.title": "\u30E1\u30C3\u30BB\u30FC\u30B8\u30BB\u30F3\u30BF\u30FC",
610
+ "system.notification.title": "\u30E1\u30C3\u30BB\u30FC\u30B8",
620
611
  "system.notification.sender.system": "\u30B7\u30B9\u30C6\u30E0",
621
- "system.notification.description": "\u30B7\u30B9\u30C6\u30E0\u901A\u77E5\u3068\u696D\u52D9\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u78BA\u8A8D",
622
612
  "system.notification.empty": "\u30E1\u30C3\u30BB\u30FC\u30B8\u306F\u3042\u308A\u307E\u305B\u3093",
623
- "system.notification.action.view_all": "\u3059\u3079\u3066\u8868\u793A",
613
+ "system.notification.empty_inbox_hint": "\u65B0\u3057\u3044\u30E1\u30C3\u30BB\u30FC\u30B8\u306F\u3053\u3053\u306B\u8868\u793A\u3055\u308C\u307E\u3059",
614
+ "system.notification.empty_unread_hint": "\u3059\u3079\u3066\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u65E2\u8AAD\u306B\u3057\u307E\u3057\u305F",
615
+ "system.notification.empty_archived_hint": "\u30A2\u30FC\u30AB\u30A4\u30D6\u6E08\u307F\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u306F\u3053\u3053\u306B\u8868\u793A\u3055\u308C\u307E\u3059",
624
616
  "system.notification.view.inbox": "\u3059\u3079\u3066",
625
617
  "system.notification.view.unread": "\u672A\u8AAD",
626
618
  "system.notification.view.archived": "\u30A2\u30FC\u30AB\u30A4\u30D6\u6E08\u307F",
627
- "system.notification.category_filter": "\u30AB\u30C6\u30B4\u30EAID",
628
619
  "system.notification.mark_all_read": "\u3059\u3079\u3066\u65E2\u8AAD",
629
620
  "system.notification.action.archive": "\u30A2\u30FC\u30AB\u30A4\u30D6",
630
621
  "system.notification.action.restore": "\u5FA9\u5143",
631
622
  "system.notification.action.delete": "\u524A\u9664",
632
- "system.ai.model.provider_placeholder": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u9078\u629E",
633
623
  "system.ai.model.model_placeholder": "\u30E2\u30C7\u30EB\u3092\u9078\u629E",
634
- "system.ai.model.load_failed": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3068\u30E2\u30C7\u30EB\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",
635
624
  "system.ai.model.title": "\u30E2\u30C7\u30EB\u3092\u9078\u629E",
636
625
  "system.ai.model.provider_model_count": "{providers} \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC \xB7 {models} \u30E2\u30C7\u30EB",
637
626
  "system.ai.model.empty": "\u9078\u629E\u53EF\u80FD\u306A\u30E2\u30C7\u30EB\u304C\u3042\u308A\u307E\u305B\u3093",
@@ -713,7 +702,6 @@ var zh_TW_default = {
713
702
  "system.profile.account": "\u8CEC\u865F",
714
703
  "system.profile.avatar_change": "\u9EDE\u9078\u4FEE\u6539\u982D\u50CF",
715
704
  "system.profile.avatar_upload_failed": "\u4E0A\u50B3\u982D\u50CF\u5931\u6557",
716
- "system.profile.avatar_update": "\u66F4\u65B0\u982D\u50CF\u66B1\u7A31",
717
705
  "system.profile.gender": "\u6027\u5225",
718
706
  "system.profile.email": "\u96FB\u5B50\u90F5\u4EF6",
719
707
  "system.profile.email_placeholder": "\u8ACB\u8F38\u5165\u96FB\u5B50\u90F5\u4EF6",
@@ -743,22 +731,20 @@ var zh_TW_default = {
743
731
  "system.settings.ai_description": "\u5E6B\u4F60\u6574\u7406\u8CC7\u8A0A\u3001\u56DE\u7B54\u554F\u984C\u4E26\u8655\u7406\u65E5\u5E38\u4EFB\u52D9",
744
732
  "system.settings.ai_title": "\u667A\u6167\u52A9\u624B",
745
733
  "system.settings.go_ask": "\u53BB\u63D0\u554F",
746
- "system.notification.title": "\u6D88\u606F\u4E2D\u5FC3",
734
+ "system.notification.title": "\u6D88\u606F",
747
735
  "system.notification.sender.system": "\u7CFB\u7D71",
748
- "system.notification.description": "\u67E5\u770B\u7CFB\u7D71\u901A\u77E5\u548C\u696D\u52D9\u6D88\u606F",
749
736
  "system.notification.empty": "\u66AB\u7121\u6D88\u606F",
750
- "system.notification.action.view_all": "\u67E5\u770B\u5168\u90E8",
737
+ "system.notification.empty_inbox_hint": "\u65B0\u8A0A\u606F\u5C07\u5728\u6B64\u986F\u793A",
738
+ "system.notification.empty_unread_hint": "\u5168\u90E8\u8A0A\u606F\u5747\u5DF2\u8B80\u5B8C",
739
+ "system.notification.empty_archived_hint": "\u5C01\u5B58\u7684\u8A0A\u606F\u5C07\u5728\u6B64\u986F\u793A",
751
740
  "system.notification.view.inbox": "\u5168\u90E8",
752
741
  "system.notification.view.unread": "\u672A\u8B80",
753
742
  "system.notification.view.archived": "\u5DF2\u6B78\u6A94",
754
- "system.notification.category_filter": "\u5206\u985E ID",
755
743
  "system.notification.mark_all_read": "\u5168\u90E8\u5DF2\u8B80",
756
744
  "system.notification.action.archive": "\u6B78\u6A94",
757
745
  "system.notification.action.restore": "\u6062\u5FA9",
758
746
  "system.notification.action.delete": "\u522A\u9664",
759
- "system.ai.model.provider_placeholder": "\u9078\u64C7\u4F9B\u61C9\u5546",
760
747
  "system.ai.model.model_placeholder": "\u9078\u64C7\u6A21\u578B",
761
- "system.ai.model.load_failed": "\u8F09\u5165\u4F9B\u61C9\u5546\u8207\u6A21\u578B\u5931\u6557",
762
748
  "system.ai.model.title": "\u9078\u64C7\u6A21\u578B",
763
749
  "system.ai.model.provider_model_count": "{providers} \u500B\u4F9B\u61C9\u5546 \xB7 {models} \u500B\u6A21\u578B",
764
750
  "system.ai.model.empty": "\u66AB\u7121\u53EF\u9078\u6A21\u578B",
package/dist/module.mjs CHANGED
@@ -6,7 +6,6 @@ var systemPages = {
6
6
  "pages/my/my": {
7
7
  style: {
8
8
  navigationStyle: "custom",
9
- navigationBarTextStyle: "white",
10
9
  navigationBarTitleText: ""
11
10
  }
12
11
  },
@@ -22,7 +21,6 @@ var systemPages = {
22
21
  "pagesMember/profile/profile": {
23
22
  style: {
24
23
  navigationStyle: "custom",
25
- navigationBarTextStyle: "white",
26
24
  navigationBarTitleText: ""
27
25
  }
28
26
  },
@@ -108,7 +106,6 @@ var zh_CN_default = {
108
106
  "system.profile.account": "\u8D26\u53F7",
109
107
  "system.profile.avatar_change": "\u70B9\u51FB\u4FEE\u6539\u5934\u50CF",
110
108
  "system.profile.avatar_upload_failed": "\u4E0A\u4F20\u5934\u50CF\u5931\u8D25",
111
- "system.profile.avatar_update": "\u66F4\u65B0\u5934\u50CF\u6635\u79F0",
112
109
  "system.profile.gender": "\u6027\u522B",
113
110
  "system.profile.email": "\u90AE\u7BB1",
114
111
  "system.profile.email_placeholder": "\u8BF7\u8F93\u5165\u90AE\u7BB1",
@@ -138,22 +135,20 @@ var zh_CN_default = {
138
135
  "system.settings.ai_description": "\u5E2E\u4F60\u6574\u7406\u4FE1\u606F\u3001\u56DE\u7B54\u95EE\u9898\u5E76\u5904\u7406\u65E5\u5E38\u4EFB\u52A1",
139
136
  "system.settings.ai_title": "\u667A\u80FD\u52A9\u624B",
140
137
  "system.settings.go_ask": "\u53BB\u63D0\u95EE",
141
- "system.notification.title": "\u6D88\u606F\u4E2D\u5FC3",
138
+ "system.notification.title": "\u6D88\u606F",
142
139
  "system.notification.sender.system": "\u7CFB\u7EDF",
143
- "system.notification.description": "\u67E5\u770B\u7CFB\u7EDF\u901A\u77E5\u548C\u4E1A\u52A1\u6D88\u606F",
144
140
  "system.notification.empty": "\u6682\u65E0\u6D88\u606F",
145
- "system.notification.action.view_all": "\u67E5\u770B\u5168\u90E8",
141
+ "system.notification.empty_inbox_hint": "\u65B0\u6D88\u606F\u5C06\u5728\u6B64\u663E\u793A",
142
+ "system.notification.empty_unread_hint": "\u5168\u90E8\u6D88\u606F\u5747\u5DF2\u8BFB\u5B8C",
143
+ "system.notification.empty_archived_hint": "\u5F52\u6863\u7684\u6D88\u606F\u5C06\u5728\u6B64\u663E\u793A",
146
144
  "system.notification.view.inbox": "\u5168\u90E8",
147
145
  "system.notification.view.unread": "\u672A\u8BFB",
148
146
  "system.notification.view.archived": "\u5DF2\u5F52\u6863",
149
- "system.notification.category_filter": "\u5206\u7C7B ID",
150
147
  "system.notification.mark_all_read": "\u5168\u90E8\u5DF2\u8BFB",
151
148
  "system.notification.action.archive": "\u5F52\u6863",
152
149
  "system.notification.action.restore": "\u6062\u590D",
153
150
  "system.notification.action.delete": "\u5220\u9664",
154
- "system.ai.model.provider_placeholder": "\u9009\u62E9\u4F9B\u5E94\u5546",
155
151
  "system.ai.model.model_placeholder": "\u9009\u62E9\u6A21\u578B",
156
- "system.ai.model.load_failed": "\u52A0\u8F7D\u4F9B\u5E94\u5546\u548C\u6A21\u578B\u5931\u8D25",
157
152
  "system.ai.model.title": "\u9009\u62E9\u6A21\u578B",
158
153
  "system.ai.model.provider_model_count": "{providers} \u4E2A\u4F9B\u5E94\u5546 \xB7 {models} \u4E2A\u6A21\u578B",
159
154
  "system.ai.model.empty": "\u6682\u65E0\u53EF\u9009\u6A21\u578B",
@@ -235,7 +230,6 @@ var en_US_default = {
235
230
  "system.profile.account": "Account",
236
231
  "system.profile.avatar_change": "Tap to change avatar",
237
232
  "system.profile.avatar_upload_failed": "Avatar upload failed",
238
- "system.profile.avatar_update": "Update avatar and name",
239
233
  "system.profile.gender": "Gender",
240
234
  "system.profile.email": "Email",
241
235
  "system.profile.email_placeholder": "Enter email",
@@ -265,22 +259,20 @@ var en_US_default = {
265
259
  "system.settings.ai_description": "Organize information, answer questions, and handle everyday tasks",
266
260
  "system.settings.ai_title": "AI Assistant",
267
261
  "system.settings.go_ask": "Ask now",
268
- "system.notification.title": "Message Center",
262
+ "system.notification.title": "Messages",
269
263
  "system.notification.sender.system": "System",
270
- "system.notification.description": "View system notifications and business messages",
271
264
  "system.notification.empty": "No messages",
272
- "system.notification.action.view_all": "View all",
265
+ "system.notification.empty_inbox_hint": "New messages will appear here",
266
+ "system.notification.empty_unread_hint": "You're all caught up",
267
+ "system.notification.empty_archived_hint": "Archived messages will appear here",
273
268
  "system.notification.view.inbox": "All",
274
269
  "system.notification.view.unread": "Unread",
275
270
  "system.notification.view.archived": "Archived",
276
- "system.notification.category_filter": "Category ID",
277
271
  "system.notification.mark_all_read": "Mark all read",
278
272
  "system.notification.action.archive": "Archive",
279
273
  "system.notification.action.restore": "Restore",
280
274
  "system.notification.action.delete": "Delete",
281
- "system.ai.model.provider_placeholder": "Select a provider",
282
275
  "system.ai.model.model_placeholder": "Select a model",
283
- "system.ai.model.load_failed": "Failed to load providers and models",
284
276
  "system.ai.model.title": "Select Model",
285
277
  "system.ai.model.provider_model_count": "{providers} providers \xB7 {models} models",
286
278
  "system.ai.model.empty": "No models available",
@@ -362,7 +354,6 @@ var ja_JP_default = {
362
354
  "system.profile.account": "\u30A2\u30AB\u30A6\u30F3\u30C8",
363
355
  "system.profile.avatar_change": "\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30A2\u30D0\u30BF\u30FC\u3092\u5909\u66F4\u3057\u307E\u3059",
364
356
  "system.profile.avatar_upload_failed": "\u30A2\u30D0\u30BF\u30FC\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
365
- "system.profile.avatar_update": "\u30A2\u30D0\u30BF\u30FC\u306E\u30CB\u30C3\u30AF\u30CD\u30FC\u30E0\u3092\u66F4\u65B0",
366
357
  "system.profile.gender": "\u6027\u5225",
367
358
  "system.profile.email": "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",
368
359
  "system.profile.email_placeholder": "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
@@ -392,22 +383,20 @@ var ja_JP_default = {
392
383
  "system.settings.ai_description": "\u306F\u3001\u60C5\u5831\u3092\u6574\u7406\u3057\u3001\u8CEA\u554F\u306B\u7B54\u3048\u3001\u65E5\u5E38\u696D\u52D9\u3092\u51E6\u7406\u3059\u308B\u306E\u306B\u5F79\u7ACB\u3061\u307E\u3059",
393
384
  "system.settings.ai_title": "\u30A4\u30F3\u30C6\u30EA\u30B8\u30A7\u30F3\u30C8 \u30A2\u30B7\u30B9\u30BF\u30F3\u30C8",
394
385
  "system.settings.go_ask": "\u8CEA\u554F\u3057\u3066\u307F\u3088\u3046",
395
- "system.notification.title": "\u30E1\u30C3\u30BB\u30FC\u30B8\u30BB\u30F3\u30BF\u30FC",
386
+ "system.notification.title": "\u30E1\u30C3\u30BB\u30FC\u30B8",
396
387
  "system.notification.sender.system": "\u30B7\u30B9\u30C6\u30E0",
397
- "system.notification.description": "\u30B7\u30B9\u30C6\u30E0\u901A\u77E5\u3068\u696D\u52D9\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u78BA\u8A8D",
398
388
  "system.notification.empty": "\u30E1\u30C3\u30BB\u30FC\u30B8\u306F\u3042\u308A\u307E\u305B\u3093",
399
- "system.notification.action.view_all": "\u3059\u3079\u3066\u8868\u793A",
389
+ "system.notification.empty_inbox_hint": "\u65B0\u3057\u3044\u30E1\u30C3\u30BB\u30FC\u30B8\u306F\u3053\u3053\u306B\u8868\u793A\u3055\u308C\u307E\u3059",
390
+ "system.notification.empty_unread_hint": "\u3059\u3079\u3066\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u65E2\u8AAD\u306B\u3057\u307E\u3057\u305F",
391
+ "system.notification.empty_archived_hint": "\u30A2\u30FC\u30AB\u30A4\u30D6\u6E08\u307F\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u306F\u3053\u3053\u306B\u8868\u793A\u3055\u308C\u307E\u3059",
400
392
  "system.notification.view.inbox": "\u3059\u3079\u3066",
401
393
  "system.notification.view.unread": "\u672A\u8AAD",
402
394
  "system.notification.view.archived": "\u30A2\u30FC\u30AB\u30A4\u30D6\u6E08\u307F",
403
- "system.notification.category_filter": "\u30AB\u30C6\u30B4\u30EAID",
404
395
  "system.notification.mark_all_read": "\u3059\u3079\u3066\u65E2\u8AAD",
405
396
  "system.notification.action.archive": "\u30A2\u30FC\u30AB\u30A4\u30D6",
406
397
  "system.notification.action.restore": "\u5FA9\u5143",
407
398
  "system.notification.action.delete": "\u524A\u9664",
408
- "system.ai.model.provider_placeholder": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u9078\u629E",
409
399
  "system.ai.model.model_placeholder": "\u30E2\u30C7\u30EB\u3092\u9078\u629E",
410
- "system.ai.model.load_failed": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3068\u30E2\u30C7\u30EB\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",
411
400
  "system.ai.model.title": "\u30E2\u30C7\u30EB\u3092\u9078\u629E",
412
401
  "system.ai.model.provider_model_count": "{providers} \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC \xB7 {models} \u30E2\u30C7\u30EB",
413
402
  "system.ai.model.empty": "\u9078\u629E\u53EF\u80FD\u306A\u30E2\u30C7\u30EB\u304C\u3042\u308A\u307E\u305B\u3093",
@@ -489,7 +478,6 @@ var zh_TW_default = {
489
478
  "system.profile.account": "\u8CEC\u865F",
490
479
  "system.profile.avatar_change": "\u9EDE\u9078\u4FEE\u6539\u982D\u50CF",
491
480
  "system.profile.avatar_upload_failed": "\u4E0A\u50B3\u982D\u50CF\u5931\u6557",
492
- "system.profile.avatar_update": "\u66F4\u65B0\u982D\u50CF\u66B1\u7A31",
493
481
  "system.profile.gender": "\u6027\u5225",
494
482
  "system.profile.email": "\u96FB\u5B50\u90F5\u4EF6",
495
483
  "system.profile.email_placeholder": "\u8ACB\u8F38\u5165\u96FB\u5B50\u90F5\u4EF6",
@@ -519,22 +507,20 @@ var zh_TW_default = {
519
507
  "system.settings.ai_description": "\u5E6B\u4F60\u6574\u7406\u8CC7\u8A0A\u3001\u56DE\u7B54\u554F\u984C\u4E26\u8655\u7406\u65E5\u5E38\u4EFB\u52D9",
520
508
  "system.settings.ai_title": "\u667A\u6167\u52A9\u624B",
521
509
  "system.settings.go_ask": "\u53BB\u63D0\u554F",
522
- "system.notification.title": "\u6D88\u606F\u4E2D\u5FC3",
510
+ "system.notification.title": "\u6D88\u606F",
523
511
  "system.notification.sender.system": "\u7CFB\u7D71",
524
- "system.notification.description": "\u67E5\u770B\u7CFB\u7D71\u901A\u77E5\u548C\u696D\u52D9\u6D88\u606F",
525
512
  "system.notification.empty": "\u66AB\u7121\u6D88\u606F",
526
- "system.notification.action.view_all": "\u67E5\u770B\u5168\u90E8",
513
+ "system.notification.empty_inbox_hint": "\u65B0\u8A0A\u606F\u5C07\u5728\u6B64\u986F\u793A",
514
+ "system.notification.empty_unread_hint": "\u5168\u90E8\u8A0A\u606F\u5747\u5DF2\u8B80\u5B8C",
515
+ "system.notification.empty_archived_hint": "\u5C01\u5B58\u7684\u8A0A\u606F\u5C07\u5728\u6B64\u986F\u793A",
527
516
  "system.notification.view.inbox": "\u5168\u90E8",
528
517
  "system.notification.view.unread": "\u672A\u8B80",
529
518
  "system.notification.view.archived": "\u5DF2\u6B78\u6A94",
530
- "system.notification.category_filter": "\u5206\u985E ID",
531
519
  "system.notification.mark_all_read": "\u5168\u90E8\u5DF2\u8B80",
532
520
  "system.notification.action.archive": "\u6B78\u6A94",
533
521
  "system.notification.action.restore": "\u6062\u5FA9",
534
522
  "system.notification.action.delete": "\u522A\u9664",
535
- "system.ai.model.provider_placeholder": "\u9078\u64C7\u4F9B\u61C9\u5546",
536
523
  "system.ai.model.model_placeholder": "\u9078\u64C7\u6A21\u578B",
537
- "system.ai.model.load_failed": "\u8F09\u5165\u4F9B\u61C9\u5546\u8207\u6A21\u578B\u5931\u6557",
538
524
  "system.ai.model.title": "\u9078\u64C7\u6A21\u578B",
539
525
  "system.ai.model.provider_model_count": "{providers} \u500B\u4F9B\u61C9\u5546 \xB7 {models} \u500B\u6A21\u578B",
540
526
  "system.ai.model.empty": "\u66AB\u7121\u53EF\u9078\u6A21\u578B",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "type": "git",
8
8
  "url": "git@github.com:liujitcn/kratos-admin.git"
9
9
  },
10
- "version": "0.0.81",
10
+ "version": "0.0.83",
11
11
  "type": "module",
12
12
  "files": [
13
13
  "dist",
@@ -35,7 +35,7 @@
35
35
  "@dcloudio/uni-app": "3.0.0-5010520260709002",
36
36
  "@dcloudio/uni-ui": "^1.4.28",
37
37
  "vue": "^3.4.21",
38
- "@liujitcn/kratos-uni-app-core": "^0.0.81"
38
+ "@liujitcn/kratos-uni-app-core": "^0.0.83"
39
39
  },
40
40
  "devDependencies": {
41
41
  "esbuild": "^0.20.2",
@@ -68,7 +68,6 @@
68
68
  "system.profile.account": "Account",
69
69
  "system.profile.avatar_change": "Tap to change avatar",
70
70
  "system.profile.avatar_upload_failed": "Avatar upload failed",
71
- "system.profile.avatar_update": "Update avatar and name",
72
71
  "system.profile.gender": "Gender",
73
72
  "system.profile.email": "Email",
74
73
  "system.profile.email_placeholder": "Enter email",
@@ -98,22 +97,20 @@
98
97
  "system.settings.ai_description": "Organize information, answer questions, and handle everyday tasks",
99
98
  "system.settings.ai_title": "AI Assistant",
100
99
  "system.settings.go_ask": "Ask now",
101
- "system.notification.title": "Message Center",
100
+ "system.notification.title": "Messages",
102
101
  "system.notification.sender.system": "System",
103
- "system.notification.description": "View system notifications and business messages",
104
102
  "system.notification.empty": "No messages",
105
- "system.notification.action.view_all": "View all",
103
+ "system.notification.empty_inbox_hint": "New messages will appear here",
104
+ "system.notification.empty_unread_hint": "You're all caught up",
105
+ "system.notification.empty_archived_hint": "Archived messages will appear here",
106
106
  "system.notification.view.inbox": "All",
107
107
  "system.notification.view.unread": "Unread",
108
108
  "system.notification.view.archived": "Archived",
109
- "system.notification.category_filter": "Category ID",
110
109
  "system.notification.mark_all_read": "Mark all read",
111
110
  "system.notification.action.archive": "Archive",
112
111
  "system.notification.action.restore": "Restore",
113
112
  "system.notification.action.delete": "Delete",
114
- "system.ai.model.provider_placeholder": "Select a provider",
115
113
  "system.ai.model.model_placeholder": "Select a model",
116
- "system.ai.model.load_failed": "Failed to load providers and models",
117
114
  "system.ai.model.title": "Select Model",
118
115
  "system.ai.model.provider_model_count": "{providers} providers · {models} models",
119
116
  "system.ai.model.empty": "No models available",
@@ -68,7 +68,6 @@
68
68
  "system.profile.account": "アカウント",
69
69
  "system.profile.avatar_change": "クリックしてアバターを変更します",
70
70
  "system.profile.avatar_upload_failed": "アバターのアップロードに失敗しました",
71
- "system.profile.avatar_update": "アバターのニックネームを更新",
72
71
  "system.profile.gender": "性別",
73
72
  "system.profile.email": "メールアドレス",
74
73
  "system.profile.email_placeholder": "メールアドレスを入力してください",
@@ -98,22 +97,20 @@
98
97
  "system.settings.ai_description": "は、情報を整理し、質問に答え、日常業務を処理するのに役立ちます",
99
98
  "system.settings.ai_title": "インテリジェント アシスタント",
100
99
  "system.settings.go_ask": "質問してみよう",
101
- "system.notification.title": "メッセージセンター",
100
+ "system.notification.title": "メッセージ",
102
101
  "system.notification.sender.system": "システム",
103
- "system.notification.description": "システム通知と業務メッセージを確認",
104
102
  "system.notification.empty": "メッセージはありません",
105
- "system.notification.action.view_all": "すべて表示",
103
+ "system.notification.empty_inbox_hint": "新しいメッセージはここに表示されます",
104
+ "system.notification.empty_unread_hint": "すべてのメッセージを既読にしました",
105
+ "system.notification.empty_archived_hint": "アーカイブ済みのメッセージはここに表示されます",
106
106
  "system.notification.view.inbox": "すべて",
107
107
  "system.notification.view.unread": "未読",
108
108
  "system.notification.view.archived": "アーカイブ済み",
109
- "system.notification.category_filter": "カテゴリID",
110
109
  "system.notification.mark_all_read": "すべて既読",
111
110
  "system.notification.action.archive": "アーカイブ",
112
111
  "system.notification.action.restore": "復元",
113
112
  "system.notification.action.delete": "削除",
114
- "system.ai.model.provider_placeholder": "プロバイダーを選択",
115
113
  "system.ai.model.model_placeholder": "モデルを選択",
116
- "system.ai.model.load_failed": "プロバイダーとモデルを読み込めませんでした",
117
114
  "system.ai.model.title": "モデルを選択",
118
115
  "system.ai.model.provider_model_count": "{providers} プロバイダー · {models} モデル",
119
116
  "system.ai.model.empty": "選択可能なモデルがありません",
@@ -68,7 +68,6 @@
68
68
  "system.profile.account": "账号",
69
69
  "system.profile.avatar_change": "点击修改头像",
70
70
  "system.profile.avatar_upload_failed": "上传头像失败",
71
- "system.profile.avatar_update": "更新头像昵称",
72
71
  "system.profile.gender": "性别",
73
72
  "system.profile.email": "邮箱",
74
73
  "system.profile.email_placeholder": "请输入邮箱",
@@ -98,22 +97,20 @@
98
97
  "system.settings.ai_description": "帮你整理信息、回答问题并处理日常任务",
99
98
  "system.settings.ai_title": "智能助手",
100
99
  "system.settings.go_ask": "去提问",
101
- "system.notification.title": "消息中心",
100
+ "system.notification.title": "消息",
102
101
  "system.notification.sender.system": "系统",
103
- "system.notification.description": "查看系统通知和业务消息",
104
102
  "system.notification.empty": "暂无消息",
105
- "system.notification.action.view_all": "查看全部",
103
+ "system.notification.empty_inbox_hint": "新消息将在此显示",
104
+ "system.notification.empty_unread_hint": "全部消息均已读完",
105
+ "system.notification.empty_archived_hint": "归档的消息将在此显示",
106
106
  "system.notification.view.inbox": "全部",
107
107
  "system.notification.view.unread": "未读",
108
108
  "system.notification.view.archived": "已归档",
109
- "system.notification.category_filter": "分类 ID",
110
109
  "system.notification.mark_all_read": "全部已读",
111
110
  "system.notification.action.archive": "归档",
112
111
  "system.notification.action.restore": "恢复",
113
112
  "system.notification.action.delete": "删除",
114
- "system.ai.model.provider_placeholder": "选择供应商",
115
113
  "system.ai.model.model_placeholder": "选择模型",
116
- "system.ai.model.load_failed": "加载供应商和模型失败",
117
114
  "system.ai.model.title": "选择模型",
118
115
  "system.ai.model.provider_model_count": "{providers} 个供应商 · {models} 个模型",
119
116
  "system.ai.model.empty": "暂无可选模型",
@@ -68,7 +68,6 @@
68
68
  "system.profile.account": "賬號",
69
69
  "system.profile.avatar_change": "點選修改頭像",
70
70
  "system.profile.avatar_upload_failed": "上傳頭像失敗",
71
- "system.profile.avatar_update": "更新頭像暱稱",
72
71
  "system.profile.gender": "性別",
73
72
  "system.profile.email": "電子郵件",
74
73
  "system.profile.email_placeholder": "請輸入電子郵件",
@@ -98,22 +97,20 @@
98
97
  "system.settings.ai_description": "幫你整理資訊、回答問題並處理日常任務",
99
98
  "system.settings.ai_title": "智慧助手",
100
99
  "system.settings.go_ask": "去提問",
101
- "system.notification.title": "消息中心",
100
+ "system.notification.title": "消息",
102
101
  "system.notification.sender.system": "系統",
103
- "system.notification.description": "查看系統通知和業務消息",
104
102
  "system.notification.empty": "暫無消息",
105
- "system.notification.action.view_all": "查看全部",
103
+ "system.notification.empty_inbox_hint": "新訊息將在此顯示",
104
+ "system.notification.empty_unread_hint": "全部訊息均已讀完",
105
+ "system.notification.empty_archived_hint": "封存的訊息將在此顯示",
106
106
  "system.notification.view.inbox": "全部",
107
107
  "system.notification.view.unread": "未讀",
108
108
  "system.notification.view.archived": "已歸檔",
109
- "system.notification.category_filter": "分類 ID",
110
109
  "system.notification.mark_all_read": "全部已讀",
111
110
  "system.notification.action.archive": "歸檔",
112
111
  "system.notification.action.restore": "恢復",
113
112
  "system.notification.action.delete": "刪除",
114
- "system.ai.model.provider_placeholder": "選擇供應商",
115
113
  "system.ai.model.model_placeholder": "選擇模型",
116
- "system.ai.model.load_failed": "載入供應商與模型失敗",
117
114
  "system.ai.model.title": "選擇模型",
118
115
  "system.ai.model.provider_model_count": "{providers} 個供應商 · {models} 個模型",
119
116
  "system.ai.model.empty": "暫無可選模型",
package/src/pages.ts CHANGED
@@ -5,7 +5,6 @@ export const systemPages: Record<string, KratosAppPageConfig> = {
5
5
  'pages/my/my': {
6
6
  style: {
7
7
  navigationStyle: 'custom',
8
- navigationBarTextStyle: 'white',
9
8
  navigationBarTitleText: '',
10
9
  },
11
10
  },
@@ -21,7 +20,6 @@ export const systemPages: Record<string, KratosAppPageConfig> = {
21
20
  'pagesMember/profile/profile': {
22
21
  style: {
23
22
  navigationStyle: 'custom',
24
- navigationBarTextStyle: 'white',
25
23
  navigationBarTitleText: '',
26
24
  },
27
25
  },
@@ -24,7 +24,7 @@ const avatarText = computed(() => (profile.value?.nick_name || 'U').slice(0, 1))
24
24
  /** 设计稿齿轮线稿,随主题取色的 data URI,替代 CSS 手绘图标。 */
25
25
  const gearIcon = computed(() => {
26
26
  const color = themeStore.theme === 'light' ? '#102232' : '#e9f4f6'
27
- const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="${color}" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.6 1.6 0 0 0 .3 1.8 2 2 0 1 1-2.8 2.8 1.6 1.6 0 0 0-2.7 1.1 2 2 0 1 1-4 0 1.6 1.6 0 0 0-2.6-1.1 2 2 0 1 1-2.8-2.8A1.6 1.6 0 0 0 3 13.9a2 2 0 1 1 0-4 1.6 1.6 0 0 0 1.5-2.7 2 2 0 1 1 2.8-2.8A1.6 1.6 0 0 0 10 4.6a2 2 0 1 1 4 0 1.6 1.6 0 0 0 2.7.6 2 2 0 1 1 2.8 2.8 1.6 1.6 0 0 0-.1 2.6"/></svg>`
27
+ const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="${color}" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.6 1.6 0 0 0 .3 1.8 2 2 0 1 1-2.8 2.8 1.6 1.6 0 0 0-2.7 1.1 2 2 0 1 1-4 0 1.6 1.6 0 0 0-2.6-1.1 2 2 0 1 1-2.8-2.8A1.6 1.6 0 0 0 3 13.9a2 2 0 1 1 0-4 1.6 1.6 0 0 0 1.5-2.7 2 2 0 1 1 2.8-2.8A1.6 1.6 0 0 0 10 4.6a2 2 0 1 1 4 0 1.6 1.6 0 0 0 2.7.6 2 2 0 1 1 2.8 2.8 1.6 1.6 0 0 0-.1 2.6a2.2 2.2 0 1 1 0 4.4Z"/></svg>`
28
28
  return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`
29
29
  })
30
30
 
@@ -72,8 +72,6 @@ const navigateToProfile = () => navigateAppRoute('app/profile')
72
72
  <view class="my-stack">
73
73
  <!-- 个人资料 -->
74
74
  <view class="k-glass k-glass--lit k-pfx my-profile" @tap="navigateToProfile">
75
- <view class="k-cnr k-cnr--tr" aria-hidden="true"></view>
76
- <view class="k-cnr k-cnr--bl" aria-hidden="true"></view>
77
75
  <view class="my-pfx-main">
78
76
  <image
79
77
  v-if="isLoggedIn && profile"
@@ -118,7 +116,8 @@ const navigateToProfile = () => navigateAppRoute('app/profile')
118
116
  padding: calc(env(safe-area-inset-top) + 24rpx) 32rpx calc(40rpx + env(safe-area-inset-bottom));
119
117
 
120
118
  /* #ifdef MP-WEIXIN */
121
- padding-top: calc(44px + 24rpx);
119
+ /* k-top 在小程序端自带 44px 状态栏高度的导航带,页面不再额外让出顶部空间 */
120
+ padding-top: 0;
122
121
  /* #endif */
123
122
  }
124
123
 
@@ -124,11 +124,12 @@ function onBack() {
124
124
  }
125
125
  .detail-meta {
126
126
  display: flex;
127
- flex-wrap: wrap;
127
+ align-items: center;
128
+ justify-content: space-between;
128
129
  gap: 18rpx;
129
130
  margin: 24rpx 0 36rpx;
130
131
  padding-bottom: 28rpx;
131
- border-bottom: 1rpx solid var(--kratos-color-border);
132
+ border-bottom: 1px solid var(--kratos-color-border);
132
133
  color: var(--kratos-color-text-muted);
133
134
  font-size: 22rpx;
134
135
  font-family: var(--kratos-font-mono);
@@ -136,6 +137,10 @@ function onBack() {
136
137
  .detail-category {
137
138
  display: inline-flex;
138
139
  align-items: center;
140
+ min-width: 0;
141
+ overflow: hidden;
142
+ text-overflow: ellipsis;
143
+ white-space: nowrap;
139
144
  }
140
145
  .detail-category__icon {
141
146
  margin-right: 8rpx;
@@ -143,7 +148,7 @@ function onBack() {
143
148
  .detail-content {
144
149
  display: block;
145
150
  padding: 28rpx;
146
- border: 1rpx solid var(--kratos-color-border);
151
+ border: 1px solid var(--kratos-color-border);
147
152
  border-radius: 20rpx;
148
153
  background: var(--kratos-color-surface);
149
154
  color: var(--kratos-color-text);
@@ -165,7 +170,7 @@ function onBack() {
165
170
  }
166
171
  .detail-action {
167
172
  margin-top: 36rpx;
168
- border: 1rpx solid var(--kratos-color-border-accent);
173
+ border: 1px solid var(--kratos-color-border-accent);
169
174
  border-radius: 20rpx;
170
175
  background: var(--kratos-color-primary-soft);
171
176
  color: var(--kratos-color-primary);
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { onShow } from '@dcloudio/uni-app'
3
- import { ref } from 'vue'
4
- import { navigateAppView, t } from '@liujitcn/kratos-uni-app-core'
3
+ import { computed, ref } from 'vue'
4
+ import { KratosEmpty, navigateAppView, t } from '@liujitcn/kratos-uni-app-core'
5
5
  import { useThemeStore } from '@liujitcn/kratos-uni-app-core/stores'
6
6
  import { getMpCapsuleRightGap } from '@liujitcn/kratos-uni-app-core/utils/index'
7
7
  import { defNotificationService } from '../../../api/base/v1/notification'
@@ -115,13 +115,22 @@ async function openDetail(item: Notification) {
115
115
  if (!item.read_at) await defNotificationService.MarkNotificationRead({ ids: [item.id] })
116
116
  navigateAppView('MESSAGE_DETAIL', { id: String(item.id) })
117
117
  }
118
+
119
+ /** 空态提示语随当前视图切换。 */
120
+ const emptyHintKey = computed(() => {
121
+ if (selectedView.value === NotificationView.NOTIFICATION_VIEW_UNREAD)
122
+ return 'system.notification.empty_unread_hint'
123
+ if (selectedView.value === NotificationView.NOTIFICATION_VIEW_ARCHIVED)
124
+ return 'system.notification.empty_archived_hint'
125
+ return 'system.notification.empty_inbox_hint'
126
+ })
118
127
  </script>
119
128
 
120
129
  <template>
121
130
  <view class="message-page" :class="themeStore.themeClass">
122
131
  <view class="k-top message-header" :style="{ '--mp-capsule-gap': `${capsuleGap}px` }">
123
132
  <view class="message-header__title">
124
- <text class="k-top__t2">{{ t('system.notification.title') }}</text>
133
+ <text class="message-header__text">{{ t('system.notification.title') }}</text>
125
134
  <view v-if="notificationUnreadTotal > 0" class="message-unread-dot" aria-hidden="true" />
126
135
  </view>
127
136
  <view
@@ -185,9 +194,11 @@ async function openDetail(item: Notification) {
185
194
  </view>
186
195
  <view class="message-item__body">
187
196
  <text class="k-msg-item__title">{{ item.title }}</text>
188
- <text class="k-msg-item__meta">{{ item.category_name }}</text>
197
+ <view class="k-msg-item__foot">
198
+ <text class="k-msg-item__meta">{{ item.category_name }}</text>
199
+ <text class="k-msg-item__time">{{ item.received_at }}</text>
200
+ </view>
189
201
  </view>
190
- <text class="k-msg-item__time">{{ item.received_at }}</text>
191
202
  </view>
192
203
  <view
193
204
  v-if="
@@ -222,9 +233,12 @@ async function openDetail(item: Notification) {
222
233
  <button v-if="!finished" class="load-more" :loading="loading" @tap="loadMore">
223
234
  {{ t('common.action.load_more') }}
224
235
  </button>
225
- <view v-if="finished && items.length === 0" class="empty">{{
226
- t('system.notification.empty')
227
- }}</view>
236
+ <KratosEmpty
237
+ v-if="finished && items.length === 0"
238
+ icon="notification-filled"
239
+ :title="t('system.notification.empty')"
240
+ :description="t(emptyHintKey)"
241
+ />
228
242
  </view>
229
243
  </template>
230
244
 
@@ -239,18 +253,37 @@ async function openDetail(item: Notification) {
239
253
  }
240
254
  /* #ifdef MP-WEIXIN */
241
255
  .message-page {
242
- padding-top: calc(44px + 16rpx);
256
+ /* k-top 在小程序端自带 44px 状态栏高度的导航带,页面不再额外让出顶部空间 */
257
+ padding-top: 0;
243
258
  }
244
259
  /* #endif */
245
260
  .message-header {
261
+ /* 标题绝对居中后头部不再依赖流内内容撑高,保证标题行与筛选行留出间距 */
262
+ min-height: 76rpx;
246
263
  padding: 20rpx 4rpx 24rpx;
247
264
  }
265
+ /* 标题排版与 k-page-nav__title/k-top__title 同规格,绝对居中后文字与红点同行排布 */
248
266
  .message-header__title {
267
+ position: absolute;
268
+ left: 50%;
249
269
  display: flex;
250
270
  align-items: center;
251
271
  min-width: 0;
272
+ max-width: calc(100% - 190rpx);
273
+ overflow: hidden;
274
+ font-size: 32rpx;
275
+ font-weight: 700;
276
+ color: var(--kratos-color-text);
277
+ transform: translateX(-50%);
278
+ white-space: nowrap;
279
+ }
280
+ .message-header__text {
281
+ min-width: 0;
282
+ overflow: hidden;
283
+ text-overflow: ellipsis;
252
284
  }
253
285
  .message-unread-dot {
286
+ flex-shrink: 0;
254
287
  width: 12rpx;
255
288
  height: 12rpx;
256
289
  margin-left: 12rpx;
@@ -275,7 +308,7 @@ async function openDetail(item: Notification) {
275
308
  height: 76rpx;
276
309
  margin-top: 24rpx;
277
310
  padding: 0 24rpx;
278
- border: 1rpx solid var(--kratos-color-border);
311
+ border: 1px solid var(--kratos-color-border);
279
312
  border-radius: 16rpx;
280
313
  background: var(--kratos-color-surface-2);
281
314
  color: var(--kratos-color-text);
@@ -285,10 +318,4 @@ async function openDetail(item: Notification) {
285
318
  .load-more::after {
286
319
  border: 0;
287
320
  }
288
- .empty {
289
- padding: 120rpx 0;
290
- color: var(--kratos-color-text-dim);
291
- font-family: var(--kratos-font-mono);
292
- text-align: center;
293
- }
294
321
  </style>
@@ -259,8 +259,6 @@ const onSubmit = async () => {
259
259
 
260
260
  <!-- 头像卡:点击更换头像 -->
261
261
  <view class="k-glass k-glass--lit k-pfx profile-id" @tap="onAvatarChange">
262
- <view class="k-cnr k-cnr--tl" aria-hidden="true"></view>
263
- <view class="k-cnr k-cnr--br" aria-hidden="true"></view>
264
262
  <view class="profile-id__main">
265
263
  <view class="k-pfx__av">
266
264
  <image