茫然不清晰 发表于 2026-10-10 00:32:00

JSON 编辑器的使用以及功能介绍~[更新于2026-11-08]

<div class="ce-block" data-id="S29oVbbh11" >
        <div class="ce-block__content" style="">
                <h3 class="ce-header ce-header--left">适合单张图片使用</h3>
        </div>
</div><div class="ce-block ce-block--focused" data-id="58T_wjmO-l" >
    <div class="ce-block__content">
      <div class="cdx-block image-tool image-tool--filled   ">
            <div class="image-tool__image">
                <div class="image-tool__image-preloader" style=""></div>
                <img id="aimg_58T_wjmO-l" class="image-tool__image-picture _zoom" src="https://www.xinmcc.com/data/attachment/forum/202610/10/010050ix1xeksvhll4fs9g.png" title="" alt="" data-aid="11675"/>
            </div>
            <div class="cdx-input image-tool__caption" data-placeholder=""></div>
      </div>
    </div>
</div><div class="ce-block" data-id="FN82_7ystq" >
        <div class="ce-block__content" style="">
                <h3 class="ce-header ce-header--left">素材图片帖多图请使用图集传,自动瀑布流显示,推荐</h3>
        </div>
</div><div class="ce-block ce-block--focused" data-id="uD5D5fPVGg" >
    <div class="ce-block__content">
      <div class="cdx-block image-tool image-tool--filled   ">
            <div class="image-tool__image">
                <div class="image-tool__image-preloader" style=""></div>
                <img id="aimg_uD5D5fPVGg" class="image-tool__image-picture _zoom" src="https://www.xinmcc.com/data/attachment/forum/202610/10/010210suz1i7m411fqh1ah.png" title="" alt="" data-aid="11676"/>
            </div>
            <div class="cdx-input image-tool__caption" data-placeholder=""></div>
      </div>
    </div>
</div><div class="ce-block" data-id="E3LoRmimx-" >
        <div class="ce-block__content" style="">
                <h3 class="ce-header ce-header--left">音乐帖发布可使用音乐合集上传,支持mp3,m4a格式。</h3>
        </div>
</div><div class="ce-block ce-block--focused" data-id="SwB_runHi-" >
    <div class="ce-block__content">
      <div class="cdx-block image-tool image-tool--filled   ">
            <div class="image-tool__image">
                <div class="image-tool__image-preloader" style=""></div>
                <img id="aimg_SwB_runHi-" class="image-tool__image-picture _zoom" src="https://www.xinmcc.com/data/attachment/forum/202611/08/124712w49dawdw3r7973z6.jpg" title="" alt="" data-aid="12710"/>
            </div>
            <div class="cdx-input image-tool__caption" data-placeholder=""></div>
      </div>
    </div>
</div><div class="ce-block" data-id="yMQdvyzgrQ" >
        <div class="ce-block__content" style="">
                <h3 class="ce-header ce-header--left">付费看帖的使用操作,这里的售价元实际就是论坛的金钱,此功能仅在素材区使用。一般用于素材图片的付费看帖,

支持付费看帖,激励作者创作更好的作品。</h3>
        </div>
</div><div class="ce-block ce-block--focused" data-id="AdB1QBjCYy" >
    <div class="ce-block__content">
      <div class="cdx-block image-tool image-tool--filled   ">
            <div class="image-tool__image">
                <div class="image-tool__image-preloader" style=""></div>
                <img id="aimg_AdB1QBjCYy" class="image-tool__image-picture _zoom" src="https://www.xinmcc.com/data/attachment/forum/202610/10/011131sbukb88zaemapdkd.png" title="" alt="" data-aid="11680"/>
            </div>
            <div class="cdx-input image-tool__caption" data-placeholder=""></div>
      </div>
    </div>
</div><div class="ce-block" data-id="xVA7Dzxv2J" >
        <div class="ce-block__content" style="">
                <h3 class="ce-header ce-header--left">功能区块未全部显示支持左右滑动,其他功能不一一介绍了,自行测试。</h3>
        </div>
</div><div class="ce-block ce-block--focused" data-id="_PkLupk-IF" >
    <div class="ce-block__content">
      <div class="cdx-block image-tool image-tool--filled   ">
            <div class="image-tool__image">
                <div class="image-tool__image-preloader" style=""></div>
                <img id="aimg__PkLupk-IF" class="image-tool__image-picture _zoom" src="https://www.xinmcc.com/data/attachment/forum/202610/10/011720c7uk7phhoqrhdor7.png" title="" alt="" data-aid="11681"/>
            </div>
            <div class="cdx-input image-tool__caption" data-placeholder=""></div>
      </div>
    </div>
</div><style type="text/css">
.ce-block {
        margin-top: 20px;
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
/**
* Plugin styles
*/
.ce-header {
position: relative;
padding: 1px 0px 1px 15px;
margin: 0;
line-height: 1.25em;
outline: none;
margin-bottom: 10px;
}

.ce-header p,
.ce-header div {
padding: 0 !important;
margin: 0 !important;
}
.ce-header::before {
        content: "";
        background-color: #3e8fe3;
        width: 6px;
        height: 100%;
        position: absolute;
        left: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
}
/**
* Styles for Plugin icon in Toolbar
*/
.ce-header__icon {
}

.ce-header::before {
position: absolute;
content: attr(data-placeholder);
color: #707684;
font-weight: normal;
display: none;
cursor: text;
}

.ce-header:empty::before {
display: block;
}

.ce-header:empty:focus::before {
display: none;
}
/* FontSize */
h1.ce-header {
    font-size: 2.0em;
}
h2.ce-header {
    font-size: 1.7em;
}
h3.ce-header {
    font-size: 1.4em;
}
h4.ce-header {
    font-size: 1.15em;
}
h5.ce-header {
    font-size: 0.95em;
}
h6.ce-header {
    font-size: 0.8em;
}
/* Alignment*/
.ce-header--right {
text-align: right;
}
.ce-header--center {
text-align: center;
}
.ce-header--left {
text-align: left;
}
.ce-header--justify {
text-align: justify;
}
</style><style type="text/css">
.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);
}
}
</style><style type="text/css">
.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;
}
</style>

admin 发表于 2026-10-25 14:20:10

很详细

素禾 发表于 2026-11-1 19:13:35

本帖最后由 素禾 于 2026-11-1 19:39 编辑

嗯,我试试。貌似MP4也能传音乐。

南挽 发表于 2026-11-7 19:07:12

学废了……         
页: [1]
查看完整版本: JSON 编辑器的使用以及功能介绍~[更新于2026-11-08]