index.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. page {
  2. background: #e9e9e9;
  3. .infomation {
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. padding-bottom: 10rpx;
  8. margin: 0 30rpx;
  9. margin-top: 20rpx;
  10. border-radius: 10rpx;
  11. border-top: 4rpx solid #333;
  12. background: #fff;
  13. box-shadow: 0 5rpx 10rpx rgb(0 0 0 / 50%);
  14. .title {
  15. width: 100%;
  16. height: 60rpx;
  17. line-height: 60rpx;
  18. text-align: center;
  19. color: #fff;
  20. background: #46a9a4;
  21. }
  22. .name,
  23. .mobile,
  24. .address {
  25. display: flex;
  26. align-items: center;
  27. width: 100%;
  28. .key {
  29. width: 200rpx;
  30. height: 80rpx;
  31. margin-left: 30rpx;
  32. text-align: center;
  33. line-height: 80rpx;
  34. border-bottom: 1rpx solid #f6f6f6;
  35. }
  36. .value {
  37. flex: 1;
  38. height: 80rpx;
  39. margin-right: 30rpx;
  40. border-bottom: 1rpx solid #f6f6f6;
  41. .ipt {
  42. width: 100%;
  43. height: 100%;
  44. border: none;
  45. outline: none;
  46. }
  47. }
  48. }
  49. }
  50. .goodsList {
  51. position: relative;
  52. margin: 0 30rpx;
  53. margin-top: 20rpx;
  54. padding: 15rpx;
  55. border-radius: 10rpx;
  56. border-top: 5rpx solid #333;
  57. background: #fff;
  58. box-shadow: 0 5rpx 10rpx rgb(0 0 0 / 50%);
  59. overflow: hidden;
  60. .status {
  61. position: absolute;
  62. top: -2rpx;
  63. right: -2rpx;
  64. padding: 5rpx 20rpx;
  65. color: #fff;
  66. font-size: 28rpx;
  67. border-radius: 0 0 0 15rpx;
  68. background: #46a9a4;
  69. }
  70. .store {
  71. display: flex;
  72. align-items: center;
  73. height: 80rpx;
  74. padding-left: 10rpx;
  75. border-bottom: 1rpx solid #e9e9e9;
  76. .img {
  77. width: 64rpx;
  78. height: 64rpx;
  79. border-radius: 50%;
  80. overflow: hidden;
  81. image {
  82. width: 100%;
  83. height: 100%;
  84. }
  85. }
  86. .storeName {
  87. margin-left: 20rpx;
  88. color: #222;
  89. }
  90. }
  91. .goods {
  92. display: flex;
  93. align-items: center;
  94. padding: 10rpx;
  95. border-bottom: 1rpx solid #f6f6f6;
  96. .img {
  97. width: 128rpx;
  98. height: 128rpx;
  99. image {
  100. width: 100%;
  101. height: 100%;
  102. }
  103. }
  104. .info {
  105. flex: 1;
  106. display: flex;
  107. flex-direction: column;
  108. justify-content: space-around;
  109. margin: 0 15rpx;
  110. .name {
  111. font-weight: bold;
  112. color: #000;
  113. }
  114. .desc {
  115. color: #999;
  116. font-size: 26rpx;
  117. }
  118. }
  119. .data {
  120. display: flex;
  121. flex-direction: column;
  122. justify-content: space-around;
  123. align-items: center;
  124. font-size: 26rpx;
  125. .price {
  126. font-weight: bold;
  127. color: #000;
  128. }
  129. .originalPrice {
  130. text-decoration: line-through;
  131. color: #999;
  132. }
  133. .count {
  134. color: #222;
  135. }
  136. }
  137. }
  138. .totalPrice {
  139. display: flex;
  140. justify-content: space-between;
  141. align-items: center;
  142. height: 60rpx;
  143. border-top: 1rpx solid #e9e9e9;
  144. .value {
  145. color: #000;
  146. font-weight: bold;
  147. }
  148. }
  149. .refund {
  150. height: 80rpx;
  151. margin: 0 30rpx;
  152. margin-top: 20rpx;
  153. color: #fff;
  154. text-align: center;
  155. line-height: 80rpx;
  156. border-radius: 10rpx;
  157. background: #fe4a4a;
  158. box-shadow: 0 5rpx 10rpx rgb(0 0 0 / 50%);
  159. }
  160. .active {
  161. background: #cc4040;
  162. }
  163. }
  164. .purchase {
  165. position: absolute;
  166. bottom: 30rpx;
  167. left: 30rpx;
  168. display: flex;
  169. align-items: center;
  170. width: calc(100% - 60rpx);
  171. height: 90rpx;
  172. border-radius: 60rpx;
  173. border: 6rpx solid #fff;
  174. box-sizing: border-box;
  175. background: #46a9a4;
  176. box-shadow: 0 5rpx 10rpx rgb(0 0 0 / 50%);
  177. overflow: hidden;
  178. .totalPrice {
  179. flex: 1;
  180. height: 90rpx;
  181. padding-left: 30rpx;
  182. line-height: 90rpx;
  183. color: #fff;
  184. }
  185. .pay {
  186. width: 200rpx;
  187. height: 90rpx;
  188. text-align: center;
  189. color: #fff;
  190. font-weight: bold;
  191. line-height: 90rpx;
  192. border-radius: 60rpx;
  193. background: #f14747;
  194. box-shadow: -10rpx 0 25rpx rgb(70 169 164);
  195. }
  196. }
  197. }