A page creation method, storage medium, electronic device and system
A page and type of technology, applied in the communication field, can solve problems such as low completion efficiency, heavy work tasks, and large code content, and achieve the effects of reducing workload, improving work efficiency, and streamlining programs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] see figure 1 As shown, an embodiment of the present invention provides a method for creating a page, including the following steps:
[0045] S1. Create a parent class controller, which is configured with a custom allocation function;
[0046] S2, preset multiple function type parameters, and the function type parameter is used to indicate the type of creation function required when the page is created;
[0047] S3. Create multiple sub-type controllers, each sub-type controller corresponds to a function type parameter;
[0048] S4. The parent controller allocates the calling address of the page creation function corresponding to the function type parameter to each sub-type controller by using the self-defined allocation function according to the parameters of each function type, and stores the call address of the page creation function corresponding to the function type parameter in the corresponding sub-type controller. In the custom call file;
[0049] S5. Store the...
Embodiment 2
[0081] like figure 2 As shown, the second embodiment of the present invention provides a page creation method, which includes the following steps:
[0082] Q1. Create the first unit, which is configured with a custom allocation function;
[0083] Q2. Obtain multiple function type parameters. The function type parameter is used to indicate the type of creation function required for page creation;
[0084] Q3. Create multiple second units, each sub-type controller corresponds to a function type parameter;
[0085] Q4. The first unit uses the self-defined allocation function to allocate the calling address of the page creation function corresponding to the function type parameter to each second unit according to the parameters of each function type, and stores the corresponding custom call address preset in the second unit in the file;
[0086] Q5. Store the function type parameters in the preset custom declaration file in the corresponding second unit, and the custom declara...
Embodiment 3
[0114] like image 3 As shown, the third embodiment of the present invention provides a page creation system, which includes:
[0115] A plurality of sub-type controllers 1, each sub-type controller 1 corresponds to a preset function type parameter, each sub-type controller 1 is preset with a custom call file and a custom declaration file, and the custom declaration file is used for The creation function type corresponding to the marker subclass controller 1;
[0116] The parent class controller 2 is configured with a custom allocation function. The parent class controller 2 is used to use the custom allocation function to allocate page creation functions corresponding to the function type parameters to each subclass controller 1 according to the parameters of each function type. The calling address is stored in the corresponding custom calling file, and is also used to store the function type parameters in the corresponding custom declaration file;
[0117] The page creatio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


