diff --git a/pages/chat/styles/ChatMainList.scss b/pages/chat/styles/ChatMainList.scss
index 045928f..c84dade 100644
--- a/pages/chat/styles/ChatMainList.scss
+++ b/pages/chat/styles/ChatMainList.scss
@@ -85,7 +85,7 @@
min-height: fit-content;
/* 安卓键盘适配 - 使用相对定位配合adjustPan */
position: relative;
- z-index: 1000;
+ z-index: 1;
transition: padding-bottom 0.3s ease;
/* 确保输入区域始终可见 */
transform: translateZ(0);
diff --git a/pages/drawer/MineSetting.vue b/pages/drawer/MineSetting.vue
index 5b0cd9d..4653b4b 100644
--- a/pages/drawer/MineSetting.vue
+++ b/pages/drawer/MineSetting.vue
@@ -31,7 +31,7 @@
-
+ 退出登录
@@ -140,8 +140,11 @@ const handleLogout = () => {
}
.logout-btn {
- width: 90%;
- margin: 80rpx auto;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 42px;
+ margin-top: 40px;
background-color: #fff;
color: #333;
border-radius: 8rpx;
diff --git a/pages/module/booking/QuickBookingContentList.vue b/pages/module/booking/QuickBookingContentList.vue
index a965d7d..7273b1d 100644
--- a/pages/module/booking/QuickBookingContentList.vue
+++ b/pages/module/booking/QuickBookingContentList.vue
@@ -4,7 +4,7 @@
-
+
{{ item.commodityName }}
@@ -72,7 +72,7 @@
flex-direction: column;
align-items: start;
width: 188px;
- height: 244px;
+ // height: 244px;
background-color: #ffffff;
border-radius: 10px;
margin-right: 8px;
@@ -94,27 +94,42 @@
width: 188px;
height: 114px;
border-radius: 10px;
+ object-fit: cover; /* 确保图片不变形,保持比例裁剪 */
+ flex-shrink: 0; /* 防止图片被压缩 */
}
.card-content {
- box-sizing: border-box;
+ box-sizing: border-box;
padding: 10px 12px 0 12px;
display: flex;
flex-direction: column;
+ justify-content: space-between;
align-items: start;
width: 100%;
+ flex: 1; /* 让内容区域占据剩余空间 */
+ overflow: hidden; /* 防止内容溢出 */
}
.card-title-column {
display: flex;
align-items: start;
flex-direction: column;
+ width: 100%;
}
.card-title {
font-size: 16px;
font-weight: bold;
color: #222;
+ width: 100%;
+ /* 限制标题最多显示两行 */
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ line-height: 1.4;
+ max-height: 2.8em; /* 2行的高度 */
}
.card-tags {