CN112230915A - Page generation method and device and electronic equipment - Google Patents

Page generation method and device and electronic equipment Download PDF

Info

Publication number
CN112230915A
CN112230915A CN202010930483.0A CN202010930483A CN112230915A CN 112230915 A CN112230915 A CN 112230915A CN 202010930483 A CN202010930483 A CN 202010930483A CN 112230915 A CN112230915 A CN 112230915A
Authority
CN
China
Prior art keywords
service
target
component
page
information
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
Application number
CN202010930483.0A
Other languages
Chinese (zh)
Inventor
刘燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Daojia Youxiang Home Economics Service Co ltd
Original Assignee
Changsha Daojia Youxiang Home Economics Service Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Changsha Daojia Youxiang Home Economics Service Co ltd filed Critical Changsha Daojia Youxiang Home Economics Service Co ltd
Priority to CN202010930483.0A priority Critical patent/CN112230915A/en
Publication of CN112230915A publication Critical patent/CN112230915A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention provides a page generation method and device and electronic equipment, and relates to the technical field of computer application. The method comprises the following steps: responding to a page generation command for a target service class, and acquiring a page generation template, wherein pages of a plurality of service classes are generated according to the page generation template, and the page generation template comprises a first component for generating a service detail interface, a second component containing a ordering interface and a plurality of third components for configuring target service items; determining a target third component from the plurality of third components that corresponds to the target service class; receiving service detail information input according to the first component and a plurality of service information configured according to the target third component; and generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing the service information. The scheme of the invention improves the page development efficiency.

Description

Page generation method and device and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of computer application, in particular to a page generation method and device and electronic equipment.
Background
With the development of internet technology, many services open an online processing mode, and a user can complete corresponding service operation in a client by logging in the client. Taking a certain application program in the client as an example, the application program can provide services of multiple categories, and a user can obtain corresponding services through pages of the service categories in the application program.
For services of different categories, corresponding pages are often required to be independently developed in the page development process. In this case, development time is consumed, and development efficiency is low.
Disclosure of Invention
The first aspect of the present invention provides a page generation method, including:
responding to a page generation command for a target service class, and acquiring a page generation template, wherein pages of a plurality of service classes are generated according to the page generation template, and the page generation template comprises a first component for generating a service detail interface, a second component containing a ordering interface and a plurality of third components for configuring target service items;
determining a target third component from the plurality of third components that corresponds to the target service class;
receiving service detail information input according to the first component and a plurality of service information configured according to the target third component;
and generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing the service information.
A second aspect of the present invention provides a page generating apparatus, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for responding to a page generation command for a target service class and acquiring a page generation template, pages of a plurality of service classes are generated according to the page generation template, and the page generation template comprises a first component for generating a service detail interface, a second component containing a ordering interface and a plurality of third components for configuring a target service item;
a determining module for determining a target third component corresponding to the target service class from the plurality of third components;
a receiving module, configured to receive service detail information input according to the first component and a plurality of service information configured according to the target third component;
and the generating module is used for generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing the service information.
A third aspect of the invention provides an electronic device comprising a memory, and a processor connected to the memory;
the memory stores one or more computer instructions, wherein the one or more computer instructions are for the processor to invoke execution;
the processor is configured to:
responding to a page generation command for a target service class, and acquiring a page generation template, wherein pages of a plurality of service classes are generated according to the page generation template, and the page generation template comprises a first component for generating a service detail interface, a second component containing a ordering interface and a plurality of third components for configuring target service items;
determining a target third component from the plurality of third components that corresponds to the target service class;
receiving service detail information input according to the first component and a plurality of service information configured according to the target third component;
and generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing the service information.
According to the invention, the page development template shared by all the service categories and the target third component corresponding to the target service category are selected to generate the page corresponding to the target service category, and the service detail interface and the ordering interface shared by all the service categories are generated into a uniform page generation template, so that the uniform calling of the page generation template is realized, the development time consumption caused by repeated development is avoided, the detail interface and the ordering interface of the service categories are fused, the operation of ordering the user to obtain the service is facilitated, and the use experience of the user is improved; meanwhile, different service items corresponding to each service class are configured into a plurality of different components, and then a target component corresponding to the target service class is determined, so that page difference development is realized, only the components with the differences are developed, and the development efficiency is improved; in addition, by calling the uniform page generation template, the service detail information, a plurality of service information and the like which need to be filled in the template can be uniformly managed and called, and the information management efficiency is improved.
These and other aspects of the invention are apparent from and will be elucidated with reference to the embodiments described hereinafter.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional solutions of the present invention, the drawings used in the description of the embodiments or the conventional solutions will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of one embodiment of a method for generating a page provided by the present invention;
FIG. 1-1 is a schematic structural diagram of an embodiment of a service specification interface in a page generation method according to the present invention;
fig. 1-2 is a schematic structural diagram of another embodiment of a service specification interface in a page generation method provided by the present invention;
fig. 1-3 are schematic structural diagrams of another embodiment of a service specification interface in a page generation method provided by the present invention;
fig. 1-4 are schematic structural diagrams of another embodiment of a service specification interface in a page generation method provided by the present invention;
FIG. 2 is a schematic structural diagram of an embodiment of a page generation apparatus provided in the present invention;
fig. 3 is a schematic structural diagram of an embodiment of an electronic device provided in the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
In some of the flows described in the present specification and claims and in the above figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, with the order of the operations being indicated as 101, 102, etc. merely to distinguish between the various operations, and the order of the operations by themselves does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The embodiment of the invention is mainly suitable for scenes of online service. Taking a certain application program capable of providing online services as an example, the application program can provide services of various types to meet various service requirements of users. For example, in the home services industry, a certain home services application may provide various types of services including glass cleaning, range hood cleaning, mite removal cleaning, and the like, and a user may obtain corresponding services through pages of various types in the application.
Considering that the services provided by each category are different, the operations performed by the user to obtain the services of different categories are also different. For example, for a service of the class of wiping glass, a user usually needs to determine the area of the glass to be wiped when obtaining the service, and for a service of the class of cleaning a range hood, the user usually needs to determine the number, not the area, of the range hood to be cleaned when obtaining the service. Further, the determination criteria of different service categories are different, and the determination manner of the user is also different. For example, the user may determine the area by entering a custom area value, and the number may be determined by clicking on a certain number from the list without entering it. Therefore, in the development process of the service page, in the conventional scheme, separate development is often required for pages of different categories.
However, different types of services may have different operation modes executed by the user to obtain the service, or may have the same or similar service information display modes, which may be included in the page of the service. At this time, if each page is developed independently, unnecessary repeated development is caused for a part having the same implementation manner in the page, so that development time is consumed, and development efficiency is low.
Therefore, the inventor proposes a technical solution of the present invention, that is, in response to a page generation command for a target service class, a page generation template is obtained, where pages of a plurality of service classes are all generated according to the page generation template, and the page generation template includes a first component for generating a service detail interface, a second component including a ordering interface, and a plurality of third components for configuring a target service item; determining a target third component from the plurality of third components that corresponds to the target service class; receiving service detail information input according to the first component and a plurality of service information configured according to the target third component; and generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing the service information.
According to the invention, the page development template shared by all the service categories and the target third component corresponding to the target service category are selected to generate the page corresponding to the target service category, and the service detail interface and the ordering interface shared by all the service categories are generated into a uniform page generation template, so that the uniform calling of the page generation template is realized, the development time consumption caused by repeated development is avoided, the detail interface and the ordering interface of the service categories are fused, the operation of ordering the user to obtain the service is facilitated, and the use experience of the user is improved; meanwhile, different service items corresponding to the service categories are configured into a plurality of different components, and a target third component corresponding to the target service category is determined, so that page difference development is realized, only the components with the difference need to be developed, and the development efficiency is improved; in addition, by calling the uniform page generation template, the service detail information, a plurality of service information and the like which need to be filled in the template can be uniformly managed and called, and the information management efficiency is improved.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a flowchart of an embodiment of a page generation method provided in an embodiment of the present invention may include the following steps:
101: and responding to a page generation command aiming at the target service class, and acquiring a page generation template.
The pages of the multiple service categories are generated according to a page generation template, and the page generation template comprises a first component for generating a service detail interface, a second component containing a ordering interface and multiple third components for configuring target service items.
The service class may refer to a class of services provided by an online platform, such as a class of services provided by an application. Taking the home service application as an example, services including a plurality of categories such as glass cleaning, range hood cleaning, central air conditioning cleaning, mite removal cleaning and the like can be provided, and the glass cleaning can be referred to as a service category, and the range hood cleaning can also be referred to as a service category and the like. The target service class may refer to one of a plurality of service classes. In practical application, different service categories may be set according to actual service scenarios, and are not specifically limited herein.
The pages of the multiple service categories can be generated according to the page generation template, that is, the page template can be used as a page generation template shared by the multiple service category pages. In this case, the plurality of service categories may refer to a plurality of service categories provided in the same business scene or the same service application, such as a plurality of service categories provided in a home service application, including glass cleaning, range hood cleaning, central air conditioner cleaning, mite removal cleaning, and the like.
The page generation template can comprise a first component for generating a service detail interface, a second component containing a ordering interface and a plurality of third components for configuring target service items. Specifically, the first component may include at least one functional module, such as a category name module, a detail picture module, a carousel picture module, and the like, for generating a service detail interface. Wherein the interface is different from the page described above, the interface may be a part of the page. That is, the service detail interface is part of the page corresponding to the target service class.
Optionally, the first component may include a ordering control for triggering an ordering operation. The order control can be used for calling out an order interface.
Specifically, the order placing control may be an order placing button, and the triggering of the order placing operation based on the order placing control in response to the user may be in response to the user clicking the order placing button in the page, so as to generate an order placing command, and call out an order placing interface based on the order placing command, so that the user performs the order placing operation in the order placing interface.
The second component may include an ordering interface, and the ordering interface is also a part of the page corresponding to the target service class. That is, the ordering interface and the service detail interface are both part of the page corresponding to the target service class in one page. Therefore, the detail interface and the ordering interface of the service class can be fused into a unified page, a user can conveniently complete all operations from browsing the detail information of the service class to ordering based on one page, page switching is not needed, and the user experience is improved.
Optionally, the ordering interface may include a configuration control corresponding to the target service item. Wherein the configuration control may be used to call out the target third component. The service item may be referred to as corresponding to the order placing information, where the order placing information includes address information, time information, and specification information, and the service item may include a service address corresponding to the address information, a service address corresponding to the time information, a service specification corresponding to the specification information, and the like. The target service item may refer to one or more of the service items, and the target service item may correspond to the target service category.
In practical application, besides the configuration control corresponding to the target service item, the ordering interface may further include configuration controls corresponding to other service items. The configuration controls may be implemented as buttons or the like. The configuration control included in the ordering interface may be set according to an actual situation, which is not specifically limited.
Optionally, a determination control for triggering determination of order placing information, such as a determination button, may be further included in the second component, and the determination operation triggered by the user based on the determination control may be an operation in response to the user clicking the determination button, so as to determine the order placing information of the user.
The third component may be used to configure the target service item, and if the target service item may be a service specification, the third component may present specification configuration information, which may include, for example, a price, a count, and the like.
102: a target third component corresponding to the target service class is determined from the plurality of third components.
Optionally, the plurality of third components are different in interaction manner and display style.
The interaction mode may refer to an operation mode of the component response, and may include click interaction, slide interaction, input interaction, and the like. The display style may include the size of the component, the background color, the background setting, etc.
In practical applications, the step of determining the target third component corresponding to the target service class from the plurality of third components may be determining the third component corresponding to the target service class and having the target display style and the target interaction mode. For example, if the third component needs to receive information input by the user when interacting with the user, the target third component may select the third component having the input interaction mode.
103: receiving service detail information input according to the first component and a plurality of service information configured according to the target third component.
The first component comprises at least one functional module which can be used for displaying corresponding service detail information. For example, the item name module may display the name of the target service item, the detail picture module may be configured to display the detail picture of the target service item, and the carousel picture module may be configured to display the carousel picture of the target service item. The service detail information may be pre-stored in the information platform, so that when the page of the target service class is generated, the pre-stored service detail information can be acquired from the information platform.
The service information configured according to the target third component may include service information that needs to be known when the user places an order for the target service, such as a price of the target service, and count information. The plurality of service information may be stored in the information platform in advance. When generating the page of the target service class, the service information stored in advance can be acquired from the information platform.
104: and generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing a plurality of service information.
Based on the acquired service detail information and the plurality of service information, corresponding information can be edited according to default configurations in the first component and the third component, so as to generate an interface containing the corresponding information, namely a detail interface and a configuration interface corresponding to the target service item. Specifically, the obtained name information of the target service class can be configured in the corresponding class name module; configuring the acquired detail picture information of the target service class in the corresponding detail picture module; configuring the acquired carousel map information of the target service class in a corresponding carousel map module; and configuring the obtained information such as the price of the target service class in the corresponding third component.
After the above process is completed, a page may be generated based on the above interface according to a specific positional relationship or a display logical relationship between the components. For example, the service details interface may be presented in the page prior to the ordering interface, or the ordering interface may be presented in a lower region of the page, and so on.
In the embodiment, the page development template shared by the service categories and the target third component corresponding to the target service category are selected to generate the page corresponding to the target service category, and the service detail interface and the ordering interface shared by the service categories are generated into the unified page generation template, so that the unified calling of the page generation template is realized, the development time consumption caused by repeated development is avoided, the detail interface and the ordering interface of the service categories are fused, the operation of ordering the service by a user is facilitated, and the use experience of the user is improved; meanwhile, different service items corresponding to the service categories are configured into a plurality of different components, and a target third component corresponding to the target service category is determined, so that page difference development is realized, only the components with the difference need to be developed, and the development efficiency is improved; in addition, by calling the uniform page generation template, the service detail information, a plurality of service information and the like which need to be filled in the template can be uniformly managed and called, and the information management efficiency is improved.
In practical applications, the service detail interface includes various pieces of introduction information of the service, and needs to show more content to the user, and the order interface includes only information related to order placement, such as user address information, and the like, and shows less content to the user, so that in order to enable each piece of information in the page to be shown to the maximum extent, in some embodiments, the second component and the target third component may both be popup windows.
Through setting up second subassembly and target third subassembly into the popup window, can realize just showing the configuration interface of ordering interface and corresponding with the target service item when the operation of ordering needs, and when the operation of ordering need not, can not cause sheltering from or interference to the service detail interface, realize the maximize show of service detail interface simultaneously in the page, be favorable to improving the integrity that the user acquireed the detail information, improve user and use experience.
The display mode of each component may be set according to an actual situation, for example, the second component may be a pop-up window, and the third component may be displayed in a drop interface included in the second component, which is not particularly limited.
In practical applications, the implementation manner of the third component corresponding to the service class may be preset, and therefore, in some embodiments, determining the target third component corresponding to the target service class from the plurality of third components may further include:
and determining a target third component corresponding to the identification information from the plurality of third components according to the preset corresponding relation between the identification information and the third components.
The identification information of the target service class can be stored in the page generation command for the target service class. The identification information may refer to ID information or the like.
Alternatively, the receiving of the service detail information input according to the first component and the plurality of service information configured according to the target third component may be receiving the service detail information corresponding to the identification information of the target service class and the plurality of service information. The information platform may pre-store the service detail information and the service information of a plurality of service classes, such as the service detail information and the service information of all services provided by an application. When the target service detail information and the target service information are obtained from the information platform, the target service detail information and the target service information corresponding to the identification information can be obtained according to the identification information of the target service class.
Taking the home service scenario as an example, in some embodiments, the target service item may include a service specification.
Taking a certain housekeeping service application as an example, a plurality of service classes of services can be provided. Different service classes correspond to different service specifications. For example, for a class of service of wiping glass, as shown in fig. 1-1, the service specification may refer to the area of glass to be wiped. For the class of service for cleaning the range hood, as shown in fig. 1-2, the service specification may refer to the number of range hoods to be cleaned. For the class of service for mite-killing cleaning, as shown in fig. 1-3, the service specification may refer to the number of house rooms to be mite-killed cleaned.
The third component configuring the service specification may also have a different implementation for the different service specification described above. For example, as shown in fig. 1-1, for a service class of wiping glass, the area of the glass to be wiped can be input in a customized manner, and the corresponding third component can display its service specification, service price and specification selection manner, wherein the specification selection manner can be inputting specification number, such as the area of the glass to be wiped. For another example, as shown in fig. 1-2, for a class of service items for cleaning a range hood, the number of range hoods to be cleaned may be an integer, and the corresponding third component may display the service specification, the service price, and the specification selection manner, where the specification selection manner may be an integer plus or minus specification number. For another example, as shown in fig. 1 to 3, for the class of mite-killing cleaning service, the range to be cleaned by removing mites is usually the number of rooms in a house, a plurality of groups of mite-killing cleaning service items containing different numbers of rooms can be respectively displayed in the corresponding third components for the user to select, and the specification selection manner can be to select a group of mite-killing cleaning service with a proper number of rooms from the plurality of groups of mite-killing cleaning services containing different numbers of rooms.
In practical application, in order to facilitate user operation and improve user experience, the implementation manner of the third component corresponding to the service specification in a certain service class may include multiple types at the same time. As shown in fig. 1 to 4, for cleaning this service class for the central air conditioner, the service specification may refer to the number of air inlets and air outlets to be cleaned, and since the number of air inlets and air outlets to be cleaned may be large, it may take too much space to respectively display a plurality of service items including different numbers of air inlets and air outlets, so that part of the service items including different numbers of air inlets and air outlets may be displayed in the third component for the user to select, and the rest of the service items including different numbers of air inlets and air outlets may be displayed in the form of a sliding list. Thus, the interaction mode of the third component can comprise a click interaction mode and a sliding interaction mode. Or selecting a service item containing more air inlet and outlet groups through user-defined input, and if receiving ten groups of air inlet and outlet number information input by a user, determining that the service selected by the user is for cleaning ten groups of air inlets and outlets in the central air conditioner. At this time, the interaction mode of the third component may include two modes of click interaction and input interaction.
In the embodiment, the page development template shared by each service class and the target specification component corresponding to the target service class are selected to generate the page corresponding to the target service class, the specification corresponding to each service class is configured into a plurality of different specification components, and the target specification component corresponding to the target service class is determined from the specification components, so that the page differential development is realized, and a user only needs to develop the different specification components, so that the page development efficiency is improved.
In practical application, based on the generated page of the target service category, the user can obtain the service provided by the target service category through the page. In some embodiments, the method may further comprise:
responding to an access request to the page, and displaying service detail information and a ordering control in the page;
displaying a ordering interface in a page according to the triggering operation of the ordering control;
and displaying a plurality of service information in a page for a user to select according to the triggering operation of the configuration control corresponding to the target service item contained in the ordering interface.
An access request for the page may be generated in response to a user-triggered access operation to access the page. Based on the access request, service detail information may be displayed in a page along with ordering controls, such as an ordering button, and the like. The service detail information may include the name of the target service class, carousel map information, detail map information, and the like. The user can know the detail information of the target service class through the service detail interface.
Based on the displayed detail information, the triggering operation of the order control in the page by the user can be responded. Specifically, the order request may be generated in response to an operation of clicking an order button in the page by the user. Based on the order placing request, an order placing interface can be displayed in the page, and the order placing interface can comprise configuration controls of various service items, such as a service address button, a service time button, a service specification button and the like. Optionally, the ordering interface may be presented in a pop-up window.
In the ordering interface, the information of each service item can be displayed in a page in response to the triggering operation of the user on the configuration control corresponding to each service item contained in the ordering interface. Such as presenting address input information in a page in response to a user clicking a service address button in the lower single interface. And responding to the operation of inputting the address information by the user, receiving the address information input by the user and displaying the address information in the page. The method comprises the steps of responding to the operation of triggering a service specification button by a user, displaying specification selection information in a page, responding to the operation of triggering specification selection by the user, receiving the specification information selected by the user, and displaying the specification information in the page. Alternatively, the specification selection information and the like may be presented in a pop-up window form.
In the embodiment, the detail interface and the ordering interface of the service class are fused, so that the operation of ordering and acquiring the service by a user is facilitated, and the use experience of the user is improved.
As shown in fig. 2, which is a schematic structural diagram of an embodiment of a page generation apparatus provided in the present invention, the apparatus may include the following modules:
an obtaining module 201, configured to obtain a page generation template in response to a page generation command for a target service class, where pages of a plurality of service classes are all generated according to the page generation template, and the page generation template includes a first component for generating a service detail interface, a second component including a ordering interface, and a plurality of third components for configuring a target service item;
a determining module 202, configured to determine a target third component corresponding to the target service class from the plurality of third components;
a receiving module 203, configured to receive the service detail information input according to the first component and a plurality of service information configured according to the target third component;
the generating module 204 is configured to generate a page corresponding to the target service class according to the first component and the second component that include the service detail information, and the target third component that includes a plurality of service information.
In the embodiment, the page development template shared by the service categories and the target third component corresponding to the target service category are selected to generate the page corresponding to the target service category, and the service detail interface and the ordering interface shared by the service categories are generated into the unified page generation template, so that the unified calling of the page generation template is realized, the development time consumption caused by repeated development is avoided, the detail interface and the ordering interface of the service categories are fused, the operation of ordering the service by a user is facilitated, and the use experience of the user is improved; meanwhile, different service items corresponding to the service categories are configured into a plurality of different components, and a target third component corresponding to the target service category is determined, so that page difference development is realized, only the components with the difference need to be developed, and the development efficiency is improved; in addition, by calling the uniform page generation template, the service detail information, a plurality of service information and the like which need to be filled in the template can be uniformly managed and called, and the information management efficiency is improved.
In some embodiments, the page generation command includes identification information of the target service class; the determining module 202 may include:
and the determining unit is used for determining a target third component corresponding to the identification information from the plurality of third components according to the preset corresponding relation between the identification information and the third components.
In some embodiments, the apparatus may further comprise:
the first display module is used for responding to an access request of a page and displaying service detail information and a ordering control in the page;
the second display module is used for displaying the ordering interface in the page according to the triggering operation of the ordering control;
and the third display module is used for displaying a plurality of service information in a page for a user to select according to the triggering operation of the configuration control corresponding to the target service item contained in the ordering interface.
In the embodiment, the detail interface and the ordering interface of the service class are fused, so that the operation of ordering and acquiring the service by a user is facilitated, and the use experience of the user is improved.
In one possible design, the structure of the page generating apparatus may be implemented as an electronic device. As shown in fig. 3, a schematic structural diagram of an embodiment of an electronic device provided in the present invention includes a memory 301, and a processor 302 connected to the memory 301;
the memory 301 stores one or more computer instructions for the processor 302 to invoke for execution;
the processor 302 is configured to:
responding to a page generation command for a target service class, and acquiring a page generation template, wherein pages of a plurality of service classes are generated according to the page generation template, and the page generation template comprises a first component for generating a service detail interface, a second component containing a ordering interface and a plurality of third components for configuring target service items;
determining a target third component corresponding to the target service class from the plurality of third components;
receiving service detail information input according to the first component and a plurality of service information configured according to the target third component;
and generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing a plurality of service information.
In the embodiment, the page development template shared by the service categories and the target third component corresponding to the target service category are selected to generate the page corresponding to the target service category, and the service detail interface and the ordering interface shared by the service categories are generated into the unified page generation template, so that the unified calling of the page generation template is realized, the development time consumption caused by repeated development is avoided, the detail interface and the ordering interface of the service categories are fused, the operation of ordering the service by a user is facilitated, and the use experience of the user is improved; meanwhile, different service items corresponding to the service categories are configured into a plurality of different components, and a target third component corresponding to the target service category is determined, so that page difference development is realized, only the components with the difference need to be developed, and the page development efficiency is improved; in addition, by calling the uniform page generation template, the service detail information, a plurality of service information and the like which need to be filled in the template can be uniformly managed and called, and the information management efficiency is improved.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A page generation method is characterized by comprising the following steps:
responding to a page generation command for a target service class, and acquiring a page generation template, wherein pages of a plurality of service classes are generated according to the page generation template, and the page generation template comprises a first component for generating a service detail interface, a second component containing a ordering interface and a plurality of third components for configuring target service items;
determining a target third component from the plurality of third components that corresponds to the target service class;
receiving service detail information input according to the first component and a plurality of service information configured according to the target third component;
and generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing the service information.
2. The method of claim 1, wherein the plurality of third components differ in their manner of interaction and display style.
3. The method according to claim 1, wherein the first component comprises an order control for triggering an order placing operation, and the order placing control is used for calling the order placing interface;
the ordering interface comprises a configuration control corresponding to the target service item, and the configuration control is used for calling out the target third assembly.
4. The method of claim 3, wherein the second component and the target third component are both pop-up windows.
5. The method of claim 3, wherein the target service item comprises a service specification.
6. The method of claim 1, wherein the page generation command includes identification information of the target class of services;
the determining a target third component from the plurality of third components corresponding to the target service class comprises:
and determining a target third component corresponding to the identification information from the plurality of third components according to the corresponding relation between the preset identification information and the third components.
7. The method according to any one of claims 3 to 5, further comprising:
in response to an access request to the page, displaying the service detail information and the ordering control in the page;
displaying the order placing interface in the page according to the triggering operation of the order placing control;
and displaying the plurality of service information in the page for a user to select according to the triggering operation of the configuration control corresponding to the target service item contained in the ordering interface.
8. A page generating apparatus, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for responding to a page generation command for a target service class and acquiring a page generation template, pages of a plurality of service classes are generated according to the page generation template, and the page generation template comprises a first component for generating a service detail interface, a second component containing a ordering interface and a plurality of third components for configuring a target service item;
a determining module for determining a target third component corresponding to the target service class from the plurality of third components;
a receiving module, configured to receive service detail information input according to the first component and a plurality of service information configured according to the target third component;
and the generating module is used for generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing the service information.
9. The apparatus of claim 8, further comprising:
the first display module is used for responding to an access request of the page and displaying the service detail information and the ordering control in the page;
the second display module is used for displaying the ordering interface in the page according to the triggering operation of the ordering control;
and the third display module is used for displaying the plurality of service information in the page for the user to select according to the triggering operation of the configuration control corresponding to the target service item contained in the ordering interface.
10. An electronic device comprising a memory, and a processor coupled to the memory;
the memory stores one or more computer instructions, wherein the one or more computer instructions are for the processor to invoke execution;
the processor is configured to:
responding to a page generation command for a target service class, and acquiring a page generation template, wherein pages of a plurality of service classes are generated according to the page generation template, and the page generation template comprises a first component for generating a service detail interface, a second component containing a ordering interface and a plurality of third components for configuring target service items;
determining a target third component from the plurality of third components that corresponds to the target service class;
receiving service detail information input according to the first component and a plurality of service information configured according to the target third component;
and generating a page corresponding to the target service class according to the first component containing the service detail information, the second component and the target third component containing the service information.
CN202010930483.0A 2020-09-07 2020-09-07 Page generation method and device and electronic equipment Pending CN112230915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010930483.0A CN112230915A (en) 2020-09-07 2020-09-07 Page generation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010930483.0A CN112230915A (en) 2020-09-07 2020-09-07 Page generation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112230915A true CN112230915A (en) 2021-01-15

Family

ID=74116685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010930483.0A Pending CN112230915A (en) 2020-09-07 2020-09-07 Page generation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112230915A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114816625A (en) * 2022-04-08 2022-07-29 郑州铁路职业技术学院 Method and device for designing interface of automatic interactive system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7331038B1 (en) * 2003-07-02 2008-02-12 Amazon.Com, Inc. Predictive prefetching to improve parallelization of document generation subtasks
US20080071929A1 (en) * 2006-09-18 2008-03-20 Yann Emmanuel Motte Methods and apparatus for selection of information and web page generation
US20140143654A1 (en) * 2012-11-22 2014-05-22 Institute For Information Industry Systems and methods for generating mobile app page template, and storage medium thereof
CN106021617A (en) * 2016-07-12 2016-10-12 腾讯科技(深圳)有限公司 Page generation method and device
CN108255847A (en) * 2016-12-28 2018-07-06 腾讯科技(深圳)有限公司 Page generation method and device
CN110727431A (en) * 2019-09-17 2020-01-24 阿里巴巴集团控股有限公司 Applet generation method and apparatus
CN110825374A (en) * 2019-11-04 2020-02-21 泰康保险集团股份有限公司 Page generation method and device based on component, electronic equipment and storage medium
CN111352627A (en) * 2020-02-27 2020-06-30 政采云有限公司 Page skeleton screen generation method, device, equipment and readable storage medium
CN111475244A (en) * 2020-04-07 2020-07-31 深圳前海微众银行股份有限公司 Page generation method, device, equipment and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7331038B1 (en) * 2003-07-02 2008-02-12 Amazon.Com, Inc. Predictive prefetching to improve parallelization of document generation subtasks
US20080071929A1 (en) * 2006-09-18 2008-03-20 Yann Emmanuel Motte Methods and apparatus for selection of information and web page generation
US20140143654A1 (en) * 2012-11-22 2014-05-22 Institute For Information Industry Systems and methods for generating mobile app page template, and storage medium thereof
CN106021617A (en) * 2016-07-12 2016-10-12 腾讯科技(深圳)有限公司 Page generation method and device
CN108255847A (en) * 2016-12-28 2018-07-06 腾讯科技(深圳)有限公司 Page generation method and device
CN110727431A (en) * 2019-09-17 2020-01-24 阿里巴巴集团控股有限公司 Applet generation method and apparatus
CN110825374A (en) * 2019-11-04 2020-02-21 泰康保险集团股份有限公司 Page generation method and device based on component, electronic equipment and storage medium
CN111352627A (en) * 2020-02-27 2020-06-30 政采云有限公司 Page skeleton screen generation method, device, equipment and readable storage medium
CN111475244A (en) * 2020-04-07 2020-07-31 深圳前海微众银行股份有限公司 Page generation method, device, equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
直播镜头: "如何使用约洗APP下单,预约上门家电清洗服务", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/8275FC8677572446A03CF625.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114816625A (en) * 2022-04-08 2022-07-29 郑州铁路职业技术学院 Method and device for designing interface of automatic interactive system
CN114816625B (en) * 2022-04-08 2023-06-16 郑州铁路职业技术学院 Automatic interaction system interface design method and device

Similar Documents

Publication Publication Date Title
CN107391134B (en) Method and device for automatically generating and dynamically transforming universal mobile application interactive interface
CN111309213A (en) Comment display method and device, electronic equipment and storage medium
CN105225212A (en) A kind of image processing method and device
CN106062693B (en) Desktop sharing method and mobile terminal
CN113377486A (en) Data visualization display method, device, equipment and storage medium
CN112230915A (en) Page generation method and device and electronic equipment
CN112337099A (en) Service management method and device
CN109522086B (en) Operation method and device for window, computer device and readable storage medium
CN110457219B (en) Method and device for selecting time when test script is recorded
CN111740850A (en) Group chat creating method and device, electronic equipment and readable storage medium
US20180196928A1 (en) Network visualization for access controls
CN112950303A (en) Order processing method and device, electronic equipment and storage medium
CN116027937A (en) Rendering method and device of component to be edited, storage medium and electronic device
CN114995931A (en) Display method and device of project bulletin board, storage medium and computer equipment
CN105787754B (en) Advertisement inventory visualization method and device
CN112307379A (en) Page generation method, device and equipment
CN112950304A (en) Information pushing method, device, equipment and storage medium
CN106485565B (en) Information processing method and device
CN112870713B (en) Interaction method and device of game interface
CN111930451B (en) Display method and device of equipment management system, storage medium and terminal
CN117101124A (en) Virtual resource processing method, device, equipment and storage medium
KR20180080924A (en) Apparatus and method for monitoring the processing result of big data processing server
CN114840484A (en) Method and device for sharing products
CN115328940A (en) Data screening method and device
CN115454292A (en) Page data processing method and device, computer readable medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210115

RJ01 Rejection of invention patent application after publication