app.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. @import "components/main.wxss";
  2. @import "components/icon.wxss";
  3. .scrollPage {
  4. height: 100vh;
  5. }
  6. .nav-list {
  7. display: flex;
  8. flex-wrap: wrap;
  9. padding: 0px 40rpx 0px;
  10. justify-content: space-between;
  11. }
  12. .nav-li {
  13. padding: 30rpx;
  14. border-radius: 12rpx;
  15. width: 45%;
  16. margin: 0 2.5% 40rpx;
  17. background-image: url(https://image.weilanwl.com/color2.0/cardBg.png);
  18. background-size: cover;
  19. background-position: center;
  20. position: relative;
  21. z-index: 1;
  22. }
  23. .nav-li::after {
  24. content: "";
  25. position: absolute;
  26. z-index: -1;
  27. background-color: inherit;
  28. width: 100%;
  29. height: 100%;
  30. left: 0;
  31. bottom: -10%;
  32. border-radius: 10rpx;
  33. opacity: 0.2;
  34. transform: scale(0.9, 0.9);
  35. }
  36. .nav-li.cur {
  37. color: #fff;
  38. background: rgb(94, 185, 94);
  39. box-shadow: 4rpx 4rpx 6rpx rgba(94, 185, 94, 0.4);
  40. }
  41. .nav-title {
  42. font-size: 32rpx;
  43. font-weight: 300;
  44. }
  45. .nav-title::first-letter {
  46. font-size: 40rpx;
  47. margin-right: 4rpx;
  48. }
  49. .nav-name {
  50. font-size: 28rpx;
  51. text-transform: Capitalize;
  52. margin-top: 20rpx;
  53. position: relative;
  54. }
  55. .nav-name::before {
  56. content: "";
  57. position: absolute;
  58. display: block;
  59. width: 40rpx;
  60. height: 6rpx;
  61. background: #fff;
  62. bottom: 0;
  63. right: 0;
  64. opacity: 0.5;
  65. }
  66. .nav-name::after {
  67. content: "";
  68. position: absolute;
  69. display: block;
  70. width: 100rpx;
  71. height: 1px;
  72. background: #fff;
  73. bottom: 0;
  74. right: 40rpx;
  75. opacity: 0.3;
  76. }
  77. .nav-name::first-letter {
  78. font-weight: bold;
  79. font-size: 36rpx;
  80. margin-right: 1px;
  81. }
  82. .nav-li text {
  83. position: absolute;
  84. right: 30rpx;
  85. top: 30rpx;
  86. font-size: 52rpx;
  87. width: 60rpx;
  88. height: 60rpx;
  89. text-align: center;
  90. line-height: 60rpx;
  91. }
  92. .text-light {
  93. font-weight: 300;
  94. }