根据可视窗口判断面板向上还是向下展开

本demo以element-ui框架为视图模板~

HTML代码

 

JS代码

 

CSS代码

 

posted @ 2019-05-18 13:44  Dreamsqin  阅读(415)  评论(0)    收藏  举报