public.css 2.4 KB

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