page-mine.component.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. nz-header {
  2. background-color: #ffffff;
  3. border-radius: 10px;
  4. }
  5. .card-container ::ng-deep p {
  6. margin: 0;
  7. }
  8. .card-container ::ng-deep > .ant-tabs-card .ant-tabs-content {
  9. height: auto;
  10. margin-top: -16px;
  11. }
  12. .card-container ::ng-deep > .ant-tabs-card .ant-tabs-content > .ant-tabs-tabpane {
  13. background: #fff;
  14. padding: 16px;
  15. }
  16. .card-container ::ng-deep > .ant-tabs-card > .ant-tabs-nav::before {
  17. display: none;
  18. }
  19. .card-container ::ng-deep > .ant-tabs-card .ant-tabs-tab {
  20. border-color: transparent;
  21. background: transparent;
  22. }
  23. .card-container ::ng-deep > .ant-tabs-card .ant-tabs-tab-active {
  24. border-color: #fff;
  25. background: #fff;
  26. }
  27. //输入框
  28. .example-input .ant-input {
  29. width: 200px;
  30. margin: 0 8px 8px 0;
  31. }
  32. i {
  33. cursor: pointer;
  34. }
  35. //设置页面的逻辑
  36. .steps-content {
  37. margin-top: 16px;
  38. border: 1px dashed #e9e9e9;
  39. border-radius: 6px;
  40. background-color: #fafafa;
  41. min-height: 200px;
  42. text-align: center;
  43. }
  44. .form-container {
  45. width: 70%;
  46. height: 100%;
  47. margin: auto auto;
  48. }
  49. .form-row {
  50. display: flex;
  51. align-items: center;
  52. margin-bottom: 10px;
  53. }
  54. .form-row label {
  55. margin-right: 10px;
  56. }
  57. button[type="submit"] {
  58. margin-top: 10px;
  59. }
  60. .steps-action {
  61. margin-top: 24px;
  62. }
  63. button {
  64. margin-right: 8px;
  65. }
  66. //done按钮特效
  67. //暂未设定
  68. //设置第二次
  69. [nz-form] {
  70. max-width: 600px;
  71. }
  72. //完善信息
  73. [nz-form] {
  74. max-width: 600px;
  75. }
  76. button {
  77. margin-left: 8px;
  78. }
  79. //聊天框的逻辑
  80. /* 省略之前的样式 */
  81. .chat-container {
  82. display: flex;
  83. flex-direction: column;
  84. height: 100%;
  85. }
  86. .chat-window {
  87. flex-grow: 1;
  88. height: 300px;
  89. overflow-y: auto;
  90. border: 1px solid #ccc;
  91. padding: 10px;
  92. }
  93. .chat-label {
  94. font-weight: bold;
  95. margin-bottom: 10px;
  96. }
  97. .chat-messages {
  98. display: flex;
  99. flex-direction: column;
  100. align-items: flex-start;
  101. }
  102. .message {
  103. display: flex;
  104. align-items: center;
  105. margin-top: 10px;
  106. &.right {
  107. flex-direction: row-reverse;
  108. align-items: flex-end;
  109. }
  110. }
  111. .avatar {
  112. width: 40px;
  113. height: 40px;
  114. margin-right: 10px;
  115. img {
  116. width: 100%;
  117. height: 100%;
  118. border-radius: 50%;
  119. }
  120. }
  121. .avatar.left {
  122. align-self: flex-start;
  123. }
  124. .avatar.right {
  125. align-self: flex-end;
  126. }
  127. .avatar img {
  128. width: 100%;
  129. height: 100%;
  130. border-radius: 50%;
  131. }
  132. .content {
  133. background-color: #f1f1f1;
  134. padding: 10px;
  135. border-radius: 5px;
  136. }
  137. .left {
  138. align-self: flex-start;
  139. }
  140. .right {
  141. align-self: flex-end;
  142. }
  143. .left .content {
  144. background: cornflowerblue;
  145. }
  146. .right .content {
  147. background: lightgray;
  148. }
  149. .segmented-container {
  150. display: flex;
  151. flex-direction: column;
  152. }
  153. .input-container, {
  154. margin-top: 10px;
  155. }
  156. .input-container input {
  157. flex-grow: 1;
  158. margin-right: 10px;
  159. }
  160. .input-container button {
  161. padding: 5px 10px;
  162. }