index.less 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. html,
  2. body {
  3. margin: 0;
  4. border: none;
  5. padding: 0;
  6. }
  7. .asd {
  8. font-size: 100px;
  9. }
  10. .container {
  11. width: 100%;
  12. height: 100%;
  13. background: #eee;
  14. .product-box {
  15. width: 100%;
  16. background: #fff;
  17. margin-bottom: .4rem;
  18. .product-title {
  19. width: 100%;
  20. height: 1.4rem;
  21. line-height: 1.4rem;
  22. color: #a8674d;
  23. font-size: .4rem;
  24. text-align: center;
  25. }
  26. .product-list {
  27. width: 100%;
  28. padding-bottom: .5rem;
  29. .item {
  30. width: 6.48rem;
  31. height: 1.06rem;
  32. border-radius: .53rem;
  33. background: #fff;
  34. border: .02rem solid rgb(168, 103, 77);
  35. color: #a8674d;
  36. box-sizing: border-box;
  37. display: flex;
  38. flex-direction: row;
  39. align-items: center;
  40. justify-content: space-around;
  41. margin: 0 auto .4rem;
  42. &.focus {
  43. background: #f5880d;
  44. border: none;
  45. color: #fff;
  46. }
  47. .time {
  48. font-size: .36rem;
  49. }
  50. .price {
  51. font-size: .4rem;
  52. }
  53. .origin-price {
  54. font-size: .28rem;
  55. }
  56. }
  57. }
  58. }
  59. .pay-way {
  60. width: 100%;
  61. background: #fff;
  62. .pay-title {
  63. width: 6.82rem;
  64. height: 1.05rem;
  65. border-bottom: .02rem solid #e4e4e4;
  66. text-align: center;
  67. margin: 0 auto;
  68. line-height: 1.05rem;
  69. color: #191919;
  70. font-size: .32rem;
  71. }
  72. .pay-item {
  73. width: 6.82rem;
  74. height: 1rem;
  75. border-bottom: .02rem solid #e4e4e4;
  76. margin: 0 auto;
  77. display: flex;
  78. align-items: center;
  79. justify-content: space-between;
  80. .left-box {
  81. display: flex;
  82. align-items: center;
  83. .wx-img {
  84. width: 0.58rem;
  85. height: 0.5rem;
  86. }
  87. .zfb-img {
  88. width: 0.56rem;
  89. height: 0.56rem;
  90. }
  91. .pay-name {
  92. color: #191919;
  93. margin-left: .34rem;
  94. font-size: .28rem;
  95. }
  96. }
  97. .pay-choose {
  98. float: right;
  99. width: 0.48rem;
  100. height: 0.48rem;
  101. background: url('./img/grey.png') no-repeat;
  102. background-size: 100%;
  103. &.choose {
  104. background: url('./img/choose.png') no-repeat;
  105. background-size: 100%;
  106. }
  107. }
  108. }
  109. }
  110. .footer {
  111. width: 100%;
  112. height: 1.2rem;
  113. position: fixed;
  114. left: 0;
  115. bottom: 0;
  116. display: flex;
  117. flex-direction: row;
  118. align-items: center;
  119. box-shadow: 0px -2px 8px 0px rgba(0, 0, 0, 0.18);
  120. .left {
  121. width: 59%;
  122. height: 100%;
  123. font-size: .32rem;
  124. color: #a8674d;
  125. text-indent: .5rem;
  126. display: flex;
  127. align-items: center;
  128. span {
  129. font-size: .4rem;
  130. text-indent: 0;
  131. }
  132. }
  133. .pay-btn {
  134. width: 41%;
  135. height: 100%;
  136. background: #f5880d;
  137. text-align: center;
  138. line-height: 100%;
  139. font-size: .4rem;
  140. color: #fff;
  141. display: flex;
  142. align-items: center;
  143. justify-content: center;
  144. }
  145. }
  146. }
  147. .buy-dialog {
  148. width: 100%;
  149. height: 100%;
  150. background: rgba(0, 0, 0, .8);
  151. display: none;
  152. justify-content: center;
  153. align-items: center;
  154. position: absolute;
  155. top: 0;
  156. .box {
  157. width: 5.5rem;
  158. height: 3.54rem;
  159. background: rgba(255, 255, 255, 1);
  160. border-radius: .2rem;
  161. .title {
  162. width: 100%;
  163. height: 0.56rem;
  164. color: #434343;
  165. font-size: .4rem;
  166. text-align: center;
  167. margin-top: .63rem;
  168. }
  169. .bottom {
  170. width: 100%;
  171. display: flex;
  172. align-items: center;
  173. justify-content: space-around;
  174. margin-top: .98rem;
  175. .yes {
  176. width: 2.51rem;
  177. height: .84rem;
  178. background: rgba(245, 136, 13, 1);
  179. border-radius: .47rem;
  180. display: flex;
  181. align-items: center;
  182. justify-content: center;
  183. color: #fff;
  184. font-size: .36rem;
  185. }
  186. .no {
  187. width: 2.51rem;
  188. height: .84rem;
  189. background: rgba(61, 173, 254, 1);
  190. border-radius: .47rem;
  191. display: flex;
  192. align-items: center;
  193. text-align: center;
  194. color: #fff;
  195. font-size: .36rem;
  196. justify-content: center;
  197. }
  198. }
  199. }
  200. }