index.less 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /* nova-tourism/pages/my/my-card/index.wxss */
  2. .all {
  3. width: 100vw;
  4. padding-left: 30rpx;
  5. padding-right: 30rpx;
  6. overflow-y: scroll;
  7. .cardbox{
  8. width: 100%;
  9. margin-top: 30rpx;
  10. .picbox{
  11. width: 100%;
  12. height: 80rpx;
  13. display: flex;
  14. align-items: center;
  15. .image{
  16. width: 56rpx;
  17. height: 56rpx;
  18. }
  19. .tex{
  20. font-size: 32rpx;
  21. margin-left: 20rpx;
  22. }
  23. }
  24. .card{
  25. height: 160rpx;
  26. margin-left: 74rpx;
  27. background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241122/d6k1uh050505973.png);
  28. background-position: center; /* 背景图片居中 */
  29. background-size: cover; /* 背景图片覆盖整个元素 */
  30. background-repeat: no-repeat; /* 不重复背景图片 */
  31. display: flex;
  32. align-items: center;
  33. margin-bottom: 20rpx;
  34. .car{
  35. height: 160rpx;
  36. display: flex;
  37. align-items: center;
  38. .numbox{
  39. width: 150rpx;
  40. display: flex;
  41. justify-content: center;
  42. align-items: flex-end;
  43. .num{
  44. font-size: 50rpx;
  45. color: #F73C2C ;
  46. }
  47. .num-tex{
  48. font-size: 28rpx;
  49. color: #F73C2C;
  50. margin-bottom: 6rpx;
  51. margin-left: 4rpx;
  52. }
  53. }
  54. .textbox{
  55. height: 80rpx;
  56. margin-left: 40rpx;
  57. .text1{
  58. font-size: 26rpx;
  59. }
  60. .text2{
  61. font-size: 24rpx;
  62. margin-top: 6rpx;
  63. color: #A9A398;
  64. }
  65. }
  66. .bottom{
  67. width: 120rpx;
  68. height: 50rpx;
  69. border-radius: 32rpx;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. margin-left: 20rpx;
  74. color: white;
  75. background-color: #F1A561;
  76. font-size: 26rpx;
  77. }
  78. }
  79. }
  80. }
  81. }