<view class="page">
  <navigation-bar title="惠教中心" back="{{false}}" color="white" background="#FF6B35" />

  <view class="banner">
    <view class="banner-icon">🎓</view>
    <view class="banner-text">用药知识，一看就懂</view>
  </view>

  <view class="content">
    <view class="section-title">推荐课程</view>
    <view wx:for="{{drugList}}" wx:key="id" class="drug-card" data-id="{{item.id}}" bindtap="goDetail">
      <view class="card-icon">
        <image class="card-img" src="{{item.image}}" mode="aspectFit" />
      </view>
      <view class="card-info">
        <view class="card-title">{{item.title}}</view>
        <view class="card-desc">{{item.desc}}</view>
        <view class="card-meta">
          <view class="card-tag">{{item.tag}}</view>
          <view class="card-read">{{item.readCount}} 人已阅读</view>
        </view>
      </view>
      <view class="card-arrow">›</view>
    </view>
  </view>
</view>
