<div class="editormd-dialog editormd-image-dialog" id="editormd-image-dialog-1575605003593" style="display: block; z-index: 99999; width: 465px; height: 254px; top: 925px; left: 138.5px;"> <div class="editormd-dialog-header" style="cursor: move;"><strong class="editormd-dialog-title">添加图片</strong></div> <a href="javascript:;" class="fa fa-close editormd-dialog-close"></a> <div class="editormd-dialog-container"> <form action="/f?guid=13" target="editormd-image-iframe" method="post" enctype="multipart/form-data" class="editormd-form"> <iframe name="editormd-image-iframe" id="editormd-image-iframe" guid="13"></iframe> <label>图片地址</label> <input type="text" data-url=""> <div class="editormd-file-input"> <input type="file" name="editormd-image-file" accept="image/*"> <input type="submit" value="本地上传"> </div> <br> <label>图片描述</label> <input type="text" value="" data-alt=""> <br> <label>图片链接</label> <input type="text" value="http://" data-link=""> <br> undefined </form> <div class="editormd-dialog-footer"> <button class="editormd-btn editormd-enter-btn">确定</button> <button class="editormd-btn editormd-cancel-btn">取消</button> </div> </div> <div class="editormd-dialog-mask editormd-dialog-mask-bg"></div> <div class="editormd-dialog-mask editormd-dialog-mask-con"></div> </div>
上面代码是我弹出的与顶部的高度:top: 925px; left: 138.5px;
这样就直接跑到屏幕外面了。
有时候这个高度: 600px,这样也就跑到最低下了。
如果我想设置在顶部 top:251px的位置。怎么设置?
在image-dialog.js里吗?
好像加了251px 不起作用。
同样的其它需要弹出的窗口也不行。
例如:
弹出代表块的:
div class="editormd-dialog editormd-code-block-dialog" style="display: block; z-index: 99999; width: 780px; height: 565px; top: 769.5px; left: -19px;"><div class="editormd-dialog-header" style="cursor: move;"><strong class="editormd-dialog-title">添加代码块</strong>
顶部: top:769.5px
<div class="editormd-dialog editormd-dialog-1575605576285" style="display: block; z-index: 99999; width: 380px; height: 211px; top: 946.5px; left: 181px;"><div class="editormd-dialog-header" style="cursor: move;"><strong class="editormd-dialog-title">添加链接</strong>
难道是引入的js css 等文件有相冲突的?
待解决
悬赏分:40
- 离问题结束还有 52天12小时1分11秒
点赞 0反对 0举报 0
收藏 0
分享 0
