diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/static/assets/css/main.css b/xiaomayi-modules/xiaomayi-web/src/main/resources/static/assets/css/main.css
index df11689..93a267b 100644
--- a/xiaomayi-modules/xiaomayi-web/src/main/resources/static/assets/css/main.css
+++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/static/assets/css/main.css
@@ -1,10 +1,75 @@
body {
- padding-top: 70px;
+ padding-top:110px;
color: #666;
background: #f4f7f7;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'
}
+/* ========== 顶部公告横条 ========== */
+.xm-top-bar {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 40px;
+ background: #000;
+ z-index: 1001;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.xm-top-bar-inner {
+ display: flex;
+ align-items: center;
+ gap: 14px;
+}
+/* NEW 标签 */
+.xm-top-bar-tag {
+ background: #165DFF;
+ color: #fff;
+ font-size: 12px;
+ font-weight: 700;
+ padding: 3px 14px;
+ border-radius: 20px;
+ letter-spacing: 1px;
+}
+/* 公告文字 */
+.xm-top-bar-text {
+ color: #ccc;
+ font-size: 14px;
+ white-space: nowrap;
+}
+/* 了解详情 */
+.xm-top-bar-link {
+ color: #165DFF !important;
+ font-size: 14px;
+ font-weight: 500;
+ text-decoration: none !important;
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ white-space: nowrap;
+ transition: color 0.2s;
+}
+.xm-top-bar-link:hover {
+ color: #4d8bff !important;
+}
+.xm-top-bar-arrow {
+ display: inline-block;
+ transition: transform 0.2s;
+}
+.xm-top-bar-link:hover .xm-top-bar-arrow {
+ transform: translateX(3px);
+}
+
+@media screen and (max-width: 768px) {
+ body { padding-top: 95px; }
+ .xm-top-bar { height: 36px; }
+ .xm-top-bar-text { font-size: 12px; }
+ .xm-top-bar-link { font-size: 12px; }
+ .xm-top-bar-tag { font-size: 11px; padding: 3px 10px; }
+}
+
.section {
margin: 0
}
@@ -569,7 +634,7 @@ body .layui-util-face .layui-layer-content {
.ew-header {
position: fixed;
- top: 0;
+ top:40px;
left: 0;
right: 0;
background-color: #fff;
@@ -710,7 +775,7 @@ body .layui-util-face .layui-layer-content {
@media screen and (max-width: 935px) {
body {
- padding-top: 55px
+ padding-top:95px
}
.ew-header {
diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index3.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index3.html
index 60f9532..9da10cc 100644
--- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index3.html
+++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index3.html
@@ -1,5 +1,5 @@
-
+