<view class="container">
  <view class="card">
    <view class="section-title">{{year}}年二十四节气</view>
    <view class="term-list">
      <view class="term-item" wx:for="{{terms}}" wx:key="name">
        <view class="flex justify-between items-center">
          <view>
            <text class="text-base font-medium">{{item.name}}</text>
            <text class="text-xs text-muted block">{{item.date}}</text>
          </view>
          <text class="badge {{item.isPast ? 'badge-outline' : 'badge-lucky'}}">{{item.isPast ? '已过' : '未来'}}</text>
        </view>
      </view>
    </view>
  </view>
</view>
