complaintList.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /* pages/complaintList/complaintList.wxss */
  2. /* 页面背景 */
  3. page{
  4. /* height: 100%; */
  5. /* height: auto !important; */
  6. background-color: #E2F0D9;
  7. }
  8. /* 建议列表区 */
  9. .complaintContainer{
  10. height: 100%;
  11. padding-bottom: 120rpx;
  12. }
  13. /* 单条建议的背景 */
  14. .complaint{
  15. display: flex;
  16. padding: 20rpx;
  17. margin: 20rpx 10rpx;
  18. height: 140rpx;
  19. border-radius: 30rpx;
  20. background-color: #FFF2CC;
  21. }
  22. /* 单条建议左侧标题和内容摘要 */
  23. .complain{
  24. width: 75%;
  25. }
  26. /* 标题和内容摘要布局 */
  27. .complaintHead,
  28. .complaintBody{
  29. display: flex;
  30. }
  31. /* 摘要 */
  32. .complaintBody{
  33. margin-top: 10rpx;
  34. }
  35. /* 标题详情和内容详情左边距 */
  36. .complaintTitle,
  37. .complaintContent{
  38. margin-left: 20rpx;
  39. width: 65%;
  40. }
  41. /* 标题内容详情 */
  42. .complaintTitle{
  43. white-space: nowrap;
  44. overflow: hidden;
  45. text-overflow: ellipsis;
  46. }
  47. /* 内容摘要详情 */
  48. .complaintContent{
  49. overflow: hidden;
  50. text-overflow: ellipsis;
  51. display: -webkit-box;
  52. -webkit-box-orient: vertical;
  53. -webkit-line-clamp: 2;
  54. }
  55. /* 处理状态 */
  56. .dispose{
  57. font-weight: bold;
  58. color: red;
  59. margin-left: 30rpx;
  60. }
  61. /* 写建议按钮 */
  62. .toWriteComplaint{
  63. display: flex;
  64. position: relative;
  65. justify-content: center;
  66. }
  67. .writeComplaint{
  68. text-align: center;
  69. position: fixed;
  70. bottom: 0rpx;
  71. width: 100%;
  72. height: 120rpx;
  73. line-height: 120rpx;
  74. background-color: #E2F0D9;
  75. }
  76. .writeComplaint text{
  77. background-color: #8FAADC;
  78. font-size: 36rpx;
  79. color: white;
  80. border-radius: 30rpx;
  81. padding: 10rpx 20rpx;
  82. }