order.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. .order {
  2. width: #{750rpx};
  3. position: absolute;
  4. top: 0;
  5. left: 0;
  6. height: 100%;
  7. background-color: #f7f7f7;
  8. .header {
  9. height: #{88rpx};
  10. width: 100%;
  11. position: fixed;
  12. top: 0;
  13. left: 0;
  14. z-index: 1000;
  15. background-color: white;
  16. border-bottom: #{1rpx} solid #e2e2e2;
  17. .header-item {
  18. line-height: #{88rpx};
  19. text-align: center;
  20. text {
  21. display: inline-block;
  22. height: #{87rpx};
  23. line-height: #{86rpx};
  24. font-size: #{32rpx};
  25. color: #666666;
  26. border-bottom-width: #{2rpx};
  27. border-bottom-style: solid;
  28. border-bottom-color:transparent;
  29. }
  30. .active-item {
  31. color: #ff5c5c;
  32. border-bottom-color: #ff5c5c;
  33. }
  34. }
  35. }
  36. .product-list {
  37. margin-top: #{80rpx};
  38. padding-top: #{20rpx};
  39. .product {
  40. width: 100%;
  41. background-color: white;
  42. margin-bottom: #{20rpx};
  43. .top {
  44. padding: #{24rpx};
  45. height: #{248rpx};
  46. .image-content {
  47. width: #{200rpx};
  48. height: #{200rpx};
  49. position: relative;
  50. >image {
  51. width: #{200rpx};
  52. height: #{200rpx};
  53. border-radius: #{8rpx};
  54. }
  55. .tip-angle {
  56. position: absolute;
  57. top: 0;
  58. left: 0;
  59. background-color: #ff6868;
  60. color: white;
  61. font-size: #{26rpx};
  62. border-top-left-radius: #{8rpx};
  63. line-height: #{48rpx};
  64. height: #{48rpx};
  65. width: #{100rpx};
  66. text-align: center;
  67. }
  68. }
  69. .text-content {
  70. width: #{750-24-200-24-24rpx};
  71. height: #{200rpx};
  72. .text-top {
  73. margin-top: #{8rpx};
  74. .name {
  75. font-size: #{28rpx};
  76. color: #353535;
  77. word-break: break-all;
  78. text-overflow: ellipsis;
  79. display: -webkit-box;
  80. -webkit-box-orient: vertical;
  81. -webkit-line-clamp: 2;
  82. overflow: hidden;
  83. }
  84. .attr {
  85. font-size: #{24rpx};
  86. color: #999999;
  87. margin-top: #{20rpx};
  88. }
  89. }
  90. .text-bottom {
  91. margin-bottom: #{8rpx};
  92. .original-price {
  93. text-decoration:line-through;
  94. font-size: #{26rpx};
  95. color: #999999;
  96. margin-right: #{24rpx};
  97. }
  98. .current-price {
  99. font-size: #{32rpx};
  100. color: #ff4544;
  101. }
  102. }
  103. }
  104. }
  105. .bottom {
  106. padding: 0 #{24rpx};
  107. height: #{100rpx};
  108. border-top: #{1rpx} solid #e2e2e2;
  109. .but {
  110. height: #{60rpx};
  111. border-radius: #{30rpx};
  112. border-style: solid;
  113. border-width: #{1rpx};
  114. font-size: #{32rpx};
  115. line-height: #{60rpx};
  116. text-align: center;
  117. padding: 0 #{32rpx};
  118. }
  119. .no {
  120. color: #666666;
  121. border-color: #cdcdcd;
  122. background-color: white;
  123. margin-right: #{16rpx};
  124. }
  125. .ok {
  126. background-color: #fff5f5;
  127. color: #ff4544;
  128. border-color: #ff4544;
  129. }
  130. }
  131. }
  132. }
  133. .model {
  134. position: fixed;
  135. top: 0;
  136. left: 0;
  137. z-index: 1000;
  138. width: 100%;
  139. height: 100%;
  140. background-color: rgba(0,0,0,.3);
  141. .model-content {
  142. width: #{620rpx};
  143. border-radius: #{15rpx};
  144. background-color: white;
  145. text-align: center;
  146. padding-top: #{20rpx};
  147. position: absolute;
  148. top: 50%;
  149. left: 50%;
  150. transform: translate(-50%, -50%);
  151. .model-header {
  152. font-size: #{32rpx};
  153. color: #353535;
  154. margin: #{64rpx 0};
  155. }
  156. .model-title-top {
  157. font-size: #{32rpx};
  158. text-align: center;
  159. margin: #{20rpx 0 0rpx 0} ;
  160. color: #353535;
  161. }
  162. .model-bottom {
  163. border-top: #{1rpx} solid #e2e2e2;
  164. .model-but {
  165. width: #{309rpx};
  166. height: #{88rpx};
  167. line-height: #{88rpx};
  168. }
  169. .model-line {
  170. width: #{2rpx};
  171. height: #{32rpx};
  172. background-color: #e2e2e2;
  173. }
  174. }
  175. }
  176. .model-use {
  177. background-color: white;
  178. width: #{600rpx};
  179. box-sizing: border-box;
  180. border-radius: #{8rpx};
  181. margin: #{20rpx} 0;
  182. position: absolute;
  183. top: 50%;
  184. left: 50%;
  185. transform: translate(-50%, -50%);
  186. z-index: 1700;
  187. .image {
  188. width: #{30rpx};
  189. height: #{30rpx};
  190. position: absolute;
  191. right: #{32rpx};
  192. top: #{32rpx};
  193. background-size: 100% 100%;
  194. background-repeat: no-repeat;
  195. background-image: url("../../../static/image/icon/close.png");
  196. }
  197. .model-title {
  198. font-size: #{32rpx};
  199. margin-top: #{56rpx};
  200. margin-bottom: #{64rpx};
  201. text-align: center;
  202. }
  203. .model-image {
  204. width: #{360rpx};
  205. height: #{360rpx};
  206. margin: #{0 120rpx 86rpx 120rpx};
  207. }
  208. }
  209. }
  210. }