index.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /* nova-tourism/pages/my/my-card/index.wxss */
  2. .all {
  3. width: 100vw;
  4. padding-left: 42rpx;
  5. overflow-y: scroll;
  6. font-family: 'NotoSans-Bold-5', sans-serif;
  7. color: #382E2E;
  8. font-weight: 400;
  9. //选中
  10. @font-face {
  11. font-family: 'NotoSans-Bold-5';
  12. src: url('../../styles/font/Noto-sans/NotoSans-Bold-5.ttf'); /* 字体文件路径 */
  13. }
  14. //为选中
  15. @font-face {
  16. font-family: 'NotoSans-Regular-2';
  17. src: url('../../styles/font/Noto-sans/NotoSans-Regular-2.ttf'); /* 字体文件路径 */
  18. }
  19. .tab-bar {
  20. display: flex;
  21. justify-content: space-around;
  22. margin-top: 28rpx;
  23. font-family: 'NotoSans-Regular-2', sans-serif;
  24. }
  25. .tab-item {
  26. padding: 10rpx 0;
  27. text-align: center;
  28. position: relative;
  29. color: #969696;
  30. font-size: 28rpx;
  31. font-weight: 400;
  32. }
  33. .tab-item.active {
  34. position: relative;
  35. color: #67806A;
  36. font-size: 32rpx;
  37. font-weight: 500;
  38. font-family: 'NotoSans-Bold-5', sans-serif;
  39. }
  40. .tab-item.active::after {
  41. content: "";
  42. width: 64rpx;
  43. position: absolute;
  44. left: calc(50% - 32rpx);
  45. right: calc(50% - 32rpx);
  46. bottom: 0;
  47. height: 6rpx;
  48. background-color: #67806A;
  49. border-radius: 4rpx;
  50. }
  51. .cardbox{
  52. width: 100%;
  53. margin-top: 30rpx;
  54. .picbox{
  55. width: 100%;
  56. height: 80rpx;
  57. display: flex;
  58. align-items: center;
  59. .image{
  60. width: 56rpx;
  61. height: 56rpx;
  62. }
  63. .tex{
  64. font-size: 28rpx;
  65. margin-left: 30rpx;
  66. font-weight: 500;
  67. }
  68. }
  69. .card{
  70. width: 584rpx;
  71. height: 148rpx;
  72. margin-left: 74rpx;
  73. background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241122/d6k1uh050505973.png);
  74. background-position: center; /* 背景图片居中 */
  75. background-size: cover; /* 背景图片覆盖整个元素 */
  76. background-repeat: no-repeat; /* 不重复背景图片 */
  77. display: flex;
  78. align-items: center;
  79. margin-bottom: 20rpx;
  80. .car{
  81. width: 584rpx;
  82. height: 148rpx;
  83. display: flex;
  84. align-items: center;
  85. .numbox{
  86. width: 150rpx;
  87. display: flex;
  88. justify-content: center;
  89. align-items: flex-end;
  90. .num{
  91. font-size: 48rpx;
  92. color: #F73C2C ;
  93. }
  94. .num-tex{
  95. font-size: 24rpx;
  96. color: #F73C2C;
  97. margin-bottom: 6rpx;
  98. margin-left: 4rpx;
  99. font-weight: 500;
  100. }
  101. }
  102. .textbox{
  103. height: 80rpx;
  104. margin-left: 40rpx;
  105. .text1{
  106. font-size: 24rpx;
  107. }
  108. .text2{
  109. font-size: 20rpx;
  110. margin-top: 6rpx;
  111. color: #A9A398;
  112. }
  113. }
  114. .bottom{
  115. width: 146rpx;
  116. height: 48rpx;
  117. border-radius: 15rpx;
  118. display: flex;
  119. justify-content: center;
  120. align-items: center;
  121. margin-left: 20rpx;
  122. color: white;
  123. background-color: #F1A561;
  124. font-size: 24rpx;
  125. }
  126. }
  127. }
  128. }
  129. }