CN111124559A - Method and device for setting background color of beacon, storage medium and processor - Google Patents

Method and device for setting background color of beacon, storage medium and processor Download PDF

Info

Publication number
CN111124559A
CN111124559A CN201811291679.9A CN201811291679A CN111124559A CN 111124559 A CN111124559 A CN 111124559A CN 201811291679 A CN201811291679 A CN 201811291679A CN 111124559 A CN111124559 A CN 111124559A
Authority
CN
China
Prior art keywords
background color
setting
pointer
color variable
beacon
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
CN201811291679.9A
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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201811291679.9A priority Critical patent/CN111124559A/en
Publication of CN111124559A publication Critical patent/CN111124559A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the invention provides a method and a device for setting a background color of a beacon, a storage medium and a processor, wherein the method comprises the following steps: respectively defining a first style name and a second style name for a main frame and a pointer of a page prompt box, wherein the style names are used for distinguishing attribute settings of the main frame and the pointer; setting a first background color variable under a first style name of the main frame; and setting a second background color variable under the second style name of the pointer, wherein the set value of the second background color variable directly refers to the set value of the first background color variable. The problem of among the correlation technique page prompt box the beacon color can't change along with the change of main frame background color, need change the setting alone, lead to troublesome poeration and user experience poor is solved.

Description

Method and device for setting background color of beacon, storage medium and processor
Technical Field
The invention relates to the technical field of computer application, in particular to a method and a device for setting a background color of a beacon, a storage medium and a processor.
Background
The front-end project is commonly used as a bubble pop-up window and a tool-tip box text prompt tooltip. The default background color of the popover is white, which sometimes needs to be changed, however, the color of the triangle beacon in the popover does not change as the background color of the popover popup changes. Similarly, there are only two default themes for tooltip (dark/light), i.e. the background color is black or white. When the background color of the tooltip prompt box is modified, the color of the triangle beacon does not change. If the color of the triangle pointer in the prompt frame of the popover or tooltip is to be changed, code rewriting or color setting is required to be carried out independently or manually. The current operation is time-consuming and labor-consuming, and affects the satisfaction degree of user experience.
Aiming at the problems that the color of a pointer of a page prompt box in the related art cannot be changed along with the change of the background color of a main frame, the setting needs to be changed independently, the operation is troublesome, and the user experience is poor, no reasonable solution is provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for setting a beacon background color, a storage medium and a processor, which are used for at least solving the problems that the beacon color of a page prompt box in the related art cannot be changed along with the change of the main frame background color, and the setting needs to be changed independently, so that the operation is troublesome and the user experience is poor.
According to an embodiment of the present invention, there is provided a setting method of a background color of a beacon, including: respectively defining a first style name and a second style name for a main frame and a pointer of a page prompt box, wherein the style names are used for distinguishing attribute settings of the main frame and the pointer; setting a first background color variable under a first pattern name of the main frame; and setting a second background color variable under a second style name of the pointer, wherein the set value of the second background color variable directly refers to the set value of the first background color variable.
Preferably, before the first style name and the second style name are respectively defined for the main frame and the pointer of the page prompt box, the method further comprises: and defining a special style name for the page prompt box, wherein the special style name is used for positioning a pointer of the page prompt box.
Preferably, setting a second background color variable under the second style name of the pointer comprises: setting the pointers with different indication directions for the page prompt box, wherein the indication directions of the pointers at least comprise one of the following directions: up, down, left, right; and setting the second background color variable with different indication directions under the second style name of the pointer.
Preferably, after setting the second background color variable indicating different directions under the second style name of the beacon, the method further includes: when the set value of the first background color variable is changed, simultaneously updating a second background color of the pointer in different indication directions; and calling a second background color of the pointer consistent with the indication direction of the pointer according to the indication direction of the pointer of the page prompt box on the current interface.
Preferably, the setting of the first background color variable under the first pattern name of the main frame includes: setting a line color variable and/or a filling color variable under a first pattern name of the main frame; setting a second background color variable under a second style name of the beacon comprises: and setting a line color variable and/or a filling color variable under the second style name of the pointer.
According to another aspect of the embodiments of the present invention, there is also provided a setting apparatus for setting a background color of a beacon, including: the first definition module is used for respectively defining a first style name and a second style name for a main frame and a pointer of a page prompt box, wherein the style names are used for distinguishing attribute settings of the main frame and the pointer; the first setting module is used for setting a first background color variable under a first pattern name of the main frame; and the second setting module is used for setting a second background color variable under the second style name of the pointer, wherein the set value of the second background color variable directly refers to the set value of the first background color variable.
Preferably, the second setting module includes: the first setting unit is configured to set the pointers in different indication directions for the page prompt box, where the indication directions of the pointers at least include one of: up, down, left, right; and the second setting unit is used for setting the second background color variables in different indication directions under the second style name of the pointer.
Preferably, the apparatus further comprises: the updating module is used for updating the second background colors of the pointers with different indicating directions when the set value of the first background color variable is changed; a calling module, configured to call, according to the indication direction of the beacon of the page prompt box on the current interface, a second background color of the beacon that is consistent with the indication direction of the beacon
Preferably, the first setting module is further configured to: setting a line color variable and/or a fill color variable for the main frame; the second setup module is further to: setting a line color variable and/or a fill color variable for the pointer.
According to another embodiment of the present invention, there is also provided a storage medium storing a program for implementing the setting method of the background color of the beacon described in any one of the above method embodiments when the program is executed.
There is also provided, in accordance with another embodiment of the present invention, a processor for executing a program, wherein the program is executed to perform: any one of the above method embodiments provides a method for setting a background color of a beacon.
According to the embodiment of the invention, the first style name and the second style name are respectively defined for the main frame and the pointer of the page prompt box so as to be used for distinguishing the attribute settings of the main frame and the pointer, and then the background color variable of the pointer is bound with the background color variable of the main frame, so that the background color variable setting value of the pointer directly refers to the background color variable setting value of the main frame, the problems that the color of the pointer of the page prompt box cannot be changed along with the change of the background color of the main frame in the related technology, the setting needs to be changed independently, the operation is troublesome, and the user experience is poor are solved, the background color of the pointer of the page prompt box can be changed along with the change of the background color of the main frame, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal according to a setting method of a beacon background color according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for setting a background color of a beacon according to an embodiment of the present invention;
fig. 3 is a block diagram of a configuration of a setting apparatus of a background color of a beacon according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the example of the application in a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a method for setting a background color of a beacon according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the method for acquiring the scheduled throughput in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The embodiment of the invention provides a method for setting a background color of a beacon. Fig. 2 is a flowchart of a method for setting a background color of a beacon according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
step S201, respectively defining a first style name and a second style name for a main frame and a pointer of a page prompt box, wherein the style names are used for distinguishing attribute settings of the main frame and the pointer;
step S203, setting a first background color variable under a first style name of the main frame;
in step S205, a second background color variable is set under the second style name of the pointer, wherein the set value of the second background color variable directly refers to the set value of the first background color variable.
By the method, a first style name and a second style name are respectively defined for the main frame and the pointer of the page prompt box, wherein the style names are used for distinguishing the attribute settings of the main frame and the pointer; setting a first background color variable under a first style name of the main frame; the second background color variable is set under the second style name of the beacon, wherein the set value of the second background color variable directly refers to the set value of the first background color variable, so that the problems that the color of the beacon of the page prompt box cannot be changed along with the change of the background color of the main frame in the related technology, the setting needs to be changed independently, the operation is troublesome and the user experience is poor are solved, the background color of the beacon can be changed along with the change of the background color of the main frame of the page prompt box, and the user experience is improved.
It should be noted that the page prompt box related in the embodiment of the present invention may be a pop or tooltip, and other types of prompt boxes that can be popped up or annotated on the computer interface. Setting the first background color variable under the first style name of the main frame may include: setting a line color variable and/or a filling color variable under a first style name of the main frame; setting the second background color variable under the second style name of the pointer may include: and setting a line color variable and/or a filling color variable under the second style name of the pointer.
According to a preferred implementation manner of the embodiment of the present invention, before the step S201, the method further includes: and defining a special style name for the page prompt box, wherein the special style name is used for positioning the pointer of the page prompt box.
For example, a fixed style name, such as "my-popover", is defined for a popover, and the triangle pointers inside can be located according to the style name (if a style name is not given alone, the default background color of other popers in the local may be affected by the subsequently set style). The main frame of the popover is defined a first style name, which may be "my-popover _ main frame", and the beacon is defined a second style name, which may be "my-popover _ arrow".
According to a preferred implementation manner of the embodiment of the present invention, the step S203 may be implemented by: setting pointers with different indication directions for the page prompt box, wherein the indication directions of the pointers at least comprise one of the following directions: up, down, left, right; and setting a second background color variable with different indication directions under the second style name of the pointer.
After setting a second background color variable indicating different directions under the second style name of the pointer, the method further comprises: when the set value of the first background color variable is changed, updating the second background color of the direction indicator in different indication directions; and calling a second background color of the pointer consistent with the indication direction of the pointer according to the indication direction of the pointer of the page prompt box on the current interface.
The page prompt box program on the interface may directly obtain the updated color of the corresponding pointer according to the indication direction of the current pointer, for example, if the indication direction of the pointer of the current interface is "top", the page prompt box in the interface may directly call the background color of the pointer in the corresponding "top" direction.
For example, after the triangle pointers are respectively positioned according to the style names, the color of the frame in four directions is respectively set for the triangle pointers as follows:
Figure BDA0001850129550000061
Figure BDA0001850129550000071
thus, no matter which direction the placement of the popover is set to, the triangle beacon in the direction is already set with the corresponding color, and the placement is automatically switched along with the triangle beacon. If the css style is written in a language that can define variables such as scss, a default background color of the popover can be defined first, and the default background color of the popover can be used to store the background color of the popover that needs to be set, for example: "$ popover-bgcolor: ping; ", then this variable is directly referenced when the background color is set for the popover and triangle pointers, such as: a border-left-color is $ popover-bgcolor; then it is simpler to change the background color of the popover and let the triangle beacon change color at the same time, just need to modify the color of the "$ popover-bgcolor", and do not need to change elsewhere.
The manner in which Tooltip changes the background color is the same as above, and is not described in detail here.
By the method for setting the background color of the beacon, the color of the small triangular icon can be changed while the background color of the popover and the tooltip which are commonly used in the front-end project library is changed; the use experience of the user is improved, and the method is more friendly to the user.
Example 2
In this embodiment, a device for setting a background color of a beacon is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device that has been already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a configuration of an apparatus for setting a background color of a beacon according to an embodiment of the present invention, as shown in fig. 3, the apparatus including: the first definition module 30 is configured to define a first style name and a second style name for the main frame and the pointer of the page prompt box, respectively, where the style names are used to distinguish attribute settings of the main frame and the pointer; a first setting module 32 for setting a first background color variable under a first pattern name of the main frame; a second setting module 34, configured to set a second background color variable under the second style name of the pointer, where the setting value of the second background color variable directly references the setting value of the first background color variable.
By the device, the first definition module 30 respectively defines style names for the main frame and the pointer of the page prompt box, wherein the style names are used for distinguishing attribute settings of the main frame and the pointer; the first setting module 32 sets a first background color variable under a first pattern name of the main frame; the second setting module 34 sets a second background color variable under the second style name of the beacon, wherein the set value of the second background color variable directly refers to the set value of the first background color variable, so that the problems that the color of the beacon of the page prompt box cannot be changed along with the change of the background color of the main frame in the related art, the setting needs to be changed independently, the operation is troublesome and the user experience is poor are solved, the background color of the beacon can be changed along with the change of the background color of the page prompt box, and the user experience is improved.
It should be noted that the page prompt box related in the embodiment of the present invention may be a pop or tooltip, and other types of prompt boxes that can be popped up or annotated on the computer interface. Setting a first background color variable for the main frame includes: setting a line color variable and/or a filling color variable for a main frame of a page prompt box; setting a second background color variable for the pointer of the page prompt box comprises: a line color variable and/or a fill color variable is set for the pointer.
According to a preferred implementation of the embodiment of the invention, the apparatus further comprises: the second definition module is used for defining an exclusive style name for the page prompt box, wherein the exclusive style name is used for positioning the pointer of the page prompt box.
According to a preferred implementation of the embodiment of the invention, the second setting module comprises: the first setting unit is used for setting pointers with different indication directions for the page prompt box, wherein the indication directions of the pointers at least comprise one of the following directions: up, down, left, right; and the second setting unit is used for setting the second background color variables in different indication directions under the second style name of the pointer.
According to a preferred implementation of the embodiment of the invention, the first setting module is further configured to: setting a line color variable and/or a filling color variable for a main frame of a page prompt box; the second setting module is further configured to: a line color variable and/or a fill color variable is set for the pointer.
According to a preferred implementation of the embodiment of the invention, the apparatus further comprises: the updating module is used for updating the second background colors of the pointers with different indication directions when the set value of the first background color variable is changed; and the calling module is used for calling the second background color of the pointer consistent with the indication direction of the pointer according to the indication direction of the pointer of the page prompt box on the current interface.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing the setting method of the background color of the beacon when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes the setting method of the background color of the beacon when running.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: (method claim step, independent + dependent). The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
respectively defining a first style name and a second style name for a main frame and a pointer of a page prompt box, wherein the style names are used for distinguishing attribute settings of the main frame and the pointer; setting a first background color variable under a first style name of the main frame; and setting a second background color variable under the second style name of the pointer, wherein the set value of the second background color variable directly refers to the set value of the first background color variable.
Preferably, the program, when executed on a data processing device, is adapted to perform a procedure for initializing the following method steps:
and defining a special style name for the page prompt box, wherein the special style name is used for positioning the pointer of the page prompt box.
Preferably, the program, when executed on a data processing device, is adapted to perform a procedure for initializing the following method steps:
setting pointers with different indication directions for the page prompt box, wherein the indication directions of the pointers at least comprise one of the following directions: up, down, left, right; and setting a second background color variable with different indication directions under the second style name of the pointer.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for setting a background color of a beacon is characterized by comprising the following steps:
respectively defining a first style name and a second style name for a main frame and a pointer of a page prompt box, wherein the style names are used for distinguishing attribute settings of the main frame and the pointer;
setting a first background color variable under a first pattern name of the main frame;
and setting a second background color variable under a second style name of the pointer, wherein the set value of the second background color variable directly refers to the set value of the first background color variable.
2. The method of claim 1, wherein before defining the first style name and the second style name for the main frame and the pointer of the page hint box, respectively, the method further comprises:
defining a proprietary style name for the page prompt box, wherein the proprietary style name is used for positioning the beacon of the page prompt box.
3. The method of claim 1, wherein setting a second background color variable under a second style name of the beacon comprises:
setting the pointers with different indication directions for the page prompt box, wherein the indication directions of the pointers at least comprise one of the following directions: up, down, left, right;
and setting the second background color variable with different indication directions under the second style name of the pointer.
4. The method of claim 3, wherein after setting the second background color variable indicating a different direction under a second style name of the beacon, the method further comprises:
when the set value of the first background color variable is changed, simultaneously updating a second background color of the pointer in different indication directions;
and calling a second background color of the pointer consistent with the indication direction of the pointer according to the indication direction of the pointer of the page prompt box on the current interface.
5. The method according to any one of claims 1 to 4,
setting a first background color variable under a first pattern name of the main frame includes: setting a line color variable and/or a filling color variable under a first pattern name of the main frame;
setting a second background color variable under a second style name of the beacon comprises: and setting a line color variable and/or a filling color variable under the second style name of the pointer.
6. A setting device for a background color of a beacon, comprising:
the first definition module is used for respectively defining a first style name and a second style name for a main frame and a pointer of a page prompt box, wherein the style names are used for distinguishing attribute settings of the main frame and the pointer;
the first setting module is used for setting a first background color variable under a first pattern name of the main frame;
and the second setting module is used for setting a second background color variable under the second style name of the pointer, wherein the set value of the second background color variable directly refers to the set value of the first background color variable.
7. The apparatus of claim 6, wherein the second setup module comprises:
the first setting unit is configured to set the pointers in different indication directions for the page prompt box, where the indication directions of the pointers at least include one of: up, down, left, right;
and the second setting unit is used for setting the second background color variables in different indication directions under the second style name of the pointer.
8. The apparatus of claim 7, further comprising:
the updating module is used for updating the second background colors of the pointers with different indicating directions when the set value of the first background color variable is changed;
and the calling module is used for calling a second background color of the beacon consistent with the indication direction of the beacon according to the indication direction of the beacon of the page prompt box on the current interface.
9. A storage medium storing a program for implementing the setting method of the background color of a beacon according to any one of claims 1 to 5 when the program is executed.
10. A processor configured to execute a program, wherein the program is configured to perform: a method as claimed in any one of claims 1 to 5, wherein the beacon background color is set.
CN201811291679.9A 2018-10-31 2018-10-31 Method and device for setting background color of beacon, storage medium and processor Pending CN111124559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811291679.9A CN111124559A (en) 2018-10-31 2018-10-31 Method and device for setting background color of beacon, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811291679.9A CN111124559A (en) 2018-10-31 2018-10-31 Method and device for setting background color of beacon, storage medium and processor

Publications (1)

Publication Number Publication Date
CN111124559A true CN111124559A (en) 2020-05-08

Family

ID=70494491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811291679.9A Pending CN111124559A (en) 2018-10-31 2018-10-31 Method and device for setting background color of beacon, storage medium and processor

Country Status (1)

Country Link
CN (1) CN111124559A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019378A1 (en) * 2007-07-11 2009-01-15 Microsoft Corporation Extended cascading style sheets
CN106649326A (en) * 2015-10-29 2017-05-10 北京国双科技有限公司 Search result display method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019378A1 (en) * 2007-07-11 2009-01-15 Microsoft Corporation Extended cascading style sheets
CN106649326A (en) * 2015-10-29 2017-05-10 北京国双科技有限公司 Search result display method and device

Similar Documents

Publication Publication Date Title
CN108268289B (en) Parameter configuration method, device and system for web application
CN107957888B (en) Application program gray scale upgrading method and device
CN111506579B (en) Method, program and equipment for generating intelligent contract code
CN109284115A (en) A kind of method and device generating tracker script
CN105094878A (en) System library file integration method and apparatus
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN104572431A (en) Test method and test device
CN108023905B (en) Internet of things application system and method
CN110046100B (en) Packet testing method, electronic device and medium
CN106648567B (en) Data acquisition method and device
CN109582776B (en) Model generation method and device, electronic device and storage medium
CN110968333B (en) Configuration information replacement method and device, machine-readable storage medium and processor
CN111124559A (en) Method and device for setting background color of beacon, storage medium and processor
CN113485746B (en) Method and device for generating application program interface document
CN115511060A (en) Model conversion method, device, storage medium and electronic device
CN115495188A (en) Theme color switching method, device, equipment and medium for hybrid development APP
CN110704742B (en) Feature extraction method and device
CN113055209B (en) Arranging method and device for edge calculation
CN114461212A (en) Method and device for changing skin of software, storage medium and processor
CN112346761A (en) Front-end resource online method, equipment, system and storage medium
CN112749159A (en) Form generation method and device, electronic equipment and storage medium
CN112306843A (en) Test method, test device and storage medium
CN110633181B (en) Visual display method and device
CN110968315B (en) Element data structure changing method and device, storage medium and processor
CN110764991A (en) Code testing method and device

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