🦄 refactor: 项目盈亏筛选样式优化

This commit is contained in:
砂糖
2025-08-20 16:19:10 +08:00
parent 26ee6430c0
commit 2eedbab031
2 changed files with 34 additions and 22 deletions

View File

@@ -63,23 +63,31 @@
</uni-section> </uni-section>
<uni-section title="项目状态" type="line" class="filter-section"> <uni-section title="项目状态" type="line" class="filter-section">
<view class="uni-px-5 uni-pb-5"> <view class="filter-item">
<uni-data-checkbox <view class="filter-label">
v-model="radioProjectStatus" 项目状态
:localdata="projectStatusOptions" </view>
@change="handleStatusChange" <uni-data-checkbox
></uni-data-checkbox> v-model="radioProjectStatus"
</view> :localdata="projectStatusOptions"
@change="handleStatusChange"
mode="button"
></uni-data-checkbox>
</view>
</uni-section> </uni-section>
<uni-section title="贸易属性" type="line" class="filter-section"> <uni-section title="贸易属性" type="line" class="filter-section">
<view class="uni-px-5 uni-pb-5"> <view class="filter-item">
<uni-data-checkbox <view class="filter-label">
v-model="radioDomestic" 贸易类型
:localdata="domesticOptions" </view>
@change="handleDomesticChange" <uni-data-checkbox
></uni-data-checkbox> mode="button"
</view> v-model="radioDomestic"
:localdata="domesticOptions"
@change="handleDomesticChange"
></uni-data-checkbox>
</view>
</uni-section> </uni-section>
<uni-section title="金额筛选" type="line" class="filter-section"> <uni-section title="金额筛选" type="line" class="filter-section">
@@ -131,13 +139,17 @@
</uni-section> </uni-section>
<uni-section title="盈亏类型" type="line" class="filter-section"> <uni-section title="盈亏类型" type="line" class="filter-section">
<view class="uni-px-5 uni-pb-5"> <view class="filter-item">
<uni-data-checkbox <view class="filter-label">
v-model="radioProfitType" 盈亏类型
:localdata="profitTypeOptions" </view>
@change="handleProfitTypeChange" <uni-data-checkbox
></uni-data-checkbox> mode="button"
</view> v-model="radioProfitType"
:localdata="profitTypeOptions"
@change="handleProfitTypeChange"
></uni-data-checkbox>
</view>
</uni-section> </uni-section>
<view class="popup-btns"> <view class="popup-btns">

View File

@@ -22,7 +22,7 @@
<fad-collapse title="库存趋势分析"> <fad-collapse title="库存趋势分析">
<!-- 标题右侧额外内容日期选择器 --> <!-- 标题右侧额外内容日期选择器 -->
<template #extra> <template #extra>
<picker mode="date" fields="month" :value="selectedDate" @change="onDateChange"> <picker @click.stop mode="date" fields="month" :value="selectedDate" @change="onDateChange">
<view class="picker-view"> <view class="picker-view">
<uni-icons type="calendar" size="20" color="#666" class="icon-margin"></uni-icons> <uni-icons type="calendar" size="20" color="#666" class="icon-margin"></uni-icons>
<text>{{ selectedDate }}</text> <text>{{ selectedDate }}</text>