<!-- pages/cattle/cattle.wxml - 生产管理/牛羊管理页面 -->
<view class="page-container">
  <scroll-view class="scroll-content" scroll-y>
    <!-- 牛只管理区块 -->
    <view class="section">
      <view class="section-header">
        <view class="header-line"></view>
        <text class="section-title">牛只管理</text>
      </view>
      <view class="function-grid">
        <view class="function-item" wx:for="{{cattleFunctions}}" wx:key="id" bindtap="navigateTo" data-url="{{item.url}}">
          <view class="icon-box {{item.color}}">
            <text class="item-icon-text">{{item.iconText}}</text>
          </view>
          <text class="item-label">{{item.name}}</text>
        </view>
      </view>
    </view>

    <!-- 猪只管理区块 -->
    <view class="section">
      <view class="section-header">
        <view class="header-line"></view>
        <text class="section-title">猪只管理</text>
      </view>
      <view class="function-grid">
        <view class="function-item" wx:for="{{pigFunctions}}" wx:key="id" bindtap="navigateTo" data-url="{{item.url}}">
          <view class="icon-box {{item.color}}">
            <text class="item-icon-text">{{item.iconText}}</text>
          </view>
          <text class="item-label">{{item.name}}</text>
        </view>
      </view>
    </view>

    <!-- 底部留白 -->
    <view class="bottom-space"></view>
  </scroll-view>
</view>
