message-again.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. @import '../../../../themes/t.cell.scss';
  2. @import '../../common.scss';
  3. /* 页面容器 */
  4. .messages {
  5. flex: 1;
  6. overflow-y: auto;
  7. padding: 10px;
  8. box-sizing: border-box;
  9. }
  10. .chat-page {
  11. position: relative;
  12. height: 100vh;
  13. overflow: hidden;
  14. }
  15. /* 输入容器基础样式 */
  16. .input-container {
  17. position: fixed;
  18. left: 0;
  19. right: 0;
  20. bottom: 0;
  21. display: flex;
  22. align-items: center;
  23. padding: 20rpx;
  24. background: #fff;
  25. border-top: 1rpx solid #eee;
  26. z-index: 100;
  27. transform: translateY(0);
  28. transition-property: transform;
  29. transition-timing-function: ease-out;
  30. }
  31. /* 输入区域内部元素 */
  32. .input-container input {
  33. flex: 1;
  34. margin-right: 20rpx;
  35. padding: 15rpx 20rpx;
  36. border: 1rpx solid #ddd;
  37. border-radius: 8rpx;
  38. }
  39. .input-container button {
  40. padding: 0 30rpx;
  41. height: 70rpx;
  42. line-height: 70rpx;
  43. background-color: #07c160;
  44. color: white;
  45. border-radius: 8rpx;
  46. }
  47. // 键盘的样式
  48. .header{
  49. position: fixed;
  50. width: 100%;
  51. border-bottom: 1px solid #dddd;
  52. text-align: center;
  53. height: 40px;
  54. line-height: 40px;
  55. }
  56. .message-list{
  57. position: fixed;
  58. width:100%;
  59. }
  60. .input-panel {
  61. display: flex;
  62. background: #dddddd;
  63. height: 60px;
  64. position: fixed;
  65. width:100%;
  66. padding:0px 10px;
  67. align-items: center;
  68. box-sizing: border-box;
  69. // border: 1px solid red;
  70. }
  71. .input-panel input {
  72. flex: 1;
  73. width: 100%;
  74. background: #ffffff;
  75. height: 40px;
  76. line-height: 50px;
  77. box-sizing: border-box;
  78. padding:0px 20rpx;
  79. border-radius: 6rpx;
  80. color: black;
  81. }
  82. .send-btn {
  83. display: inline-block;
  84. padding: 0px 10px;
  85. color: #fff;
  86. background: green;
  87. border-radius: 3px;
  88. line-height:40px;
  89. margin-left:5px;
  90. }
  91. // ======================
  92. ::v-deep .t-radio__title--disabled {
  93. color: white !important;
  94. }
  95. .radio-card {
  96. position: relative;
  97. // margin: 20rpx 0 20rpx 20rpx;
  98. border-radius: 12rpx;
  99. overflow: hidden;
  100. box-sizing: border-box;
  101. // border: 3rpx solid var(--td-bg-color-container, #fff);
  102. }
  103. .card-active {
  104. border-color: var(--td-brand-color, #0052d9);
  105. }
  106. .card-active::after {
  107. content: '';
  108. display: block;
  109. position: absolute;
  110. left: 0;
  111. top: 0;
  112. width: 0;
  113. border-width: 28px 28px 28px 0;
  114. border-style: solid;
  115. border-color: var(--td-brand-color, #1B4F34) transparent transparent transparent;
  116. }
  117. .card__icons {
  118. color: var(--td-bg-color-container, #fff);
  119. position: absolute;
  120. left: 1.5px;
  121. top: 1.5px;
  122. z-index: 1;
  123. }
  124. /* 横向布局 */
  125. .horizontal-box {
  126. display: flex;
  127. align-items: center;
  128. justify-content: space-around;
  129. flex-wrap: wrap;
  130. margin: 20rpx 0 0rpx 0;
  131. }
  132. .horizontal-box .radio-card {
  133. // flex: 0 0 calc(33.33% - 12rpx);
  134. // margin: 0 0 24rpx 0;
  135. width:46%;
  136. margin: 0 0 20rpx 0;
  137. text-align: center;
  138. }
  139. // .btn_box{
  140. // display: flex;
  141. // justify-content: space-between;
  142. // align-items: center;
  143. // width: 100%;
  144. // .item1{
  145. // width: 42%;
  146. // background-color: #FFF2F3FF;
  147. // color: #0052D9;
  148. // border-radius: 10px;
  149. // padding: 10px;
  150. // text-align: center;
  151. // }
  152. // .item2{
  153. // width: 42%;
  154. // background-color: #0052D9;
  155. // color: white;
  156. // border-radius: 10px;
  157. // padding: 10px;
  158. // text-align: center;
  159. // }
  160. // .symptoms-container{
  161. // display: flex;
  162. // flex-wrap: wrap;
  163. // .symptoms-box{
  164. // padding: 10px;
  165. // }
  166. // }
  167. // }
  168. .form-picker {
  169. &__header {
  170. display: flex;
  171. align-items: center;
  172. height: 116rpx;
  173. .title {
  174. flex: 1;
  175. text-align: center;
  176. font-weight: 600;
  177. font-size: 36rpx;
  178. color: var(--td-text-color-primary);
  179. }
  180. .btn {
  181. font-size: 32rpx;
  182. padding: 32rpx;
  183. &--cancel {
  184. color: var(--td-text-color-secondary);
  185. }
  186. &--confirm {
  187. color: var(--primary-color);
  188. }
  189. }
  190. }
  191. &__content {
  192. padding: 0 12px;
  193. box-sizing: border-box;
  194. }
  195. }
  196. /* module/chats/components/message-select/message-select.wxss */
  197. .card {
  198. position: relative;
  199. display: flex;
  200. justify-content: center;
  201. align-items: center;
  202. padding: 4px;
  203. font-size: 28rpx;
  204. text-align: center;
  205. border-radius: 12rpx;
  206. overflow: hidden;
  207. box-sizing: border-box;
  208. background-color: var(--td-bg-color-secondarycontainer);
  209. border: 1px solid var(--td-bg-color-container, #fff);
  210. &--active {
  211. border-color: var(--td-bg-color-container, #9ea1a5);
  212. &::after {
  213. content: '';
  214. display: block;
  215. position: absolute;
  216. left: 0;
  217. top: 0;
  218. width: 0;
  219. height: 0;
  220. border-width: 28px 28px 28px 0;
  221. border-style: solid;
  222. border-color: var(--td-bg-color-container) transparent transparent transparent;
  223. border: 14px solid var(--td-bg-color-container, #0052d9);
  224. border-bottom-color: transparent;
  225. border-right-color: transparent;
  226. }
  227. }
  228. &--disabled {
  229. opacity: 0.5;
  230. }
  231. &__icon {
  232. color: var(--primary-color, #fff);
  233. position: absolute;
  234. left: 1.5px;
  235. top: 1.5px;
  236. z-index: 1;
  237. }
  238. }
  239. .item.disabled {
  240. opacity: 0.5;
  241. }