chat.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. .pageView {
  2. display: flex;
  3. background-color: #f5f5f5;
  4. }
  5. .body {
  6. display: flex;
  7. flex-direction: column;
  8. height: 100vh;
  9. width: 50%;
  10. background-color: #f5f5f5;
  11. }
  12. /* 头部 */
  13. .head {
  14. height: 100rpx;
  15. background-color: #f5f5f5;
  16. text-align: center;
  17. line-height: 100rpx;
  18. }
  19. /* 主内容区 */
  20. .list-wrap {
  21. flex-grow: 1;
  22. position: relative;
  23. }
  24. .scrollview {
  25. position: absolute;
  26. height: 100%;
  27. .scrollview-item {
  28. display: flex;
  29. flex-direction: column;
  30. .item {
  31. display: flex;
  32. margin: 0 24rpx 50rpx;
  33. }
  34. .avtar {
  35. display: flex;
  36. width: 78rpx;
  37. height: 78rpx;
  38. border-radius: 50rpx;
  39. overflow: hidden;
  40. }
  41. .content {
  42. position: relative;
  43. max-width: 750rpx;
  44. background-color: #fff;
  45. margin: 40rpx 24rpx 0;
  46. border-radius: 5px;
  47. font-size: 32rpx;
  48. line-height: 42rpx;
  49. padding: 24rpx;
  50. word-wrap: break-word;
  51. }
  52. .other {
  53. justify-content: flex-end;
  54. }
  55. }
  56. }
  57. /* 底部发送框 */
  58. .chat-bottom {
  59. height: 300rpx;
  60. margin: 50rpx;
  61. position: relative;
  62. .send-msg {
  63. display: flex;
  64. .uni-textarea {
  65. flex: 1;
  66. textarea {
  67. width: 100%;
  68. height: 270rpx;
  69. border-radius: 40rpx;
  70. line-height: 1.5;
  71. padding: 25rpx;
  72. right: 50rpx;
  73. background-color: #fff;
  74. }
  75. textarea ::-webkit-scrollbar {
  76. display: none;
  77. }
  78. }
  79. .send-btn {
  80. align-items: center;
  81. justify-content: center;
  82. width: 320rpx;
  83. height: 320rpx;
  84. border-radius: 50rpx;
  85. font-size: 35rpx;
  86. font-weight: 500;
  87. color: #fff;
  88. line-height: 320rpx;
  89. }
  90. }
  91. }
  92. .sidebar-left {
  93. height: 100vh;
  94. width: 20%;
  95. }
  96. .sidebar-right {
  97. height: 100vh;
  98. width: 30%;
  99. image {
  100. display: inline-block;
  101. height: 400px;
  102. left: 8%;
  103. top: 48%;
  104. }
  105. }
  106. /* 去除导航条 */
  107. .scrollview ::-webkit-scrollbar {
  108. display: none;
  109. }