index.less 4.3 KB

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