card.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* components/card/card.wxss */
  2. .card-container {
  3. margin-bottom: 20rpx;
  4. box-shadow: 0px 0px 12rpx 0px rgba(0, 0, 0, 0.1);
  5. border-radius: 12rpx;
  6. overflow: hidden;
  7. .t-button {
  8. font-size: 20rpx !important;
  9. }
  10. }
  11. .card-image {
  12. min-height: 240px;
  13. }
  14. .card-info {
  15. padding: 20rpx;
  16. display: flex;
  17. justify-content: space-between;
  18. align-items: center;
  19. .title {
  20. display: flex;
  21. flex-direction: column;
  22. flex-wrap: nowrap;
  23. .hero {
  24. font-size: 28rpx;
  25. font-family: PingFangSC-Medium, PingFang SC;
  26. font-weight: 500;
  27. color: #333333;
  28. line-height: 40rpx;
  29. margin-bottom: 6rpx;
  30. }
  31. .note {
  32. font-size: 22rpx;
  33. font-family: PingFangSC-Regular, PingFang SC;
  34. font-weight: 400;
  35. color: #666666;
  36. line-height: 32rpx;
  37. }
  38. }
  39. }
  40. .card-btn {
  41. width: 144rpx;
  42. height: 60rpx;
  43. line-height: 60rpx;
  44. background-color: #FFFFFF;
  45. border-radius: 30rpx;
  46. border: 1px solid #ED5D18;
  47. color: #ED5D18;
  48. font-size: 22rpx;
  49. padding: 0;
  50. &.active {
  51. background-color: #ED5D18;
  52. color: #fff;
  53. }
  54. }