chat15.css 2.1 KB

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