From c07dd81eaaaa983951133edc5f29a3e1f74d6815 Mon Sep 17 00:00:00 2001 From: 15233722133 <15233722133@163.com> Date: Fri, 26 Jun 2026 16:44:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/noReleaseAmount.vue | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/pages/home/noReleaseAmount.vue b/pages/home/noReleaseAmount.vue index 58546a3..95c0814 100644 --- a/pages/home/noReleaseAmount.vue +++ b/pages/home/noReleaseAmount.vue @@ -118,12 +118,13 @@ const getHeaderData = async () => { const getList = async (mescroll) => { const opt = filterOptions[filterIndex.value] || filterOptions[0]; + const transactionType = + isIncomeFilter.value && incomeTabValue.value ? incomeTabValue.value : opt.value; const res = await api .agentEarningsIncomeDetailsPage({ pageNo: mescroll.num, pageSize: mescroll.size, - ...(opt.value ? { transactionType: opt.value } : {}), - ...(isIncomeFilter.value && incomeTabValue.value ? { sourceType: incomeTabValue.value } : {}), + ...(transactionType ? { transactionType } : {}), }) .catch(() => ({ code: -1 })); @@ -276,25 +277,27 @@ onShow(() => { .income-tabs { display: flex; align-items: center; - justify-content: space-around; - padding: 0 0 20rpx; + justify-content: flex-start; + gap: 12rpx; } .income-tab { - width: 146rpx; - height: 62rpx; - line-height: 62rpx; - text-align: center; + width: 132rpx; + padding: 5rpx 0; + display: flex; + align-items: center; + justify-content: center; background: #fff; border-radius: 14rpx; overflow: hidden; - font-size: 24rpx; - font-weight: 400; + font-size: 22rpx; color: #111111; border: 2rpx solid #d9d9d9; box-sizing: border-box; } + + .income-tab.active { color: #fb4d32; background: #ffefe5;