业务交流通
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

wechat2.wxss 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. /* pages/wechat2/wechat2.wxss */
  2. page {
  3. background-color: #f3f3f4;
  4. }
  5. /* 新增样式 */
  6. .chat-header {
  7. display: flex;
  8. align-items: center;
  9. justify-content: flex-start;
  10. height: 88px;
  11. padding: 0 12px;
  12. background-color: #fff;
  13. border-radius: 0px 0px 10px 10px;
  14. }
  15. .header-image-box {
  16. width: 64px;
  17. height: 64px;
  18. border-radius: 50%;
  19. margin-right: 12px;
  20. }
  21. .header-image {
  22. width: 100%;
  23. height: 100%;
  24. border-radius: 50%;
  25. }
  26. .chat-name {
  27. color: #333;
  28. font-size: 16px;
  29. font-weight: 700;
  30. }
  31. .chat-company {
  32. font-size: 14px;
  33. color: rgba(81, 81, 81, 100);
  34. }
  35. .tab {
  36. padding: 20rpx 20rpx 40rpx 50rpx;
  37. height: 20%;
  38. background-color: white;
  39. }
  40. .tab .tent {
  41. font-size: 33rpx;
  42. margin-bottom: 30rpx;
  43. }
  44. .jia_img {
  45. height: 80rpx;
  46. width: 90rpx;
  47. }
  48. .new_imgtent {
  49. height: 180rpx;
  50. width: 190rpx;
  51. }
  52. .tab .fabu {
  53. font-size: 33rpx;
  54. margin-top: 30rpx;
  55. margin-bottom: 30rpx;
  56. }
  57. .xiahuaxia {
  58. width: 80%;
  59. text-align: center;
  60. margin: 0 auto;
  61. position: relative;
  62. top: 60rpx;
  63. }
  64. .chat-time {
  65. text-align: center;
  66. padding: 5rpx 20rpx 5rpx 20rpx;
  67. width: 200rpx;
  68. font-size: 26rpx;
  69. background-color: #e6e6e6;
  70. }
  71. .new_top_txt {
  72. width: 50%;
  73. position: relative;
  74. top: 38rpx;
  75. text-align: center;
  76. margin: 0 auto;
  77. font-size: 30rpx;
  78. color: #787878;
  79. background-color: #f7f7f7;
  80. }
  81. /* 聊天内容 */
  82. .news {
  83. margin-top: 30px;
  84. text-align: center;
  85. margin-bottom: 98px;
  86. }
  87. .img_null {
  88. height: 60rpx;
  89. }
  90. .l {
  91. height: 5rpx;
  92. width: 20%;
  93. margin-top: 30rpx;
  94. color: #000;
  95. }
  96. /* 聊天 */
  97. .my_right {
  98. float: right;
  99. position: relative;
  100. right: 40rpx;
  101. }
  102. .you_left {
  103. float: left;
  104. position: relative;
  105. left: 5rpx;
  106. }
  107. .new_img {
  108. width: 100rpx;
  109. height: 100rpx;
  110. border-radius: 50%;
  111. }
  112. .sanjiao {
  113. top: 20rpx;
  114. position: relative;
  115. width: 0px;
  116. height: 0px;
  117. border-width: 10px;
  118. border-style: solid;
  119. }
  120. .my {
  121. border-color: transparent transparent transparent #95d4ff;
  122. }
  123. .you {
  124. border-color: transparent #95d4ff transparent transparent;
  125. }
  126. .sendmessage {
  127. /* display: flex;
  128. align-items: center;
  129. flex-direction: row; */
  130. width: 100%;
  131. min-height: 60px;
  132. position: fixed;
  133. bottom: 0px;
  134. background-color: rgba(242, 242, 242, 100);
  135. box-shadow: 0px -1px 5px 1px rgba(57, 57, 57, 0.1);
  136. }
  137. .send-message {
  138. display: flex;
  139. align-items: center;
  140. padding: 16px;
  141. }
  142. .sendmessage input {
  143. height: 81rpx;
  144. background-color: #fff;
  145. line-height: 81rpx;
  146. font-size: 28rpx;
  147. padding-left: 20rpx;
  148. width: 530rpx;
  149. }
  150. .sendmessage .expression-msg-img,
  151. .sendmessage .img-msg-img{
  152. width: 71rpx;
  153. height: 71rpx;
  154. margin-left: 18rpx;
  155. }
  156. .historycon {
  157. height: 90%;
  158. /* background-color: pink; */
  159. width: 100%;
  160. flex-direction: column;
  161. display: flex;
  162. /* margin-top: 100rpx; */
  163. border-top: 0px;
  164. }
  165. .hei {
  166. margin-top: 50px;
  167. height: 20rpx;
  168. }
  169. .history {
  170. /* height: 300px; */
  171. margin-top: 30rpx;
  172. margin: 20rpx;
  173. font-size: 28rpx;
  174. line-height: 80rpx;
  175. word-break: break-all;
  176. }
  177. .chat-input {
  178. width: 60%;
  179. height: 40px;
  180. border: 0;
  181. border-radius: 8px;
  182. margin-left: 5rpx;
  183. }
  184. .back-icon {
  185. margin-top: 25rpx;
  186. margin-left: 25rpx;
  187. width: 40rpx;
  188. height: 40rpx;
  189. }
  190. .other-record-content {
  191. background-color: #fff;
  192. box-shadow: -2px 9px 21px 0px
  193. rgba(0, 0, 0, 0.05);
  194. width: 180px;
  195. border-radius: 8px;
  196. padding: 15rpx 20rpx;
  197. text-align: left;
  198. margin: 6px 0;
  199. line-height: 40rpx;
  200. box-sizing: border-box;
  201. display: flex;
  202. align-items:center; /*实现垂直居中*/
  203. }
  204. .other-record {
  205. display: flex;
  206. justify-content: flex-start;
  207. }
  208. .other-head-img {
  209. width: 70rpx;
  210. height: 70rpx;
  211. border-radius: 50%;
  212. margin: 10rpx 10rpx 10rpx 10rpx;
  213. }
  214. .other-record-content-triangle {
  215. width: 0;
  216. height: 0;
  217. border-top: 10rpx solid transparent;
  218. border-right: 15rpx solid #fff;
  219. border-bottom: 10rpx solid transparent;
  220. margin-top: 36rpx;
  221. }
  222. .own-record {
  223. display: flex;
  224. justify-content: flex-end;
  225. padding-right: 30rpx;
  226. }
  227. .own-record-content {
  228. background-color: #5e73e5;
  229. box-shadow: -2px 9px 21px 0px
  230. rgba(0, 0, 0, 0.05);
  231. width: 180px;
  232. border-radius: 8px;
  233. padding: 15rpx 20rpx;
  234. color: #fff;
  235. text-align: left;
  236. margin: 6px 0;
  237. line-height: 40rpx;
  238. box-sizing: border-box;
  239. display: flex;
  240. align-items:center; /*实现垂直居中*/
  241. }
  242. .own-record-content-triangle {
  243. width: 0;
  244. height: 0;
  245. /* border-top: 20rpx solid transparent;
  246. border-left: 40rpx solid #F0F0F0;
  247. border-bottom: 20rpx solid transparent; */
  248. border-top: 10rpx solid transparent;
  249. border-left: 15rpx solid #5e73e5;
  250. border-bottom: 10rpx solid transparent;
  251. margin-top: 36rpx;
  252. }
  253. .own-head-img {
  254. width: 70rpx;
  255. height: 70rpx;
  256. border-radius: 50%;
  257. margin: 10rpx 10rpx 10rpx 10rpx;
  258. }
  259. ::-webkit-scrollbar {
  260. width: 0;
  261. height: 0;
  262. color: transparent;
  263. }
  264. .chat-emotion {
  265. width: 28px;
  266. height: 28px;
  267. margin: 0 12px;
  268. }
  269. .emotions {
  270. display: flex;
  271. align-items: flex-start;
  272. justify-content: flex-start;
  273. width: 200px;
  274. height: 36px;
  275. margin: 6px;
  276. }
  277. .emotions-item {
  278. width: 24px;
  279. height: 24px;
  280. margin: 0 8px;
  281. }
  282. .historyText {
  283. color: #ccc;
  284. }