You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
540 B

6 months ago
<scroll-view class="content-playlist" scroll-y>
<view class="playlist-item" wx:for="{{ playlist }}" wx:key="id" bindtap="change" data-index="{{ index }}">
<image class="playlist-cover" src="{{ item.coverImgUrl }}" />
<view class="playlist-info">
<view class="playlist-info-title">{{ item.title }}</view>
<view class="playlist-info-singer">{{ item.singer }}</view>
</view>
<view class="playlist-controls">
<text wx:if="{{ index == playIndex }}">正在播放</text>
</view>
</view>
</scroll-view>