Documentation: Layer official document address
layer pop-up box components:
type - type base layer
layer layer provides five types. Can be passed values are: 0 (block information, default) 1 (page layers) 2 (iframe layer) 3 (loading layer) 4 (tips layer). If you are using layer.open ({type: 1}) way calling, the type is required (except message boxes)
Case column: common property
layer.open ({
type: 2,
title - the title
content - content can be [ text, DOM, url, page, kv] form
skin - style class name
area - the width and height Lw of
offset - coordinates XY
icon - icon
btn - button to
resize - allow stretch
zIndex - stacking order of
success - after a successful callback method pop layer
yes - OK button callback method
layer.ready (callback) - initialization ready
});
Form: For select boxes, check boxes, drop-down boxes which need to be added layer initialization js
// based on a variety of operational events, there will be further described below
});