uniapp中引入jsmind时, 思维导图的线 和 结点 会分开显示, 不在一起 #536
Replies: 5 comments
-
template中代码为:
(github显示代码样式好像有问题, 已经加了代码块, 但是会把换行吃掉... ) |
Beta Was this translation helpful? Give feedback.
-
我不是很确定问题在哪里。不过你要不要看一下最终它 render 出来的 html 结构是什么样的。以及跟 jsmind.online 里的样式对比一下。主要是 |
Beta Was this translation helpful? Give feedback.
-
好的, 感谢您的建议. 之前是有加width的, 但是加了width且, 思维导图的线也是分开的, 只不过一个在左边, 一个在右边. 后面我就将宽度去掉试了下, 然后它就变成一个在上面一个在下面了. 这个页面中只有上面列出来两个样式, 且尝试了只保留jsmind_container一个样式的情况下 , 线和结点也是分开展示的. |
Beta Was this translation helpful? Give feedback.
-
jsmind.online 上的代码你可以在浏览器里直接看到,在检查样式里看不出来,也可以把样式表下载到电脑上再看。 uniapp 这个如果你这个调试好的话,非常欢迎分享到 jsmind-samples 这个项目里来。现在前端各种框架确实太多了。 |
Beta Was this translation helpful? Give feedback.
-
我也是用uniapp调试的canvas缺少position: absolute加上就行了 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
使用uniapp引入了jsmind, 想实现jsmind.online中显示的app效果.
但是最终效果是: 思维导图的线单独显示在上面, 所有结点单独显示在下面.
样式代码为:
Beta Was this translation helpful? Give feedback.
All reactions