message-again.scss 5.4 KB

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