current location:Home > Technical Articles > Web Front-end > Layui Tutorial
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- Layui import and export Excel methods
- You can use the layui.excel plug-in to import Excel from layui. This plug-in imports excel based on H5's FileReader, exports excel functions based on XLSX.js, and downloads functions based on FileSaver.
- Layui Tutorial 15785 2019-08-01 09:56:03
-
- How to display pictures in layui table
- To display pictures in the layui table, add template after filed, and add the page code for displaying pictures in template. In this way, the picture can be displayed in the table, but the picture style still needs to be fine-tuned.
- Layui Tutorial 16232 2019-08-01 09:23:23
-
- How to display pictures in the list in layui
- How to display images in layui list: The image needs to use template.templet, use div style to put the image into the table, and then set its style through css.
- Layui Tutorial 5378 2019-07-31 15:02:13
-
- How to use layui template engine
- Steps to use the layui template engine: 1. Write the template. You can use a script tag to store the template. 2. Create a view. Used to present rendering results. 3. Render template.
- Layui Tutorial 5682 2019-07-31 10:46:52
-
- How to use layui
- Layui usage tutorial: 1. Obtain the development package through the layui official website. 2. Introduce jquery framework into the page. 3. Copy the downloaded layer folder completely to the project. 4. Introduce the layer.js file in the layer directory. 5. Start the layer elastic layer journey.
- Layui Tutorial 15958 2019-07-31 10:09:39
-
- How to use layui to pop up a form
- Use layui to pop up a form: first set the click page pop-up event, and when the pop-up window is clicked, request the controller to render the form form data. At the same time, jump to the jsp page containing the form form.
- Layui Tutorial 5970 2019-07-31 08:59:58
-
- How to fix the header of layui table
- Layui table header fixed: In layui, you can set the table header to be fixed through css style, and you can also use css to set the table header and table content to be inconsistent.
- Layui Tutorial 14953 2019-07-31 08:59:49
-
- How layui determines password inconsistency
- When registering, layui determines whether the passwords entered twice are consistent: after submitting the password data in the form, layui compares the passwords entered twice by calling js code to determine whether they are consistent.
- Layui Tutorial 7694 2019-07-31 08:59:38
-
- Layui determines whether the form is empty
- Layui determines whether the form is empty: you can use the form's event onSubmit, which will be triggered just before the form is submitted. At this time, we can pass a callback function to this event, and in the callback function, write the verification of whether there is a blank form. code, and the code for the reminder.
- Layui Tutorial 6320 2019-07-31 08:59:28
-
- How to connect layui and backend
- Connect layui to the backend: layui has its own set of specific data formats for interaction (this is very important). The required parameters are code: 0, msg: "", count: data size (int), data: "data List". Generally we choose to encapsulate and return the receiving class.
- Layui Tutorial 14638 2019-07-30 14:20:44
-
- How to clear the layui tree
- How to clear the layui tree: first create a tree frame; then add branches to the original trunk; then add branches based on the previous ones; then add leaves based on the previous ones; finally add a clear button, and then call click Event to clear the tree.
- Layui Tutorial 3975 2019-08-01 16:35:31
-
- How to backfill the value selected in layui drop-down
- First, obtain the selected value through the document.getElementsByName() method. Backfill the data through a spict() method.
- Layui Tutorial 3122 2019-07-29 17:01:30
-
- Why layui is good
- The reason why layui is good is that it is light in size, rich in components, and compatible with all browsers currently used by humans (except IE6/7). Moreover, layui has also been automatically built, making it more suitable for production environments.
- Layui Tutorial 2243 2019-08-01 16:29:07
-
- How to implement paging in layui
- The main parts of layui paging are page (current page, such as 1 page), limit (currently displayed data, such as 10 pieces of data), and count (total number of data items in the current table). Other things are done by the layui paging plug-in. As long as page The three values of , limit, and count can be implemented by paging.
- Layui Tutorial 7265 2019-07-29 11:06:13
-
- How to use layui pop-up window
- There are three types of layui pop-up windows, namely: 1. confim type; 2. open type pop-up box; 3. msg type. , when using it, you only need to use the layer object plus the type name in layui.use(), such as layer.open(); later, you only need to fill in the corresponding parameters.
- Layui Tutorial 5390 2019-07-29 10:51:43