<view wx:for="{{listdata}}" wx:for-index="index" wx:key="index">
  <view class="zhibocss">
    <view class="item1">
      <image src="{{baseurl+item.liveimage}}"></image>
    </view>
    <view class="item2">
      <image src="{{baseurl+item.headimage}}"></image>
    </view>
    <view class="item3">
      <view class="itemhead">
        <h2>{{item.name}}</h2>
      </view>
      <view class="itemmiddle">
        <view class="itemmiddleleft">
          <image src="https://ndnd.duiduiedu.com/uploads/pics/middleleft.png"></image><text>{{item.author}}</text>
        </view>
        <view class="itemmiddleright">
          <image src="https://ndnd.duiduiedu.com/uploads/pics/middleright.png"></image><text>{{item.times}}</text>
        </view>
      </view>
      <view class="itemend">
        <text>{{item.intro}}</text>
      </view>
    </view>
    <view class="item4">
      <image src="https://ndnd.duiduiedu.com/uploads/pics/liveright2.png" id="{{item.id}}" bindtap="clicklives"></image>
    </view>
  </view>
  <view class="livefooter" bindtap="liveopen" id='1' data-id="{{item.id}}" data-itemid="{{index}}" hidden="{{item.liveclickopen}}">
    <image src="https://ndnd.duiduiedu.com/uploads/pics/footerdown.png"></image>
  </view>

  <view class="content" hidden="{{item.liveclickclose}}">
    <view class="contentup" wx:for="{{item.url}}" wx:for-index="index" wx:key="index">
      <image src="{{baseurl+item}}"></image>
    </view>
   
    <view class="contentmiddle">
      <text>{{item.contentintro}}</text>
    </view>
  </view>
  <view class="contentdown" bindtap="liveclose" id='2' data-id="{{item.liveid}}"  data-itemid="{{index}}" hidden="{{item.liveclickclose}}">
    <image src="https://ndnd.duiduiedu.com/uploads/pics/footerup.png"></image>
  </view>
</view>