Element display method and apparatus, and electronic device and storage medium
AssigneeBeijing Zitiao Network Technology Co., Ltd.
InventorsQi Li, Xiaoqi Li
Life of this patent
Estimating the term…
Abstract
Embodiments of the disclosure disclose a method and apparatus for displaying an element, an electronic device, and a storage medium. The method includes: displaying a weather display element in a target display area according to a first motion trajectory; displaying, in response to detecting that the weather display element collides with a scene target element in the target display area, the weather display element in the target display area according to a second motion trajectory; and continuously displaying a weather display element that does not collide with the scene target element in the target display area according to the first motion trajectory.
Claims20
An element display method, comprising:
- displaying a weather display element in a target display area according to a first motion trajectory, wherein the target display area has a scene target element;
- displaying, in response to detecting that the weather display element collides with the scene target element, the weather display element in the target display area according to a second motion trajectory;
- and
- continuously displaying a weather display element that does not collide with the scene target element according to the first motion trajectory.
An electronic device, comprising:
- a processor;
- and
- a storage means configured to store a program, wherein
- when the processor executes the program, the processor is caused to:
- display a weather display element in a target display area according to a first motion trajectory, wherein the target display area has a scene target element;
- display, in response to detecting that the weather display element collides with the scene target element, the weather display element in the target display area according to a second motion trajectory;
- and
- continuously display a weather display element that does not collide with the scene target element according to the first motion trajectory.
A non-transitory computer-readable storage medium, storing a computer program thereon, wherein the computer program, when being executed by a processor, implements:
- displaying a weather display element in a target display area according to a first motion trajectory, wherein the target display area has a scene target element;
- displaying, in response to detecting that the weather display element collides with the scene target element, the weather display element in the target display area according to a second motion trajectory;
- and
- continuously displaying a weather display element that does not collide with the scene target element according to the first motion trajectory.
Dependencies are inferred from the claim text.