diff --git a/src/components/cart/CartItem.vue b/src/components/cart/CartItem.vue index 024c496..ed220af 100644 --- a/src/components/cart/CartItem.vue +++ b/src/components/cart/CartItem.vue @@ -129,16 +129,21 @@ function goToDetail() { display: flex; flex-direction: column; justify-content: space-between; + /* 添加右边距避免与删除按钮重叠 */ + padding-right: 80rpx; /* 根据删除按钮大小调整 */ } .name { font-size: 28rpx; color: #333; line-height: 1.4; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 2; - overflow: hidden; + /* 移除固定行数限制,让内容自然换行 */ + display: block; + overflow: visible; + white-space: normal; + word-wrap: break-word; + /* 调整最小高度确保有足够空间 */ + min-height: 80rpx; } .specs { diff --git a/src/pages/me/loan-application.vue b/src/pages/me/loan-application.vue new file mode 100644 index 0000000..4882a15 --- /dev/null +++ b/src/pages/me/loan-application.vue @@ -0,0 +1,942 @@ + + +