From bf9400d4198094194439214b5e90036b2f040052 Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期四, 24 九月 2026 16:03:10 +0800
Subject: [PATCH] bug修复,用真实数据
---
src/modules/base/pages/main/components/topbar.vue | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/src/modules/base/pages/main/components/topbar.vue b/src/modules/base/pages/main/components/topbar.vue
index 5559d13..a26db38 100644
--- a/src/modules/base/pages/main/components/topbar.vue
+++ b/src/modules/base/pages/main/components/topbar.vue
@@ -188,6 +188,54 @@
}
}
}
+
+@media only screen and (max-width: 768px) {
+ .app-topbar {
+ padding-top: env(safe-area-inset-top);
+ padding-right: 6px;
+ height: calc(46px + env(safe-area-inset-top));
+ min-width: 0;
+
+ .flex1 {
+ min-width: 8px;
+ }
+
+ &__tools {
+ flex-shrink: 0;
+ margin-right: 4px;
+
+ & > li {
+ margin-left: 6px;
+ }
+ }
+
+ &__user {
+ flex-shrink: 0;
+ padding-left: 4px;
+
+ :deep(.el-text) {
+ display: none;
+ }
+ }
+
+ :deep(.route-nav) {
+ min-width: 0;
+ max-width: 46vw;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ :deep(.a-menu) {
+ min-width: 0;
+ overflow-x: auto;
+ }
+
+ :deep(.cl-comm__icon) {
+ width: 32px;
+ height: 32px;
+ }
+ }
+}
</style>
<style lang="scss">
--
Gitblit v1.9.1