skillsTraining - 副本.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. .banner{
  2. width: 100%;
  3. margin-bottom: 24rpx;
  4. }
  5. .iconNav{
  6. .iconNav-item{
  7. width: 25%;
  8. margin: 24rpx 0;
  9. text-align: center;
  10. .iconNav-item-img{width: 98rpx;height: 98rpx;}
  11. }
  12. &.no-head{
  13. .card-head{display: none;}
  14. /deep/ .u-card__head{padding: 0!important;}
  15. /deep/ .u-card__body{padding-top: 0!important;}
  16. }
  17. }
  18. .skill-list{
  19. .u-body-item{
  20. width: 48%;
  21. height: 320rpx;
  22. border-radius: 8rpx;
  23. overflow: hidden;
  24. position: relative;
  25. margin-bottom: 24rpx;
  26. image{width: 100%;height: 100%;}
  27. .text{
  28. position: absolute;
  29. left: 24rpx;
  30. right: 24rpx;
  31. bottom: 24rpx;
  32. z-index: 6;
  33. color: #d8d8d8;
  34. .name{font-size: 30rpx;}
  35. }
  36. &::after{
  37. content: '';
  38. width: 100%;
  39. height: 100rpx;
  40. position: absolute;
  41. left: 0;
  42. bottom: 0;
  43. background: linear-gradient(0deg,#000,rgba(255,255,255,0));
  44. z-index: 5;
  45. }
  46. }
  47. }
  48. .school-list{
  49. .school-logo-wrap{
  50. margin-bottom: 48rpx;
  51. .school-logo{
  52. width: 100rpx;
  53. height: 100rpx;
  54. border-radius: 50%;
  55. opacity: 0.5;
  56. &.active{
  57. opacity: 1;
  58. }
  59. }
  60. }
  61. .name{
  62. margin-bottom: 24rpx;
  63. .text{
  64. font-weight: bold;
  65. }
  66. }
  67. }
  68. .support{
  69. .big-news{
  70. height: 400rpx;
  71. position: relative;
  72. margin-bottom: 24rpx;
  73. image{width: 100%;height: 100%;}
  74. .text{
  75. position: absolute;
  76. left: 0;
  77. right: 0;
  78. bottom: 0;
  79. padding: 24rpx;
  80. color: #fff;
  81. background: rgba(0,0,0,.5);
  82. z-index: 6;
  83. .name{font-size: 35rpx;}
  84. }
  85. }
  86. .u-body-item{
  87. .u-body-item-title{
  88. margin-bottom: 15rpx;
  89. }
  90. .foot{
  91. font-size: 24rpx;
  92. color: #ddd;
  93. .time{
  94. margin-left: 24rpx;
  95. }
  96. }
  97. }
  98. .u-card-wrap {
  99. background-color: $u-bg-color;
  100. padding: 1px;
  101. }
  102. .u-body-item {
  103. // font-size: 32rpx;
  104. color: #333;
  105. padding: 20rpx 10rpx;
  106. }
  107. .u-body-item image {
  108. width: 120rpx;
  109. flex: 0 0 120rpx;
  110. height: 120rpx;
  111. border-radius: 8rpx;
  112. margin-left: 12rpx;
  113. }
  114. }