layui pop-up problem

        Recently doing a project, probably the mode list items, create, edit, and delete functions. Including the new edit page is displayed in a box in the form of bombs, so we chose the popup layUI of this component. Because the new logic edit more involved, so naturally the selected type of the popup iframe layer (i.e., type: 2) mode, because in this mode is equivalent to a new layer of an iframe, the other components are not repeated It would be affected. In the new page, there are some small list, also need to be in the form of pop-layer operations add, logical sense does not involve too much ( in fact, feels wrong ) , plus do not want to create a new page, so we use the type = page 1 of the layer. In the popup list also has a small paging function, which makes the popup list of multiple small exhibition paging affected. So think of using iframe layer to cut off these effects. . . . . . . . . . . . . . .

   But ,,,,,,,,, this problem, then it will pass values between father and son ,,,,,, after searching a lot of documents, found a solution: the contents of a sub-page acquired, parameters must be hidden in the sub-page, by $ ( '#') method of acquisition, the results proved to be right.

    Page wording:

      

    Js parent wording

      

Guess you like

Origin www.cnblogs.com/web-cuicui/p/12170693.html