.ZRichText { width: 1000px; height: 100%; :global { .txtBox { width: 100%; height: 100%; border: 1px solid #ccc; a{ color: #fff !important; } // 隐藏媒体功能 .control-item.media { display: none; } .bf-container { height:100%; } .bf-content { height: calc(100% - 92px); padding-bottom: 0px; } .bf-controlbar { position: relative; .upImgBox { position: absolute; bottom: 13px; right: 15px; cursor: pointer; color: var(--themeColor); // display: none; } .upImgBoxNo { display: none; } } } .noUpThumb { position: relative; overflow: hidden; opacity: 0; transition: top .2s; color: #ff4d4f; top: -10px; } .noUpThumbAc { top: 0; opacity: 1; } .bf-media .bf-image { float: initial !important; display: block; margin: 10px auto; text-align: center; // 不让拖动放大缩小图片(会报错) .bf-csize-icon { display: none !important; } img { max-width: 500px; max-height: 300px; } } } }