CN114816390A - Display method, device and equipment of function page and storage medium - Google Patents
Display method, device and equipment of function page and storage medium Download PDFInfo
- Publication number
- CN114816390A CN114816390A CN202210279045.1A CN202210279045A CN114816390A CN 114816390 A CN114816390 A CN 114816390A CN 202210279045 A CN202210279045 A CN 202210279045A CN 114816390 A CN114816390 A CN 114816390A
- Authority
- CN
- China
- Prior art keywords
- information
- adjusted
- function page
- data information
- component
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000006870 function Effects 0.000 claims description 138
- 230000004044 response Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 4
- 230000003044 adaptive effect Effects 0.000 abstract description 4
- 238000004891 communication Methods 0.000 description 11
- 238000011161 development Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/76—Adapting program code to run in a different environment; Porting
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
According to the method, the device, the equipment and the storage medium for displaying the function page, the first data information is acquired by responding to the triggering operation of a user on the function page; the first data information represents attribute information of a function page; determining component information to be adjusted in the function page according to the first data information and the second data information; the second data information is used for representing attribute information of the application program platform; and adjusting the component information to be adjusted according to the component information to be adjusted, generating an adjusted function page according to the component information to be adjusted, and displaying the adjusted function page on the application platform. By adopting the technical scheme, the problem that when one functional page is displayed in different application programs, a developer needs to develop a set of codes adaptive to the application programs again can be solved, and the aim of saving labor cost can be achieved.
Description
Technical Field
The present application relates to the technical field of front-end page development, and in particular, to a method, an apparatus, a device, and a storage medium for displaying a function page.
Background
In recent years, users use terminals more and more frequently, and in order to meet business requirements, various terminal applications are launched by each company.
At present, a use scenario may occur, where a same function page needs to be applied in multiple application programs of the company, and even needs to be opened in a third-party application program such as a wechat applet or a browser, and at this time, a problem of the degree of adaptation between the function page and the current application program may occur.
Therefore, a method is needed to automatically adapt to the underlying logic of a function page when the function page is opened in different applications, so that developers are prevented from developing a set of codes of the function page in the application again and the labor cost is saved.
Disclosure of Invention
The application provides a display method, a display device, display equipment and a storage medium of a function page, which are used for solving the problem that when one function page is displayed in different application programs, developers need to develop a set of codes adaptive to the application programs again, and further the aim of saving labor cost can be achieved.
In a first aspect, the present application provides a method for displaying a function page, where the method includes:
responding to the triggering operation of a user on a function page, and acquiring first data information; the first data information represents attribute information of a function page;
determining component information to be adjusted in the function page according to the first data information and the second data information; the second data information is used for representing attribute information of the application program platform;
and adjusting the component information to be adjusted according to the component information to be adjusted, generating an adjusted function page according to the component information to be adjusted, and displaying the adjusted function page on the application platform.
In one example, determining component information to be adjusted in the function page according to the first data information and the second data information includes:
acquiring the first data information and the second data information, and determining the difference of the attribute information of the first data information and the second data information;
and determining the component information to be adjusted in the functional page according to the difference of the attribute information of the functional page and the attribute information of the functional page.
In one example, determining the component information to be adjusted in the function page according to the difference between the attribute information of the function page and the attribute information of the function page comprises:
reading difference configuration files of the attribute information of the two pre-configured files according to the difference of the attribute information of the two pre-configured files;
and determining the component information to be adjusted in the function page according to the difference configuration file.
In one example, the method further comprises:
if the functional page does not need to be displayed on the application program platform, deleting the difference configuration file; wherein the discrepancy profile characterizes a discrepancy of the first data information and the second data information.
In one example, the component information to be adjusted includes at least one of:
component style, component display transparency, and component response style.
In a second aspect, the present application provides a display device of a function page, the device comprising:
the acquisition unit is used for responding to the triggering operation of a user on the function page and acquiring first data information; the first data information represents attribute information of a function page;
the determining unit is used for determining the component information to be adjusted in the function page according to the first data information and the second data information; the second data information is used for representing attribute information of the application program platform;
and the adjusting unit is used for adjusting the component information to be adjusted according to the component information to be adjusted, generating an adjusted function page according to the component information to be adjusted, and displaying the adjusted function page on the application platform.
In one example, the determining unit includes:
the acquisition module is used for acquiring the first data information and the second data information and determining the difference of the attribute information of the first data information and the second data information;
and the determining module is used for determining the component information to be adjusted in the functional page according to the difference of the attribute information of the functional page and the attribute information of the functional page.
In one example, a determination module includes:
the reading submodule is used for reading a difference configuration file of the attribute information of the two pre-configured modules according to the difference of the attribute information of the two modules;
and the determining submodule is used for determining the component information to be adjusted in the functional page according to the difference configuration file.
In one example, the method further comprises:
if the functional page does not need to be displayed on the application program platform, deleting the difference configuration file; wherein the discrepancy profile characterizes a discrepancy of the first data information and the second data information.
In one example, the component information to be adjusted includes at least one of:
component style, component display transparency, and component response style.
In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method according to the first aspect when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
According to the method, the device, the equipment and the storage medium for displaying the function page, the first data information is acquired by responding to the triggering operation of a user on the function page; the first data information represents attribute information of a function page; determining component information to be adjusted in the function page according to the first data information and the second data information; the second data information is used for representing attribute information of the application program platform; and adjusting the component information to be adjusted according to the component information to be adjusted, generating an adjusted function page according to the component information to be adjusted, and displaying the adjusted function page on the application platform. By adopting the technical scheme, the problem that when one functional page is displayed in different application programs, a developer needs to develop a set of codes adaptive to the application programs again can be solved, and the aim of saving labor cost can be achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart illustrating a method for displaying a function page according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for displaying a function page according to a second embodiment of the present application;
FIG. 3 is a schematic diagram of a process of interacting a function page with an application platform according to a third embodiment of the present application;
FIG. 4 is a schematic diagram of a display device for displaying a function page according to a fourth embodiment of the present application;
FIG. 5 is a schematic diagram of a display device for displaying a function page according to an embodiment of the present application;
fig. 6 is a block diagram illustrating a terminal device according to an example embodiment.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart illustrating a method for displaying a function page according to an embodiment of the present disclosure. The first embodiment comprises the following steps:
s101, responding to the trigger operation of a user on a function page, and acquiring first data information; the first data information represents attribute information of the function page.
Illustratively, the function page is an interface in an Application platform, and the Application platform is a platform with a hyperbard technical interaction specification, where the hyperbard technical interaction specification is a technology developed by mixing a native Application (APP) and a HyperText 5.0 (HTML 5). The function page refers to a display interface for representing the purpose, for example, the function page may be a check-in page, a login page or a detail page.
The trigger operation refers to an operation capable of responding to the function page, and for example, the trigger operation may be a double-click operation or a preset gesture operation. The function page includes at least one component, for example, if the function page is a login page, the component included in the function page may be a name component of an account, a password component of the account, a component of a login mode of an account, and a component of account registration.
Further, a component is a part that constitutes a function page. A function page may contain multiple components. Specifically, the components in the function page may be disassembled into each component through a tool class in the middleware, and an index is formed by extracting the commonality between the components in the function page and the application platform. Furthermore, the middleware is a js file, the middleware is a type of software between the application system and the system software, and the middleware uses the basic service provided by the system software to connect each part of the application system or different applications on the network, so that the aims of resource sharing and function sharing can be achieved.
Middleware is a separate system software service by which distributed application software shares resources between different technologies, resides on the operating system of the client server, manages computing resources and network communications.
The first data information represents attribute information of the function page, wherein the first data information may further include configuration information of the component, the configuration information of the component is used for representing a specific presentation mode of the component, and specifically, the configuration information may include a component style, a component display transparency and a component response mode. For example, the component style in the configuration information may be whether the component is a circle, a square, or a triangle.
The transparency of the component display in the configuration information may be in a certain ratio, for example, the preset component may be displayed with a transparency of thirty percent, or the preset component may be displayed with a transparency of fifty percent. Specifically, the component response mode may be that the component is clicked to respond, or that the component is double clicked to respond.
In this embodiment, an application platform is composed of a plurality of function pages.
S102, determining component information to be adjusted in the function page according to the first data information and the second data information; and the second data information is used for representing the attribute information of the application program platform.
Illustratively, the attribute information of the application platform is whether the application platform is an IOS development environment or an Android development environment, the data information of the function page in the first data information refers to an H5 code environment, and the component information required to be adjusted in the function page is determined by the attribute information of the function page and the attribute information of the application platform. Further, if it is determined that the component to be adjusted in the function page is the login display button, the adjusted component information in the function page may be the login display button of the circular button.
S103, adjusting the information of the component to be adjusted according to the information of the component to be adjusted, generating an adjusted function page according to the information of the component to be adjusted, and displaying the adjusted function page on the application platform.
Exemplarily, after the component information to be adjusted is determined, the component information to be adjusted is converted into an adjusted function page, the adjusted function page is generated according to the data information of the adjusted function page, the adjusted function page is displayed in an adjusted manner, and the display result is displayed in the application platform.
For example, determining that the component information to be adjusted is the shape and transparency of the logged display button, determining that the shape of the logged display button is a rectangle and the transparency is thirty percent according to the first data information and the second data information, taking the logged display button with the rectangle and the transparency being thirty percent as the component information to be adjusted, adjusting a function page according to the data information, generating an adjusted function page, and displaying the adjusted function page in the application platform.
The embodiment provides a display method of a function page, which comprises the steps of responding to the triggering operation of a user on the function page, and acquiring first data information; the first data information represents attribute information of the functional page; determining component information to be adjusted in the function page according to the first data information and the second data information; the second data information is used for representing attribute information of the application program platform; and adjusting the component information to be adjusted according to the component information to be adjusted, generating an adjusted function page according to the component information to be adjusted, and displaying the adjusted function page on the application platform. By adopting the technical scheme, the problem that when one functional page is displayed in different application programs, a developer needs to develop a set of codes adaptive to the application programs again can be solved, and the aim of saving labor cost can be achieved.
Fig. 2 is a schematic flowchart of a method for displaying a function page according to a second embodiment of the present application. The second embodiment comprises the following steps:
s201, responding to the trigger operation of a user on a function page, and acquiring first data information; the first data information represents attribute information of the function page.
For example, this step may refer to step S101 described above, and is not described again.
S202, acquiring the first data information and the second data information, and determining the difference of the attribute information of the first data information and the second data information.
In this embodiment, the second data information includes a mixed development mode of the application platforms, the attribute information of each application platform is different, the supported development environments are also different, and the difference of the used web view containers is also large. The web view can load and display a web page, and can be regarded as a browser for displaying content requested by the web, that is, displaying content requested by the web address in the web view. Specifically, the attribute information of the application platform may be obtained by adding a middleware, and further, the operating system and version, the CPU type, the browser and browser version, the browser rendering, the browser language, or the browser plug-in the application platform may be determined by a user agent in the application platform.
Illustratively, the difference between the development environment in the attribute information of the application platform and the development environment of the attribute information of the function page is determined according to the first data information and the second data information, for example, the attribute information of the application platform is the IOS development environment in the development environment, the attribute information of the function page is the H5 development environment, and the difference between the two is compared.
S203, determining the component information to be adjusted in the function page according to the difference of the attribute information of the functional page and the attribute information of the functional page.
In this embodiment, the difference of the components to be adjusted in the functional page is determined according to the difference of the attribute information of the two components, and the data information of the components is adjusted.
In one example, determining component information to be adjusted in the function page according to the difference of the attribute information of the two, includes:
reading difference configuration files of the attribute information of the two pre-configured files according to the difference of the attribute information of the two pre-configured files;
and determining the component information to be adjusted in the functional page according to the difference configuration file.
In this embodiment, differences of the attribute information of the two are determined, and it is worth noting that a difference configuration file of the differences of the attribute information of the two is in a webview.
If the functional page does not need to be displayed on the application program platform, deleting the difference configuration file; the difference configuration file represents the difference of the first data information and the second data information.
In this embodiment, if the functional page does not need to be displayed in the application platform of the IOS development environment, the difference configuration file webview.
S204, adjusting the information of the component to be adjusted according to the information of the component to be adjusted, generating an adjusted function page according to the information of the component to be adjusted, and displaying the adjusted function page on the application platform.
For example, this step may refer to step S103 described above, and is not described again.
The embodiment provides a display method of a function page, which comprises the steps of responding to the triggering operation of a user on the function page, and acquiring first data information; the first data information represents attribute information of the function page, the first data information and the second data information are obtained, the difference of the attribute information of the first data information and the second data information is determined, component information to be adjusted in the function page is determined according to the difference of the attribute information of the first data information and the second data information, the component information to be adjusted is adjusted according to the component information to be adjusted, the adjusted function page is generated according to the component information to be adjusted, and the adjusted function page is displayed on the application platform. By adopting the technical scheme, the data information of the adjusted functional page can be quickly determined through the difference between the attribute information of the application program platform and the attribute information of the functional page, so that the maintenance is convenient, and the iteration efficiency is improved. When a new service extension needs to be accessed to a new application program platform, the service extension can be separated from the service codes of other application program platforms and configured independently, and the configured functions cannot be influenced.
Fig. 3 is a schematic diagram of a process of interacting a function page with an application platform according to a third embodiment of the present application. In particular, as can be seen from the interaction process in fig. 3, the function page interacts with the application platform through middleware. When a user triggers the operation of a function page on the function page, the function page is changed to call a middleware, the middleware acquires attribute information of an application program platform from the application program platform, the application program platform feeds back the attribute information of the application program platform, the middleware disassembles components in the function page after receiving the attribute information of the application program platform, acquires a difference configuration file of the attribute information of the function page and the attribute information of the application program platform, which are configured in advance in the function page, adjusts the configuration information of the components of the function page according to the difference configuration file after the acquisition, and displays the adjusted function page.
Fig. 4 is a schematic diagram of a display device for a function page according to a fourth embodiment of the present application. The apparatus 40 in the fourth embodiment includes:
an obtaining unit 401, configured to obtain first data information in response to a trigger operation of a user on a function page; the first data information represents attribute information of the function page.
A determining unit 402, configured to determine, according to the first data information and the second data information, component information to be adjusted in the function page; and the second data information is used for representing the attribute information of the application program platform.
An adjusting unit 403, configured to adjust the component information to be adjusted according to the component information to be adjusted, generate an adjusted function page according to the component information to be adjusted, and display the adjusted function page on the application platform.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 5 is a schematic diagram of a display device for a function page according to a fifth embodiment of the present application. The fifth embodiment comprises:
an obtaining unit 501, configured to obtain first data information in response to a trigger operation of a user on a function page; the first data information represents attribute information of the function page.
A determining unit 502, configured to determine, according to the first data information and the second data information, component information to be adjusted in the function page; and the second data information is used for representing the attribute information of the application program platform.
The adjusting unit 503 is configured to adjust the component information to be adjusted according to the component information to be adjusted, generate an adjusted function page according to the component information to be adjusted, and display the adjusted function page on the application platform.
In one example, the determining unit 502 includes:
an obtaining module 5021, configured to obtain the first data information and the second data information, and determine differences of attribute information of the first data information and the second data information;
a determining module 5022, configured to determine component information to be adjusted in the functional page according to differences between the attribute information of the functional page and the attribute information of the functional page.
In one example, the determining module 5022 comprises:
the reading submodule 50221 is used for reading a difference configuration file of the attribute information of the two pre-configured modules according to the difference of the attribute information of the two modules;
the determining submodule 50222 is used for determining component information to be adjusted in the functional page according to the difference configuration file.
In one example, the method further comprises:
a deleting unit 504, configured to delete the difference configuration file if the function page does not need to be displayed on the application platform; the difference configuration file represents the difference of the first data information and the second data information.
In one example, the component information to be adjusted includes at least one of:
component style, component display transparency, and component response style.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 6 is a block diagram illustrating a terminal device, which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, etc., according to one exemplary embodiment.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, in which instructions are executed by a processor of a terminal device, so that the terminal device can perform a display method of a function page of the terminal device.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (10)
1. A method for displaying a function page, the method comprising:
responding to the triggering operation of a user on a function page, and acquiring first data information; the first data information represents attribute information of a function page;
determining component information to be adjusted in the function page according to the first data information and the second data information; the second data information is used for representing attribute information of the application program platform;
and adjusting the component information to be adjusted according to the component information to be adjusted, generating an adjusted function page according to the component information to be adjusted, and displaying the adjusted function page on the application platform.
2. The method for displaying the function page according to claim 1, wherein determining the component information to be adjusted in the function page according to the first data information and the second data information comprises:
acquiring the first data information and the second data information, and determining the difference of the attribute information of the first data information and the second data information;
and determining the component information to be adjusted in the functional page according to the difference of the attribute information of the functional page and the attribute information of the functional page.
3. The method for displaying a function page according to claim 2, wherein determining the component information to be adjusted in the function page according to the difference between the attribute information of the function page and the attribute information of the function page comprises:
reading difference configuration files of the attribute information of the two pre-configured files according to the difference of the attribute information of the two pre-configured files;
and determining the component information to be adjusted in the function page according to the difference configuration file.
4. The method for displaying a function page according to claim 3, further comprising:
if the functional page does not need to be displayed on the application program platform, deleting the difference configuration file; wherein the discrepancy profile characterizes a discrepancy of the first data information and the second data information.
5. The method for displaying a function page according to any one of claims 1 to 4, wherein the component information to be adjusted includes at least one of:
component style, component display transparency, and component response style.
6. An apparatus for displaying a function page, the apparatus comprising:
the acquisition unit is used for responding to the triggering operation of a user on the function page and acquiring first data information; the first data information represents attribute information of a function page;
the determining unit is used for determining the component information to be adjusted in the function page according to the first data information and the second data information; the second data information is used for representing attribute information of an application program platform;
and the adjusting unit is used for adjusting the component information to be adjusted according to the component information to be adjusted, generating an adjusted function page according to the component information to be adjusted, and displaying the adjusted function page on the application platform.
7. The apparatus of claim 6, wherein the determining unit comprises:
the acquisition module is used for acquiring the first data information and the second data information and determining the difference of the attribute information of the first data information and the second data information;
and the determining module is used for determining the component information to be adjusted in the functional page according to the difference of the attribute information of the functional page and the attribute information of the functional page.
8. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory to implement the method of displaying a function page of any of claims 1-5.
9. A computer-readable storage medium having stored therein computer-executable instructions for implementing the method of displaying a function page of any one of claims 1-5 when executed by a processor.
10. A computer program product comprising a computer program which, when executed by a processor, implements a method of displaying a function page as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210279045.1A CN114816390A (en) | 2022-03-21 | 2022-03-21 | Display method, device and equipment of function page and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210279045.1A CN114816390A (en) | 2022-03-21 | 2022-03-21 | Display method, device and equipment of function page and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114816390A true CN114816390A (en) | 2022-07-29 |
Family
ID=82530468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210279045.1A Pending CN114816390A (en) | 2022-03-21 | 2022-03-21 | Display method, device and equipment of function page and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114816390A (en) |
-
2022
- 2022-03-21 CN CN202210279045.1A patent/CN114816390A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109032606B (en) | Native application compiling method and device and terminal | |
CN107153541B (en) | Browsing interaction processing method and device | |
EP2998899A1 (en) | Method and apparatus for running application program | |
US9870239B2 (en) | Method and device for running application program | |
CN107193606B (en) | Application distribution method and device | |
CN105808305B (en) | Static resource loading method and device | |
CN107423218B (en) | Application testing method, device and terminal | |
CN106598677A (en) | Installation package downloading method and device | |
CN117390330A (en) | Webpage access method and device | |
CN109117144B (en) | Page processing method, device, terminal and storage medium | |
CN110413169B (en) | Information display method, device and medium | |
CN108829473B (en) | Event response method, device and storage medium | |
CN107179837B (en) | Input method and device | |
CN109885360B (en) | Data processing method, device and storage medium | |
CN115373763B (en) | Plug-in loading method and device, electronic equipment and storage medium | |
CN107861666B (en) | Desktop application installation method and device | |
CN111079040A (en) | Resource sniffing method, device, terminal, server and storage medium | |
CN110968492A (en) | Information processing method and device, and storage medium | |
CN113778687B (en) | Memory allocation information processing method and device, electronic equipment and storage medium | |
EP3185515A1 (en) | Method and device for inputting information | |
CN111131000B (en) | Information transmission method, device, server and terminal | |
CN114816390A (en) | Display method, device and equipment of function page and storage medium | |
CN107257384B (en) | Service state monitoring method and device | |
CN112860625A (en) | Data acquisition method, data storage method, device, equipment and storage medium | |
CN112182449A (en) | Page loading method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |