style.less 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .gj-card {
  2. font-size: 28rpx;
  3. padding: 0 30rpx;
  4. background: #FFFFFF;
  5. border-radius: 12rpx;
  6. margin-top: 30px;
  7. &-body {
  8. padding-top: 30rpx;
  9. display: flex;
  10. &-media {
  11. width: 210rpx;
  12. height: 294rpx;
  13. flex: none;
  14. margin-right: 30rpx;
  15. position: relative;
  16. overflow: hidden;
  17. image {
  18. width: 100%;
  19. height: 100%;
  20. }
  21. }
  22. &-content {
  23. flex: auto;
  24. }
  25. }
  26. &-footer {
  27. padding-left: 30rpx;
  28. line-height: 90rpx;
  29. display: flex;
  30. align-items: center;
  31. view {
  32. flex: auto;
  33. }
  34. &-action {
  35. width: 150rpx;
  36. flex: none;
  37. }
  38. }
  39. }
  40. .gj-lr {
  41. display: flex;
  42. color: #333;
  43. font-size: 28rpx;
  44. line-height: 60rpx;
  45. &-left {
  46. width: 120rpx;
  47. flex: none;
  48. }
  49. &-right {
  50. flex: auto;
  51. }
  52. }
  53. .gj-btn {
  54. display: inline-block;
  55. padding: 0 30rpx;
  56. min-width: 65rpx;
  57. color: #F35844;
  58. font-size: 30rpx;
  59. line-height: 60rpx;
  60. text-align: center;
  61. border: 1px solid #F35844;
  62. border-radius: 30px;
  63. }
  64. .gj-stars {
  65. font-size: 36rpx;
  66. .gj-star-large {
  67. font-size: 64rpx;
  68. & + .gj-star-large {
  69. margin-left: 16rpx;
  70. }
  71. }
  72. }
  73. .gj-star {
  74. color: #333;
  75. display: inline-block;
  76. font-size: 0;
  77. white-space: nowrap;
  78. &.gj-star-active {
  79. color: #F35844;
  80. }
  81. & + .gj-star {
  82. margin-left: 8rpx;
  83. }
  84. }