优化
This commit is contained in:
@@ -33,15 +33,6 @@ export const DataRangeFields: React.FC<DataRangeFieldsProps> = ({
|
||||
return (
|
||||
<div className={isMobile ? 'space-y-4' : 'space-y-2'}>
|
||||
{!isMobile && <div className="ps-section-title">数据范围</div>}
|
||||
{isMobile && (
|
||||
<div className="flex items-center gap-2">
|
||||
<Filter className="w-4 h-4 text-indigo-500 shrink-0" />
|
||||
<span className="text-sm font-semibold text-slate-800">数据范围</span>
|
||||
</div>
|
||||
)}
|
||||
<p className={isMobile ? 'text-xs text-slate-500 leading-relaxed' : 'text-[10px] text-[#888] leading-relaxed'}>
|
||||
序号指数据行顺序(从 1 开始),应用数据后生效。
|
||||
</p>
|
||||
<div>
|
||||
{isMobile && <label className="mobile-field-label">范围</label>}
|
||||
{!isMobile && <label className="ps-field-label">范围</label>}
|
||||
@@ -51,9 +42,9 @@ export const DataRangeFields: React.FC<DataRangeFieldsProps> = ({
|
||||
onChange={(e) => patchRange({ mode: e.target.value as ExportRangeConfig['mode'] })}
|
||||
className={isMobile ? 'mobile-field' : 'ps-field text-[11px]'}
|
||||
>
|
||||
<option value="all">全部行</option>
|
||||
<option value="odd">仅奇数序号</option>
|
||||
<option value="even">仅偶数序号</option>
|
||||
<option value="all">全部标签</option>
|
||||
<option value="odd">仅限奇数序号的标签</option>
|
||||
<option value="even">仅限偶数序号的标签</option>
|
||||
<option value="custom">自定义序号</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user