<!--pages/lishi/lishi.wxml-->
<view>
  <view class='listPublicWelfare'>
    <view bindtap='classDetails' data-src='{{item.media}}' wx:for="{{list}}">
      <view class='left_listPublicWelfare'>
        <image src='{{item.front_image}}'></image>
      </view>
      <view class='right_listPublicWelfare'>
        <text>{{item.title}}</text>
        <view>
          <van-button type="default" size="mini">小学课堂</van-button>
          <image src='../../img/kefu.png'></image>
          <text>{{item.view_count}}</text>
        </view>
        <text>主讲教师：{{item.teacher}}</text>
      </view>
    </view>
    <!-- <view>
      <view class='left_listPublicWelfare'>
        <image src='../../img/3.jpg'></image>
      </view>
      <view class='right_listPublicWelfare'>
        <text>陈老师关于志愿者理论1</text>
        <view>
          <van-button type="default" size="mini">小学课堂</van-button>
          <image src='../../img/kefu.png'></image>
          <text>10000</text>
        </view>
        <text>主讲教师：陈老师</text>
      </view>
    </view>
    <view>
      <view class='left_listPublicWelfare'>
        <image src='../../img/3.jpg'></image>
      </view>
      <view class='right_listPublicWelfare'>
        <text>陈老师关于志愿者理论1</text>
        <view>
          <!-- <van-button type="default" size="mini">小学课堂</van-button>
          <image src='../../img/kefu.png'></image>
          <text>10000</text> 
        </view>
        <text>主讲教师：陈老师</text>
      </view>
    </view> -->
  </view>
</view>
<view wx:if="{{play}}" class="play-view">
<video src="{{playUrl}}"></video>
<van-button type="warning" bind:click="closeVideo">关闭</van-button>
</view>