金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

215 lines
4.6 KiB

  1. //拼团
  2. @import '../../common/css/global';
  3. .groupon-item-box {
  4. padding: 10px 15px;
  5. background: #ffffff;
  6. .title{
  7. padding: 10px 0px;
  8. display: flex;
  9. justify-content: space-between;
  10. color: #000;
  11. align-items: center;
  12. span:nth-child(1) {
  13. font-size: 22px;
  14. font-weight: bold;
  15. display: inline-block;
  16. //padding-left: 6px;
  17. //border-left: 4px solid #E7031C;
  18. }
  19. span:nth-child(2) {
  20. font-size: 12px;
  21. display: flex;
  22. align-items: center;
  23. text{
  24. font-size: 15px;
  25. font-weight: 700;
  26. margin-left: 5px;
  27. }
  28. }
  29. }
  30. .item {
  31. display: flex;
  32. /*align-items: center;*/
  33. padding: 10px 0;
  34. margin-bottom: 5px;
  35. background: #ffffff;
  36. overflow: hidden;
  37. .left {
  38. position: relative;
  39. width: 120px;
  40. .num {
  41. font-size: 12px;
  42. position: absolute;
  43. width: 100%;
  44. bottom: 0;
  45. background: @mainColor;
  46. opacity: .8;
  47. text-align: center;
  48. color: @countColor;
  49. }
  50. image {
  51. display: block;
  52. width: 100%;
  53. }
  54. .img-box {
  55. display: flex;
  56. align-items: center;
  57. margin-top: 10px;
  58. box-sizing: border-box;
  59. justify-content: space-between;
  60. image {
  61. width: 47%;
  62. }
  63. }
  64. }
  65. .right {
  66. display: flex;
  67. flex-direction: column;
  68. justify-content: space-between;
  69. font-size: 14px;
  70. margin-left: 12px;
  71. flex: 1;
  72. .price-box {
  73. .old-price {
  74. font-size: 12px;
  75. color: #9B9B9B;
  76. text-decoration: line-through;
  77. }
  78. .marketing-time-box{
  79. width: 100%;
  80. height: 100%;
  81. font-size: 14px;
  82. //兼容首页样式
  83. &.index{
  84. font-size: 12px;
  85. }
  86. /*.seckill-item{
  87. text-align: right;
  88. .no-starts{
  89. display: none;
  90. }
  91. .text{
  92. display: inline-block;
  93. margin: 2px 5px;
  94. }
  95. .tiem{
  96. display: inline-block;
  97. }
  98. .num-item{
  99. display: inline-block;
  100. background: #FFFFFF;
  101. color: #fe4545;
  102. text-align: center;
  103. width: 26px;
  104. border-radius: 3px;
  105. }
  106. .zero{
  107. display: inline-block;
  108. }
  109. .time-out{
  110. display: flex;
  111. align-items: center;
  112. justify-content: space-between;
  113. flex: 1;
  114. .tiem{
  115. color: #ffffff;
  116. span{
  117. color: @countColor;
  118. }
  119. }
  120. }
  121. i{
  122. display: none;
  123. }
  124. }
  125. .seckill {
  126. &.seckill-item{
  127. .tiem{
  128. color: @countColor;
  129. span{
  130. background: @mainColor;
  131. color: @countColor;
  132. }
  133. }
  134. }
  135. .text{
  136. color: @countColor;
  137. }
  138. }*/
  139. .seckill-item {
  140. text-align: right;
  141. color: @countColor;
  142. .time-out {
  143. display: flex;
  144. align-items: center;
  145. justify-content: space-between;
  146. .num-item {
  147. display: inline-block;
  148. text-align: center;
  149. width: 26px;
  150. border-radius: 3px;
  151. background:#FB5054;
  152. }
  153. }
  154. }
  155. }
  156. .seckill-time-box {
  157. .seckill-item {
  158. text-align: left;
  159. .time-out {
  160. color: #000 !important;
  161. display: block;
  162. }
  163. .tiem{
  164. color: #000;
  165. margin: 5px 0;
  166. }
  167. i{
  168. display: none;
  169. }
  170. .my-class{
  171. margin: 5px 0;
  172. color: #EA4448;
  173. }
  174. }
  175. }
  176. .meal-price {
  177. display: flex;
  178. align-items: flex-end;
  179. .price {
  180. flex: 1;
  181. color: #FF2741;
  182. span {
  183. color: #4A4A4A;
  184. }
  185. }
  186. .btn {
  187. color: #ffffff;
  188. background: @mainColor;
  189. padding: 5px 10px;
  190. border-radius: 4px;
  191. ._span {
  192. display: flex;
  193. align-items: center;
  194. }
  195. i {
  196. font-size: 12px;
  197. }
  198. &.no-start {
  199. background: #26a96d;
  200. }
  201. }
  202. }
  203. }
  204. }
  205. }
  206. }