<!-- 课程列表 -->
<view class="itemlist" bindtap="collectioncourseclick">
 <image src="https://ndnd.duiduiedu.com/uploads/pics/mysub.png"></image>
</view>
<!-- 课程列表 -->
<!-- 课程选项 -->
<view wx:for="{{listdata}}" wx:key="item"   wx:for-item='itemwlmcchina'  wx:index="index" id="{{index}}">

<view class="collectionitems2">
  <view class="item1" bindtap="liveopen" data-itemid='{{index}}'>
    <text>{{itemwlmcchina.gname}}</text>
  </view>
  <view class="item2">
    <text>{{itemwlmcchina.num}}</text>
  </view>
  <view class="item3">
    <image src="https://ndnd.duiduiedu.com/uploads/pics/itemlistup.png" wx:if="{{itemwlmcchina.liveclickopen==2}}"    bindtap="liveopen"  data-itemid="{{index}}" ></image>
    <image src="https://ndnd.duiduiedu.com/uploads/pics/itemlistdown.png" wx:else    bindtap="liveclose"  data-itemid="{{index}}"></image>
  </view>
</view>
 <!-- 下拉菜单 -->
    <view    class="itemsup{{itemwlmcchina.liveclickopen==1?'':'2'}}" wx:for="{{itemwlmcchina.item}}" wx:key="item" wx:index="index" id="{{item.id}}">
          <view class="upitem1"  style="background:url({{baseurl+item.headpicimage}}) no-repeat; background-size: cover;">
            <text>{{item.headpicvalue}}</text>
          </view>
          <view class="upitem2" bindtap="itemclickurl" id="{{item.id}}" data-typeid="{{itemwlmcchina.id}}">
              <text>{{item.name}}</text>
          </view>
          <view class="upitem3">
            <image src="https://ndnd.duiduiedu.com/uploads/pics/itemspay.png"></image>
          </view>
    </view>
  <!-- 下拉菜单 -->
</view>
<!-- 课程选项 -->