index.wxml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <view wx:if="{{show}}" class="operate-panel-bg {{ showOperatePanel==true ? 'show-panel-anim':'hide-panel-anim'}}"
  2. style="background-color:{{settings.editor.operatePanel.backgroundColor}}">
  3. <scroll-view scroll-y style="height: 100%">
  4. <view class="operate-list-main">
  5. <mp-searchbar ext-class="search"></mp-searchbar>
  6. <mp-cells title="推荐">
  7. <view style="padding: 0 8px">
  8. <swiper indicator-dots="{{true}}">
  9. <swiper-item>
  10. <view style="display:flex;">
  11. <view class="img" style="flex: 1;font-size: 0">
  12. <image style="width: 230rpx;height:230rpx" mode="aspectFit"
  13. src="../../../../resources/image/1.jpg">
  14. </image>
  15. <view class="subtitle">每日最新单曲推荐</view>
  16. </view>
  17. <view class="img" style="flex: 1;padding: 0 3px;font-size: 0">
  18. <image style="width: 230rpx;height:230rpx" mode="aspectFit"
  19. src="../../../../resources/image/2.jpg">
  20. </image>
  21. <view class="subtitle">毒性MAX 魔力洗脑~</view>
  22. </view>
  23. <view class="img" style="flex: 1;font-size: 0">
  24. <image style="width: 230rpx;height:230rpx" mode="aspectFit"
  25. src="../../../../resources/image/3.jpg">
  26. </image>
  27. <view class="subtitle">永远的经典</view>
  28. </view>
  29. </view>
  30. </swiper-item>
  31. </swiper>
  32. </view>
  33. </mp-cells>
  34. <!-- <block wx:for="{{recommendMusicList}}" wx:key="id">
  35. <view class='item {{item.selected?"item-selected":""}}' bindtap="onTapRecommendMisic" data-key="{{item.key}}">
  36. <view style="height: 104rpx;width: 104rpx;margin-bottom: 4rpx;">
  37. <image style='{{item.selected ? "border-color:" + settings.editor.operatePanel.music.highlightColor + ";" : ""}}' class="icon icon-cover" src="{{item.albumImageUrl}}"></image>
  38. </view>
  39. <view class='desc' style='{{item.selected ? "color:" + settings.editor.operatePanel.music.highlightColor + ";" : "color: " + settings.editor.operatePanel.textColor + ";"}}'>
  40. <text class="marquee">{{item.Name}}</text>
  41. </view>
  42. </view>
  43. </block> -->
  44. <mp-cells title="智能生成">
  45. <mp-checkbox-group prop="radio" multi="{{false}}">
  46. <mp-checkbox wx:for="{{recommendMusicList}}" bindtap="onTapRecommendMisic" data-key="{{item.key}}"
  47. wx:key="key" label="{{item.Name}}" value="{{item.key}}" checked="{{item.key === key}}">
  48. </mp-checkbox>
  49. </mp-checkbox-group>
  50. </mp-cells>
  51. </view>
  52. </scroll-view>
  53. </view>