order.wxss 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .ios-bottom {
  28. padding-bottom: calc(10px + env(safe-area-inset-bottom)/2);
  29. }
  30. .order-item {
  31. background-color: #FFFFFF;
  32. margin-top: 10rpx;
  33. padding: 30rpx;
  34. display: -webkit-box;
  35. display: -webkit-flex;
  36. display: flex;
  37. -webkit-box-pack: start;
  38. -webkit-justify-content: flex-start;
  39. justify-content: flex-start;
  40. -webkit-box-align: stretch;
  41. -webkit-align-items: stretch;
  42. align-items: stretch;
  43. position: relative;
  44. }
  45. .order-item:nth-child(1) {
  46. margin-top: 20rpx;
  47. }
  48. .order-item .img {
  49. width: 112rpx;
  50. height: 156rpx;
  51. margin-right: 50rpx;
  52. }
  53. .order-item .des-box {
  54. display: -webkit-box;
  55. display: -webkit-flex;
  56. display: flex;
  57. -webkit-box-orient: vertical;
  58. -webkit-box-direction: normal;
  59. -webkit-flex-direction: column;
  60. flex-direction: column;
  61. -webkit-box-pack: justify;
  62. -webkit-justify-content: space-between;
  63. justify-content: space-between;
  64. }
  65. .order-item .des-box text {
  66. font-size: 26rpx;
  67. font-weight: 400;
  68. color: #666666;
  69. }
  70. .order-item .des-box text:nth-child(2) {
  71. color: #0F0404 !important;
  72. }
  73. .order-item .icon {
  74. position: absolute;
  75. right: 30rpx;
  76. top: 50%;
  77. -webkit-transform: translateY(-50%);
  78. transform: translateY(-50%);
  79. }