ysx24 发表于 2026-2-7 13:35:10

不知为啥帖子设置精华后详情页没显示图章,列表页有显示 New

是哪设置错了吗?


我知道答案 回答被采纳将会获得1 贡献 已有3人回答

可可的可 发表于 2026-2-7 13:35:27

            
            
      
   

                                                设置一下 关联操作
               
       

.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.image-tool {--bg-color: #cdd1e0;--front-color: #388ae5;--border-color: #e8e8eb;}.image-tool__image {    border-radius: 3px;    overflow: hidden;    margin-bottom: 10px;}.image-tool__image-picture {      max-width: 100%;      vertical-align: bottom;      display: block;      margin-left: auto;      margin-right: auto;    }.image-tool__image-preloader {      width: 50px;      height: 50px;      border-radius: 50%;      background-size: cover;      margin: auto;      position: relative;      background-color: #cdd1e0;      background-position: center center;    }.image-tool__image-preloader::after {      content: "";      position: absolute;      z-index: 3;      width: 60px;      height: 60px;      border-radius: 50%;      border: 2px solid #cdd1e0;      border-top-color: #388ae5;      left: 50%;      top: 50%;      margin-top: -30px;      margin-left: -30px;      animation: image-preloader-spin 2s infinite linear;      box-sizing: border-box;      }.image-tool__caption::before {      position: absolute !important;      content: attr(data-placeholder);      color: #707684;      font-weight: normal;      display: none;    }.image-tool__caption:empty::before {      display: block;      }.image-tool__caption:empty:focus::before {      display: none;      }.image-tool--empty .image-tool__image {      display: none;    }.image-tool--empty .image-tool__caption, .image-tool--loading .image-tool__caption {      display: none;    }.image-tool .cdx-button {    display: flex;    align-items: center;    justify-content: center;}.image-tool .cdx-button svg {      height: auto;      margin: 0 6px 0 0;    }.image-tool--filled .cdx-button {      display: none;    }.image-tool--filled .image-tool__image-preloader {      display: none;      }.image-tool--loading .image-tool__image {      min-height: 200px;      display: flex;      border: 1px solid #e8e8eb;      background-color: #fff;    }.image-tool--loading .image-tool__image-picture {      display: none;      }.image-tool--loading .cdx-button {      display: none;    }/**   * Tunes   * ----------------   */.image-tool--withBorder .image-tool__image {      border: 1px solid #e8e8eb;    }.image-tool--withBackground .image-tool__image {      padding: 15px;      background: #cdd1e0;    }.image-tool--withBackground .image-tool__image-picture {      max-width: 60%;      margin: 0 auto;      }.image-tool--stretched .image-tool__image-picture {      width: 100%;      }.image-tool__caption {                text-align: center;                font-size: 14px;                color: #a3a3a3;        }@keyframes image-preloader-spin {0% {    transform: rotate(0deg);}100% {    transform: rotate(360deg);}}.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.cdx-alert {        position:relative;        padding:10px;        border-radius:5px;        margin-bottom:10px}.cdx-alert-primary {        background-color:#ebf8ff;        border:1px solid #4299e1;        color:#2b6cb0}.cdx-alert-secondary {        background-color:#f7fafc;        border:1px solid #cbd5e0;        color:#222731}.cdx-alert-info {        background-color:#e6fdff;        border:1px solid #4cd4ce;        color:#00727c}.cdx-alert-success {        background-color:#f0fff4;        border:1px solid #68d391;        color:#2f855a}.cdx-alert-warning {        background-color:#fffaf0;        border:1px solid #ed8936;        color:#c05621}.cdx-alert-danger {        background-color:#fff5f5;        border:1px solid #fc8181;        color:#c53030}.cdx-alert-light {        background-color:#fff;        border:1px solid #edf2f7;        color:#1a202c}.cdx-alert-dark {        background-color:#2d3748;        border:1px solid #1a202c;        color:#d3d3d3}.cdx-alert-align-left {        text-align:left}.cdx-alert-align-center {        text-align:center}.cdx-alert-align-right {        text-align:right}.cdx-alert__message {        outline:none}.cdx-alert ::before {        position:absolute;        content:attr(data-placeholder);        color:#707684;        font-weight:normal;        opacity:0}.cdx-alert :empty::before {        opacity:1}.cdx-alert :empty:focus::before {        opacity:0}.ce-popover__item .ce-popover__item-icon svg #background {        fill:#ebf8ff;        stroke:#4299e1}.ce-popover__item .ce-popover__item-icon svg #content {        fill:#2b6cb0}.ce-popover__item .ce-popover__item-icon svg #background {        fill:#f7fafc;        stroke:#cbd5e0}.ce-popover__item .ce-popover__item-icon svg #content {        fill:#222731}.ce-popover__item .ce-popover__item-icon svg #background {        fill:#e6fdff;        stroke:#4cd4ce}.ce-popover__item .ce-popover__item-icon svg #content {        fill:#00727c}.ce-popover__item .ce-popover__item-icon svg #background {        fill:#f0fff4;        stroke:#68d391}.ce-popover__item .ce-popover__item-icon svg #content {        fill:#2f855a}.ce-popover__item .ce-popover__item-icon svg #background {        fill:#fffaf0;        stroke:#ed8936}.ce-popover__item .ce-popover__item-icon svg #content {        fill:#c05621}.ce-popover__item .ce-popover__item-icon svg #background {        fill:#fff5f5;        stroke:#fc8181}.ce-popover__item .ce-popover__item-icon svg #content {        fill:#c53030}.ce-popover__item .ce-popover__item-icon svg #background {        fill:#fff;        stroke:#edf2f7}.ce-popover__item .ce-popover__item-icon svg #content {        fill:#1a202c}.ce-popover__item .ce-popover__item-icon svg #background {        fill:#2d3748;        stroke:#1a202c}.ce-popover__item .ce-popover__item-icon svg #content {        fill:#d3d3d3}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;}

小冰 发表于 2026-2-7 13:35:36

刚设置时没显示,现在显示了。难道这个显示有缓存??若是,在哪关闭这个缓存显示呢

yusr 发表于 2026-2-7 13:35:56

这个没查过;

需要的话 可以有偿帮忙 检查
页: [1]
查看完整版本: 不知为啥帖子设置精华后详情页没显示图章,列表页有显示 New