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

44 lines
1010 B

1 year ago
  1. <template>
  2. <view class="pageBgImg">
  3. <topNavbar title="我的收藏"></topNavbar>
  4. <view class="pad">
  5. <view class="searcBox">
  6. <searchRow placeholder="搜索视频名称"/>
  7. </view>
  8. <view class="ul">
  9. <view class="li" v-for="(item,index) in 10" :key="index" @click="$goPage('/pages/indexEntry/publicVideo/videoDetail/videoDetail')">
  10. <videoItem></videoItem>
  11. </view>
  12. </view>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. import videoItem from '../../indexEntry/publicVideo/comp/videoItem.vue'
  18. export default {
  19. components: { videoItem }
  20. }
  21. </script>
  22. <style lang="scss" scoped>
  23. .ul {
  24. width: 100%;
  25. display: flex;
  26. justify-content: space-between;
  27. flex-wrap: wrap;
  28. .li {
  29. width: 100%;
  30. width: 48%;
  31. height: 260rpx;
  32. background: #FFFFFF;
  33. box-shadow: 0px 8rpx 20rpx 0px rgba(0,0,0,0.04), 2rpx 2rpx 8rpx 0px rgba(0,0,0,0.06);
  34. border-radius: 16rpx;
  35. margin-bottom: 24rpx;
  36. padding: 16rpx;
  37. }
  38. }
  39. .searcBox {
  40. padding: 0rpx 0 32rpx 0;
  41. }
  42. </style>