index.wxss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .container {
  2. margin: 0rpx 30rpx;
  3. width: calc(100% - 60rpx);
  4. /* height: calc(100vh - 40rpx); */
  5. padding: 0 0;
  6. }
  7. .search-bar {
  8. width: calc(100% - 50rpx);
  9. position: relative;
  10. display: flex;
  11. align-items: center;
  12. background-color: #fff;
  13. border: 1rpx solid #dcdfe6;
  14. border-radius: 12rpx;
  15. padding: 16rpx 20rpx;
  16. }
  17. .search-bar input {
  18. flex: 1;
  19. height: 100%;
  20. padding-right: 60rpx;
  21. font-size: 32rpx;
  22. border: none;
  23. background: transparent;
  24. }
  25. .search-icon {
  26. position: absolute;
  27. right: 20rpx;
  28. width: 45rpx;
  29. height: 45rpx;
  30. }
  31. .empty-space {
  32. width: 100%;
  33. height: 390rpx;
  34. background-color: #e0e0e0;
  35. margin-top: 20rpx;
  36. border-radius: 12rpx;
  37. }
  38. .course-buttons {
  39. width: 100%;
  40. display: flex;
  41. margin-top: 20rpx;
  42. }
  43. .course-button1 {
  44. width: 36%;
  45. height: 290rpx;
  46. background-color: #e0e0e0;
  47. margin: 5rpx;
  48. border-radius: 12rpx;
  49. color: #fff;
  50. }
  51. .course-buttonstow {
  52. margin-left: 20rpx;
  53. width: calc( 100% - 36% - 20rpx);
  54. height: 290rpx;
  55. color: #fff;
  56. }
  57. .course-button2 {
  58. width: 100%;
  59. height: calc(50% - 10rpx);
  60. background-color: #e0e0e0;
  61. margin: 5rpx;
  62. border-radius: 12rpx;
  63. }
  64. .course-button3 {
  65. margin-top: 20rpx;
  66. width: 100%;
  67. height: calc(50% - 10rpx);
  68. display: flex;
  69. }
  70. .course-button {
  71. width: calc(50% - 10rpx);
  72. height: 100%;
  73. background-color: #e0e0e0;
  74. margin: 5rpx;
  75. border-radius: 12rpx;
  76. }
  77. .nr_boxs {
  78. display: flex;
  79. flex-direction: column;
  80. padding: 20rpx;
  81. }