chatForm.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /* pages/index/to_news/to_news.wxss */
  2. page {
  3. background-color: #f7f7f7;
  4. }
  5. .time {
  6. text-align: center;
  7. padding: 5rpx 20rpx 5rpx 20rpx;
  8. width: 200rpx;
  9. font-size: 26rpx;
  10. background-color: #ccc;
  11. color: #fff;
  12. border-radius: 20rpx;
  13. }
  14. /* 聊天内容 */
  15. .news {
  16. margin-top: 180rpx;
  17. text-align: center;
  18. margin-bottom: 120rpx;
  19. /* overflow: auto; */
  20. }
  21. /* 聊天 */
  22. .page_row {
  23. display: flex;
  24. }
  25. .my_right {
  26. float: right;
  27. position: relative;
  28. /* right: 40rpx; */
  29. }
  30. .you_left {
  31. float: left;
  32. position: relative;
  33. /* left: 5rpx; */
  34. }
  35. .new_img {
  36. width: 80rpx;
  37. height: 80rpx;
  38. border-radius: 50%;
  39. }
  40. .new_txt {
  41. max-width: 500rpx;
  42. border-radius: 7px;
  43. background-color: #ffde57;
  44. padding: 20rpx 20rpx 20rpx 20rpx;
  45. text-align: left;
  46. line-height: 47rpx;
  47. font-size: 30rpx;
  48. }
  49. .sanjiao {
  50. top: 20rpx;
  51. position: relative;
  52. width: 0px;
  53. height: 0px;
  54. border-width: 10px;
  55. border-style: solid;
  56. }
  57. .my {
  58. border-color: transparent transparent transparent #ffde57;
  59. }
  60. .you {
  61. border-color: transparent #ffde57 transparent transparent;
  62. }
  63. .historycon {
  64. height: 90%;
  65. width: 100%;
  66. flex-direction: column;
  67. display: flex;
  68. /* margin-top: 100rpx; */
  69. border-top: 0px;
  70. }
  71. .history {
  72. margin-top: 15px;
  73. margin: 10px;
  74. font-size: 14px;
  75. line-height: 40px;
  76. word-break: break-all;
  77. }
  78. /* input */
  79. .input-pop-box {
  80. /* width: 100%;
  81. height: 100%; */
  82. position: fixed;
  83. background: rgba(0, 0, 0, 0.5);
  84. z-index: 8;
  85. bottom: 0;
  86. /* display: none; */
  87. }
  88. .input-pop {
  89. width: 100%;
  90. height: auto;
  91. max-height: 780rpx;
  92. background: #fff;
  93. position: fixed;
  94. z-index: 9;
  95. bottom: 0rpx;
  96. }
  97. .input-pop-box .input-pop .input {
  98. display: flex;
  99. background: #fff;
  100. font-size: 29rpx;
  101. color: #333;
  102. height: auto;
  103. /* width: 650rpx; */
  104. padding: 20rpx 30rpx 20rpx 30rpx;
  105. /* margin:10px; */
  106. overflow: hidden;
  107. }
  108. .input-pop-box .input-pop .title {
  109. margin-bottom: 10rpx;
  110. }
  111. .input-pop-box .input-pop .content {
  112. border: 1rpx solid #eee;
  113. border-radius: 20rpx;
  114. padding: 10rpx;
  115. background: #eee;
  116. overflow: hidden;
  117. height: 65rpx;
  118. width: 550rpx;
  119. }
  120. .input-pop-box .input-pop input {
  121. display: block;
  122. height: 1.4rem;
  123. text-overflow: clip;
  124. overflow: hidden;
  125. white-space: nowrap;
  126. font-family: UICTFontTextStyleBody;
  127. min-height: 1.4rem;
  128. margin-bottom: 40rpx;
  129. }
  130. .input-pop-box .input-pop .send {
  131. width: 120rpx;
  132. height: 65rpx;
  133. line-height: 60rpx;
  134. text-align: center;
  135. border-radius: 20rpx;
  136. background: #ffde57;
  137. font-size: 30rpx;
  138. border: 3rpx solid #333;
  139. margin-left: 20rpx;
  140. }
  141. /* top */
  142. .top-pop {
  143. width: 100%;
  144. height: auto;
  145. max-height: 780rpx;
  146. background: #fff;
  147. position: fixed;
  148. z-index: 9;
  149. top: 0rpx;
  150. border-bottom: 1rpx solid #ddd;
  151. }
  152. .top-pop-box .top-pop .content {
  153. display: flex;
  154. background: #fff;
  155. font-size: 29rpx;
  156. color: #333;
  157. height: auto;
  158. /* width: 650rpx; */
  159. padding: 20rpx 30rpx 20rpx 30rpx;
  160. /* margin:10px; */
  161. overflow: hidden;
  162. }
  163. .top-pop-box .top-pop .img {
  164. height: 125rpx;
  165. width: 125rpx;
  166. }
  167. .top-pop-box .top-pop .info {
  168. padding-left: 30rpx;
  169. }
  170. .top-pop-box .top-pop .info .price {
  171. margin-top: 8rpx;
  172. font-size: 28rpx;
  173. color: #f94b4b;
  174. line-height: 40rpx;
  175. width: 160rpx;
  176. }
  177. .top-pop-box .top-pop .info .name {
  178. font-size: 30rpx;
  179. color: #000;
  180. line-height: 40rpx;
  181. }
  182. .top-pop-box .top-pop .info .order {
  183. display: flex;
  184. }
  185. .top-pop-box .top-pop .info .msg {
  186. font-size: 24rpx;
  187. color: #666;
  188. }
  189. .top-pop-box .top-pop .info .btn {
  190. font-size: 24rpx;
  191. background: #f94b4b;
  192. color: #fff;
  193. margin-left: 120px;
  194. padding: 10rpx;
  195. }
  196. .scroll {
  197. height: 75vh;
  198. }