index.less 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. .avatar {
  24. width: 80rpx;
  25. height: 80rpx;
  26. margin-right: 20rpx;
  27. border-radius: 50%;
  28. }
  29. .order-shop-img{
  30. width:120rpx;
  31. height:90rpx;
  32. margin-right: 20rpx;
  33. }
  34. .order-user {
  35. display: flex;
  36. align-items: center;
  37. justify-content: space-between;
  38. .order-user-name {
  39. flex:1;
  40. overflow: hidden; //一定要写
  41. text-overflow: ellipsis; //超出省略号
  42. display: -webkit-box; //一定要写
  43. -webkit-line-clamp: 2; //控制行数
  44. -webkit-box-orient: vertical; //一定要写
  45. }
  46. .order-time {
  47. }
  48. }
  49. .order-info {
  50. display: flex;
  51. align-items: center;
  52. justify-content: space-between;
  53. width: 100%;
  54. padding:10rpx 20rpx;
  55. border: 1px solid #46a9a4;
  56. border-radius: 40rpx;
  57. }
  58. .order-comment-text {
  59. margin:20rpx 0;
  60. overflow: hidden; //一定要写
  61. text-overflow: ellipsis; //超出省略号
  62. display: -webkit-box; //一定要写
  63. -webkit-line-clamp: 2; //控制行数
  64. -webkit-box-orient: vertical; //一定要写
  65. }
  66. }
  67. .order-footer {
  68. display: flex;
  69. flex-direction: row-reverse;
  70. .reply-btn {
  71. text {
  72. color:#000000;
  73. letter-spacing: 4rpx;
  74. }
  75. }
  76. }
  77. }