洛阳学员端
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.

48 lines
837 B

10 months ago
  1. <template>
  2. <view class="vdo">
  3. <view class="coverBox">
  4. <view class="start">
  5. <image src="@/static/images/index/btn_bofang.png" mode=""></image>
  6. </view>
  7. <view class="cover">
  8. <image :src="item.videoCover" mode="aspectFill"></image>
  9. </view>
  10. </view>
  11. <view class="text oneRowText">{{ item.title }}</view>
  12. </view>
  13. </template>
  14. <script>
  15. export default {
  16. props: ['item']
  17. }
  18. </script>
  19. <style lang="scss" scoped>
  20. .coverBox {
  21. width: 100%;
  22. height: 168rpx;
  23. background: $themC;
  24. border-radius: 12rpx;
  25. position: relative;
  26. .start {
  27. position: absolute;
  28. left: 50%;
  29. top: 50%;
  30. transform: translate(-50%,-50%);
  31. width: 50rpx;
  32. height: 50rpx;
  33. z-index: 2;
  34. }
  35. .cover {
  36. width: 100%;
  37. height: 100%;
  38. overflow: hidden;
  39. }
  40. }
  41. .text {
  42. font-size: 24rpx;
  43. padding: 20rpx 0 6rpx 0;
  44. }
  45. </style>