public.css 2.4 KB

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