index.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* nova-werun/pages/home/sport/sport-home/index.wxss */
  2. .all{
  3. width: 100vw;
  4. padding-left: 40rpx;
  5. padding-right: 40rpx;
  6. padding-top: 20rpx;
  7. background: linear-gradient(to bottom, #4F9AF7, #FFFFFF); /* 竖直渐变 */
  8. .tab-bar {
  9. display: flex;
  10. justify-content: space-around;
  11. }
  12. .tab-item {
  13. padding: 10rpx 0;
  14. text-align: center;
  15. position: relative;
  16. color: black;
  17. font-size: 32rpx;
  18. }
  19. .tab-item.active {
  20. position: relative;
  21. color: #0178EE;
  22. font-size: 32rpx;
  23. font-family: 'NotoSans-Bold-5', sans-serif;
  24. }
  25. .tab-item.active::after {
  26. content: "";
  27. width: 64rpx;
  28. position: absolute;
  29. left: calc(50% - 32rpx);
  30. right: calc(50% - 32rpx);
  31. bottom: 0;
  32. height: 2rpx;
  33. background-color: #0178EE;
  34. border-radius: 4rpx;
  35. }
  36. .textbox{
  37. width: 100%;
  38. height: 80rpx;
  39. border-radius: 40rpx;
  40. border: solid black 1px;
  41. display: flex;
  42. align-items: center;
  43. margin-top: 40rpx;
  44. background-color: white;
  45. .text{
  46. font-size: 30rpx;
  47. margin-left: 20rpx;
  48. }
  49. .number{
  50. font-size: 32rpx;
  51. margin-left: auto;
  52. margin-right: 20rpx;
  53. }
  54. }
  55. .mapbox{
  56. width: 100%;
  57. height: 1100rpx;
  58. border-radius: 15rpx;
  59. position: relative;
  60. margin-top: 30rpx;
  61. margin-bottom: 40rpx;
  62. .map{
  63. width: 100%;
  64. height: 100%;
  65. border-radius: 15rpx;
  66. overflow: hidden;
  67. }
  68. .button{
  69. width: 150rpx;
  70. height: 150rpx;
  71. border-radius: 50%;
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. font-size: 40rpx;
  76. background-color: #4F9AF7;
  77. color: white;
  78. position: absolute;
  79. left: 38%;
  80. bottom: 100rpx;
  81. }
  82. }
  83. }