Front-end page construction method, system and equipment based on Ant Design and storage medium
By using Ant Design's CRUD page, Standard Box component and Standard List component for code encapsulation and calling in front-end projects of financial institutions, the problems of code redundancy and low reuse rate are solved, and the rapid construction and efficient duplication of front-end pages are achieved. Used to improve the maintainability of the page.
Patent Information
- Application Number
- CN202410747353.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-15
AI Technical Summary
The front-end project pages of financial institutions have problems with code redundancy, low reuse rate, and naming conflicts, resulting in low page construction efficiency and poor maintainability.
The front-end page construction method based on Ant Design is used to enter the CRUD page by detecting code design instructions, use the Standard Box component and the Standard List component to encapsulate the code design components, and call the encapsulated components to build the target page.
It effectively solves the problems of code redundancy, low reuse rate and naming conflicts, realizes the rapid construction and efficient reuse of front-end project pages, and improves the maintainability and readability of the pages.
Smart Images

Figure CN118778955A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of page construction, and in particular to a front-end page construction method, system, device and non-volatile computer-readable storage medium based on Ant Design. Background Art
[0002] At present, with the development of computer technology, more and more technologies are applied in the financial field. The traditional financial industry is gradually transforming to financial technology (Fintech), and front-end page construction technology is no exception. However, due to the security and real-time requirements of the financial industry, higher requirements are also placed on front-end page construction technology.
[0003] At present, the content of the front-end project pages of financial institutions essentially requires a large number of list pages and form pages. Many functions of the front-end pages are similar, but they have at least the following defects:
[0004] 1. Page code redundancy: Similar functions need to be written repeatedly between different pages, resulting in the same logic and style appearing multiple times, increasing the amount of page code, and greatly limiting the maintainability and readability of the code;
[0005] 2. Low code reuse rate of pages: A large amount of similar content on the page cannot be reused efficiently. Developers usually tend to write independent code for each page, resulting in the inability to share page functions and low code reuse rate;
[0006] 3. Naming conflicts: Due to improper standards and organization during the development process, developers may use the same variable names and style class names on different pages, causing code confusion and errors.
[0007] To sum up, how to provide a front-end page construction method, system, device and non-volatile computer-readable storage medium based on Ant Design, and realize the rapid construction of the target page required for the front-end project by solving the defects of code redundancy, low reuse rate and naming conflicts in the front-end project pages of existing financial institutions, is a problem that needs to be urgently solved by technical personnel in this field. Summary of the invention
[0008] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a front-end page construction method, system, device and non-volatile computer-readable storage medium based on Ant Design that can be used in financial technology or other related fields. It aims to achieve rapid construction of target pages required for front-end projects by solving the defects of code redundancy, low reuse rate and naming conflicts in the front-end project pages of existing financial institutions.
[0009] In order to achieve the above object, the present invention adopts the following technical solutions:
[0010] A front-end page construction method based on Ant Design, wherein the method comprises:
[0011] Detect code design instructions, open and enter the CRUD page of Ant Design;
[0012] Based on the CRUD page, use Standard Box component and Standard List component to encapsulate the corresponding code design components;
[0013] The encapsulated code design component is called to construct the target page required by the front-end project.
[0014] In a further technical solution, the front-end page construction method based on Ant Design, wherein the code design instruction is detected, and the CRUD page of Ant Design is opened and entered, includes:
[0015] Detect the target user's code design instructions, open and enter the CRUD page of Ant Design.
[0016] In a further technical solution, the front-end page construction method based on Ant Design, wherein the corresponding code design components are encapsulated using Standard Box components and Standard List components based on the CRUD page, includes:
[0017] Detect the component packaging instruction of the target user, based on the CRUD page, use the Standard Box component to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and Standard List components are used to <a-table / > Components, <a-tabs / > Components, filters components, and paginations components are encapsulated.
[0018] In a further technical solution, the front-end page construction method based on Ant Design, wherein the calling of the encapsulated code design component to construct the target page required by the front-end project includes:
[0019] The component calling instruction of the target user is detected, and the packaged code design component is called to construct the target page required by the front-end project.
[0020] A front-end page construction system based on Ant Design, wherein the system comprises:
[0021] CRUD page entry module, used to detect code design instructions, open and enter the CRUD page of Ant Design;
[0022] A component encapsulation module is used to encapsulate corresponding code design components using Standard Box components and Standard List components based on the CRUD page;
[0023] The page construction module is used to call the encapsulated code design component to construct the target page required by the front-end project.
[0024] In a further technical solution, the front-end page construction system based on Ant Design, wherein the code design instruction is detected, and the CRUD page of Ant Design is opened and entered, includes:
[0025] Detect the target user's code design instructions, open and enter the CRUD page of Ant Design.
[0026] In a further technical solution, the front-end page construction system based on Ant Design, wherein the CRUD page is based on, using Standard Box components and Standard List components to encapsulate the corresponding code design components, including:
[0027] Detect the component packaging instruction of the target user, based on the CRUD page, use the Standard Box component to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and Standard List components are used to <a-table / > Components, <a-tabs / > Components, filters components, and paginations components are encapsulated.
[0028] In a further technical solution, the front-end page construction system based on Ant Design, wherein the calling of the encapsulated code design component to construct the target page required by the front-end project includes:
[0029] The component calling instruction of the target user is detected, and the packaged code design component is called to construct the target page required by the front-end project.
[0030] A computer device, wherein the computer device comprises at least one processor; and
[0031] a memory communicatively connected to the at least one processor; wherein,
[0032] The memory stores a computer program that can be executed by the at least one processor. When the computer program is executed by the at least one processor, the front-end page construction method based on Ant Design as described in any one of the above items can be implemented.
[0033] A non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, it can implement the front-end page construction method based on Ant Design as described in any of the above items.
[0034] Compared with the prior art, the present invention provides a front-end page construction method, system, device and non-volatile computer-readable storage medium based on Ant Design, wherein the method includes: detecting a code design instruction, opening and entering the CRUD page of Ant Design; based on the CRUD page, using Standard Box component and StandardList component to encapsulate the corresponding code design component; calling the encapsulated code design component to construct the target page required by the front-end project. In this way, the method of the present invention can achieve the rapid construction of the target page required by the front-end project by solving the defects of code redundancy, low reuse rate and naming conflict in the front-end project pages of existing financial institutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A schematic diagram of a flow chart of a front-end page construction method based on Ant Design provided in an embodiment of the present invention.
[0037] Figure 2 A schematic diagram of functional modules of a front-end page construction system based on Ant Design provided in an embodiment of the present invention.
[0038] Figure 3 A schematic diagram of the hardware structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0040] In the description of the present invention, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps therein is not limited and can be appropriately adjusted as needed.
[0041] Various non-limiting embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.
[0042] At present, with the development of computer technology, more and more technologies are applied in the financial field. The traditional financial industry is gradually transforming to financial technology (Fintech), and front-end page construction technology is no exception. However, due to the security and real-time requirements of the financial industry, higher requirements are also placed on front-end page construction technology.
[0043] At present, the content of the front-end project pages of financial institutions essentially requires a large number of list pages and form pages. Many functions of the front-end pages are similar, but they have at least the following defects:
[0044] 1. Page code redundancy: Similar functions need to be written repeatedly between different pages, resulting in the same logic and style appearing multiple times, increasing the amount of page code, and greatly limiting the maintainability and readability of the code;
[0045] 2. Low code reuse rate of pages: A large amount of similar content on the page cannot be reused efficiently. Developers usually tend to write independent code for each page, resulting in the inability to share page functions and low code reuse rate;
[0046] 3. Naming conflicts: Due to improper standards and organization during the development process, developers may use the same variable names and style class names on different pages, causing code confusion and errors.
[0047] Therefore, how to provide a front-end page construction method, system, device and non-volatile computer-readable storage medium based on Ant Design, and realize the rapid construction of the target page required for the front-end project by solving the defects of code redundancy, low reuse rate and naming conflicts in the front-end project pages of existing financial institutions, is a problem that needs to be urgently solved by technical personnel in this field.
[0048] To solve the above problems, see Figure 1 The embodiment of the present invention provides a front-end page construction method based on Ant Design, wherein the method comprises the steps of:
[0049] S100, code design instructions are detected, and the CRUD page of Ant Design is opened and entered;
[0050] S200, based on the CRUD page, using Standard Box component and Standard List component to encapsulate corresponding code design components;
[0051] S300, calling the encapsulated code design component to construct a target page required by the front-end project.
[0052] Specifically, in this embodiment, Ant Design is a front-end design component library under Alibaba, which provides many commonly used UI components and styles, and can quickly build complex single-page applications. Ant Design supports multiple themes, including the default Material Design and custom themes, and users can easily switch different themes as needed. Ant Design provides a rich component library, including common components such as input, form, navigation bar, chart, table, etc., which can help users quickly build complex pages.
[0053] Furthermore, the front-end page construction method based on Ant Design, wherein the step S100, detecting the code design instruction, opening and entering the CRUD page of Ant Design, comprises:
[0054] Detect the target user's code design instructions, open and enter the CRUD page of Ant Design.
[0055] Specifically, in this embodiment, after the code design instruction of the target user is detected, the CRUD page of AntDesign is opened and entered; wherein the CRUD page is an add, read, update, and delete page developed based on the Ant Design component library.
[0056] Furthermore, the front-end page construction method based on Ant Design, wherein the step S200, based on the CRUD page, uses the Standard Box component and the Standard List component to encapsulate the corresponding code design component, includes:
[0057] Detect the component packaging instruction of the target user, based on the CRUD page, use the Standard Box component to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and Standard List components are used to <a-table / > Components, <a-tabs / > Components, filters components, and paginations components are encapsulated.
[0058] Specifically, in this embodiment, after detecting the code design instruction of the target user, opening and entering the CRUD page of Ant Design, and then detecting the component packaging instruction of the target user, based on the CRUD page, the Standard Box component is used to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and Standard List components are used to <a-table / > Components, <a-tabs / > Components, filters components, and paginations components are encapsulated to free developers from existing copy-paste and repeated configuration work.
[0059] Furthermore, the front-end page construction method based on Ant Design, wherein the step S300, calling the encapsulated code design component to construct a target page required by the front-end project, includes:
[0060] The component calling instruction of the target user is detected, and the packaged code design component is called to construct the target page required by the front-end project.
[0061] Specifically, in this embodiment, upon detecting the component packaging instruction of the target user, based on the CRUD page, the Standard Box component is used to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and Standard List components are used to <a-table / > Components, <a-tabs / >After the components, filters components, and paginations components are encapsulated, when the component call instruction of the target user is detected, the encapsulated components are called to build the target page required by the front-end project.
[0062] From the above method embodiments, it can be seen that the front-end page construction method based on Ant Design provided by the present invention includes: detecting the code design instruction, opening and entering the CRUD page of Ant Design; based on the CRUD page, using the Standard Box component and the Standard List component to encapsulate the corresponding code design component; calling the encapsulated code design component to construct the target page required by the front-end project. In this way, the method of the present invention can achieve the rapid construction of the target page required for the front-end project by solving the defects of code redundancy, low reuse rate and naming conflicts in the front-end project pages of existing financial institutions.
[0063] It should be understood that, although the present application provides method operation steps as described in the embodiments or flowcharts, more or less operation steps may be included based on conventional or non-creative labor, and these operation steps are not necessarily performed in sequence according to the embodiment or flowchart. The order of steps listed in the embodiment or flowchart is only one way of executing the order of many steps, and does not represent the only execution order. It should be noted that there is not necessarily a certain order between the above steps. A person of ordinary skill in the art can understand from the description of the embodiment of the present invention that in different embodiments, the above steps may have different execution orders, that is, they may be executed in parallel, or they may be executed in exchange, etc. Moreover, at least a part of the steps in the embodiment or flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but may be executed in turn, alternately or synchronously with other steps or at least a part of the sub-steps or stages of other steps.
[0064] Based on the above examples, please refer to Figure 2 Another embodiment of the present invention further provides a front-end page construction system based on Ant Design, wherein the system includes:
[0065] The CRUD page entry module 11 is used to detect the code design instruction, open and enter the CRUD page of Ant Design;
[0066] A component encapsulation module 12 is used to encapsulate corresponding code design components using Standard Box components and StandardList components based on the CRUD page;
[0067] The page construction module 13 is used to call the encapsulated code design component to construct the target page required by the front-end project.
[0068] Specifically, in this embodiment, Ant Design is a front-end design component library under Alibaba, which provides many commonly used UI components and styles, and can quickly build complex single-page applications. Ant Design supports multiple themes, including the default Material Design and custom themes, and users can easily switch different themes as needed. Ant Design provides a rich component library, including common components such as input, form, navigation bar, chart, table, etc., which can help users quickly build complex pages.
[0069] Furthermore, the front-end page construction system based on Ant Design, wherein the code design instruction is detected, and the CRUD page of Ant Design is opened and entered, includes:
[0070] Detect the target user's code design instructions, open and enter the CRUD page of Ant Design.
[0071] Specifically, in this embodiment, after the code design instruction of the target user is detected, the CRUD page of AntDesign is opened and entered; wherein the CRUD page is an add, read, update, and delete page developed based on the Ant Design component library.
[0072] Furthermore, the front-end page construction system based on Ant Design, wherein the CRUD page is based on, using Standard Box components and Standard List components to encapsulate the corresponding code design components, including:
[0073] Detect the component packaging instruction of the target user, based on the CRUD page, use the Standard Box component to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and Standard List components are used to <a-table / > Components, <a-tabs / > Components, filters components, and paginations components are encapsulated.
[0074] Specifically, in this embodiment, after detecting the code design instruction of the target user, opening and entering the CRUD page of Ant Design, and then detecting the component packaging instruction of the target user, based on the CRUD page, the Standard Box component is used to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and Standard List components are used to <a-table / > Components, <a-tabs / > Components, filters components, and paginations components are encapsulated to free developers from existing copy-paste and repeated configuration work.
[0075] Furthermore, the front-end page construction system based on Ant Design, wherein the calling of the encapsulated code design component to construct the target page required by the front-end project includes:
[0076] The component calling instruction of the target user is detected, and the packaged code design component is called to construct the target page required by the front-end project.
[0077] Specifically, in this embodiment, upon detecting the component packaging instruction of the target user, based on the CRUD page, the Standard Box component is used to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and Standard List components are used to <a-table / > Components, <a-tabs / > After the components, filters components, and paginations components are encapsulated, when the component call instruction of the target user is detected, the encapsulated components are called to build the target page required by the front-end project.
[0078] From the above system embodiments, it can be seen that the front-end page construction system based on Ant Design provided by the present invention includes: detecting code design instructions, opening and entering the CRUD page of Ant Design; based on the CRUD page, using Standard Box components and Standard List components to encapsulate the corresponding code design components; calling the encapsulated code design components to construct the target page required by the front-end project. In this way, the system of the present invention can achieve the rapid construction of the target page required for the front-end project by solving the defects of code redundancy, low reuse rate and naming conflicts in the front-end project pages of existing financial institutions.
[0079] Based on the above examples, please refer to Figure 3 Another embodiment of the present invention further provides a computer device, wherein the computer device 10 includes:
[0080] memory 120 and one or more processors 110, Figure 3 A processor 110 is used as an example for description. The processor 110 and the memory 120 may be connected via a communication bus or other means. Figure 3 The example of connection via a communication bus is taken as an example.
[0081] The processor 110 is used to complete various control logics of the computer device 10. It can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or any combination of these components. In addition, the processor 110 can also be any traditional processor, microprocessor or state machine. The processor 110 can also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a DSP core, or any other such configuration.
[0082] The memory 120, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the computer program corresponding to the front-end page construction method based on Ant Design in the embodiment of the present invention. The processor 110 executes various functional applications and data processing of the computer device 10 by running the non-volatile software programs, instructions and units stored in the memory 120, that is, the front-end page construction method based on Ant Design in the above method embodiment is implemented.
[0083] The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store an application required for operating the device or at least one function; the data storage area may store data created according to the use of the computer device 10, etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 120 may optionally include a memory remotely arranged relative to the processor 110, and these remote memories may be connected to the computer device 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0084] One or more units are stored in the memory 120. When executed by one or more processors 110, the front-end page construction method based on Ant Design in any of the above method embodiments can be implemented. For example, the above described Figure 1 The method comprises steps S100 to S300.
[0085] It can be seen from the above computer device embodiments that the computer device of the present invention can achieve rapid construction of target pages required for front-end projects by solving defects such as code redundancy, low reuse rate and naming conflicts in the front-end project pages of existing financial institutions.
[0086] Those skilled in the art will understand that Figure 3 The hardware structure diagram shown in the figure is only a schematic diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0087] Based on the above embodiments, the present invention further provides a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the front-end page construction method based on Ant Design in any of the above method embodiments can be implemented, for example, the above described Figure 1 The method comprises steps S100 to S300.
[0088] It can be seen from the above computer-readable storage medium embodiments that the computer-readable storage medium of the present invention can achieve rapid construction of target pages required for front-end projects by solving defects such as code redundancy, low reuse rate and naming conflicts in the front-end project pages of existing financial institutions.
[0089] As an example, non-volatile storage media can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) as external cache memory. By way of illustration and not limitation, RAM can be obtained in many forms such as synchronous RAM (SRAM), dynamic RAM, (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The disclosed memory components or memories of the operating environment described herein are intended to include one or more of these and / or any other suitable types of memory.
[0090] Another embodiment of the present invention provides a computer program product, the computer program product includes a computer program stored on a non-volatile computer-readable storage medium, the computer program includes program instructions, when the program instructions are executed by a processor, a front-end page construction method based on Ant Design as in any of the above method embodiments can be implemented, for example, the above described method can be implemented. Figure 1 The method comprises steps S100 to S300.
[0091] It can be seen from the above computer program product embodiments that the computer program product of the present invention can achieve rapid construction of target pages required for front-end projects by solving defects such as code redundancy, low reuse rate and naming conflicts in the front-end project pages of existing financial institutions.
[0092] The embodiments described above are merely illustrative, in which the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0093] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can exist in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0094] Conditional language such as "can," "can," "might," or "may," unless specifically stated otherwise or otherwise understood within the context as used, is generally intended to convey, among other things, that a particular embodiment can include (while other embodiments do not) a particular feature, element, and / or operation. Thus, such conditional language is also generally intended to imply that a feature, element, and / or operation is required for one or more embodiments anyway or that one or more embodiments must include logic for determining, with or without input or prompting, whether such features, elements, and / or operations are included or will be performed in any particular embodiment.
[0095] What has been described herein in this specification and the accompanying drawings includes examples that can provide a front-end page construction method, system, device, and non-volatile computer-readable storage medium based on AntDesign. Of course, it is not possible to describe every conceivable combination of elements and / or methods for the purpose of describing the various features of the present disclosure, but it can be recognized that many other combinations and permutations of the disclosed features are possible. Therefore, it is obvious that various modifications can be made to the present disclosure without departing from the scope or spirit of the present disclosure, but all these various modifications should belong to the scope of protection of the claims attached to the present invention. In addition, or in an alternative, other embodiments of the present disclosure may be obvious from consideration of the present specification and the accompanying drawings and from the practice of the present disclosure as presented herein. It is intended that the examples proposed in this specification and the accompanying drawings are considered to be illustrative and not restrictive in all respects. Although specific terms are used herein, they are used in a general and descriptive sense and are not used for limiting purposes.
Claims
1. A front-end page construction method based on Ant Design, characterized in that: The method comprises: Detect code design instructions, open and enter the CRUD page of Ant Design; Based on the CRUD page, use Standard Box component and Standard List component to encapsulate the corresponding code design components; The encapsulated code design component is called to construct the target page required by the front-end project.
2. The front-end page construction method based on Ant Design according to claim 1, characterized in that: The code design instruction is detected, and the CRUD page of Ant Design is opened and entered, including: Detect the target user's code design instructions, open and enter the CRUD page of Ant Design.
3. The front-end page construction method based on Ant Design according to claim 2 is characterized in that: Based on the CRUD page, the Standard Box component and the Standard List component are used to encapsulate the corresponding code design components, including: Detect the component packaging instruction of the target user, based on the CRUD page, use the Standard Box component to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and StandardList components are used to <a-table / > Components, <a-tabs / > Components, filters components, and paginations components are encapsulated.
4. The front-end page construction method based on Ant Design according to claim 3 is characterized in that: The calling of the encapsulated code design component to construct a target page required by the front-end project includes: The component calling instruction of the target user is detected, and the packaged code design component is called to construct the target page required by the front-end project.
5. A front-end page construction system based on Ant Design, characterized in that: The system comprises: CRUD page entry module, used to detect code design instructions, open and enter the CRUD page of Ant Design; A component encapsulation module is used to encapsulate corresponding code design components using Standard Box components and Standard List components based on the CRUD page; The page construction module is used to call the encapsulated code design component to construct the target page required by the front-end project.
6. The front-end page construction system based on Ant Design according to claim 5, characterized in that: The code design instruction is detected, and the CRUD page of Ant Design is opened and entered, including: Detect the target user's code design instructions, open and enter the CRUD page of Ant Design.
7. The front-end page construction system based on Ant Design according to claim 6, characterized in that: Based on the CRUD page, the Standard Box component and the Standard List component are used to encapsulate the corresponding code design components, including: Detect the component packaging instruction of the target user, based on the CRUD page, use the Standard Box component to <a-form / > Components, <a-drawer / > Components, and <a-modal / > Components are encapsulated, and StandardList components are used to <a-table / > Components, <a-tabs / > Components, filters components, and paginations components are encapsulated.
8. The front-end page construction system based on Ant Design according to claim 7, characterized in that: The calling of the encapsulated code design component to construct a target page required by the front-end project includes: The component calling instruction of the target user is detected, and the packaged code design component is called to construct the target page required by the front-end project.
9. A computer device, characterized in that: The computer device comprises at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor. When the computer program is executed by the at least one processor, the front-end page construction method based on Ant Design as described in any one of claims 1 to 4 can be implemented.
10. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, it can implement the front-end page construction method based on Ant Design as described in any one of claims 1 to 4.
Citation Information
Cited By
Modularized addition, deletion, modification and check component development method implemented based on antd component
CN120179241A
