common.scss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. @mixin zj-card {
  2. background: #FFFFFF;
  3. border-radius: 20rpx;
  4. box-shadow: -10rpx 12rpx 96rpx 2rpx rgba(31, 36, 99, 0.1);
  5. overflow: hidden;
  6. position: relative;
  7. }
  8. .footer-btn-group {
  9. padding: 25rpx 30rpx;
  10. display: flex;
  11. align-items: center;
  12. ::v-deep .u-button {
  13. flex-shrink: 0;
  14. font-size: 32rpx;
  15. margin-right: 30rpx;
  16. border-radius: 20rpx !important;
  17. &:first-child {
  18. flex: 1;
  19. }
  20. &:last-child {
  21. width: 400rpx !important;
  22. margin-right: 0;
  23. }
  24. }
  25. }
  26. .common-goods-list {
  27. .item {
  28. margin-top: 30rpx;
  29. background: #ffffff;
  30. padding: 20rpx 30rpx;
  31. position: relative;
  32. .soldout {
  33. position: absolute;
  34. right: 120rpx;
  35. top: 50rpx;
  36. image {
  37. width: 120rpx;
  38. }
  39. }
  40. .top {
  41. display: flex;
  42. align-items: center;
  43. image {
  44. width: 80rpx;
  45. height: 80rpx;
  46. border-radius: 50%;
  47. flex-shrink: 0;
  48. }
  49. .user {
  50. margin-left: 20rpx;
  51. flex: 1;
  52. .name {
  53. font-size: 28rpx;
  54. }
  55. .time {
  56. color: $sec-font;
  57. font-size: 24rpx;
  58. margin-top: 8rpx;
  59. }
  60. }
  61. .price {
  62. color: $assist-color;
  63. font-weight: 500;
  64. }
  65. }
  66. .title {
  67. font-weight: 500;
  68. margin-top: 20rpx;
  69. }
  70. .des {
  71. margin-top: 20rpx;
  72. font-size: 28rpx;
  73. color: $reg-font;
  74. }
  75. .imgs {
  76. display: flex;
  77. flex-wrap: wrap;
  78. image {
  79. width: 140rpx;
  80. height: 140rpx;
  81. margin-right: 20rpx;
  82. margin-top: 20rpx;
  83. &:nth-child(4n) {
  84. margin-right: 0;
  85. }
  86. }
  87. }
  88. .bottom {
  89. border-top: 1px solid #eaeaea;
  90. margin-top: 20rpx;
  91. padding-top: 20rpx;
  92. display: flex;
  93. align-items: center;
  94. justify-content: space-between;
  95. .left-location {
  96. font-size: 28rpx;
  97. color: $sec-font;
  98. display: flex;
  99. align-items: center;
  100. .iconfont {
  101. margin-right: 4rpx;
  102. }
  103. }
  104. .right-btn {
  105. .u-button {
  106. height: 60rpx;
  107. }
  108. }
  109. .right-stats {
  110. display: flex;
  111. align-items: center;
  112. .it {
  113. display: flex;
  114. align-items: center;
  115. margin-left: 30rpx;
  116. .iconfont {
  117. font-size: 32rpx;
  118. color: $sec-font;
  119. }
  120. .text {
  121. font-size: 28rpx;
  122. margin-left: 6rpx;
  123. color: $sec-font;
  124. }
  125. }
  126. }
  127. }
  128. }
  129. }
  130. .common-order-list {
  131. .item {
  132. margin-top: 30rpx;
  133. background: #ffffff;
  134. padding: 20rpx 30rpx;
  135. .top {
  136. display: flex;
  137. align-items: center;
  138. image {
  139. width: 80rpx;
  140. height: 80rpx;
  141. border-radius: 50%;
  142. flex-shrink: 0;
  143. }
  144. .user {
  145. margin-left: 20rpx;
  146. flex: 1;
  147. display: flex;
  148. flex-direction: column;
  149. justify-content: center;
  150. .name {
  151. font-size: 28rpx;
  152. }
  153. .time {
  154. color: $sec-font;
  155. font-size: 24rpx;
  156. margin-top: 8rpx;
  157. }
  158. }
  159. .status {
  160. color: $theme-color;
  161. font-size: 28rpx;
  162. }
  163. }
  164. .goods {
  165. display: flex;
  166. padding: 30rpx 0;
  167. image {
  168. width: 120rpx;
  169. height: 120rpx;
  170. }
  171. .main {
  172. flex: 1;
  173. margin-left: 20rpx;
  174. .name {
  175. font-weight: 500;
  176. font-size: 32rpx;
  177. text {
  178. font-size: 28rpx;
  179. color: $sec-font;
  180. font-weight: normal;
  181. margin-left: 12rpx;
  182. }
  183. }
  184. .des {
  185. margin-top: 12rpx;
  186. font-size: 28rpx;
  187. color: $reg-font;
  188. }
  189. .price {
  190. margin-top: 12rpx;
  191. color: $assist-color;
  192. font-weight: 500;
  193. font-size: 32rpx;
  194. }
  195. }
  196. }
  197. .info {
  198. border-top: 1px solid #eaeaea;
  199. padding: 10rpx 0;
  200. .row {
  201. display: flex;
  202. align-items: center;
  203. margin: 10rpx 0;
  204. .label {
  205. font-size: 28rpx;
  206. color: $sec-font;
  207. margin-right: 20rpx;
  208. }
  209. .value {
  210. font-size: 28rpx;
  211. }
  212. .price {
  213. color: $assist-color;
  214. font-weight: 500;
  215. }
  216. }
  217. }
  218. .bottom {
  219. border-top: 1px solid #eaeaea;
  220. padding-top: 20rpx;
  221. display: flex;
  222. align-items: center;
  223. justify-content: space-between;
  224. .left-location {
  225. font-size: 28rpx;
  226. color: $sec-font;
  227. display: flex;
  228. align-items: center;
  229. .iconfont {
  230. margin-right: 4rpx;
  231. }
  232. }
  233. .left-buyer {
  234. display: flex;
  235. align-items: center;
  236. image {
  237. width: 40rpx;
  238. height: 40rpx;
  239. border-radius: 50%;
  240. }
  241. .name {
  242. font-size: 28rpx;
  243. margin-left: 12rpx;
  244. }
  245. .text {
  246. color: $sec-font;
  247. font-size: 28rpx;
  248. margin-left: 16rpx;
  249. }
  250. }
  251. .right-btn {
  252. display: flex;
  253. .u-button {
  254. height: 60rpx;
  255. margin-left: 12rpx;
  256. }
  257. }
  258. }
  259. }
  260. }