From 068be2757aa2d51e3f6604dae54287683160ad0e Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 19 一月 2026 17:29:48 +0800
Subject: [PATCH] 2026.1.19

---
 pages/mSelfPatrol/components/self-patrol/index.wxss |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 55 insertions(+), 4 deletions(-)

diff --git a/pages/mSelfPatrol/components/self-patrol/index.wxss b/pages/mSelfPatrol/components/self-patrol/index.wxss
index 0e62477..2c6f50b 100644
--- a/pages/mSelfPatrol/components/self-patrol/index.wxss
+++ b/pages/mSelfPatrol/components/self-patrol/index.wxss
@@ -1,5 +1,53 @@
+.self-patrol-promise {
+  color: var(--fyui-text-color_1);
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  font-size: 12px;
+  padding: 8rpx 8rpx;
+  background-color: var(--fyui-primary-color-2);
+}
+.promise_btn {
+  font-weight: 600;
+  white-space: nowrap;
+}
+.promise-text {
+  /* white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis; */
+  position: relative;
+  display: -webkit-box;
+  -webkit-line-clamp: 1;
+  -webkit-box-orient: vertical;
+  overflow-x: hidden;
+  text-overflow: ellipsis;
+  width: 80%;
+  height: 20px;
+  line-height: 20px;
+}
+.promise-text::after {
+  content: "绛剧讲鑷贰鏌ユ壙璇猴紝鍙皢鑷贰鏌ユ湁鏁堟湡寤堕暱涓哄綋骞存湁鏁堬紒";
+  position: absolute;
+  top: 0;
+  left: 0%;
+  white-space: nowrap;
+  animation: scrollText 10s linear 0s infinite normal;
+}
+
+@keyframes scrollText {
+  0% {
+    transform: translateX(100%); /* 寮�濮嬩綅缃� */
+  }
+  100% {
+    transform: translateX(-100%); /* 缁撴潫浣嶇疆锛屾牴鎹渶瑕佽皟鏁� */
+  }
+}
+
 .self-patrol-static {
-  padding: 16rpx 32rpx;
+  margin: 16rpx 32rpx;
+  padding: 4rpx;
+  background-color: white;
+  border-radius: 8px;
 }
 
 .self-patrol-progress {
@@ -27,16 +75,18 @@
 }
 
 .head_right {
-  text-align: end;
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
   font-size: 12px;
   /* background-color: brown; */
   margin-bottom: 8px;
-  vertical-align: middle;
+  /* vertical-align: middle; */
 }
 
 .head_tag{
   font-size: 12px;
-  color: var(--fyui-text-color_3);
+  color: var(--fyui-text-color_2);
 }
 
 .head_btn{
@@ -44,6 +94,7 @@
   padding: 4px 6px;
   border-radius: 4px;
   color: white;
+  white-space: nowrap;
 }
 
 .head_btn:active{

--
Gitblit v1.9.3