<!--pages/diy_jd/diy_jd.wxml-->
<!-- ================== 带滚动条的播放器-->
<view class='mod_voice' wx:if="{{object.style=='2'}}">
<block wx:if="{{object.bubble==1}}">
  <block wx:if='{{object.play==1}}'>
  <view class='mod_border'>
    <view class='mod_p' catchtap='playAudio'>
      <view wx:if="{{isPlayAudio}}">
        <image src='{{imghost}}/miniapp/images/pause.png' bindtap="audioPlay" mode='widthFix'></image>
        <text class='diy_title'>111</text>
      </view>
      <view wx:else>
        <image src='{{imghost}}/miniapp/images/voice_play_green.png' mode='widthFix'></image>
        <text class='diy_title'>111</text>
      </view>
    </view>
    <!-- 滚动条 -->
    <view class='mod_g'>
      <view class='slider'>
        <slider bindchange='sliderChange' activeColor='red' block-size="12" value='{{audioTime}}' />
      </view>
      <view class='time'>
        {{showTime1}}/{{showTime2}}
      </view>
    </view>
  </view>
  </block>
  </block>
</view>

<!-- -------------------2--------------- -->
<!-- 左边播放器 -->
<view class='ad' wx:if='{{object.style==1}}'>
<block wx:if="{{object.bubble==1}}">
  <block wx:if="{{object.play==1}}">
    <view class='ad_tp'>
      <image src='{{voice_logo}}' mode='widthFix'></image>
    </view>
    <view class='ad_audio' catchtap='playAudio'>
      <view class='tt'>
        <image bindtap="audioPlay" src='{{imghost}}/miniapp/images/voice_lw.png' mode='widthFix'></image>
      </view>
    </view>
  </block>
  </block>
</view>
<!-- 右边播放器 -->
<view class='ad2' wx:if='{{object.style==1}}'>
<block wx:if="{{object.bubble==2}}">
  <block wx:if="{{object.play==1}}">
    <view class='ad_tp2'>
      <image src='{{voice_logo}}' mode='widthFix'></image>
    </view>
    <view class='ad_audio2' catchtap='playAudio'>
      <view class='tt2'>
        <image bindtap="audioPlay" src='{{imghost}}/miniapp/images/voice_rg.png' mode='widthFix'></image>
        <audio class="audio" poster="{{poster}}" src="{{src}}" id="myAd"></audio>
      </view>
    </view>
  </block>
   </block>
</view>