chat32.css 2.2 KB

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