index.less 4.0 KB

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