<wrapper>
   <view class="date-control-container">
     <view class="date-control-content">
       <view
         onTap="onSelectAll"
         class="all-button{{ activeIndex === -1 ? ' active' : ''}}"
       >
         <view>全部</view>
         <view>号源</view>
       </view>
       <scroll-view
         scroll-x="true"
         class="scroll-view"
         onScroll="onScroll"
         scroll-left="{{ scrollLeft }}"
       >
         <view class="date-control-items">
           <view
             a:for="{{ dateList }}"
             onTap="onSelectOne"
             data-index="{{index}}"
             class="control-item{{ activeIndex === index ? ' active': '' }}"
           >
             <view class="control-item-content">
               <view class="day">{{ item.week }}</view>
               <view class="date">{{ item.today ? '今天' : item.showDay }}</view>
               <view class="status {{ item.remain > 0 ? '' : 'disabled' }}">
                 {{ item.remain > 0 ? '有': '无' }}号
               </view>
             </view>
           </view>
         </view>
       </scroll-view>
     </view>
   </view>
</wrapper>
