index.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .slide-image {
  2. width: 90%;
  3. height: 150px;
  4. margin:5%;
  5. }
  6. .indexSwiper{
  7. width: 100%;
  8. height:370rpx;
  9. }
  10. .nav-blue{
  11. height: 320rpx;
  12. background-image: var(--gradualBlue);
  13. }
  14. .coursel{
  15. position: relative;
  16. width: 100%;
  17. margin-top:-280rpx;
  18. height:370rpx;
  19. }
  20. .dots{
  21. position: absolute;
  22. left: 0;
  23. right: 0;
  24. bottom: 20rpx;
  25. display: flex;
  26. justify-content: center;
  27. }
  28. .dots .dot{
  29. margin: 0 8rpx;
  30. width:15rpx;
  31. height:6rpx;
  32. background:rgba(255,255,255,1);
  33. opacity:0.5;
  34. border-radius:1rpx;
  35. transition: all .6s;
  36. }
  37. .dots .dot.active{
  38. width:24rpx;
  39. height:6rpx;
  40. background:rgba(255,255,255,1);
  41. border-radius:1rpx;
  42. }
  43. swiper image {
  44. width: 100%;
  45. }
  46. .f-header {
  47. display: -webkit-box;
  48. display: -webkit-flex;
  49. display: -ms-flexbox;
  50. display: flex;
  51. -webkit-box-align: center;
  52. -webkit-align-items: center;
  53. -ms-flex-align: center;
  54. align-items: center;
  55. height: 120rpx;
  56. padding: 6rpx 30rpx 8rpx;
  57. background: #fff;
  58. }
  59. .f-header image {
  60. -webkit-flex-shrink: 0;
  61. -ms-flex-negative: 0;
  62. flex-shrink: 0;
  63. width: 80rpx;
  64. height: 80rpx;
  65. margin-right: 20rpx;
  66. }
  67. .f-header .tit-box {
  68. -webkit-box-flex: 1;
  69. -webkit-flex: 1;
  70. -ms-flex: 1;
  71. flex: 1;
  72. display: -webkit-box;
  73. display: -webkit-flex;
  74. display: -ms-flexbox;
  75. display: flex;
  76. -webkit-box-orient: vertical;
  77. -webkit-box-direction: normal;
  78. -webkit-flex-direction: column;
  79. -ms-flex-direction: column;
  80. flex-direction: column;
  81. }
  82. .f-header .tit {
  83. font-size: 34rpx;
  84. line-height: 1.3;
  85. }
  86. .f-header .tit2 {
  87. font-size: 24rpx;
  88. color: #909399;
  89. }
  90. .f-header .icon-you {
  91. font-size: 34rpx;
  92. color: #909399;
  93. }
  94. .nav-item{
  95. width: 670rpx;
  96. margin-left: 40rpx;
  97. text-align: center;
  98. margin-top: 40rpx;
  99. border-radius: 2%;
  100. height: 232rpx;
  101. }