recommand-card.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. @import '/miniprogram_npm/@vant/weapp/common/index.wxss';
  2. .container {
  3. position: relative;
  4. margin: 25rpx 0;
  5. }
  6. .card {
  7. height: 133rpx;
  8. margin: 0 40rpx 0 70rpx;
  9. padding: 25rpx 20rpx 25rpx 180rpx;
  10. background: #fff;
  11. border-radius: 10rpx;
  12. box-shadow: 0 0 10rpx 0rpx rgba(153, 153, 153, 0.21);
  13. display: flex;
  14. flex-direction: column;
  15. justify-content: space-between;
  16. }
  17. .card-img {
  18. position: absolute;
  19. left: 20rpx;
  20. top: 15rpx;
  21. }
  22. .card-title {
  23. width: 350rpx;
  24. font-size: 26rpx;
  25. font-weight: 600;
  26. color: #333333;
  27. }
  28. .tag {
  29. margin-right: 15rpx;
  30. padding: 0 5rpx;
  31. border-radius: 5rpx;
  32. font-size: 19rpx;
  33. font-weight: 400;
  34. text-align: center;
  35. }
  36. .tag1 {
  37. background: #FFEEEC;
  38. border: 1rpx solid #FF4330;
  39. color: #FF4330;
  40. }
  41. .tag2 {
  42. background: #F7FFE6;
  43. border: 1rpx solid #8FC31F;
  44. color: #8FC31F;
  45. }
  46. .tag3 {
  47. background: #EEEEEE;
  48. border: 1rpx solid #BFBFBF;
  49. color: #BFBFBF;
  50. }
  51. .ivlist_title {
  52. display: flex;
  53. align-items: center;
  54. justify-content: start;
  55. }
  56. .ivlist_subt {
  57. font-size: 19rpx;
  58. color: #989898;
  59. display: flex;
  60. align-items: center;
  61. justify-content: start;
  62. margin-top: 10rpx;
  63. }
  64. .sub-value {
  65. flex: 1;
  66. font-size: 19rpx;
  67. color: #666;
  68. }
  69. .btn {
  70. width: 136rpx;
  71. height: 40rpx;
  72. box-shadow: 0 0 10rpx 0 rgba(255, 82, 61, 0.4);
  73. font-size: 24rpx;
  74. font-weight: 400;
  75. }
  76. .img-tag {
  77. position: absolute;
  78. left: 15rpx;
  79. bottom: 25rpx;
  80. background: #FFFFFF;
  81. border: 2rpx solid;
  82. border-image: linear-gradient(0deg, #FF4330, #FF7B60) 10rpx 10rpx;
  83. border-radius: 15rpx;
  84. font-size: 19rpx;
  85. font-weight: 400;
  86. color: #FF4330;
  87. padding: 0 5rpx;
  88. }