suggestList.wxss 1.6 KB

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