message-again.scss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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: #F3F3F3;
  63. height: 120rpx;
  64. position: fixed;
  65. width:100%;
  66. padding:0px 20px;
  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: #1D6FF6;
  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::after {
  104. content: '';
  105. display: block;
  106. position: absolute;
  107. left: 0;
  108. top: 0;
  109. width: 0;
  110. border-width: 28px 28px 28px 0;
  111. border-style: solid;
  112. // border-color: var(--td-brand-color, #1B4F34) transparent transparent transparent;
  113. border-color: var(--td-brand-color, #1D6FF6) transparent transparent transparent;
  114. }
  115. .not-change {
  116. width: 100%;
  117. font-size: 14px;
  118. text-align: center;
  119. color: #1D6FF6;
  120. background-color: #F2F3FF;
  121. padding: 10px 20px;
  122. border-radius: 15rpx;
  123. }
  124. .sub-btn {
  125. width: 100%;
  126. color: white;
  127. background-color: #1D6FF6;
  128. font-size: 14px;
  129. text-align: center;
  130. padding: 10px 20px;
  131. border-radius: 15rpx;
  132. }
  133. .card__icons {
  134. // color: var(--td-bg-color-container, #fff);
  135. position: absolute;
  136. // left: 1.5px;
  137. // top: 1.5px;
  138. left: 0px;
  139. top: 0px;
  140. z-index: 1;
  141. color: white;
  142. background: #1D6FF6;
  143. }
  144. /* 横向布局 */
  145. .horizontal-box {
  146. display: flex;
  147. align-items: center;
  148. justify-content: space-around;
  149. flex-wrap: wrap;
  150. margin: 20rpx 0 0rpx 0;
  151. }
  152. .horizontal-box .radio-card {
  153. // flex: 0 0 calc(33.33% - 12rpx);
  154. // margin: 0 0 24rpx 0;
  155. width:46%;
  156. margin: 0 0 20rpx 0;
  157. text-align: center;
  158. }
  159. // .btn_box{
  160. // display: flex;
  161. // justify-content: space-between;
  162. // align-items: center;
  163. // width: 100%;
  164. // .item1{
  165. // width: 42%;
  166. // background-color: #FFF2F3FF;
  167. // color: #0052D9;
  168. // border-radius: 10px;
  169. // padding: 10px;
  170. // text-align: center;
  171. // }
  172. // .item2{
  173. // width: 42%;
  174. // background-color: #0052D9;
  175. // color: white;
  176. // border-radius: 10px;
  177. // padding: 10px;
  178. // text-align: center;
  179. // }
  180. // .symptoms-container{
  181. // display: flex;
  182. // flex-wrap: wrap;
  183. // .symptoms-box{
  184. // padding: 10px;
  185. // }
  186. // }
  187. // }
  188. .form-picker {
  189. &__header {
  190. display: flex;
  191. align-items: center;
  192. height: 116rpx;
  193. .title {
  194. flex: 1;
  195. text-align: center;
  196. font-weight: 600;
  197. font-size: 36rpx;
  198. color: var(--td-text-color-primary);
  199. }
  200. .btn {
  201. font-size: 32rpx;
  202. padding: 32rpx;
  203. &--cancel {
  204. color: var(--td-text-color-secondary);
  205. }
  206. &--confirm {
  207. // color: var(--primary-color);
  208. color: #1D6FF6;
  209. }
  210. }
  211. }
  212. &__content {
  213. padding: 0 12px;
  214. box-sizing: border-box;
  215. }
  216. }
  217. /* module/chats/components/message-select/message-select.wxss */
  218. .card {
  219. position: relative;
  220. display: flex;
  221. justify-content: center;
  222. align-items: center;
  223. padding: 4px;
  224. font-size: 28rpx;
  225. text-align: center;
  226. border-radius: 12rpx;
  227. overflow: hidden;
  228. box-sizing: border-box;
  229. // background-color: var(--td-bg-color-secondarycontainer);
  230. // border: 1px solid var(--td-bg-color-container, #fff);
  231. border: 1px solid #EEEEEE;
  232. &--active {
  233. // border-color: var(--td-bg-color-container, #9ea1a5);
  234. border: 1px solid #1D6FF6;
  235. &::after {
  236. content: '';
  237. display: block;
  238. position: absolute;
  239. left: 0;
  240. top: 0;
  241. width: 0;
  242. height: 0;
  243. border-width: 28px 28px 28px 0;
  244. border-style: solid;
  245. border-color: var(--td-bg-color-container) transparent transparent transparent;
  246. // border: 14px solid var(--td-bg-color-container, #0052d9);
  247. border: 14px solid #1D6FF6;
  248. border-bottom-color: transparent;
  249. border-right-color: transparent;
  250. }
  251. }
  252. &--disabled {
  253. opacity: 0.5;
  254. }
  255. &__icon {
  256. // color: var(--primary-color, #fff);
  257. // color: black;
  258. color: white ;
  259. position: absolute;
  260. left: 1.5px;
  261. top: 1.5px;
  262. z-index: 1;
  263. }
  264. }
  265. .item.disabled {
  266. opacity: 0.5;
  267. }