public.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /* 15寸和32寸 公共样式*/
  2. #app {
  3. height: 100%;
  4. width: 100%;
  5. /* background-color: #f5f5f5; */
  6. position: fixed;
  7. bottom: 20px;
  8. }
  9. /* --- 标题 --- */
  10. .head {
  11. display: flex;
  12. height: 5vh;
  13. text-align: end;
  14. line-height: 5vh;
  15. /* background-color: #f5f5f5; */
  16. font-size: 18px;
  17. justify-content: center;
  18. margin-top: 20px;
  19. }
  20. .head text {
  21. flex: 1;
  22. }
  23. .head .switch {
  24. padding-right: 100rpx;
  25. flex: 1;
  26. }
  27. .pageView {
  28. display: flex;
  29. /* background-color: #f5f5f5; */
  30. }
  31. .body {
  32. display: flex;
  33. flex-direction: column;
  34. }
  35. /* --- 主内容区 --- */
  36. .list-wrap {
  37. flex-grow: 1;
  38. position: relative;
  39. }
  40. .list-wrap .scrollview {
  41. position: absolute;
  42. height: 100%;
  43. }
  44. .list-wrap .scrollview .scrollview-item {
  45. display: flex;
  46. flex-direction: column;
  47. }
  48. .list-wrap .scrollview .scrollview-item .item {
  49. display: flex;
  50. margin: 0 24rpx 50rpx;
  51. }
  52. .list-wrap .scrollview .scrollview-item .item .avtar {
  53. display: flex;
  54. width: 78rpx;
  55. height: 78rpx;
  56. border-radius: 50rpx;
  57. overflow: hidden;
  58. }
  59. .list-wrap .scrollview .scrollview-item .item .content {
  60. position: relative;
  61. max-width: 1050rpx;
  62. /* background-color: #fff; */
  63. margin: 40rpx 24rpx 0;
  64. border-radius: 5px;
  65. font-size: 32rpx;
  66. line-height: 42rpx;
  67. padding: 24rpx;
  68. word-wrap: break-word;
  69. }
  70. .list-wrap .scrollview .scrollview-item .other {
  71. justify-content: flex-end;
  72. }
  73. /* 底部发送框 */
  74. .chat-bottom {
  75. /* height: 300rpx; */
  76. margin: 50rpx;
  77. margin-left: 0;
  78. position: relative;
  79. }
  80. /* 快捷标签输入 */
  81. .chat-bottom .uni-label {
  82. display: flex;
  83. height: 100rpx;
  84. margin-bottom: 20rpx;
  85. }
  86. .chat-bottom .uni-label label {
  87. flex: 1;
  88. text-align: center;
  89. line-height: 100rpx;
  90. border-radius: 100rpx;
  91. /* background-color: #fff; */
  92. margin-right: 10rpx;
  93. border: 1px solid rgb(30, 144, 255);
  94. }
  95. .chat-bottom .send-msg {
  96. display: flex;
  97. }
  98. .chat-bottom .send-msg .uni-textarea {
  99. border-radius: 40rpx;
  100. flex: 1;
  101. }
  102. .chat-bottom .send-msg .send-btn {
  103. align-items: center;
  104. justify-content: center;
  105. width: 320rpx;
  106. height: 320rpx;
  107. border-radius: 50rpx;
  108. font-size: 35rpx;
  109. font-weight: 500;
  110. color: #fff;
  111. line-height: 320rpx;
  112. z-index: 1;
  113. }
  114. .chat-bottom .send-msg .uni-textarea textarea {
  115. width: 96%;
  116. height: 270rpx;
  117. border-radius: 40rpx;
  118. line-height: 1.5;
  119. padding: 25rpx;
  120. right: 50rpx;
  121. /* background-color: #fff; */
  122. margin-left: 50rpx;
  123. }
  124. .chat-bottom .send-msg .uni-textarea textarea ::-webkit-scrollbar {
  125. display: none;
  126. }
  127. /* --- 左右两边占位调节、图片占位 --- */
  128. .sidebar-left {
  129. width: 5vw;
  130. }
  131. /* 去除导航条 */
  132. .scrollview ::-webkit-scrollbar {
  133. display: none;
  134. }
  135. /* 聊天框数据加载 图标距离头像的间距 */
  136. .loadingPoint {
  137. margin-right: 30px;
  138. }
  139. /* 右边 */
  140. .sidebar-right {
  141. width: 32vw;
  142. /* display: flex;
  143. flex-direction: column;
  144. justify-content: end; */
  145. position: relative;
  146. /* background-color: red; */
  147. }
  148. .sidebar-right .video {
  149. width: 100%;
  150. /* align-items: end; */
  151. }
  152. .sidebar-right .active {
  153. mix-blend-mode: screen;
  154. }
  155. /deep/ .uni-video-container {
  156. background-color: transparent;
  157. }