Front end interface code generating method and device, electronic equipment and storage medium
A technology of interface code and interface design, applied in the computer field, can solve problems such as loss of necessary information for programming, low development efficiency, poor applicability, etc., and achieve the effects of avoiding layout restrictions on applicable interfaces, improving accuracy, and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] A front-end interface code generation method disclosed in this application, such as figure 1 As shown, the method includes: step 100 to step 120.
[0029] Step 100, acquiring position information of controls included in the source data derived from the front-end interface design draft.
[0030] During specific implementation, the front-end interface design data may be derived from the design draft of the front-end interface, and then information collection and transformation processing are performed on the front-end interface design data to determine the control information included in the front-end interface. The control information includes: a list of all controls included in the front-end interface, and position information of each control, and the position information at least includes: position coordinates and control size information such as control width and height.
[0031] In the prior art, when developing the front-end interface, usually the designer first de...
Embodiment 2
[0040] A front-end interface code generation method disclosed in this application, such as figure 2 As shown, the method includes: Step 200 to Step 240.
[0041] Step 200, acquiring position information of controls included in the source data derived from the front-end interface design draft.
[0042] For the specific implementation manner of obtaining the position information of the controls included in the source data exported from the front-end interface design draft, refer to Embodiment 1, and details will not be repeated here.
[0043] During specific implementation, the obtained position information of the controls included in the front-end interface at least includes information such as position coordinates and the width and height of the controls.
[0044] After obtaining the position information of the control, first, based on the position information of the control, determine the layout scheme of the control by simulating the layout, including: based on the positio...
Embodiment 3
[0101] A front-end interface code generation method disclosed in this application, such as Figure 5 As shown, the method includes: step 500 to step 550.
[0102] Step 500, acquiring position information of controls included in the source data derived from the front-end interface design draft.
[0103] For the specific implementation manner of obtaining the position information of the controls included in the source data exported from the front-end interface design draft, refer to Embodiment 1, and details will not be repeated here.
[0104] During specific implementation, the obtained position information of the controls included in the front-end interface at least includes information such as position coordinates and the width and height of the controls. The obtained position information of the controls included in the front-end interface may also include position coordinates and dimensions of the structural frame corresponding to the controls.
[0105] The layout scheme o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com