coupon.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .sld_my_coupon {
  2. width: 1007px;
  3. margin-left: 10px;
  4. float: left;
  5. .my_coupon_con {
  6. border: 1px solid #eeeeee;
  7. background: #ffffff;
  8. .nav_list {
  9. background-color: white;
  10. .con {
  11. border-bottom: 1px solid#EEEEEE;
  12. height: 42px;
  13. .nav_item {
  14. width: 145px;
  15. height: 42px;
  16. line-height: 42px;
  17. text-align: center;
  18. color: #444444;
  19. font-size: 14px;
  20. border: 1px solid #eeeeee;
  21. border-bottom: none;
  22. border-top: none;
  23. &:not(:first-child) {
  24. border-left: none;
  25. }
  26. &.active {
  27. color: $colorMain2;
  28. border: none;
  29. border-right: 1px solid #eeeeee;
  30. background: #ffffff;
  31. font-weight: 600;
  32. }
  33. &:hover {
  34. color: $colorMain2;
  35. }
  36. }
  37. }
  38. }
  39. .coupon_container {
  40. width: 100%;
  41. flex-wrap: wrap;
  42. .coupon_item {
  43. width: 228px;
  44. height: 268px;
  45. background-size: cover;
  46. position: relative;
  47. text-align: center;
  48. padding-top: 22px;
  49. margin: 20px 10px 0px 12px;
  50. .out_logo {
  51. width: 86px;
  52. height: 64px;
  53. position: absolute;
  54. top: 0;
  55. left: 0;
  56. }
  57. .price {
  58. color: white;
  59. line-height: 1;
  60. span:nth-child(1) {
  61. font-size: 18px;
  62. }
  63. span:nth-child(2) {
  64. font-size: 36px;
  65. }
  66. span:nth-child(3) {
  67. font-size: 25px;
  68. }
  69. }
  70. .content {
  71. margin-top: 16px;
  72. font-size: 14px;
  73. color: white;
  74. line-height: 1;
  75. }
  76. .time {
  77. margin-top: 13px;
  78. color: white;
  79. line-height: 1;
  80. }
  81. .type {
  82. margin-top: 31px;
  83. color: $colorMain;
  84. font-size: 14px;
  85. text-align: left;
  86. padding-left: 14px;
  87. &.used {
  88. color: #878787;
  89. }
  90. }
  91. .rules {
  92. color: #333333;
  93. width: 205px;
  94. text-align: left;
  95. padding-left: 14px;
  96. height: 30px;
  97. margin-top: 20px;
  98. line-height: 14px;
  99. .title {
  100. color: #999999;
  101. }
  102. }
  103. .btn {
  104. color: #878787;
  105. .normal {
  106. color: $colorMain2;
  107. }
  108. position: absolute;
  109. bottom: 17px;
  110. width: 100%;
  111. }
  112. }
  113. }
  114. .el-pagination {
  115. margin: 20px;
  116. }
  117. }
  118. }