From 91f7d372fa318e859efd20d71eafbd34274902c4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 20 一月 2026 17:29:43 +0800
Subject: [PATCH] 2026.1.20
---
pages/mSelfPatrol/components/self-patrol/index.wxss | 83 +++++++++++++++++++++++++++++++++++++++--
1 files changed, 79 insertions(+), 4 deletions(-)
diff --git a/pages/mSelfPatrol/components/self-patrol/index.wxss b/pages/mSelfPatrol/components/self-patrol/index.wxss
index 0e62477..83b7b8f 100644
--- a/pages/mSelfPatrol/components/self-patrol/index.wxss
+++ b/pages/mSelfPatrol/components/self-patrol/index.wxss
@@ -1,5 +1,77 @@
+.self-patrol-promise {
+ color: white;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ font-size: 12px;
+ padding: 8rpx 8rpx;
+ background-color: #c44e00;
+}
+.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-promise-done {
+ color: white;
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+ font-size: 12px;
+ padding: 8rpx 8rpx;
+ background-color: #51be82;
+}
+.promise-done-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: 100%;
+ height: 20px;
+ line-height: 20px;
+}
+
.self-patrol-static {
- padding: 16rpx 32rpx;
+ margin: 16rpx 32rpx;
+ padding: 4rpx;
+ background-color: white;
+ border-radius: 8px;
}
.self-patrol-progress {
@@ -27,16 +99,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 +118,7 @@
padding: 4px 6px;
border-radius: 4px;
color: white;
+ white-space: nowrap;
}
.head_btn:active{
--
Gitblit v1.9.3