<!--packageC/voice_shop/my_voices/my_voices.wxml-->
<view id="my_voices">
  <view class='ul'>
    <view class='li' wx:for="{{voiceList}}" wx:key="index" bindtap="gotoDetail" data-info="{{item.goods_id}}" data-type='{{item.type}}' data-status='{{item.status}}'>
      <view class="voice_box">
        <view class="voice_img">
          <image src="{{item.has_one_goods.thumb}}"></image>
        </view>
        <view class="voice_text">
          <view class="title" style="-webkit-box-orient: vertical;">{{item.has_one_goods.title}}
            <view class='em'>{{item.status}}</view>
          </view>
          <view class="time">授权时间：{{item.created_at}}</view>
        </view>
        <!-- @click.stop="select(index,item.has_one_voice.curriculum[0].url)" -->
        <view class="voice_button">
          <image src="{{stop1}}" alt="" wx:if="{{!songStop && selectedNum == index}}" catchtap="tapStatus_f" id="{{index}}"></image>
          <image src="{{play1}}" alt="" wx:if="{{selectedNum!=index||songStop}}" catchtap="tapStatus" id="{{index}}"></image>
        </view>
      </view>
      <view class="slider" wx:if='{{selectedNum == index && !songStop}}'>
        <view class="slider-track"></view>
        <view class="slider-fill" style="width:{{sliderTime}}%"></view>
      </view>
      <!-- @click.stop="failGood()" -->
      <view wx:if="{{item.type == 0}}" class="voice_failure"></view>
    </view>
    <view wx:if="{{voiceList.length == '0'}}" style="display: flex;justify-content: center;margin-top: 100rpx;">
      <image src="http://yunzmall.com/min_img/blank.png" style="width:160rpx;height:160rpx;"></image>
    </view>
  </view>
</view>