fix: 自测功能优化完善。

This commit is contained in:
tianyongbao
2026-02-15 01:26:39 +08:00
parent 8f1c61926f
commit fb9781ff52
7 changed files with 112 additions and 45 deletions

View File

@@ -56,16 +56,17 @@
<text class="info-label">还款日</text>
<text class="info-value">{{ item.repaymentDay }}</text>
</view>
<view class="info-item">
<text class="info-label">账单周期</text>
<text class="info-value">{{ item.billDatePeriod }}</text>
</view>
</view>
<view class="info-row">
<view class="info-item">
<view class="info-item">
<text class="info-label">最近交易时间</text>
<text class="info-value">{{ item.recentDealTime || '-' }}</text>
</view>
</view>
<view class="info-row">
<view class="info-item">
<text class="info-label">账单周期</text>
<text class="info-value">{{ item.billDatePeriod }}</text>
</view>
</view>
</view>
<view class="stats-body" v-if="auth.hasPermi('invest:posmachine:list')">

View File

@@ -3,22 +3,24 @@
<u-sticky offsetTop="0rpx" customNavHeight="0rpx">
<view class="search-view">
<u--input v-model="queryParams.queryInstitution" border="false" placeholder="请输入" class="search-input"
<u--input v-model="queryParams.queryInstitution" border="false" placeholder="请输入查询机构" class="search-input"
@blur="searchBlur" suffixIcon="search" suffixIconStyle="color: #909399">
</u--input>
</view>
<view class="search-view search-view-btns">
<view class="filter-btn" @click="filterPanel = !filterPanel">
<uni-icons type="list" size="20" color="#667eea"></uni-icons>
<uni-icons type="list" size="18" color="#667eea"></uni-icons>
<text>筛选</text>
</view>
<view class="add-btn" @click="handleAdd()">
<uni-icons type="plusempty" size="20" color="#667eea"></uni-icons>
<uni-icons type="plusempty" size="18" color="#667eea"></uni-icons>
<text>新增</text>
</view>
<view class="stats-btn" @click="handleQueryAnalysis()">
<uni-icons type="bars" size="20" color="#667eea"></uni-icons>
<uni-icons type="bars" size="18" color="#667eea"></uni-icons>
<text>统计</text>
</view>
<u-transition :show="filterPanel" mode="fade">
<u-transition :show="filterPanel" mode="fade" :customStyle="{ position: 'absolute', left: 0, right: 0, top: '100%', zIndex: 99 }">
<view class="filter-panel" :style="{ height: `${windowHeight - 42}px` }">
<view class="filter-panel-content">
<view class="filter-title">查询原因</view>
@@ -287,17 +289,21 @@ page {
padding: 12rpx 32rpx;
background-color: #ffffff;
display: flex;
justify-content: space-between;
justify-content: flex-end;
align-items: center;
gap: 16rpx;
position: relative;
z-index: 100;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
&.search-view-btns {
justify-content: flex-end;
}
.search-input {
background: rgba(102, 126, 234, 0.08);
color: #333333;
flex: 1;
margin-right: 16rpx;
border-radius: 24rpx;
border: 2rpx solid rgba(102, 126, 234, 0.3);
height: 66rpx !important;
@@ -317,7 +323,6 @@ page {
border: 2rpx solid rgba(102, 126, 234, 0.3);
transition: all 0.3s ease;
flex-shrink: 0;
margin-left: 12rpx;
&:active {
transform: scale(0.95);
@@ -333,11 +338,7 @@ page {
.filter-panel {
width: 100%;
position: absolute;
left: 0;
top: 96rpx;
background-color: rgba(0, 0, 0, 0.5);
z-index: 99;
.filter-panel-content {
background-color: #ffff;