easyui-window in vue-element-ui in (pit)

Pit dug for ourselves! ! !

Project, the layout of the outer window frame using easyui; internal display table of contents frame using the element-ui, demand window border-image used as a border, is pulled after the discovery window changes the size of the mouse action is not especially sensitive, so you want optimization:

Baidu found a circle Bo Friends recommended positioning the mouse to expand the scope; specific ideas as follows

table{ 

position:relative; 

&::before{

    content: '';
    position: absolute;
    top: -10px; right: -10px;
    bottom: -10px; left: -10px;
  }

 After using this method not only failed to achieve the desired effect also appeared unimaginable consequences:

Find people for a long time only to find the original positioning using absolute positioning, that is, the window opens in the corresponding defined top and left the place, and change the relative positioning relative to position itself, n top set, then the real top is itself a height h + n, not only that, when the window open two windows, arranged in a second from the always down, and just drag the window, the window will fall down. . .

 

After the gates of fire adverse impacts to fish, paging table below also become victims, sets the value of the four directions of up and down, el-pager (page number) in a solidified state, the point does not move, I thought it was a form of hierarchy too the high flip cover, and the result is not, is the pot above pseudo-class.

 

After this incident, I realized, do not arbitrarily change the original frame element positioning , otherwise repentant 

Guess you like

Origin www.cnblogs.com/LindaBlog/p/10930778.html