C端小程序
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.

47 lines
2.5 KiB

  1. <navbar home back text="直播列表" background="#fff"></navbar>
  2. <view class="market" style="padding-top:{{navigationBarHeight}}">
  3. <view style='padding-top:20rpx;'>
  4. <view wx:for='{{roomInfos}}' wx:if="{{roomInfos.length!=0}}" class='section' data-data="{{item}}" wx:key='{{item.roomid}}'>
  5. <navigator url="plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id={{item.roomid}}&custom_params={{customParams}}">
  6. <view class='detail_top'>
  7. <view>
  8. <!-- <image wx:if="{{item.orderStatus == 6 || item.orderStatus == 7 || item.orderStatus == 8 || item.orderStatus == 9}}" src="{{wmdiscount}}" class="discount" mode="widthFix"></image> -->
  9. <!-- <image wx:if="{{item.orderStatus == 1&& item.type == 8}}" src="{{wmdiscount}}" class="discount" mode="widthFix"></image> -->
  10. <text>{{item.name}}</text>
  11. <text wx:if="{{item.liveStatus==101}}" class='wait01'>{{item.statusName}}</text>
  12. <text wx:if="{{item.liveStatus==102}}" class='wait02'>{{item.statusName}}</text>
  13. <text wx:if="{{item.liveStatus!==101&&item.liveStatus!==102}}" class='wait'>{{item.statusName}}</text>
  14. </view>
  15. </view>
  16. <view class='detail_msg'>
  17. <view class='logo'>
  18. <image mode="aspectFill" src='{{item.coverImg}}'></image>
  19. </view>
  20. <view class='info'>
  21. <view class="sub">主播:{{item.anchorName}}</view>
  22. <view class="value">
  23. 商品:<text wx:if="{{item.goods.length>0}}" wx:for="{{item.goods}}" wx:for-item="professionitem" wx:key="{{professionitem}}" wx:for-index='index02'>{{index02==(item.goods.length-1)?professionitem.name:(professionitem.name+',')}}</text>
  24. <text wx:if="{{item.goods.length==0}}">无</text>
  25. </view>
  26. <view class="value">开始时间:<text>{{item.startTimeStr}}</text></view>
  27. <view class="value">结束时间:<text>{{item.endTimeStr}}</text></view>
  28. </view>
  29. </view>
  30. </navigator>
  31. </view>
  32. <view class="dingdan" wx:if="{{roomInfos.length==0&&loading}}">
  33. <image src="{{noOrdersUrl}}" mode="widthFix"></image>
  34. <text>加载中...</text>
  35. <text>再忙,也要记得买点什么犒赏自己~</text>
  36. </view>
  37. <view class="dingdan" wx:if="{{roomInfos.length==0&&!loading}}">
  38. <image src="{{noOrdersUrl}}" mode="widthFix"></image>
  39. <text>未找到相关直播信息</text>
  40. <text>换个频道寻找乐趣吧!</text>
  41. </view>
  42. </view>
  43. <view class="loading" wx:if="{{loading}}">
  44. <image src="{{loadingUrl}}" mode="widthFix"></image>{{content}}
  45. </view>
  46. </view>