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.

51 lines
1.9 KiB

  1. <view id="BoxBg">
  2. <view class="Box">
  3. <navbar back text="分类" background="#0E1119" color="#fff"></navbar>
  4. <view style="height:{{navigationBarHeight}} "></view>
  5. <view class="searchBox">
  6. <view class="searchF">
  7. <input type="text" class="searchText" placeholder-style="color: #666666;" placeholder="搜索" bindconfirm="getLsit" bindinput="setSearchValue" confirm-type="search" />
  8. </view>
  9. </view>
  10. <view class="categoryBox oh">
  11. <view class="columnBox" style="top:{{navigationBarHeight2+200}}rpx">
  12. <view class=" {{activityFlag==index?'itemBox_a':'itemBox'}} oh" tt:for="{{column}}" bindtap="setActiviy" data-index="{{index}}" data-id="{{item.id}}">
  13. <view class="{{activityFlag==index?'Text_a':'Text'}}">
  14. {{item.title}}
  15. </view>
  16. </view>
  17. </view>
  18. <view class="courseBox">
  19. <view class="courseItemBox oh" tt:for="{{dataLsit}}" bindtap="goDetails" data-id="{{item.id}}" data-title="{{item.title}}">
  20. <image class="Img" src="{{item.coverImg}}" mode="" />
  21. <view class="TextBox">
  22. <view class="Name">
  23. {{item.title}}
  24. </view>
  25. <view class="chargeBox oh">
  26. <view class="tiem">
  27. {{item.countClass?item.countClass+'课时':'单课程'}}
  28. </view>
  29. <view class="money" tt:if="{{item.salePriceStr!=0}}">
  30. {{item.salePriceStr}}
  31. </view>
  32. <view class="py" tt:if="{{item.salePriceStr!=0}}">
  33. </view>
  34. <view class="money" tt:if="{{item.salePriceStr==0}}">
  35. {{"免费"}}
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="noDataBox" tt:if="{{noDAtaFlag}}">
  41. <image class="noDataImg" src="{{imgHttps+'no_result.png'}}" mode="" />
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. </view>