upgrade.scss 1.8 KB

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