h5.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. .TUIChat-H5 {
  2. flex: 1;
  3. position: static;
  4. .TUIChat-header {
  5. width: 100%;
  6. box-sizing: border-box;
  7. position: sticky;
  8. top: 0;
  9. z-index: 2;
  10. .setting {
  11. width: 27Px;
  12. }
  13. }
  14. .TUIChat-main {
  15. .TUI-message-list {
  16. height: auto;
  17. }
  18. }
  19. .TUIChat-footer {
  20. width: 100%;
  21. box-sizing: border-box;
  22. position: sticky;
  23. bottom: 0;
  24. flex-direction: column-reverse;
  25. height: auto;
  26. padding: 14Px 23Px 23Px;
  27. z-index: 1;
  28. .func {
  29. display: flex;
  30. flex-direction: column;
  31. &-main {
  32. display: flex;
  33. justify-content: space-between;
  34. }
  35. }
  36. .reply {
  37. order: 1;
  38. padding-bottom: 10Px;
  39. &-box {
  40. padding: 0;
  41. i {
  42. display: none;
  43. }
  44. &-show {
  45. flex-direction: row;
  46. span {
  47. width: auto;
  48. }
  49. span:first-child {
  50. padding-right: 2Px;
  51. }
  52. span:last-child {
  53. flex: 1;
  54. }
  55. }
  56. }
  57. }
  58. .input {
  59. display: flex;
  60. flex-wrap: wrap;
  61. flex-direction: row;
  62. align-items: flex-end;
  63. textarea {
  64. width: auto;
  65. height: auto;
  66. padding: 0;
  67. flex: 1;
  68. background: #f4f5f9;
  69. border-radius: 9.4Px;
  70. padding: 7Px 18Px;
  71. font-size: 16Px;
  72. line-height: 18Px;
  73. }
  74. .reference {
  75. overflow: hidden;
  76. order: 1;
  77. width: 100%;
  78. max-width: 100%;
  79. margin: 0;
  80. &-box {
  81. overflow: hidden;
  82. padding: 0;
  83. width: 100%;
  84. max-width: 100%;
  85. padding: 10Px;
  86. margin: 5Px 0;
  87. &-show {
  88. overflow: hidden;
  89. width: 0;
  90. flex: 1;
  91. display: flex;
  92. flex-direction: row;
  93. text-overflow: ellipsis;
  94. span:last-child {
  95. overflow: hidden;
  96. text-overflow: ellipsis;
  97. }
  98. }
  99. }
  100. }
  101. button {
  102. position: static !important;
  103. margin-left: 7Px;
  104. word-break: keep-all;
  105. height: 32Px;
  106. flex: 0;
  107. }
  108. .memberList {
  109. position: fixed;
  110. width: 100%;
  111. height: 100%;
  112. left: 0;
  113. top: 0;
  114. background: rgba(0, 0, 0, 0.5);
  115. max-height: none;
  116. display: flex;
  117. align-items: flex-end;
  118. z-index: 1;
  119. &-box {
  120. position: static;
  121. flex: 1;
  122. max-height: 90%;
  123. border-radius: 12Px 12Px 0 0;
  124. padding: 14Px 23Px;
  125. &-title {
  126. display: flex;
  127. justify-content: space-between;
  128. align-items: center;
  129. padding: 12Px 0;
  130. h1 {
  131. font-family: PingFangSC-Medium;
  132. font-weight: 500;
  133. font-size: 20Px;
  134. color: #000000;
  135. letter-spacing: 0;
  136. line-height: 28Px;
  137. }
  138. .close {
  139. font-family: PingFangSC-Regular;
  140. font-weight: 400;
  141. font-size: 18Px;
  142. color: #3370ff;
  143. letter-spacing: 0;
  144. line-height: 27Px;
  145. }
  146. }
  147. li {
  148. padding: 8Px 0;
  149. img {
  150. width: 30Px;
  151. height: 30Px;
  152. border-radius: 6.4Px;
  153. padding: 0;
  154. }
  155. span {
  156. font-size: 16Px;
  157. padding-left: 12Px;
  158. }
  159. }
  160. &-header {
  161. span {
  162. &:last-child {
  163. padding-left: 0;
  164. }
  165. }
  166. }
  167. }
  168. }
  169. }
  170. }
  171. .manage {
  172. position: fixed;
  173. height: 100%;
  174. top: 0;
  175. }
  176. .mask {
  177. position: fixed;
  178. width: 100vw;
  179. height: 100%;
  180. display: flex;
  181. align-items: center;
  182. justify-content: center;
  183. background: rgba(0, 0, 0, 0.5);
  184. z-index: 9;
  185. &-main {
  186. display: flex;
  187. flex-direction: column;
  188. align-items: center;
  189. justify-content: center;
  190. width: 150Px;
  191. background: white;
  192. border-radius: 4Px;
  193. }
  194. header {
  195. font-family: PingFangSC-Regular;
  196. font-weight: 400;
  197. font-size: 14Px;
  198. color: #000000;
  199. letter-spacing: 0;
  200. text-align: center;
  201. padding: 20Px 0;
  202. }
  203. footer {
  204. display: flex;
  205. width: 100%;
  206. justify-content: space-around;
  207. border-top: 1Px solid #dddddd;
  208. height: 40Px;
  209. align-items: center;
  210. p {
  211. font-family: PingFangSC-Regular;
  212. font-weight: 400;
  213. font-size: 14Px;
  214. color: #000000;
  215. letter-spacing: 0;
  216. text-align: center;
  217. }
  218. i {
  219. height: 40Px;
  220. width: 1Px;
  221. background: #dddddd;
  222. }
  223. }
  224. }
  225. }