index.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. @import '../../../../styles/base.less';
  2. page {
  3. background: #f6f6f6;
  4. }
  5. .comments-wrapper {
  6. margin: 30rpx;
  7. padding: 10rpx 20rpx 20rpx;
  8. background: #ffffff;
  9. border-radius: 30rpx;
  10. .order-row {
  11. display: flex;
  12. align-items: center;
  13. margin: 10rpx 0;
  14. padding: 10rpx 0;
  15. }
  16. .order-number {
  17. display: flex;
  18. justify-content: space-between;
  19. border-bottom: 0.5px solid #46a9a4;
  20. }
  21. .order-content {
  22. margin: 0;
  23. .count {
  24. font-size: 24rpx;
  25. color:#d1cccc ;
  26. overflow: hidden; //一定要写
  27. text-overflow: ellipsis; //超出省略号
  28. display: -webkit-box; //一定要写
  29. -webkit-line-clamp: 2; //控制行数
  30. -webkit-box-orient: vertical; //一定要写
  31. }
  32. .avatar {
  33. width: 80rpx;
  34. height: 80rpx;
  35. margin-right: 20rpx;
  36. border-radius: 50%;
  37. }
  38. .order-shop-img {
  39. width: 120rpx;
  40. height: 90rpx;
  41. margin-right: 20rpx;
  42. }
  43. .order-user {
  44. display: flex;
  45. align-items: center;
  46. justify-content: space-between;
  47. .order-user-name {
  48. flex: 1;
  49. overflow: hidden; //一定要写
  50. text-overflow: ellipsis; //超出省略号
  51. display: -webkit-box; //一定要写
  52. -webkit-line-clamp: 2; //控制行数
  53. -webkit-box-orient: vertical; //一定要写
  54. }
  55. .order-time {}
  56. }
  57. .order-info {
  58. display: flex;
  59. align-items: center;
  60. justify-content: space-between;
  61. width: 100%;
  62. padding: 10rpx 20rpx;
  63. border: 1px solid #46a9a4;
  64. border-radius: 40rpx;
  65. }
  66. .order-comment-text {
  67. margin: 20rpx 0;
  68. overflow: hidden; //一定要写
  69. text-overflow: ellipsis; //超出省略号
  70. display: -webkit-box; //一定要写
  71. -webkit-line-clamp: 2; //控制行数
  72. -webkit-box-orient: vertical; //一定要写
  73. color: #b5b0b0;
  74. }
  75. }
  76. .order-footer {
  77. display: flex;
  78. flex-direction: row-reverse;
  79. .reply-btn {
  80. text {
  81. color: #000000;
  82. letter-spacing: 4rpx;
  83. }
  84. }
  85. }
  86. }