integralOrderDetails.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .cont {
  27. width: 100%;
  28. position: relative;
  29. }
  30. .cont .bg {
  31. width: 100%;
  32. height: 10.9375rem;
  33. position: absolute;
  34. top: 0;
  35. left: 0;
  36. z-index: 1;
  37. background-color: #C39A58;
  38. background: linear-gradient(#C39A58, #E2C99E);
  39. border-radius: 0 0 3.125rem 3.125rem;
  40. }
  41. .cont .inner {
  42. position: relative;
  43. padding: 0.9375rem 0;
  44. width: 100%;
  45. height: 100%;
  46. z-index: 999;
  47. }
  48. .cont .inner .order-status {
  49. display: flex;
  50. align-items: center;
  51. justify-content: space-between;
  52. padding: 0 0.9375rem;
  53. }
  54. .cont .inner .order-status .inner {
  55. display: flex;
  56. align-items: center;
  57. }
  58. .cont .inner .order-status .inner .img-box {
  59. width: 3rem;
  60. height: 3rem;
  61. margin-right: 0.9375rem;
  62. }
  63. .cont .inner .order-status .inner .img-box uni-image {
  64. width: 100%;
  65. height: 100%;
  66. }
  67. .cont .inner .order-status .inner .status-box {
  68. height: 3rem;
  69. display: flex;
  70. flex-direction: column;
  71. justify-content: center;
  72. }
  73. .cont .inner .order-status .inner .status-box .status {
  74. font-size: 1.25rem;
  75. font-family: PingFang SC;
  76. font-weight: bold;
  77. color: #FFFFFF;
  78. line-height: 1;
  79. }
  80. .cont .inner .order-status .inner .status-box .desc {
  81. font-size: 0.8125rem;
  82. font-family: PingFang SC;
  83. font-weight: 500;
  84. color: #FFFFFF;
  85. line-height: 1;
  86. margin-top: 0.9375rem;
  87. }
  88. .cont .inner .order-placer {
  89. margin-top: 0.9375rem;
  90. padding: 0 0.625rem;
  91. }
  92. .cont .inner .order-placer .inner {
  93. box-sizing: border-box;
  94. border-radius: 0.5rem;
  95. height: 4.6875rem;
  96. padding: 1.25rem 0.9375rem;
  97. display: flex;
  98. align-items: center;
  99. background: #FFFFFF;
  100. }
  101. .cont .inner .order-placer .inner .location {
  102. width: 0.75rem;
  103. height: 0.84375rem;
  104. margin-right: 0.5625rem;
  105. flex-shrink: 0;
  106. }
  107. .cont .inner .order-placer .inner .info .name-phone {
  108. display: flex;
  109. align-items: center;
  110. }
  111. .cont .inner .order-placer .inner .info .name-phone .text {
  112. font-size: 0.875rem;
  113. font-family: PingFang SC;
  114. font-weight: bold;
  115. color: #333333;
  116. line-height: 1;
  117. margin-right: 0.625rem;
  118. }
  119. .cont .inner .order-placer .inner .info .name-phone .text:last-child {
  120. margin-right: 0;
  121. }
  122. .cont .inner .order-placer .inner .info .address {
  123. font-size: 0.8125rem;
  124. font-family: PingFang SC;
  125. font-weight: 500;
  126. color: #999999;
  127. line-height: 1.3;
  128. margin-top: 0.3125rem;
  129. }
  130. .content {
  131. margin: 0.625rem 0;
  132. padding: 0 0.625rem 4.375rem 0.625rem;
  133. }
  134. .content .goods-list {
  135. padding: 0 0.9375rem;
  136. background-color: #FFFFFF;
  137. border-radius: 0.5rem;
  138. }
  139. .content .goods-list .item {
  140. padding: 0.9375rem 0;
  141. border-bottom: 1px solid #EDEEEF;
  142. display: flex;
  143. align-items: center;
  144. }
  145. .content .goods-list .item .img-box {
  146. width: 5rem;
  147. height: 5rem;
  148. margin-right: 0.9375rem;
  149. }
  150. .content .goods-list .item .img-box uni-image {
  151. width: 100%;
  152. height: 100%;
  153. }
  154. .content .goods-list .item .info-box {
  155. width: calc(100% - 5.9375rem);
  156. height: 5rem;
  157. display: flex;
  158. flex-direction: column;
  159. justify-content: space-between;
  160. }
  161. .content .goods-list .item .info-box .name-box {
  162. font-size: 0.875rem;
  163. font-family: PingFang SC;
  164. font-weight: 500;
  165. color: #111111;
  166. line-height: 1.25rem;
  167. }
  168. .content .goods-list .item .info-box .name-box .tag {
  169. display: inline-block;
  170. padding: 0 0.1875rem;
  171. height: 0.9375rem;
  172. background: linear-gradient(90deg, #C39A58 0%, #E2C99E 100%);
  173. border-radius: 0.125rem;
  174. margin-right: 0.3125rem;
  175. font-size: 0.6875rem;
  176. font-family: PingFang SC;
  177. font-weight: bold;
  178. color: #FFFFFF;
  179. line-height: 0.9375rem;
  180. float: left;
  181. margin-top: 0.21875rem;
  182. }
  183. .content .goods-list .item .info-box .spec {
  184. margin-top: 0.5625rem;
  185. font-size: 0.75rem;
  186. font-family: PingFang SC;
  187. font-weight: 500;
  188. color: #999999;
  189. line-height: 1;
  190. }
  191. .content .goods-list .item .info-box .price-num {
  192. display: flex;
  193. align-items: center;
  194. justify-content: space-between;
  195. }
  196. .content .goods-list .item .info-box .price-num .price {
  197. display: flex;
  198. align-items: flex-end;
  199. }
  200. .content .goods-list .item .info-box .price-num .price .unit {
  201. font-size: 0.75rem;
  202. font-family: PingFang SC;
  203. font-weight: 500;
  204. color: #111111;
  205. line-height: 1.2;
  206. margin-right: 0.125rem;
  207. }
  208. .content .goods-list .item .info-box .price-num .price .num {
  209. font-size: 1rem;
  210. font-family: PingFang SC;
  211. font-weight: 500;
  212. color: #111111;
  213. line-height: 1;
  214. }
  215. .content .goods-list .item .info-box .price-num .num {
  216. font-size: 0.75rem;
  217. font-family: PingFang SC;
  218. font-weight: 500;
  219. color: #999999;
  220. line-height: 1;
  221. }
  222. .content .goods-list .sub-total {
  223. height: 2.75rem;
  224. display: flex;
  225. align-items: center;
  226. justify-content: flex-end;
  227. }
  228. .content .goods-list .sub-total .discount {
  229. font-size: 0.75rem;
  230. font-family: PingFang SC;
  231. font-weight: 500;
  232. color: #999999;
  233. line-height: 1;
  234. margin-right: 0.9375rem;
  235. }
  236. .content .goods-list .sub-total .label {
  237. font-size: 0.75rem;
  238. font-family: PingFang SC;
  239. font-weight: 500;
  240. color: #999999;
  241. }
  242. .content .goods-list .sub-total .price {
  243. display: flex;
  244. align-items: flex-end;
  245. }
  246. .content .goods-list .sub-total .price .unit {
  247. font-size: 0.75rem;
  248. font-family: PingFang SC;
  249. font-weight: 500;
  250. color: #FF6633;
  251. line-height: 1.2;
  252. margin-right: 0.125rem;
  253. }
  254. .content .goods-list .sub-total .price .num {
  255. font-size: 1rem;
  256. font-family: PingFang SC;
  257. font-weight: bold;
  258. color: #FF6633;
  259. line-height: 1;
  260. }
  261. .content .order-info {
  262. margin-top: 0.625rem;
  263. background: #FFFFFF;
  264. border-radius: 0.5rem;
  265. padding: 1.25rem 0.9375rem;
  266. }
  267. .content .order-info .title {
  268. font-size: 0.9375rem;
  269. font-family: PingFang SC;
  270. font-weight: bold;
  271. color: #222222;
  272. line-height: 1;
  273. }
  274. .content .order-info .item {
  275. margin-top: 1.25rem;
  276. display: flex;
  277. align-items: center;
  278. justify-content: space-between;
  279. }
  280. .content .order-info .item .label {
  281. font-size: 0.8125rem;
  282. font-family: PingFang SC;
  283. font-weight: 500;
  284. color: #666666;
  285. line-height: 1;
  286. }
  287. .content .order-info .item .text {
  288. font-size: 0.8125rem;
  289. font-family: PingFang SC;
  290. font-weight: 500;
  291. color: #222222;
  292. line-height: 1rem;
  293. }
  294. .content .order-info .item .cont-text {
  295. font-size: 0.8125rem;
  296. font-family: PingFang SC;
  297. font-weight: 500;
  298. color: #666666;
  299. }
  300. .content .order-info .item .cont-text .bold {
  301. color: #111111;
  302. }
  303. .content .order-info .item .sn-box {
  304. display: flex;
  305. align-items: center;
  306. }
  307. .content .order-info .item .sn-box .copy-btn {
  308. width: 1.8125rem;
  309. height: 1rem;
  310. line-height: 1rem;
  311. text-align: center;
  312. font-size: 0.6875rem;
  313. font-family: PingFang SC;
  314. font-weight: 500;
  315. color: #222222;
  316. background: #F5F5F5;
  317. border-radius: 0.125rem;
  318. margin-left: 0.75rem;
  319. }
  320. .content .order-info .item .check-box {
  321. display: flex;
  322. align-items: center;
  323. }
  324. .content .order-info .item .check-box uni-image {
  325. width: 0.4375rem;
  326. height: 0.75rem;
  327. margin-left: 0.3125rem;
  328. }
  329. .content .order-info .line {
  330. width: 100%;
  331. height: 1px;
  332. background: #F0F0F0;
  333. margin-top: 0.9375rem;
  334. }
  335. .btn-box {
  336. z-index: 999;
  337. bottom: 0;
  338. width: 100%;
  339. position: fixed;
  340. height: 3.75rem;
  341. box-sizing: border-box;
  342. background: #FFFFFF;
  343. padding: 0 0.9375rem;
  344. display: flex;
  345. align-items: center;
  346. justify-content: flex-end;
  347. }
  348. .btn-box .btn {
  349. position: relative;
  350. width: 4.84375rem;
  351. height: 2rem;
  352. line-height: 2rem;
  353. font-size: 0.8125rem;
  354. font-family: PingFang SC;
  355. font-weight: 500;
  356. text-align: center;
  357. border-radius: 1rem;
  358. margin-left: 0.46875rem;
  359. }
  360. .btn-box .btn.cancel {
  361. border: 1px solid #DDDDDD;
  362. color: #666666;
  363. }
  364. .btn-box .btn.pay {
  365. background: #C39A58;
  366. color: #FFFFFF;
  367. }
  368. .btn-box .btn .contact-btn {
  369. top: 0;
  370. position: absolute;
  371. width: 100%;
  372. height: 100%;
  373. opacity: 0;
  374. }