experience-square-information.component.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. :host {
  2. text-align: center;
  3. }
  4. nz-footer {
  5. line-height: 1.5;
  6. }
  7. nz-sider {
  8. background-color: #EEF0F4FF;
  9. line-height: 120px;
  10. }
  11. nz-content {
  12. margin-top: 20px;
  13. }
  14. nz-layout {
  15. margin-bottom: 48px;
  16. }
  17. nz-layout nz-layout,
  18. nz-layout:last-child {
  19. margin: 0;
  20. }
  21. //面包屑
  22. .container {
  23. display: flex;
  24. align-items: center;
  25. padding: 16px;
  26. background-color: #eef0f4;
  27. }
  28. .breadcrumb-container {
  29. margin-right: auto;
  30. }
  31. .breadcrumb-container nz-breadcrumb {
  32. display: flex;
  33. align-items: center;
  34. }
  35. .breadcrumb-container nz-breadcrumb-item {
  36. margin-right: 8px;
  37. }
  38. .breadcrumb-container nz-breadcrumb-item:last-child {
  39. margin-right: 0;
  40. }
  41. .breadcrumb-container nz-breadcrumb-item a {
  42. color: #1890ff;
  43. }
  44. .breadcrumb-container nz-breadcrumb-item a:hover {
  45. text-decoration: underline;
  46. }
  47. //信息展示页面
  48. .card {
  49. border-radius: 8px;
  50. background-color: #fff;
  51. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  52. padding: 16px;
  53. }
  54. .header {
  55. display: flex;
  56. align-items: center;
  57. height: 50px;
  58. }
  59. .share-button {
  60. margin-left: auto;
  61. }
  62. .divider {
  63. border: none;
  64. border-top: 1px solid #eee;
  65. margin: 16px 0;
  66. }
  67. .content p {
  68. margin-top: 5px;
  69. line-height: 15px;
  70. /* 文本和图片样式 */
  71. }
  72. .actions {
  73. display: flex;
  74. justify-content: space-between;
  75. }
  76. //图标
  77. .icon-button {
  78. background-color: transparent;
  79. border: none;
  80. outline: none;
  81. cursor: pointer;
  82. margin-right: 8px;
  83. }
  84. //图标更改颜色
  85. .icon-button {
  86. background-color: #fff;
  87. color: #000;
  88. border: none;
  89. padding: 0;
  90. margin-right: 10px;
  91. cursor: pointer;
  92. &:hover {
  93. background-color: #f2f2f2;
  94. }
  95. &.active {
  96. background-color: red;
  97. color: #fff;
  98. }
  99. }
  100. .actions {
  101. display: flex;
  102. align-items: center;
  103. }
  104. //滚动条
  105. nz-content-container {
  106. overflow: auto;
  107. }
  108. //留言框
  109. .message-box {
  110. display: flex;
  111. align-items: center;
  112. background-color: #f2f2f2;
  113. padding: 10px;
  114. }
  115. .icons {
  116. display: flex;
  117. margin-right: 10px;
  118. }
  119. .icon-button {
  120. background-color: transparent;
  121. border: none;
  122. cursor: pointer;
  123. margin-right: 10px;
  124. }
  125. .icon {
  126. color: #000;
  127. }
  128. .message-input {
  129. flex: 1;
  130. height: 100px;
  131. resize: vertical;
  132. padding: 5px;
  133. border: 1px solid #ccc;
  134. border-radius: 5px;
  135. }
  136. .send-button {
  137. background-color: #007bff;
  138. color: #fff;
  139. border: none;
  140. padding: 5px 10px;
  141. border-radius: 5px;
  142. cursor: pointer;
  143. }
  144. //评论条数
  145. .comment-section {
  146. display: flex;
  147. flex-direction: column;
  148. align-items: flex-start;
  149. }
  150. .comment-count {
  151. font-size: 18px;
  152. font-weight: bold;
  153. margin-bottom: 10px;
  154. }
  155. .count {
  156. background-color: #007bff;
  157. color: #fff;
  158. padding: 5px 10px;
  159. border-radius: 50%;
  160. }
  161. .divider {
  162. border: none;
  163. border-top: 1px solid #ccc;
  164. width: 100%;
  165. margin: 10px 0;
  166. }
  167. //评论点赞
  168. .count {
  169. padding-left: 8px;
  170. cursor: auto;
  171. }
  172. .ant-comment-rtl .count {
  173. padding-right: 8px;
  174. padding-left: 0;
  175. }
  176. //评论子集查看
  177. .comment-section {
  178. .nz-comment-action {
  179. .anticon-comment {
  180. cursor: pointer;
  181. }
  182. .expanded {
  183. color: #1890ff;
  184. }
  185. }
  186. }
  187. //左侧内容部分
  188. .layout-container {
  189. width: 70%;
  190. margin: auto;
  191. }
  192. //右侧卡片
  193. nz-sider {
  194. margin-left: 30px;
  195. }