public.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. flex: 1;
  100. }
  101. .chat-bottom .send-msg .send-btn {
  102. align-items: center;
  103. justify-content: center;
  104. width: 320rpx;
  105. height: 320rpx;
  106. border-radius: 50rpx;
  107. font-size: 35rpx;
  108. font-weight: 500;
  109. color: #fff;
  110. line-height: 320rpx;
  111. z-index: 1;
  112. }
  113. .chat-bottom .send-msg .uni-textarea textarea {
  114. width: 96%;
  115. height: 270rpx;
  116. border-radius: 40rpx;
  117. line-height: 1.5;
  118. padding: 25rpx;
  119. right: 50rpx;
  120. background-color: #fff;
  121. margin-left: 50rpx;
  122. }
  123. .chat-bottom .send-msg .uni-textarea textarea ::-webkit-scrollbar {
  124. display: none;
  125. }
  126. /* --- 左右两边占位调节、图片占位 --- */
  127. .sidebar-left {
  128. width: 5vw;
  129. }
  130. /* 去除导航条 */
  131. .scrollview ::-webkit-scrollbar {
  132. display: none;
  133. }
  134. /* 聊天框数据加载 图标距离头像的间距 */
  135. .loadingPoint{
  136. margin-right: 30px;
  137. }