testSAS.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. page {
  2. width: 100vw;
  3. display: flex;
  4. flex-direction: column;
  5. background: #F8F9FA;
  6. padding-bottom: 120px;
  7. }
  8. .container {
  9. display: flex;
  10. padding-right: 30rpx;
  11. flex-direction: row;
  12. flex-wrap: wrap;
  13. }
  14. .card-item {
  15. width: 327rpx;
  16. margin-left: 30rpx;
  17. height: 336rpx;
  18. margin-top: 40rpx;
  19. position: relative;
  20. }
  21. .card-bg {
  22. display: block;
  23. width: 327rpx;
  24. height: 336rpx;
  25. }
  26. .card-content {
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. width: 327rpx;
  31. height: 336rpx;
  32. display: flex;
  33. flex-direction: column;
  34. justify-content: center;
  35. align-items: center;
  36. }
  37. .card-icon {
  38. display: block;
  39. width: 56rpx;
  40. height: 56rpx;
  41. }
  42. .card-content text {
  43. width: 260rpx;
  44. text-align: center;
  45. white-space: wrap;
  46. margin-top: 30rpx;
  47. font-size: 32rpx;
  48. line-height: 40rpx;
  49. color: #FFFFFF;
  50. }
  51. .list {
  52. width: 100vw;
  53. display: flex;
  54. flex-direction: column;
  55. align-items: center;
  56. }
  57. .item {
  58. margin-top: 15px;
  59. width: 690rpx;
  60. height: 232rpx;
  61. /* background: linear-gradient(270deg, #DDE7FF 0%, #EEF6FF 100%); */
  62. border-radius: 24rpx;
  63. /* border: 1rpx solid #c8d7ff; */
  64. overflow: hidden;
  65. display: flex;
  66. flex-direction: row;
  67. }
  68. .item:active {
  69. opacity: 0.7;
  70. }
  71. .item-icon {
  72. display: block;
  73. width: 100%;
  74. height: 232rpx;
  75. border-radius: 24rpx;
  76. overflow: hidden;
  77. }
  78. .item-l {
  79. flex: 1;
  80. display: flex;
  81. flex-direction: column;
  82. }
  83. .item-title {
  84. font-size: 34rpx;
  85. font-style: oblique;
  86. font-weight: bold;
  87. margin-top: 40rpx;
  88. margin-left: 50rpx;
  89. }
  90. .item-desc {
  91. font-size: 24rpx;
  92. color: #4160AD;
  93. margin-top: 4rpx;
  94. margin-left: 50rpx;
  95. }
  96. .item-btn {
  97. width: 144rpx;
  98. height: 52rpx;
  99. /* background: linear-gradient(135deg, #F34556 0%, #FC8893 100%); */
  100. background: linear-gradient(135deg, #2957CB 0%, #649DFA 100%);
  101. border-radius: 144rpx;
  102. font-weight: 400;
  103. font-size: 24rpx;
  104. color: #FFFFFF;
  105. text-align: center;
  106. line-height: 52rpx;
  107. margin-top: 12rpx;
  108. margin-left: 50rpx;
  109. }