integralOrderPay.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  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. .inner-box {
  27. padding: 0.625rem 0.625rem 4.375rem;
  28. }
  29. .inner-box .address-box {
  30. box-sizing: border-box;
  31. min-height: 5.34375rem;
  32. background: #FFFFFF;
  33. border-radius: 0.5rem;
  34. background-image: url(../static/images/address_bg.png);
  35. background-repeat: no-repeat;
  36. background-size: 100% 0.9375rem;
  37. background-position: left bottom;
  38. padding: 1.1875rem 0.9375rem 1.125rem;
  39. display: flex;
  40. align-items: center;
  41. justify-content: space-between;
  42. }
  43. .inner-box .address-box .left {
  44. width: 92%;
  45. }
  46. .inner-box .address-box .left .name-box {
  47. display: flex;
  48. align-items: center;
  49. }
  50. .inner-box .address-box .left .name-box .text {
  51. font-size: 1rem;
  52. font-family: PingFang SC;
  53. font-weight: bold;
  54. color: #111111;
  55. line-height: 1;
  56. }
  57. .inner-box .address-box .left .name-box .text.name {
  58. margin-right: 0.9375rem;
  59. }
  60. .inner-box .address-box .left .address {
  61. font-size: 0.875rem;
  62. font-family: PingFang SC;
  63. font-weight: 500;
  64. color: #666666;
  65. line-height: 1.3125rem;
  66. text-align: left;
  67. margin-top: 0.71875rem;
  68. }
  69. .inner-box .address-box .arrow-box {
  70. width: 0.375rem;
  71. height: 0.71875rem;
  72. display: flex;
  73. align-items: cenetr;
  74. justify-content: cenetr;
  75. }
  76. .inner-box .address-box .arrow-box uni-image {
  77. width: 100%;
  78. height: 100%;
  79. }
  80. .inner-box .goods-list {
  81. margin-top: 0.625rem;
  82. padding: 0 0.9375rem;
  83. background-color: #FFFFFF;
  84. border-radius: 0.5rem;
  85. }
  86. .inner-box .goods-list .item {
  87. padding: 0.9375rem 0;
  88. border-bottom: 1px solid #EDEEEF;
  89. display: flex;
  90. align-items: center;
  91. }
  92. .inner-box .goods-list .item .img-box {
  93. width: 5rem;
  94. height: 5rem;
  95. margin-right: 0.9375rem;
  96. }
  97. .inner-box .goods-list .item .img-box uni-image {
  98. width: 100%;
  99. height: 100%;
  100. }
  101. .inner-box .goods-list .item .info-box {
  102. width: calc(100% - 5.9375rem);
  103. height: 5rem;
  104. display: flex;
  105. flex-direction: column;
  106. justify-content: space-between;
  107. }
  108. .inner-box .goods-list .item .info-box .name-box {
  109. font-size: 0.875rem;
  110. font-family: PingFang SC;
  111. font-weight: 500;
  112. color: #111111;
  113. line-height: 1.25rem;
  114. }
  115. .inner-box .goods-list .item .info-box .name-box .tag {
  116. display: inline-block;
  117. padding: 0 0.1875rem;
  118. height: 0.9375rem;
  119. background: linear-gradient(90deg, #C39A58 0%, #E2C99E 100%);
  120. border-radius: 0.125rem;
  121. margin-right: 0.3125rem;
  122. font-size: 0.6875rem;
  123. font-family: PingFang SC;
  124. font-weight: bold;
  125. color: #FFFFFF;
  126. line-height: 0.9375rem;
  127. float: left;
  128. margin-top: 0.21875rem;
  129. }
  130. .inner-box .goods-list .item .info-box .spec {
  131. margin-top: 0.3125rem;
  132. font-size: 0.75rem;
  133. font-family: PingFang SC;
  134. font-weight: 500;
  135. color: #999999;
  136. line-height: 1;
  137. }
  138. .inner-box .goods-list .item .info-box .price-num {
  139. display: flex;
  140. align-items: center;
  141. justify-content: space-between;
  142. }
  143. .inner-box .goods-list .item .info-box .price-num .price {
  144. display: flex;
  145. align-items: flex-end;
  146. }
  147. .inner-box .goods-list .item .info-box .price-num .price .unit {
  148. font-size: 0.75rem;
  149. font-family: PingFang SC;
  150. font-weight: 500;
  151. color: #111111;
  152. line-height: 1.2;
  153. margin-right: 0.125rem;
  154. }
  155. .inner-box .goods-list .item .info-box .price-num .price .num {
  156. font-size: 1rem;
  157. font-family: PingFang SC;
  158. font-weight: 500;
  159. color: #111111;
  160. line-height: 1;
  161. }
  162. .inner-box .goods-list .item .info-box .price-num .num {
  163. font-size: 0.75rem;
  164. font-family: PingFang SC;
  165. font-weight: 500;
  166. color: #999999;
  167. line-height: 1;
  168. }
  169. .inner-box .goods-list .sub-total {
  170. height: 2.75rem;
  171. display: flex;
  172. align-items: center;
  173. justify-content: flex-end;
  174. }
  175. .inner-box .goods-list .sub-total .label {
  176. font-size: 0.75rem;
  177. font-family: PingFang SC;
  178. font-weight: 500;
  179. color: #999999;
  180. }
  181. .inner-box .goods-list .sub-total .price {
  182. display: flex;
  183. align-items: flex-end;
  184. }
  185. .inner-box .goods-list .sub-total .price .unit {
  186. font-size: 0.75rem;
  187. font-family: PingFang SC;
  188. font-weight: 500;
  189. color: #FF6633;
  190. line-height: 1.2;
  191. margin-right: 0.125rem;
  192. }
  193. .inner-box .goods-list .sub-total .price .num {
  194. font-size: 1rem;
  195. font-family: PingFang SC;
  196. font-weight: bold;
  197. color: #FF6633;
  198. line-height: 1;
  199. }
  200. .inner-box .other-info {
  201. margin-top: 0.625rem;
  202. background-color: #fff;
  203. border-radius: 0.625rem;
  204. overflow: hidden;
  205. padding: 0 0.9375rem;
  206. }
  207. .inner-box .other-info .title {
  208. height: 2.5rem;
  209. line-height: 2.5rem;
  210. font-size: 0.9375rem;
  211. color: #000;
  212. font-weight: bold;
  213. border-bottom: 0.0625rem solid #eeeeee;
  214. }
  215. .inner-box .other-info .item {
  216. height: 2.5rem;
  217. display: flex;
  218. align-items: center;
  219. justify-content: space-between;
  220. }
  221. .inner-box .other-info .item:last-child {
  222. border-bottom: none;
  223. }
  224. .inner-box .other-info .item .left {
  225. flex: 1;
  226. display: flex;
  227. align-items: center;
  228. }
  229. .inner-box .other-info .item .left .label {
  230. min-width: 4.375rem;
  231. font-size: 0.875rem;
  232. color: #000;
  233. }
  234. .inner-box .other-info .item .left .text {
  235. font-size: 0.875rem;
  236. color: #1b1b1b;
  237. }
  238. .inner-box .other-info .item .right {
  239. display: flex;
  240. align-items: center;
  241. justify-content: flex-end;
  242. }
  243. .inner-box .other-info .item .right .text {
  244. font-size: 0.875rem;
  245. color: #1b1b1b;
  246. }
  247. .inner-box .other-info .item .right .ic-close {
  248. margin-left: 0.3125rem;
  249. width: 0.9375rem;
  250. height: 0.9375rem;
  251. }
  252. .inner-box .other-info .item .right .ic-back {
  253. margin-left: 0.3125rem;
  254. width: 0.46875rem;
  255. height: 0.9375rem;
  256. }
  257. .inner-box .other-info .item .item-btn {
  258. max-width: 6.25rem;
  259. padding: 0 0.46875rem;
  260. height: 1.5rem;
  261. border-radius: 0.75rem;
  262. line-height: 1.5rem;
  263. font-size: 0.75rem;
  264. color: #000;
  265. border: 0.03125rem solid #d8d8d8;
  266. display: flex;
  267. align-items: center;
  268. justify-content: center;
  269. }
  270. .inner-box .remarks {
  271. height: 2.75rem;
  272. padding: 0 0.9375rem;
  273. background: #FFFFFF;
  274. border-radius: 0.5rem;
  275. margin-top: 0.625rem;
  276. display: flex;
  277. align-items: center;
  278. }
  279. .inner-box .remarks uni-input {
  280. width: 100%;
  281. font-size: 0.875rem;
  282. font-family: PingFang SC;
  283. font-weight: 500;
  284. color: #000000;
  285. }
  286. .inner-box .remarks .input {
  287. font-size: 0.875rem;
  288. font-family: PingFang SC;
  289. font-weight: 500;
  290. color: #999999;
  291. }
  292. .btn-box {
  293. height: 4.375rem;
  294. z-index: 9999;
  295. width: 100%;
  296. padding: 0 0.9375rem;
  297. position: fixed;
  298. bottom: 0;
  299. left: 0;
  300. box-sizing: border-box;
  301. background-color: #ffffff;
  302. display: flex;
  303. align-items: center;
  304. justify-content: center;
  305. }
  306. .btn-box .btn {
  307. width: 100%;
  308. height: 2.75rem;
  309. line-height: 2.75rem;
  310. text-align: center;
  311. font-size: 1.0625rem;
  312. font-family: PingFang SC;
  313. font-weight: 400;
  314. color: #FFFFFF;
  315. background: #C39A58;
  316. border-radius: 0.3125rem;
  317. }
  318. .pay-type {
  319. box-sizing: border-box;
  320. height: 6rem;
  321. background: #FFFFFF;
  322. border-radius: 0.5rem;
  323. margin-top: 0.625rem;
  324. padding: 1.25rem 0.9375rem;
  325. display: flex;
  326. flex-direction: column;
  327. justify-content: space-between;
  328. }
  329. .pay-type .title {
  330. font-size: 0.875rem;
  331. font-family: PingFang SC;
  332. font-weight: 500;
  333. color: #999999;
  334. line-height: 1;
  335. }
  336. .pay-type .item {
  337. display: flex;
  338. align-items: center;
  339. justify-content: space-between;
  340. }
  341. .pay-type .item .left {
  342. display: flex;
  343. align-items: center;
  344. }
  345. .pay-type .item .left uni-image {
  346. width: 1.375rem;
  347. height: 1.375rem;
  348. margin-right: 0.625rem;
  349. }
  350. .pay-type .item .left .text {
  351. font-size: 0.9375rem;
  352. font-family: PingFang SC;
  353. font-weight: bold;
  354. color: #222222;
  355. line-height: 1;
  356. }
  357. .coupon {
  358. height: 100%;
  359. }
  360. .coupon .empty {
  361. display: flex;
  362. align-items: center;
  363. justify-content: center;
  364. height: 20.3125rem;
  365. width: 100%;
  366. }
  367. .coupon .empty uni-image {
  368. width: 8.75rem;
  369. height: 6.25rem;
  370. }
  371. .coupon-box {
  372. overflow-y: auto;
  373. padding: 2.5rem 0.625rem 2.5rem;
  374. height: 20.3125rem;
  375. width: 100%;
  376. display: flex;
  377. flex-direction: column;
  378. align-items: flex-start;
  379. justify-content: flex-start;
  380. box-sizing: border-box;
  381. }
  382. .coupon-box .coupon-item {
  383. width: 100%;
  384. display: flex;
  385. align-items: center;
  386. justify-content: flex-start;
  387. margin-bottom: 0.5rem;
  388. height: 5.3125rem;
  389. }
  390. .coupon-box .coupon-item:last-child {
  391. margin-bottom: 0;
  392. }
  393. .coupon-box .coupon-item .left {
  394. color: #fff;
  395. font-size: 1.125rem;
  396. font-weight: bold;
  397. text-align: center;
  398. display: flex;
  399. flex-direction: column;
  400. align-items: center;
  401. justify-content: center;
  402. position: relative;
  403. width: 7.1875rem;
  404. }
  405. .coupon-box .coupon-item .left uni-image {
  406. position: absolute;
  407. width: 7.1875rem;
  408. height: 5.3125rem;
  409. color: #fff;
  410. }
  411. .coupon-box .coupon-item .left .num {
  412. font-size: 1.25rem;
  413. }
  414. .coupon-box .coupon-item .left .pic-num {
  415. font-size: 0.625rem;
  416. z-index: 99;
  417. }
  418. .coupon-box .coupon-item .right {
  419. display: flex;
  420. flex-direction: column;
  421. align-items: flex-start;
  422. justify-content: flex-start;
  423. height: 5.3125rem;
  424. width: calc(100% - 7.1875rem);
  425. padding: 0 0.53125rem 0 0.75rem;
  426. background-color: #fff;
  427. box-sizing: border-box;
  428. }
  429. .coupon-box .coupon-item .right .title {
  430. width: 100%;
  431. font-size: 0.9375rem;
  432. color: #282828;
  433. height: 2.90625rem;
  434. line-height: 2.90625rem;
  435. border-bottom: 1px solid #f0f0f0;
  436. }
  437. .coupon-box .coupon-item .right .btns {
  438. display: flex;
  439. align-items: center;
  440. justify-content: space-between;
  441. width: 100%;
  442. font-size: 0.625rem;
  443. color: #999;
  444. height: 2.375rem;
  445. }
  446. .coupon-box .coupon-item .right .btns .btn {
  447. width: 4.25rem;
  448. height: 1.375rem;
  449. border-radius: 0.6875rem;
  450. font-size: 0.6875rem;
  451. color: #fff;
  452. text-align: center;
  453. line-height: 1.375rem;
  454. background-color: #C39A58;
  455. }
  456. .coupon-box .coupon-item .right .btns .btn .gray {
  457. background-color: #ccc;
  458. }