<!-- 筛选下拉组件 — 全屏宽度面板 + 遮罩层 -->
<view class="filter-dropdown-wrap" wx:if="{{options && options.length > 0}}">
  <view class="filter-dropdown {{expanded ? 'filter-dropdown--active' : ''}} {{selectedText ? 'filter-dropdown--selected' : ''}}" bindtap="toggleDropdown">
    <text class="filter-label">{{selectedText || label}}</text>
    <t-icon name="caret-down-small" size="32rpx" class="filter-arrow {{expanded ? 'filter-arrow--up' : ''}}" />
  </view>

  <!-- 遮罩层 -->
  <view class="dropdown-mask" wx:if="{{expanded}}" catchtap="onMaskTap" />

  <!-- 全屏宽度下拉面板 -->
  <view
    class="dropdown-panel {{expanded ? 'dropdown-panel--show' : ''}}"
    style="top: {{panelTop}}px"
  >
    <view
      class="dropdown-item {{item.value === value ? 'dropdown-item--active' : ''}}"
      wx:for="{{options}}"
      wx:key="value"
      data-value="{{item.value}}"
      bindtap="onSelect"
    >
      <text>{{item.text}}</text>
      <t-icon wx:if="{{item.value === value}}" name="check" size="32rpx" color="var(--color-primary)" />
    </view>
  </view>
</view>
