index.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. page {
  2. background: #f6f6f6;
  3. padding-bottom: 148rpx;
  4. }
  5. .box {
  6. background: #ffffff;
  7. margin: 30rpx;
  8. padding: 30rpx;
  9. border-radius: 30rpx;
  10. .order-times {
  11. width: 90%;
  12. background: #FFFFFF;
  13. border: 1rpx solid #FFE300;
  14. border-radius: 30rpx;
  15. margin: 20rpx 5%;
  16. display: flex;
  17. justify-content: space-between;
  18. padding: 10rpx 30rpx;
  19. .order-date {
  20. display: flex;
  21. .date {
  22. margin-right: 20rpx;
  23. }
  24. }
  25. .price {
  26. color: red;
  27. }
  28. }
  29. .order-number {
  30. display: flex;
  31. justify-content: space-between;
  32. .number {
  33. font-size: 30rpx;
  34. }
  35. .state {
  36. font-size: 30rpx;
  37. }
  38. }
  39. .order-txt {
  40. display: flex;
  41. margin: 20rpx 0rpx 0 0;
  42. .order-image {
  43. width: 240rpx;
  44. height: 180rpx;
  45. margin-right: 20rpx;
  46. }
  47. .order-name {
  48. margin-top: 5rpx;
  49. .name {
  50. overflow: hidden; //一定要写
  51. text-overflow: ellipsis; //超出省略号
  52. display: -webkit-box; //一定要写
  53. -webkit-line-clamp: 1; //控制行数
  54. -webkit-box-orient: vertical; //一定要写
  55. }
  56. .order-price {
  57. color: red;
  58. margin-top: 20rpx;
  59. }
  60. .order-time {
  61. margin-top: 20rpx;
  62. }
  63. }
  64. }
  65. .order-order {
  66. display: flex;
  67. justify-content: flex-end;
  68. margin-top: 20rpx;
  69. .bu {
  70. border: 1rpx solid #BBBBBB !important;
  71. border-radius: 24rpx !important;
  72. font-size: 30rpx !important;
  73. padding: 0rpx 20rpx !important;
  74. margin-right: 20rpx !important;
  75. background: #ffffff !important;
  76. }
  77. .service {
  78. border: 1rpx solid #BBBBBB;
  79. border-radius: 24rpx;
  80. font-size: 30rpx;
  81. padding: 20rpx 20rpx;
  82. margin-right: 20rpx;
  83. }
  84. .pay {
  85. // border: 1rpx solid #BBBBBB;
  86. border-radius: 24rpx;
  87. font-size: 30rpx;
  88. padding: 20rpx 0;
  89. width: 180rpx;
  90. text-align: center;
  91. background: #46a9a4;
  92. }
  93. }
  94. }