<!--module/health/components/horizontal-scrollable/horizontal-scrollable.wxml-->
<horizontal-drag-gesture-handler onGestureEvent="handleHorizontalDrag">
  <view class="scheme__card-list" bind:tap="start">
    <view class="scrollable">
      <view class="scheme__card" wx:for="{{dataset}}" wx:key="id">
        <view class="scheme__media {{item.type}}" wx:if="{{item.url}}">
          <image src="{{item.poster}}" mode="heightFix" catch:tap="preview" data-url="{{item.url}}" />
          <t-icon class="icon" wx:if="{{item.type === 'video'}}" name="play-circle" size="48rpx" catch:tap="preview" data-url="{{item.url}}"></t-icon>
        </view>
        <view class="scheme__title">{{item.title}}</view>
      </view>
    </view>
  </view>
</horizontal-drag-gesture-handler>