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: bold;
  26. color: #333333;
  27. }
  28. .tag {
  29. margin-right: 15rpx;
  30. padding: 0 5rpx;
  31. border-radius: 5rpx;
  32. font-size: 19rpx;
  33. text-align: center;
  34. }
  35. .tag1 {
  36. background: #FFEEEC;
  37. border: 1rpx solid #FF4330;
  38. color: #FF4330;
  39. }
  40. .tag2 {
  41. background: #F7FFE6;
  42. border: 1rpx solid #8FC31F;
  43. color: #8FC31F;
  44. }
  45. .tag3 {
  46. background: #EEEEEE;
  47. border: 1rpx solid #BFBFBF;
  48. color: #BFBFBF;
  49. }
  50. .ivlist_title {
  51. display: flex;
  52. align-items: center;
  53. justify-content: start;
  54. }
  55. .ivlist_subt {
  56. font-size: 19rpx;
  57. color: #989898;
  58. display: flex;
  59. align-items: center;
  60. justify-content: start;
  61. margin-top: 10rpx;
  62. }
  63. .sub-value {
  64. flex: 1;
  65. font-size: 19rpx;
  66. color: #666;
  67. }
  68. .btn {
  69. width: 136rpx;
  70. height: 40rpx;
  71. box-shadow: 0 0 10rpx 0 rgba(255, 82, 61, 0.4);
  72. font-size: 24rpx;
  73. }
  74. .img-tag {
  75. position: absolute;
  76. left: 15rpx;
  77. bottom: 25rpx;
  78. background: #FFFFFF;
  79. border: 2rpx solid;
  80. border-image: linear-gradient(0deg, #FF4330, #FF7B60) 10rpx 10rpx;
  81. border-radius: 15rpx;
  82. font-size: 19rpx;
  83. color: #FF4330;
  84. padding: 0 5rpx;
  85. }