1. source code
<view class='audioPalyWrap'>
<view class='picWrap'>
<view class='pic {
{ !onoff ? "active":"" }}'>
<image src='http://y.gtimg.cn/music/photo_new/T002R300x300M000003rsKF44GyaSk.jpg?max_age=2592000'
mode='center'
></image>
</view>
</view>
<view class='playControl'>
<view class='playButton' bindtap="handlePlayer">
<text class='iconfont icon-bofang' wx:if='{
{ onoff }}'></text>
<text class='iconfont icon-zantingtingzhi' wx:else></text>
</view>
<view class='time'>
<text> {
{ currentTime }} </text>
<progress percent="{
{ progressTime }}" activeColor=