fix: 修改列表页,分行显示问题。

This commit is contained in:
tianyongbao
2026-06-28 16:07:14 +08:00
parent c75048086b
commit 6c32fdb663
25 changed files with 68 additions and 168 deletions

View File

@@ -650,10 +650,8 @@ page {
line-height: 1.2; line-height: 1.2;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.card-date { .card-date {
font-size: 26rpx; font-size: 26rpx;
@@ -795,9 +793,7 @@ page {
color: #333; color: #333;
font-weight: 500; font-weight: 500;
flex: 1; flex: 1;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.2; line-height: 1.2;
&.balance-color { &.balance-color {

View File

@@ -553,10 +553,8 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.card-code { .card-code {
font-size: 30rpx; font-size: 30rpx;
@@ -689,10 +687,8 @@ page {
} }
&:not(.info-item-full) .info-value { &:not(.info-item-full) .info-value {
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
} }
} }

View File

@@ -585,10 +585,8 @@ page {
line-height: 1.2; line-height: 1.2;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.amount-value { .amount-value {
font-size: 32rpx; font-size: 32rpx;

View File

@@ -601,9 +601,7 @@ page {
font-size: 28rpx; font-size: 28rpx;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #ffffff;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
line-height: 1.2; line-height: 1.2;
@@ -689,9 +687,7 @@ page {
font-size: 24rpx; font-size: 24rpx;
color: #666; color: #666;
font-weight: 500; font-weight: 500;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
flex: 1; flex: 1;
line-height: 1.4; line-height: 1.4;
font-style: italic; font-style: italic;

View File

@@ -587,10 +587,8 @@ page {
line-height: 1.2; line-height: 1.2;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.time-text { .time-text {
font-size: 26rpx; font-size: 26rpx;
@@ -617,10 +615,8 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.type-text { .type-text {
font-size: 28rpx; font-size: 28rpx;

View File

@@ -564,10 +564,8 @@ page {
line-height: 1.2; line-height: 1.2;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.info-row { .info-row {
display: flex; display: flex;

View File

@@ -583,10 +583,8 @@ page {
flex: 1; flex: 1;
line-height: 1.5; line-height: 1.5;
word-break: break-all; word-break: break-all;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
} }
} }

View File

@@ -632,10 +632,8 @@ page {
line-height: 1.2; line-height: 1.2;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.card-date { .card-date {
font-size: 26rpx; font-size: 26rpx;
@@ -743,10 +741,7 @@ page {
font-size: 24rpx; font-size: 24rpx;
color: #333; color: #333;
font-weight: 500; font-weight: 500;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
&.highlight { &.highlight {
color: #667eea; color: #667eea;
font-weight: 600; font-weight: 600;
@@ -764,10 +759,8 @@ page {
font-size: 24rpx; font-size: 24rpx;
color: #333; color: #333;
font-weight: 500; font-weight: 500;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
} }
} }
} }

View File

@@ -393,10 +393,8 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.bill-date-text { .bill-date-text {
font-size: 22rpx; font-size: 22rpx;

View File

@@ -542,10 +542,8 @@ page {
font-size: 28rpx; font-size: 28rpx;
font-weight: 600; font-weight: 600;
line-height: 1.2; line-height: 1.2;
white-space: nowrap; word-break: break-all;
overflow: hidden; }
text-overflow: ellipsis;
}
.bank-short-name { .bank-short-name {
color: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.85);
@@ -610,10 +608,8 @@ page {
} }
&:not(.info-item-full) .info-value { &:not(.info-item-full) .info-value {
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
} }
} }

View File

@@ -468,10 +468,8 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.card-code { .card-code {
font-size: 30rpx; font-size: 30rpx;
@@ -597,10 +595,8 @@ page {
} }
&:not(.info-item-full) .info-value { &:not(.info-item-full) .info-value {
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
} }
} }

View File

@@ -578,10 +578,8 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.card-code { .card-code {
font-size: 30rpx; font-size: 30rpx;
@@ -695,10 +693,8 @@ page {
} }
&:not(.info-item-full) .info-value { &:not(.info-item-full) .info-value {
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
} }
} }

View File

@@ -333,10 +333,8 @@ page {
font-weight: 600; font-weight: 600;
line-height: 1.2; line-height: 1.2;
display: block; display: block;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
} }
} }
@@ -386,9 +384,7 @@ page {
color: #333; color: #333;
font-weight: 500; font-weight: 500;
flex: 1; flex: 1;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.2; line-height: 1.2;
&.status-normal { &.status-normal {

View File

@@ -344,10 +344,7 @@ page {
font-weight: 600; font-weight: 600;
line-height: 1.2; line-height: 1.2;
display: block; display: block;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
.card-code { .card-code {
color: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.85);
font-size: 28rpx; font-size: 28rpx;
@@ -404,9 +401,7 @@ page {
color: #333; color: #333;
font-weight: 500; font-weight: 500;
flex: 1; flex: 1;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.2; line-height: 1.2;
&.status-normal { &.status-normal {

View File

@@ -408,10 +408,7 @@ page {
font-size: 28rpx; font-size: 28rpx;
font-weight: 600; font-weight: 600;
line-height: 1.2; line-height: 1.2;
white-space: nowrap; word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
.card-code { .card-code {
color: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.85);
font-size: 28rpx; font-size: 28rpx;
@@ -471,9 +468,7 @@ page {
color: #333; color: #333;
font-weight: 500; font-weight: 500;
flex: 1; flex: 1;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.2; line-height: 1.2;
&.orange { &.orange {

View File

@@ -363,10 +363,7 @@ page {
font-size: 28rpx; font-size: 28rpx;
font-weight: 600; font-weight: 600;
line-height: 1.2; line-height: 1.2;
white-space: nowrap; word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
.card-code { .card-code {
color: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.85);
font-size: 28rpx; font-size: 28rpx;
@@ -426,9 +423,7 @@ page {
color: #333; color: #333;
font-weight: 500; font-weight: 500;
flex: 1; flex: 1;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.2; line-height: 1.2;
&.wrap-text { &.wrap-text {

View File

@@ -334,10 +334,7 @@ page {
font-weight: 600; font-weight: 600;
line-height: 1.2; line-height: 1.2;
display: block; display: block;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
.card-code { .card-code {
color: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.85);
font-size: 28rpx; font-size: 28rpx;
@@ -394,9 +391,7 @@ page {
color: #333; color: #333;
font-weight: 500; font-weight: 500;
flex: 1; flex: 1;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.2; line-height: 1.2;
&.status-normal { &.status-normal {

View File

@@ -464,10 +464,8 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.bill-state-tag { .bill-state-tag {
padding: 4rpx 12rpx; padding: 4rpx 12rpx;
@@ -567,10 +565,8 @@ page {
font-size: 26rpx; font-size: 26rpx;
color: #333; color: #333;
font-weight: 500; font-weight: 500;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
} }
} }
@@ -612,9 +608,7 @@ page {
font-size: 26rpx; font-size: 26rpx;
color: #333; color: #333;
font-weight: 600; font-weight: 600;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%; width: 100%;
&.percent { &.percent {
@@ -654,10 +648,7 @@ page {
font-size: 26rpx; font-size: 26rpx;
color: #333; color: #333;
font-weight: 500; font-weight: 500;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
&.highlight { &.highlight {
color: #52c41a; color: #52c41a;
font-weight: 600; font-weight: 600;

View File

@@ -421,10 +421,8 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; }
white-space: nowrap;
}
.card-date { .card-date {
font-size: 24rpx; font-size: 24rpx;
@@ -503,10 +501,7 @@ page {
font-size: 26rpx; font-size: 26rpx;
color: #333; color: #333;
font-weight: 500; font-weight: 500;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
&.orange { &.orange {
color: #fa8c16; color: #fa8c16;
font-weight: 600; font-weight: 600;

View File

@@ -352,9 +352,7 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
} }
.profit-tag { .profit-tag {

View File

@@ -431,9 +431,7 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
} }
.card-date { .card-date {
@@ -513,9 +511,8 @@ page {
font-size: 26rpx; font-size: 26rpx;
color: #333; color: #333;
font-weight: 500; font-weight: 500;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis; line-height: 1.5;
white-space: nowrap;
&.orange { &.orange {
color: #fa8c16; color: #fa8c16;

View File

@@ -460,9 +460,7 @@ page {
} }
&:not(.info-item-full) .info-value { &:not(.info-item-full) .info-value {
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
} }

View File

@@ -345,9 +345,7 @@ page {
line-height: 1.3; line-height: 1.3;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
} }
.profit-tag { .profit-tag {

View File

@@ -453,10 +453,7 @@ page {
font-size: 28rpx; font-size: 28rpx;
font-weight: 600; font-weight: 600;
line-height: 1.2; line-height: 1.2;
white-space: nowrap; word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: block;
.card-code { .card-code {
color: rgba(255, 255, 255, 0.85); color: rgba(255, 255, 255, 0.85);
@@ -519,9 +516,6 @@ page {
flex: 1; flex: 1;
line-height: 1.5; line-height: 1.5;
word-break: break-all; word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
} }

View File

@@ -542,11 +542,9 @@ page {
font-size: 26rpx; font-size: 26rpx;
font-weight: 500; font-weight: 500;
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
flex-shrink: 1; flex-shrink: 1;
line-height: 1; line-height: 1.3;
} }
.card-price { .card-price {
@@ -590,9 +588,7 @@ page {
font-weight: 500; font-weight: 500;
flex: 1; flex: 1;
line-height: 1.5; line-height: 1.5;
overflow: hidden; word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
} }