CSS compiling method and device, style updating method and device, medium and equipment

A compilation method and style technology, applied in the computer field, can solve the problems of high cost of code transformation and inconvenient maintenance, and achieve the effects of improving security and efficiency, reducing the number of codes, and reducing manual workload

Pending Publication Date: 2022-05-03
BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, through the above solution, additional code needs to be written, and two sets of code need to be maintained. The cost of code transformation is high and it is not easy to maintain

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • CSS compiling method and device, style updating method and device, medium and equipment
  • CSS compiling method and device, style updating method and device, medium and equipment
  • CSS compiling method and device, style updating method and device, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0034] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a CSS compiling method and device, a style updating method and device, a medium and equipment, and the method comprises the steps that a source file corresponding to a style sheet is obtained, and codes in the source file are compiled based on a CSS extension language; target variable information in the source file is determined based on the code type corresponding to the source file, and the target variable information comprises target variables and the incidence relation between the target variables; the source file is compiled based on the incidence relation between the target variables, a CSS file and a mapping file corresponding to the source file are obtained, the CSS file comprises the CSS variable corresponding to each target variable, and the mapping file comprises the mapping relation between the CSS variables. Therefore, the CSS file containing the CSS variable can be automatically compiled based on the source file under the CSS extension language, manual compiling by a user is not needed, and the manual workload and the number of codes needing to be maintained are reduced.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, to a CSS compiling method, a style updating method, a device, a medium and equipment. Background technique [0002] With the development of front-end technology, users have gradually increased the demand for dynamic modification of the application when it is running, such as skin replacement and real-time preview of the theme mode during the running of the application. In the related art, CSS variables capable of real-time interaction are used to meet the above requirements. [0003] Most of the existing projects are style files written based on the CSS extension language, which can support features such as variables, functions, operations, and loops. In related technologies, an equivalent CSS file is usually written based on the style file written in the CSS extension language, so that the running adjustment function of the application program can be realized by ma...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/41
CPCG06F8/41Y02D10/00
Inventor刘文超
OwnerBEIJING YOUZHUJU NETWORK TECH CO LTD