123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- :host {
- text-align: center;
- }
- nz-footer {
- line-height: 1.5;
- }
- nz-sider {
- background-color: #EEF0F4FF;
- line-height: 120px;
- }
- nz-content {
- margin-top: 20px;
- }
- nz-layout {
- margin-bottom: 48px;
- }
- nz-layout nz-layout,
- nz-layout:last-child {
- margin: 0;
- }
- //面包屑
- .container {
- display: flex;
- align-items: center;
- padding: 16px;
- background-color: #eef0f4;
- }
- .breadcrumb-container {
- margin-right: auto;
- }
- .breadcrumb-container nz-breadcrumb {
- display: flex;
- align-items: center;
- }
- .breadcrumb-container nz-breadcrumb-item {
- margin-right: 8px;
- }
- .breadcrumb-container nz-breadcrumb-item:last-child {
- margin-right: 0;
- }
- .breadcrumb-container nz-breadcrumb-item a {
- color: #1890ff;
- }
- .breadcrumb-container nz-breadcrumb-item a:hover {
- text-decoration: underline;
- }
- //信息展示页面
- .card {
- border-radius: 8px;
- background-color: #fff;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
- padding: 16px;
- }
- .header {
- display: flex;
- align-items: center;
- height: 50px;
- }
- .share-button {
- margin-left: auto;
- }
- .divider {
- border: none;
- border-top: 1px solid #eee;
- margin: 16px 0;
- }
- .content p {
- margin-top: 5px;
- line-height: 15px;
- /* 文本和图片样式 */
- }
- .actions {
- display: flex;
- justify-content: space-between;
- }
- //图标
- .icon-button {
- background-color: transparent;
- border: none;
- outline: none;
- cursor: pointer;
- margin-right: 8px;
- }
- //图标更改颜色
- .icon-button {
- background-color: #fff;
- color: #000;
- border: none;
- padding: 0;
- margin-right: 10px;
- cursor: pointer;
- &:hover {
- background-color: #f2f2f2;
- }
- &.active {
- background-color: red;
- color: #fff;
- }
- }
- .actions {
- display: flex;
- align-items: center;
- }
- //滚动条
- nz-content-container {
- overflow: auto;
- }
- //留言框
- .message-box {
- display: flex;
- align-items: center;
- background-color: #f2f2f2;
- padding: 10px;
- }
- .icons {
- display: flex;
- margin-right: 10px;
- }
- .icon-button {
- background-color: transparent;
- border: none;
- cursor: pointer;
- margin-right: 10px;
- }
- .icon {
- color: #000;
- }
- .message-input {
- flex: 1;
- height: 100px;
- resize: vertical;
- padding: 5px;
- border: 1px solid #ccc;
- border-radius: 5px;
- }
- .send-button {
- background-color: #007bff;
- color: #fff;
- border: none;
- padding: 5px 10px;
- border-radius: 5px;
- cursor: pointer;
- }
- //评论条数
- .comment-section {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- }
- .comment-count {
- font-size: 18px;
- font-weight: bold;
- margin-bottom: 10px;
- }
- .count {
- background-color: #007bff;
- color: #fff;
- padding: 5px 10px;
- border-radius: 50%;
- }
- .divider {
- border: none;
- border-top: 1px solid #ccc;
- width: 100%;
- margin: 10px 0;
- }
- //评论点赞
- .count {
- padding-left: 8px;
- cursor: auto;
- }
- .ant-comment-rtl .count {
- padding-right: 8px;
- padding-left: 0;
- }
- //评论子集查看
- .comment-section {
- .nz-comment-action {
- .anticon-comment {
- cursor: pointer;
- }
- .expanded {
- color: #1890ff;
- }
- }
- }
- //左侧内容部分
- .layout-container {
- width: 70%;
- margin: auto;
- }
- //右侧卡片
- nz-sider {
- margin-left: 30px;
- }
|