fix: 自测问题修复验证。

This commit is contained in:
tianyongbao
2026-02-06 08:38:50 +08:00
parent 1a6a62835c
commit 7dee94fbc8
11 changed files with 47 additions and 30 deletions

View File

@@ -536,7 +536,7 @@ page {
padding: 24rpx; padding: 24rpx;
background: #fafbfc; background: #fafbfc;
border: 2rpx solid #f0f2f5; border: 2rpx solid #f0f2f5;
margin: 15rpx 16rpx 2rpx; margin: 15rpx 16rpx 15rpx;
border-radius: 12rpx; border-radius: 12rpx;
} }

View File

@@ -755,7 +755,7 @@ page {
padding: 24rpx; padding: 24rpx;
background: #fafbfc; background: #fafbfc;
border: 2rpx solid #f0f2f5; border: 2rpx solid #f0f2f5;
margin: 15rpx 16rpx 2rpx; margin: 15rpx 16rpx 15rpx;
border-radius: 12rpx; border-radius: 12rpx;
.info-row { .info-row {

View File

@@ -598,7 +598,7 @@ page {
padding: 24rpx; padding: 24rpx;
background: #fafbfc; background: #fafbfc;
border: 2rpx solid #f0f2f5; border: 2rpx solid #f0f2f5;
margin: 15rpx 16rpx 2rpx; margin: 15rpx 16rpx 15rpx;
border-radius: 12rpx; border-radius: 12rpx;
} }

View File

@@ -726,7 +726,7 @@ page {
padding: 24rpx; padding: 24rpx;
background: #fafbfc; background: #fafbfc;
border: 2rpx solid #f0f2f5; border: 2rpx solid #f0f2f5;
margin: 15rpx 16rpx 2rpx; margin: 15rpx 16rpx 15rpx;
border-radius: 12rpx; border-radius: 12rpx;
.info-row { .info-row {

View File

@@ -458,7 +458,7 @@ page {
padding: 24rpx; padding: 24rpx;
background: #fafbfc; background: #fafbfc;
border: 2rpx solid #f0f2f5; border: 2rpx solid #f0f2f5;
margin: 15rpx 16rpx 2rpx; margin: 15rpx 16rpx 15rpx;
border-radius: 12rpx; border-radius: 12rpx;
} }

View File

@@ -51,6 +51,7 @@
</view> </view>
<view class="card-body"> <view class="card-body">
<view class="info-row">
<view class="info-item"> <view class="info-item">
<text class="info-label">还款日</text> <text class="info-label">还款日</text>
<text class="info-value">{{ item.repaymentDay }}</text> <text class="info-value">{{ item.repaymentDay }}</text>
@@ -59,11 +60,14 @@
<text class="info-label">账单周期</text> <text class="info-label">账单周期</text>
<text class="info-value">{{ item.billDatePeriod }}</text> <text class="info-value">{{ item.billDatePeriod }}</text>
</view> </view>
</view>
<view class="info-row">
<view class="info-item"> <view class="info-item">
<text class="info-label">最近交易时间</text> <text class="info-label">最近交易时间</text>
<text class="info-value">{{ item.recentDealTime || '-' }}</text> <text class="info-value">{{ item.recentDealTime || '-' }}</text>
</view> </view>
</view> </view>
</view>
<view class="stats-body" v-if="auth.hasPermi('invest:posmachine:list')"> <view class="stats-body" v-if="auth.hasPermi('invest:posmachine:list')">
<view class="stats-row"> <view class="stats-row">
<view class="stats-item"> <view class="stats-item">
@@ -580,7 +584,8 @@ page {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 16rpx; gap: 16rpx;
border-top: 1rpx solid #e8edf3; margin: -3rpx 16rpx 5rpx;
border-top: 0rpx solid #e8edf3;
} }
.stats-row { .stats-row {
@@ -626,8 +631,18 @@ page {
padding: 24rpx; padding: 24rpx;
background: #fafbfc; background: #fafbfc;
border: 2rpx solid #f0f2f5; border: 2rpx solid #f0f2f5;
margin: 15rpx 16rpx 5rpx; margin: 15rpx 16rpx 0rpx;
border-radius: 12rpx; border-radius: 0rpx;
}
.info-row {
display: flex;
gap: 24rpx;
margin-bottom: 16rpx;
&:last-child {
margin-bottom: 0;
}
} }
.info-item { .info-item {

View File

@@ -63,9 +63,9 @@
</view> </view>
</view> </view>
<view class="card-body"> <view class="card-body" v-if="item.remark">
<view class="info-row"> <view class="info-row">
<view class="info-item info-item-full" v-if="item.remark"> <view class="info-item info-item-full" >
<text class="info-label">备注</text> <text class="info-label">备注</text>
<text class="info-value">{{ item.remark }}</text> <text class="info-value">{{ item.remark }}</text>
</view> </view>
@@ -509,7 +509,8 @@ page {
.info-item { .info-item {
flex: 0 0 calc(50% - 12rpx); flex: 0 0 calc(50% - 12rpx);
display: flex; display: flex;
flex-direction: column; flex-direction: row;
align-items: center;
gap: 4rpx; gap: 4rpx;
min-width: 0; min-width: 0;
margin-bottom: -5rpx; margin-bottom: -5rpx;

View File

@@ -493,7 +493,10 @@ page {
.card-body { .card-body {
padding: 24rpx; padding: 24rpx;
background: #fff; background: #fafbfc;
border: 2rpx solid #f0f2f5;
margin: 15rpx 16rpx 2rpx;
border-radius: 12rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 16rpx; gap: 16rpx;

View File

@@ -516,8 +516,9 @@ page {
.info-item { .info-item {
flex: 0 0 calc(50% - 12rpx); flex: 0 0 calc(50% - 12rpx);
display: flex; display: flex;
flex-direction: column; flex-direction: row;
gap: 4rpx; align-items: center;
gap: 8rpx;
min-width: 0; min-width: 0;
margin-bottom: -5rpx; margin-bottom: -5rpx;
@@ -532,7 +533,7 @@ page {
background: rgba(102, 126, 234, 0.08); background: rgba(102, 126, 234, 0.08);
padding: 6rpx 12rpx; padding: 6rpx 12rpx;
border-radius: 8rpx; border-radius: 8rpx;
align-self: flex-start; flex-shrink: 0;
} }
.info-value { .info-value {
@@ -542,9 +543,6 @@ page {
flex: 1; flex: 1;
line-height: 1.5; line-height: 1.5;
word-break: break-all; word-break: break-all;
}
&:not(.info-item-full) .info-value {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;

View File

@@ -504,7 +504,7 @@ page {
padding: 24rpx; padding: 24rpx;
background: #fafbfc; background: #fafbfc;
border: 2rpx solid #f0f2f5; border: 2rpx solid #f0f2f5;
margin: 15rpx 16rpx 2rpx; margin: 15rpx 16rpx 15rpx;
border-radius: 12rpx; border-radius: 12rpx;
} }

View File

@@ -571,7 +571,7 @@ page {
padding: 24rpx; padding: 24rpx;
background: #fafbfc; background: #fafbfc;
border: 2rpx solid #f0f2f5; border: 2rpx solid #f0f2f5;
margin: 15rpx 16rpx 2rpx; margin: 15rpx 16rpx 15rpx;
border-radius: 12rpx; border-radius: 12rpx;
} }