From f66a9a2c565966e98720be5e20604c6f75030f82 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期一, 28 十月 2024 17:40:13 +0800
Subject: [PATCH] 1.首页添加使用说明。2.修改扫码开阀功能。3.问题反馈功能相关
---
pages/home/home.wxss | 88 +++++++++++++++++++++++++++++++++++---------
1 files changed, 70 insertions(+), 18 deletions(-)
diff --git a/pages/home/home.wxss b/pages/home/home.wxss
index 0a918b8..eb58081 100644
--- a/pages/home/home.wxss
+++ b/pages/home/home.wxss
@@ -101,7 +101,8 @@
/* 浣� center-wrapper 鍦ㄥご閮ㄤ箣涓� */
}
-.center-view {
+.center-view,
+.center-view-question {
flex: 1;
/* 姣忎釜鍏冪礌骞冲垎瀹藉害 */
display: flex;
@@ -122,8 +123,17 @@
margin-bottom: 10rpx;
/* 鍥炬爣鍜屾枃鏈箣闂寸殑闂磋窛 */
}
-
-.center-view text {
+.center-view-question image{
+ padding-top: 10rpx;
+ width: 75rpx;
+ /* 鏍规嵁闇�瑕佽皟鏁村浘鏍囧ぇ灏� */
+ height: 75rpx;
+ /* 鏍规嵁闇�瑕佽皟鏁村浘鏍囧ぇ灏� */
+ margin-bottom: 15rpx;
+ /* 鍥炬爣鍜屾枃鏈箣闂寸殑闂磋窛 */
+}
+.center-view text,
+.center-view-question text {
margin-top: 15rpx;
font-size: 30rpx;
color: #1890FF;
@@ -151,7 +161,7 @@
background-color: #fff;
margin-bottom: 2rpx;
display: flex;
- justify-content: space-between;
+
align-items: center;
padding-left: 30rpx;
padding-right: 30rpx;
@@ -189,16 +199,10 @@
}
.bottom-title-text {
- position: absolute;
- /* 缁濆瀹氫綅 */
- left: 50%;
- /* 绉诲姩鍒板鍣ㄧ殑涓棿 */
- transform: translateX(-50%);
- /* 閫氳繃骞崇Щ鑷韩瀹藉害鐨勪竴鍗婃潵瀹炵幇鐪熸鐨勫眳涓� */
- font-size: 16px;
- /* 瀛椾綋澶у皬 */
- color: #333;
- /* 瀛椾綋棰滆壊 */
+
+ margin-right: 10rpx; /* 缁欐枃鏈拰鍥炬爣涔嬮棿娣诲姞涓�浜涢棿璺� */
+ font-size: 16px; /* 瀛椾綋澶у皬 */
+ color: #333; /* 瀛椾綋棰滆壊 */
}
.refresh-button {
@@ -222,9 +226,12 @@
justify-content: center;
padding-bottom: 15rpx;
}
-.refresh-button:active{
- background-color: #7c7c7c; /* Change to a darker color when pressed */
+
+.refresh-button:active {
+ background-color: #7c7c7c;
+ /* Change to a darker color when pressed */
}
+
.refresh-view {
text-align: center;
padding: 30rpx;
@@ -288,7 +295,7 @@
.dialog {
--td-dialog-content-font-size: 40rpx;
- --td-dialog-content-line-height: 50rpx
+ --td-dialog-content-line-height: 60rpx
}
.noMore-View-home {
@@ -317,7 +324,8 @@
}
.item-button:active {
- background-color: #7c7c7c; /* Change to a darker color when pressed */
+ background-color: #7c7c7c;
+ /* Change to a darker color when pressed */
}
.divider {
@@ -353,4 +361,48 @@
.scen-view text {
font-size: 30rpx;
color: #ffffff;
+}
+
+.delete-btn {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 120rpx;
+ height: 100%;
+ color: white;
+ background-color: #e34d59;
+}
+
+.swipe-cell{
+ display: flex;
+ justify-content: space-between; /* 浣垮瓙鍏冪礌鍦ㄤ富杞翠笂鍧囧寑鍒嗗竷 */
+ background-color: #fff;
+ margin-bottom: 2rpx;
+ width: 100wh;
+}
+.info-img{
+ width: 50rpx;
+ height: 50rpx;
+}
+.title-center{
+ position: absolute;
+ /* 缁濆瀹氫綅 */
+ left: 50%;
+ /* 绉诲姩鍒板鍣ㄧ殑涓棿 */
+ transform: translateX(-50%);
+ display: flex;
+ justify-content: space-between; /* 浣垮瓙鍏冪礌鍦ㄤ富杞翠笂鍧囧寑鍒嗗竷 */
+ align-items: center; /* 鍨傜洿灞呬腑瀵归綈 */
+}
+
+.content-container{
+ white-space: pre-line;
+ word-wrap: break-word; /* 闃叉闀垮崟璇嶆棤娉曟崲琛� */
+}
+
+.long-content {
+ height: 450rpx;
+ margin-top: 16rpx;
+ font-size: 32rpx;
+ color: #888;
}
\ No newline at end of file
--
Gitblit v1.8.0