[go: up one dir, main page]

CN114924683A - Split-screen display method, multi-page display method and device for page content - Google Patents

Split-screen display method, multi-page display method and device for page content Download PDF

Info

Publication number
CN114924683A
CN114924683A CN202210441260.7A CN202210441260A CN114924683A CN 114924683 A CN114924683 A CN 114924683A CN 202210441260 A CN202210441260 A CN 202210441260A CN 114924683 A CN114924683 A CN 114924683A
Authority
CN
China
Prior art keywords
split
content
page
screen
content item
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.)
Granted
Application number
CN202210441260.7A
Other languages
Chinese (zh)
Other versions
CN114924683B (en
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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN202210441260.7A priority Critical patent/CN114924683B/en
Publication of CN114924683A publication Critical patent/CN114924683A/en
Application granted granted Critical
Publication of CN114924683B publication Critical patent/CN114924683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application is applicable to the technical field of computers, and discloses a split-screen display method, a multi-page display method and a device for page content, wherein the split-screen display method displays a first application page, the first application page comprises a first application content area and a split-screen container area, and the first application content area comprises one or more content items so as to split a screen of the application page; the method comprises the steps that an adding operation acting on a content item is responded, the content item is added to a split-screen container area, so that simple adding operation is carried out in the same application page, a series of complicated operations such as new tab creation, re-opening of a content item page, pulling out of a tab and the like are not needed, split-screen display operation of page content is simplified, and operation efficiency is improved; and finally, displaying the content information of the content item in the split-screen container area, so that the content item and the content information are displayed on one application page at the same time, the display effect is improved, the page size does not need to be adjusted manually, and the split-screen display operation is further simplified.

Description

页面内容的分屏展示方法、多页面展示方法及装置Split-screen display method, multi-page display method and device for page content

技术领域technical field

本申请涉及计算机技术领域,尤其涉及一种页面内容的分屏展示方法、多页面展示方法及装置。The present application relates to the field of computer technology, and in particular, to a method for displaying page content on a split screen, a method and apparatus for displaying multiple pages.

背景技术Background technique

在应用页面中的内容项需要进行对比时,通常需要新建一个应用页面,以对两个应用页面中的内容项进行展示。目前,通常是新开一个浏览器页签,再找到该浏览器页签下的内容信息页面,然后拖出该页签作为单独的页面窗口,以展示同时内容项页面与内容信息页面。When content items in an application page need to be compared, it is usually necessary to create a new application page to display the content items in the two application pages. At present, a new browser tab is usually opened, and then the content information page under the browser tab is found, and then the tab is dragged out as a separate page window to display the content item page and the content information page at the same time.

但是,目前的展示方式每次都需要通过新开页签的方式打开页面,以及需要手动调整两个页面尺寸。可见,当前页面内容的展示方式存在操作步骤非常繁琐的问题。However, the current display method needs to open the page by opening a new tab every time, and manually adjust the size of two pages. It can be seen that there is a problem that the operation steps are very complicated in the display mode of the current page content.

发明内容SUMMARY OF THE INVENTION

本申请提供了一种页面内容的分屏展示方法、多页面展示方法及装置,以解决当前页面内容展示方式存在操作繁琐的技术问题,简化页面内容展示操作,提高页面内容的展示效率和效果。The present application provides a split-screen display method, multi-page display method and device for page content, to solve the technical problem of cumbersome operations in the current page content display method, simplify the page content display operation, and improve the display efficiency and effect of the page content.

为了解决上述技术问题,第一方面,本申请提供了一种页面内容的分屏展示方法,包括:In order to solve the above technical problems, in the first aspect, the present application provides a method for displaying page content on a split screen, including:

展示第一应用页面,第一应用页面包括第一应用内容区域和分屏容器区域,第一应用内容区域包含一个或多个内容项;Displaying a first application page, where the first application page includes a first application content area and a split-screen container area, and the first application content area includes one or more content items;

响应作用于内容项的添加操作,将内容项添加至分屏容器区域;In response to the add operation acting on the content item, add the content item to the split-screen container area;

在分屏容器区域内,展示内容项的内容信息。In the split-screen container area, the content information of the content item is displayed.

本申请通过展示第一应用页面,其中第一应用页面包括第一应用内容区域和分屏容器区域,第一应用内容区域包含一个或多个内容项,以对一个应用页面进行分屏;在响应作用于内容项的添加操作,将内容项添加至分屏容器区域,以在同一个应用页面内进行简单的添加操作,无需新建页签、重新打开内容项页面以及拖出页签等一系列繁琐操作,简化页面内容的分屏展示操作,提高操作效率;最后在分屏容器区域内,展示内容项的内容信息,从而同时在一个应用页面展示内容项和内容信息,提升展示效果,以及无需手动调整页面尺寸,进一步简化分屏展示操作。The present application displays a first application page, wherein the first application page includes a first application content area and a split-screen container area, and the first application content area includes one or more content items, so as to split-screen an application page; It acts on the addition operation of content items, and adds content items to the split-screen container area to perform simple addition operations in the same application page, without a series of cumbersome operations such as creating new tabs, reopening content item pages, and dragging out tabs. operation, simplify the split-screen display operation of page content and improve operation efficiency; finally, in the split-screen container area, display the content information of the content item, so as to display the content item and content information on one application page at the same time, improve the display effect, and eliminate the need for manual Adjust the page size to further simplify the split-screen display operation.

在第一方面的一些实现方式中,展示第一应用页面,包括:In some implementations of the first aspect, the first application page is displayed, including:

展示第二应用页面,第二应用页面包括第二应用内容区域,第二应用内容区域为第二应用页面分屏前的第一应用内容区域;Displaying a second application page, where the second application page includes a second application content area, and the second application content area is the first application content area before the split screen of the second application page;

若监听到第二应用页面的分屏启动事件,则启动第二应用页面的分屏模式,分屏模式用于将第二应用页面分屏为第一应用内容区域和分屏容器区域,以得到第一应用页面;If the split-screen startup event of the second application page is monitored, the split-screen mode of the second application page is activated, and the split-screen mode is used to split the second application page into the first application content area and the split-screen container area, so as to obtain The first application page;

展示第一应用页面。Display the first application page.

在本实现中,在展示内容项的第二应用页面的基础上,基于分屏模式自动对第二应用页面进行分屏,简化展示操作,提高操作效率。同时本实现方式仅针对当前页签下的页面内容进行分屏,不影响其他页签的内容展示,本实现方式具有更好的解耦性。In this implementation, on the basis of displaying the second application page of the content item, the second application page is automatically split-screen based on the split-screen mode, which simplifies the display operation and improves the operation efficiency. At the same time, this implementation only splits the page content under the current tab, and does not affect the content display of other tabs. This implementation has better decoupling.

在第一方面的一些实现方式中,若监听到第二应用页面的分屏启动事件,则启动第二应用页面的分屏模式,包括:In some implementations of the first aspect, if a split-screen start event of the second application page is monitored, the split-screen mode of the second application page is started, including:

若监听到第二应用页面的分屏启动事件,则在第二应用页面插入分屏容器;If the split-screen startup event of the second application page is monitored, inserting a split-screen container in the second application page;

基于第二应用内容区域以及分屏容器,对第二应用页面进行页面布局,得到第一应用页面。Based on the second application content area and the split-screen container, page layout is performed on the second application page to obtain the first application page.

在本实现中,通过插入分屏容器,以能够利用分屏容器的容器功能对内容项进行信息自动化读取;同时进行页面布局,以实现自动化调整页面内各个区域的尺寸,进一步提高分屏效率。In this implementation, by inserting a split-screen container, the information of the content item can be automatically read by using the container function of the split-screen container; at the same time, the page layout is performed to realize automatic adjustment of the size of each area in the page, and further improve the split-screen efficiency .

在第一方面的一些实现方式中,基于第二应用内容区域以及分屏容器,对第二应用页面进行页面布局,得到第一应用页面,包括:In some implementations of the first aspect, based on the second application content area and the split-screen container, page layout is performed on the second application page to obtain the first application page, including:

基于预设布局比例,对第二应用内容区域进行尺寸缩放,得到第一应用页面的第一应用内容区域和空白区域;Based on the preset layout ratio, scaling the size of the second application content area to obtain the first application content area and the blank area of the first application page;

将分屏容器填充至空白区域,得到分屏容器区域。Fill the split-screen container to the blank area to get the split-screen container area.

在本实现中,通过尺寸缩放和填充操作,实现在第二应用内容区域的基础上进行自动化分屏操作。In this implementation, an automatic screen splitting operation is implemented on the basis of the second application content area through size scaling and filling operations.

在第一方面的一些实现方式中,分屏启动事件包括基于预设快捷指令触发的分屏启动事件。In some implementations of the first aspect, the split-screen startup event includes a split-screen startup event triggered based on a preset shortcut instruction.

在本实现中,通过快捷指令的方式,简化用户操作,提高分屏效率。In this implementation, user operations are simplified and screen splitting efficiency is improved by means of shortcut instructions.

在第一方面的一些实现方式中,添加操作为拖拽操作,响应作用于内容项的添加操作,将内容项添加至分屏容器区域,包括:In some implementations of the first aspect, the adding operation is a dragging operation, and in response to the adding operation acting on the content item, adding the content item to the split-screen container area includes:

响应作用于内容项的拖拽操作,基于拖拽操作的拖拽轨迹,将内容项拖动至分屏容器区域。In response to the drag operation acting on the content item, the content item is dragged to the split-screen container area based on the drag track of the drag operation.

在本实现中,基于拖拽操作实现快速分屏展示,同时能够动态展示分屏容器区域内容项的过程,提升用户体验。In this implementation, a quick split-screen display is realized based on a drag-and-drop operation, and at the same time, the process of dynamically displaying content items in the split-screen container area can improve user experience.

在第一方面的一些实现方式中,拖拽操作包括选取操作、拖动操作和释放操作,响应作用于内容项的拖拽操作,基于拖拽操作的拖拽轨迹,将内容项拖动至分屏容器区域,包括:In some implementations of the first aspect, the drag operation includes a selection operation, a drag operation, and a release operation, and in response to the drag operation acting on the content item, the content item is dragged to the sub-point based on the drag track of the drag operation. screen container area, including:

响应作用于内容项的选取操作,展示内容项的缩放图;In response to a selection operation acting on a content item, displaying a zoomed image of the content item;

响应作用于内容项的拖动操作,基于拖拽轨迹,将缩放图拖动至分屏容器区域;In response to the drag operation acting on the content item, based on the drag track, drag the zoom image to the split-screen container area;

响应作用于内容项的释放操作,在分屏容器区域内释放内容项,并取消展示缩放图。In response to the release operation on the content item, release the content item in the split-screen container area and cancel the display of the zoomed image.

在本实现中,在拖拽操作时展示内容项的缩放图,以使用户清晰便于当前拖拽的内容项位置,提升用户视觉效果。In this implementation, the zoomed image of the content item is displayed during the dragging operation, so that the user can clearly understand the position of the content item currently being dragged and improve the user's visual effect.

在第一方面的一些实现方式中,响应作用于内容项的释放操作,在分屏容器区域内释放内容项,并取消展示缩放图,包括:In some implementations of the first aspect, in response to a release operation acting on the content item, releasing the content item in the split-screen container area, and canceling the display of the zoomed image, including:

响应作用于内容项的释放操作,在分屏容器区域内释放内容项,并触发第二预设拖拽事件;In response to the release operation acting on the content item, release the content item in the split-screen container area, and trigger the second preset drag event;

基于第二预设拖拽事件,取消展示缩放图。Based on the second preset drag event, the display of the zoomed image is canceled.

在本实现中,通过释放操作触发第二预设拖拽事件,以利用第二预设拖拽事件调用相应的代码函数,实现缩放图的取消展示,使整个拖拽操作更加流畅,进一步提升用户体验。In this implementation, the second preset drag event is triggered by the release operation, and the corresponding code function is called by the second preset drag event, so as to cancel the display of the zoomed image, make the entire drag operation smoother, and further improve the user experience. experience.

在第一方面的一些实现方式中,响应作用于内容项的选取操作,展示内容项的缩放图,包括:In some implementations of the first aspect, in response to a selection operation acting on the content item, displaying a zoomed image of the content item, including:

响应作用于内容项的选取操作,记录内容项的节点元素信息;In response to the selection operation acting on the content item, record the node element information of the content item;

根据节点元素信息,展示与节点元素信息对应的缩放图。According to the node element information, a zoomed image corresponding to the node element information is displayed.

在本实现中,展示内容项的节点元素信息对应的缩放图,以便于用户直观查看到缩放图的图案,从而通过图案快速辨别所拖拽的内容项类型。In this implementation, the zoom map corresponding to the node element information of the content item is displayed, so that the user can intuitively view the pattern of the zoom map, so as to quickly identify the type of the dragged content item through the pattern.

在第一方面的一些实现方式中,响应作用于内容项的选取操作,记录内容项的节点元素信息,包括:In some implementations of the first aspect, in response to a selection operation acting on a content item, recording node element information of the content item, including:

响应作用于内容项的选取操作,触发第一预设拖拽事件;triggering the first preset drag event in response to the selection operation acting on the content item;

基于第一预设拖拽事件,调用预设数据获取函数,记录内容项的节点元素信息。Based on the first preset drag event, the preset data acquisition function is called to record the node element information of the content item.

在本实现中,通过调用预设数据获取函数记录内容项的节点元素信息,能够在拖拽操作开始时,从底层上快速识别内容项;同时能够使拖拽操作过程携带内容项的节点元素信息,以能够在后续分屏容器区域展示内容信息之前,根据节点元素信息识别内容项和读取内容项的相关信息。In this implementation, by calling the preset data acquisition function to record the node element information of the content item, the content item can be quickly identified from the bottom layer when the drag operation starts; at the same time, the node element information of the content item can be carried during the drag operation. , so as to be able to identify the content item and read the relevant information of the content item according to the node element information before displaying the content information in the subsequent split-screen container area.

在第一方面的一些实现方式中,根据节点元素信息,展示与节点元素信息对应的缩放图,包括:In some implementations of the first aspect, a zoomed graph corresponding to the node element information is displayed according to the node element information, including:

调用预设节点复制函数,复制内容项的节点元素信息,生成新的节点元素信息;Call the preset node copy function, copy the node element information of the content item, and generate new node element information;

变更新的节点元素信息中的样式属性,生成缩放图;Change the style attribute in the updated node element information to generate a zoomed image;

展示缩放图。Show zoomed images.

在本实现中,通过复制方式生成新的节点元素信息,并对样式属性进行变更,从而保留节点元素信息原来的信息,保证拖拽操作过程中内容项的相关信息的完整性。In this implementation, new node element information is generated by copying, and the style attribute is changed, so as to retain the original information of the node element information and ensure the integrity of the relevant information of the content item during the drag and drop operation.

在第一方面的一些实现方式中,响应作用于内容项的拖拽操作,基于拖拽操作的拖拽轨迹,将内容项拖动至分屏容器区域,包括:In some implementations of the first aspect, in response to a drag operation acting on the content item, the content item is dragged to the split-screen container area based on the drag track of the drag operation, including:

响应作用于内容项的拖拽操作,基于拖拽轨迹,对内容项进行拖动;In response to the drag operation acting on the content item, the content item is dragged based on the drag track;

若监测到内容项进入分屏容器区域的区域范围,则展示分屏容器区域的目标背景色,目标背景色为用于表征分屏容器区域允许放置内容项的第一颜色,或用于表征分屏容器区域不允许放置内容项的第二颜色;If it is detected that the content item enters the area of the split-screen container area, the target background color of the split-screen container area is displayed, and the target background color is the first color used to represent the content item allowed to be placed in the The second color of the content item is not allowed in the screen container area;

若背景色为第一颜色,则释放内容项,以完成拖拽操作。If the background color is the first color, release the content item to complete the dragging operation.

在本实现中,通过展示分屏容器区域的背景色,以直观提示用户当前分屏容器区域是否能够展示内容信息,以应对在因某些原因(如分屏容器已被占用)无法展示当前拖拽的内容项而用户不知晓的情况,从而提升用户体验。In this implementation, the background color of the split-screen container area is displayed to intuitively prompt the user whether the current split-screen container area can display content information, so as to cope with the situation where the current drag-and-drop cannot be displayed due to some reasons (for example, the split-screen container is already occupied). It can improve the user experience by removing content items that are dragged without the user's knowledge.

在第一方面的一些实现方式中,若监测到内容项进入分屏容器区域的区域范围,则展示分屏容器区域的目标背景色,包括:In some implementations of the first aspect, if it is detected that the content item enters the area of the split-screen container area, the target background color of the split-screen container area is displayed, including:

监听第三预设拖拽事件;Listen to the third preset drag event;

若监听到第三预设拖拽事件被触发,则判定内容项进入分屏容器区域的区域范围,并展示分屏容器区域的目标背景色。If it is detected that the third preset drag event is triggered, it is determined that the content item enters the area of the split-screen container area, and the target background color of the split-screen container area is displayed.

在本实现中,通过拖拽操作过程中的第三预设拖拽事件,以使目标背景色的展示随拖拽操作触发,使得整个拖拽操作更加流畅和智能化。In this implementation, the display of the target background color is triggered with the dragging operation through the third preset dragging event during the dragging operation, so that the entire dragging operation is smoother and more intelligent.

在第一方面的一些实现方式中,响应作用于内容项的拖拽操作,基于拖拽操作的拖拽轨迹,将内容项拖动至分屏容器区域之前,还包括:In some implementations of the first aspect, in response to the drag operation acting on the content item, based on the drag track of the drag operation, the content item is dragged before the split-screen container area, further comprising:

对内容项的节点元素添加可拖拽属性。Add a draggable attribute to the node element of the content item.

在本实现中,通过添加可拖拽属性以使内容项能够被实施拖拽操作,以作为实现分屏容器区域添加内容项的底层依据。In this implementation, the content item can be dragged and dropped by adding a draggable attribute, which is used as the underlying basis for adding content items in the split-screen container area.

在第一方面的一些实现方式中,在分屏容器区域内,展示内容项的内容信息,包括:In some implementations of the first aspect, in the split-screen container area, the content information of the content item is displayed, including:

读取内容项的第一内联样式和内容信息;Read the first inline style and content information of the content item;

根据分屏容器区域的区域尺寸,调整内容项的第一内联样式,得到第二内联样式;According to the area size of the split-screen container area, adjust the first inline style of the content item to obtain the second inline style;

基于第二内联样式,在分屏容器区域展示内容信息。Based on the second inline style, the content information is displayed in the split-screen container area.

在本实现中,通过调整内容项的内联样式,以使内容信息适应分屏容器区域的区域尺寸,从而提升内容信息的展示效果。In this implementation, by adjusting the inline style of the content item so that the content information is adapted to the area size of the split-screen container area, the display effect of the content information is improved.

在第一方面的一些实现方式中,基于第二内联样式,在分屏容器区域展示内容信息之后,还包括:In some implementations of the first aspect, based on the second inline style, after the content information is displayed in the split-screen container area, the method further includes:

监听第一应用页面的页面窗口变化;Monitor the page window changes of the first application page;

若监听到第一应用页面的页面窗口发生变化,则对分屏容器区域的内容信息进行窗口自适应;If a change in the page window of the first application page is monitored, window adaptation is performed on the content information in the split-screen container area;

展示窗口自适应后的内容信息。Displays the content information after the window is adapted.

在本实现中,通过在页面窗口发生变化时,对内容信息进行窗口自适应,以使内容信息能够随窗口变化而调整,提升内容信息的展示效果。In this implementation, when the page window changes, window adaptation is performed on the content information, so that the content information can be adjusted with the change of the window, and the display effect of the content information is improved.

在第一方面的一些实现方式中,若监听到第一应用页面的页面窗口发生变化,则对分屏容器区域的内容信息进行窗口自适应,包括:In some implementations of the first aspect, if a change in the page window of the first application page is monitored, window adaptation is performed on the content information in the split-screen container area, including:

基于预设窗口变化函数,监听第一应用页面的页面窗口变化;Based on the preset window change function, monitor the page window change of the first application page;

若监听到第一应用页面的页面窗口发生变化,则对第二内联样式进行调整,得到第三内联样式;If the change of the page window of the first application page is monitored, the second inline style is adjusted to obtain the third inline style;

基于第三内联样式,在分屏容器区域展示内容信息。Based on the third inline style, the content information is displayed in the split-screen container area.

在本实现中,通过调整第二内联样式实现了窗口自适应。In this implementation, window adaptation is achieved by adjusting the second inline style.

在第一方面的一些实现方式中,读取内容项的第一内联样式和内容信息之后,还包括:In some implementations of the first aspect, after reading the first inline style and content information of the content item, the method further includes:

触发预设发布订阅事件;Trigger preset publish and subscribe events;

基于预设发布订阅事件,对第一内联样式进行缓存。The first inline style is cached based on a preset publish-subscribe event.

在本实现中,通过缓存第一内联样式,以保留内容项的原始内联样式,保证数据完整性;同时由于在一个第一应用页面下,内容项可能有多个,分屏容器少数个(如一个或两个),在关闭分屏模式时出现分屏容器需要查找到第一应用内容区域的内容项的情况,而该查找方式效率非常低,所以本实现通过发布订阅事件的方式,使得分屏容器与内容信息对应的内容项解耦,从而使内容项快速还原至第一应用内容区域。同时,对于同一内容项的再次分屏展示,也能够根据缓存的第一内联样式进行快速展示,而无需再次调整第一内联样式。In this implementation, the original inline style of the content item is preserved by caching the first inline style to ensure data integrity; at the same time, because under a first application page, there may be multiple content items and a few split-screen containers (such as one or two), when the split-screen mode is turned off, the split-screen container needs to find the content item of the first application content area, and the search method is very inefficient, so this implementation uses the method of publishing and subscribing events, The split-screen container is decoupled from the content item corresponding to the content information, so that the content item can be quickly restored to the first application content area. At the same time, for another split-screen display of the same content item, it can also be quickly displayed according to the cached first inline style, without having to adjust the first inline style again.

在第一方面的一些实现方式中,基于第二内联样式,在分屏容器区域展示内容信息之后,还包括:In some implementations of the first aspect, based on the second inline style, after the content information is displayed in the split-screen container area, the method further includes:

若监听到第一应用页面的分屏关闭事件,则基于第一内联样式,还原内容项的内联样式。If the split screen closing event of the first application page is monitored, the inline style of the content item is restored based on the first inline style.

在本实现中,基于发布订阅事件中的第一内联样式进行内容项还原,提高还原效率。In this implementation, content item restoration is performed based on the first inline style in the publish-subscribe event to improve restoration efficiency.

第二方面,本申请提供一种多页面展示方法,包括:In a second aspect, the present application provides a method for displaying multiple pages, including:

获取多个目标应用页面,每个目标应用页面包括应用内容区域和分屏容器区域,应用内容区域包含一个或多个内容项,分屏容器区域展示有内容项的内容信息;Acquiring multiple target application pages, each target application page includes an application content area and a split-screen container area, the application content area contains one or more content items, and the split-screen container area displays content information of the content items;

对多个目标应用页面进行重排;Reflow multiple target application pages;

展示重排后的多个目标应用页面。Show multiple target app pages after reflow.

本申请通过对已进行页面内容重排展示的多个目标应用页面进行重排,以能够同时展示多个目标应用页面,而使各个目标应用页面的页面内容的展示过程互不影响,使得页面内容分屏展示更加丰富。The present application rearranges multiple target application pages whose page content has been rearranged and displayed, so that multiple target application pages can be displayed at the same time, so that the display process of the page content of each target application page does not affect each other, so that the page content Split-screen display is more abundant.

第三方面,本申请提供一种页面内容的分屏展示装置,包括:In a third aspect, the present application provides a split-screen display device for page content, including:

第一展示模块,用于展示第一应用页面,第一应用页面包括第一应用内容区域和分屏容器区域,第一应用内容区域包含一个或多个内容项;a first display module, configured to display a first application page, the first application page includes a first application content area and a split-screen container area, and the first application content area includes one or more content items;

添加模块,用于响应作用于内容项的添加操作,将内容项添加至分屏容器区域;Add a module for adding the content item to the split-screen container area in response to the adding operation acting on the content item;

第二展示模块,用于在分屏容器区域内,展示内容项的内容信息。The second display module is used for displaying the content information of the content item in the split-screen container area.

第四方面,本申请提供一种多页面展示装置,包括:In a fourth aspect, the present application provides a multi-page display device, including:

获取模块,用于获取多个目标应用页面,每个目标应用页面包括应用内容区域和分屏容器区域,应用内容区域包含一个或多个内容项,分屏容器区域展示有内容项的内容信息;an acquisition module, used for acquiring multiple target application pages, each target application page includes an application content area and a split-screen container area, the application content area contains one or more content items, and the split-screen container area displays content information of the content items;

重排模块,用于对多个目标应用页面进行重排;The rearrangement module is used to rearrange multiple target application pages;

第三展示模块,用于展示重排后的多个目标应用页面。The third display module is used to display the rearranged multiple target application pages.

第五方面,本申请提供一种终端设备,包括处理器和存储器,存储器用于存储计算机程序,计算机程序被处理器执行时实现如第一方面的页面内容的分屏展示方法,或第二方面的多页面展示方法。In a fifth aspect, the present application provides a terminal device, including a processor and a memory, where the memory is used to store a computer program, and when the computer program is executed by the processor, the method for displaying page content in a split screen according to the first aspect, or the second aspect is implemented. multi-page display method.

第六方面,本申请提供一种计算机可读存储介质,其存储有计算机程序,计算机程序被处理器执行时实现如第一方面的页面内容的分屏展示方法,或第二方面的多页面展示方法。In a sixth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, implements the split-screen display method for page content in the first aspect, or the multi-page display in the second aspect. method.

第七方面,本申请提供一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时实现上述各个方法中的步骤。In a seventh aspect, the present application provides a computer program product that, when the computer program product runs on a terminal device, enables the terminal device to implement the steps in each of the above methods when executed.

需要说明的是,上述第三方面至第七方面的有益效果请参见上述第一方面或第二方面的相关描述,在此不再赘述。It should be noted that, for the beneficial effects of the third aspect to the seventh aspect, please refer to the relevant description of the first aspect or the second aspect, which will not be repeated here.

附图说明Description of drawings

图1为本申请实施例示出的页面内容的分屏展示方法的流程示意图;1 is a schematic flowchart of a method for displaying page content in a split screen according to an embodiment of the present application;

图2为本申请实施例示出的步骤S101的具体流程示意图;FIG. 2 is a schematic flowchart of a specific flow of step S101 shown in an embodiment of the present application;

图3为本申请实施例示出的步骤S102的具体流程示意图;FIG. 3 is a schematic diagram of a specific flow of step S102 shown in an embodiment of the present application;

图4为本申请实施例示出的步骤S103的具体流程示意图;FIG. 4 is a schematic flowchart of a specific flow of step S103 shown in an embodiment of the present application;

图5为本申请实施例示出的第二应用页面的示意图;5 is a schematic diagram of a second application page shown in an embodiment of the present application;

图6为本申请实施例示出的启动分屏模式后的第二应用页面的示意图;6 is a schematic diagram of a second application page after the split-screen mode is activated according to an embodiment of the present application;

图7为本申请实施例示出的第一应用页面的示意图;7 is a schematic diagram of a first application page shown in an embodiment of the present application;

图8为本申请实施例示出的页面内容的分屏展示方法的应用场景示意图;8 is a schematic diagram of an application scenario of the method for displaying page content on a split screen according to an embodiment of the present application;

图9为本申请实施例示出的多页面展示方法的流程示意图;9 is a schematic flowchart of a method for displaying multiple pages according to an embodiment of the present application;

图10为本申请实施例示出的页面内容的分屏展示装置的结构示意图;10 is a schematic structural diagram of a split-screen display device for page content according to an embodiment of the application;

图11为本申请实施例示出的多页面展示装置的结构示意图;11 is a schematic structural diagram of a multi-page display device according to an embodiment of the application;

图12为本申请实施例示出的终端设备的结构示意图。FIG. 12 is a schematic structural diagram of a terminal device according to an embodiment of the application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

如相关技术记载,当前页面内容的展示方式存在操作步骤非常繁琐的问题。例如,在财务系统的单据核对场景中,需要对财务系统录入的单据信息与单据图进行对比。当前展示方式通常是新开一个浏览器页签,再找到该浏览器页签下的单据图页面,然后拖出该页签作为单独的页面窗口,以展示同时财务系统的单据信息与单据图页面,从而进行单据核对。但是该展示方式每次都需要通过新开页签的方式打开页面,以及需要手动调整两个页面尺寸。As recorded in the related art, the current display mode of page content has a problem that the operation steps are very cumbersome. For example, in the document verification scenario of the financial system, it is necessary to compare the document information entered in the financial system with the document diagram. The current display method is usually to open a new browser tab, find the document graph page under the browser tab, and then drag out the tab as a separate page window to display the document information and document graph page of the financial system at the same time. , so as to check the documents. However, this display method needs to open the page by opening a new tab every time, and needs to manually adjust the size of the two pages.

为此,本申请实施例提供一种页面内容的分屏展示方法,通过展示第一应用页面,其中第一应用页面包括第一应用内容区域和分屏容器区域,第一应用内容区域包含一个或多个内容项,以对一个应用页面进行分屏;在响应作用于所述内容项的添加操作,将所述内容项添加至所述分屏容器区域,以在同一个应用页面内进行简单的添加操作,无需新建页签、重新打开内容项页面以及拖出页签等一系列繁琐操作,简化页面内容的分屏展示操作,提高操作效率;最后在所述分屏容器区域内,展示所述内容项的内容信息,从而同时在一个应用页面展示内容项和内容信息,提升展示效果,以及无需手动调整页面尺寸,进一步简化分屏展示操作。To this end, an embodiment of the present application provides a split-screen display method for page content, by displaying a first application page, wherein the first application page includes a first application content area and a split-screen container area, and the first application content area includes one or more A plurality of content items are used to split an application page; in response to an adding operation acting on the content items, the content items are added to the split-screen container area to perform simple operations in the same application page. Adding operations does not require a series of cumbersome operations such as creating new tabs, reopening content item pages, and dragging tabs, simplifying the split-screen display operation of page content and improving operation efficiency; finally, in the split-screen container area, display the The content information of the content item, so that the content item and content information can be displayed on one application page at the same time, which improves the display effect, and eliminates the need to manually adjust the page size, further simplifying the split-screen display operation.

请参照图1,图1为本申请实施例提供的一种页面内容的分屏展示方法的流程示意图。本申请实施例的页面内容的分屏展示方法可应用于终端设备,该终端设备包括但不限于智能手机、笔记本电脑、平板电脑和桌上型计算机等设备。如图1所示,本实施例的页面内容的分屏展示方法包括步骤S101至步骤S103,详述如下:Please refer to FIG. 1 , which is a schematic flowchart of a method for displaying page content on a split screen according to an embodiment of the present application. The split-screen display method for page content in the embodiments of the present application may be applied to terminal devices, where the terminal devices include but are not limited to devices such as smart phones, notebook computers, tablet computers, and desktop computers. As shown in FIG. 1 , the split-screen display method for page content in this embodiment includes steps S101 to S103, which are described in detail as follows:

步骤S101,展示第一应用页面,所述第一应用页面包括第一应用内容区域和分屏容器区域,所述第一应用内容区域包含一个或多个内容项。Step S101 , displaying a first application page, where the first application page includes a first application content area and a split-screen container area, and the first application content area includes one or more content items.

在本步骤中,终端设备设有或外接有显示单元,该显示单元包括但不限于显示屏和投影仪。终端设备在显示单元上展示第一应用页面,第一应用页面可以为基于浏览器加载的应用页面,如基于浏览器访问上述财务系统时所的应用页面。In this step, the terminal device is provided with or externally connected with a display unit, and the display unit includes but is not limited to a display screen and a projector. The terminal device displays a first application page on the display unit, and the first application page may be an application page loaded based on a browser, such as an application page when accessing the financial system based on a browser.

可选地,第一应用内容区域为内容项的显示区域,内容项为终端设备所加载的应用页面上的内容项,例如财务系统的采购合同页面,该采购合同页面上的合同编号即为内容项。可以理解的是,内容项可以是浏览器的文档对象模型(Document Object Model,DOM)节点,通过对DOM节点的节点元素添加可操作属性,以使内容项能够被操作。Optionally, the first application content area is the display area of the content item, and the content item is the content item on the application page loaded by the terminal device, such as the purchase contract page of the financial system, and the contract number on the purchase contract page is the content. item. It can be understood that the content item may be a document object model (Document Object Model, DOM) node of the browser, and the content item can be manipulated by adding operational attributes to the node elements of the DOM node.

可选地,分屏容器区域为分屏容器所在的区域,该分屏容器用于读取内容项的内容信息并对内容信息进行展示,其可以是预设的浏览器插件。Optionally, the split-screen container area is an area where the split-screen container is located, and the split-screen container is used to read content information of the content item and display the content information, which may be a preset browser plug-in.

示例性地,在一种实施方式中,在浏览器的空白页签插入分屏容器,将该空白页签的应用页面分屏为分屏容器区域和空白应用内容区域,再通过浏览器在空白应用内容区域加载应用内容,得到应用内容区域,从而展示包含应用内容区域和分屏容器区域的应用页面。在另一种实施方式种,在浏览器已加载应用内容的应用页面中插入分屏容器,将应用页面分屏为分屏容器区域和显示应用内容的应用内容区域,从而展示包含应用内容区域和分屏容器区域的应用页面。Exemplarily, in one embodiment, a split-screen container is inserted into a blank tab of the browser, the application page of the blank tab is split into a split-screen container area and a blank application content area, and The application content area loads the application content to obtain the application content area, thereby displaying the application page including the application content area and the split-screen container area. In another implementation manner, a split-screen container is inserted into the application page where the application content has been loaded in the browser, and the application page is split into a split-screen container area and an application content area displaying the application content, so as to display the application content area and the application content area. The app page in the split-screen container area.

步骤S102,响应作用于所述内容项的添加操作,将所述内容项添加至所述分屏容器区域。Step S102, in response to the adding operation acting on the content item, add the content item to the split-screen container area.

在本步骤中,添加操作包括但不限于单击操作、多击操作(如双击操作、三击操作)和拖拽操作。示例性地,在一种实施方式中,终端设备响应于用户通过鼠标长按点击内容项并移动鼠标的操作,将内容项移动至分屏容器区域。在另一种实施方式中,终端设备响应于用户通过可触摸屏双击内容项的操作,将内容项发送至分屏容器区域。In this step, adding operations include but are not limited to single-click operations, multi-click operations (eg, double-click operations, triple-click operations), and drag and drop operations. Exemplarily, in an implementation manner, the terminal device moves the content item to the split-screen container area in response to the user's operation of clicking the content item by long-pressing the mouse and moving the mouse. In another implementation manner, the terminal device sends the content item to the split-screen container area in response to the user's operation of double-clicking the content item through the touchable screen.

可选地,在对内容项进行添加操作时,该添加操作携带内容项的节点元素信息,以使分屏容器能够根据节点元素信息读取内容项的内容信息。可选地,在对内容项进行添加操作时,该添加操作携带内容项的内容信息和节点元素信息,以使分屏容器得到内容信息。Optionally, when an adding operation is performed on a content item, the adding operation carries node element information of the content item, so that the split-screen container can read the content information of the content item according to the node element information. Optionally, when an adding operation is performed on a content item, the adding operation carries content information and node element information of the content item, so that the split-screen container obtains the content information.

步骤S103,在所述分屏容器区域内,展示所述内容项的内容信息。Step S103: Display the content information of the content item in the split-screen container area.

在本步骤中,内容信息为内容项的具体信息,例如内容项为合同项,则内容信息可以为合同表。示例性地,根据添加至分屏容器区域的内容项的节点元素信息,读取该内容项的内容信息;基于预设展示方式,在分屏容器区域内展示该内容信息。In this step, the content information is specific information of the content item, for example, the content item is a contract item, and the content information may be a contract table. Exemplarily, the content information of the content item is read according to the node element information of the content item added to the split-screen container area; the content information is displayed in the split-screen container area based on a preset display manner.

需要说明的是,本实施例相比于当前相关技术,能够同时在一个应用页面展示内容项和内容信息,提升展示效果,以及无需手动调整页面尺寸,简化分屏展示操作,提高操作效率。同时,本实施例的第一应用页面与其他应用页面互不影响,依旧能够进行多个应用页面之间的顺畅切换。It should be noted that, compared with the current related art, this embodiment can simultaneously display content items and content information on one application page, improve the display effect, and eliminate the need to manually adjust the page size, simplify the split-screen display operation, and improve the operation efficiency. At the same time, the first application page and other application pages in this embodiment do not affect each other, and smooth switching between multiple application pages can still be performed.

在一些实施例中,在图1所示实施例的基础上,图2示出了本申请实施例提供的步骤S101的流程示意图。需要说明的是,与图1相同的步骤,在此不再赘述。如图2所示,步骤S101包括步骤S201至步骤S203,详述如下:In some embodiments, based on the embodiment shown in FIG. 1 , FIG. 2 shows a schematic flowchart of step S101 provided by the embodiment of the present application. It should be noted that the steps that are the same as those in FIG. 1 will not be repeated here. As shown in FIG. 2, step S101 includes steps S201 to S203, which are described in detail as follows:

步骤S201,展示第二应用页面,所述第二应用页面包括第二应用内容区域,所述第二应用内容区域为所述第二应用页面分屏前的所述第一应用内容区域。Step S201 , displaying a second application page, where the second application page includes a second application content area, and the second application content area is the first application content area before the screen split of the second application page.

步骤S202,若监听到所述第二应用页面的分屏启动事件,则启动所述第二应用页面的分屏模式,所述分屏模式用于将所述第二应用页面分屏为所述第一应用内容区域和所述分屏容器区域,以得到所述第一应用页面。Step S202, if a split-screen startup event of the second application page is monitored, a split-screen mode of the second application page is started, and the split-screen mode is used to split the second application page into the split-screen mode of the second application page. the first application content area and the split-screen container area to obtain the first application page.

步骤S203,展示所述第一应用页面。Step S203, displaying the first application page.

在本实施例中,分屏启动事件为启动分屏模式的计算机事件,其可以为系统事件或用户事件。可选地,分屏启动事件包括基于预设快捷指令触发的用户事件。预设快捷指令包括但不限于声音指令、远程遥控指令、鼠标指令和键盘指令。示例性地,快捷指令为键盘快捷键组合指令,如ctrl+shift+←。In this embodiment, the split-screen startup event is a computer event for starting the split-screen mode, which may be a system event or a user event. Optionally, the split-screen start event includes a user event triggered based on a preset shortcut instruction. Preset shortcut commands include but are not limited to voice commands, remote control commands, mouse commands and keyboard commands. Exemplarily, the shortcut instruction is a keyboard shortcut key combination instruction, such as ctrl+shift+←.

在一种实施方式中,在展示第二应用页面时,基于一个用于侦听事件并处理相应事件的函数(如addEventListener)监听键盘快捷键组合指令,当“ctrl+shift+←”被触发时,则判定监听到第二应用页面的分屏启动事件。In one embodiment, when the second application page is displayed, the keyboard shortcut key combination instruction is monitored based on a function (such as addEventListener) for listening to events and processing the corresponding events, when "ctrl+shift+←" is triggered, Then, it is determined that a split-screen startup event of the second application page is monitored.

第二应用页面为正常浏览模式下的应用页面。分屏模式可以为内嵌于浏览器的功能插件,当启动分屏模式时,该功能插件自动对第二应用页面进行分屏。The second application page is an application page in a normal browsing mode. The split-screen mode may be a functional plug-in embedded in the browser. When the split-screen mode is activated, the functional plug-in automatically splits the second application page.

示例性地,图5示出了一种第二应用页面的示意图,图6示出了启动分屏模式后的第二应用页面的示意图,图7示出了第一应用页面的示意图。如图5所示,整个单据页面为第二应用内容区域;如图6所示,图5的第二应用页面被分区为尺寸缩小后的第二应用内容区域和分屏容器区域,将内容项添加至分屏容器区域后,得到图7的第一应用页面。Exemplarily, FIG. 5 shows a schematic diagram of a second application page, FIG. 6 shows a schematic diagram of a second application page after the split screen mode is activated, and FIG. 7 shows a schematic diagram of a first application page. As shown in FIG. 5 , the entire document page is the second application content area; as shown in FIG. 6 , the second application page in FIG. 5 is divided into a reduced size second application content area and a split-screen container area. After being added to the split-screen container area, the first application page shown in FIG. 7 is obtained.

在一些实施例中,所述步骤S202,包括:In some embodiments, the step S202 includes:

若监听到所述第二应用页面的分屏启动事件,则在所述第二应用页面插入分屏容器;If the split-screen startup event of the second application page is monitored, inserting a split-screen container in the second application page;

基于所述第二应用内容区域以及所述分屏容器,对所述第二应用页面进行页面布局,得到所述第一应用页面。Based on the second application content area and the split-screen container, page layout is performed on the second application page to obtain the first application page.

在本实施例中,分屏容器用于读取内容项的内容信息并对内容信息进行展示。示例性地,在第二应用页面插入分屏容器后,在第二应用页面生成分屏容器区域;再对分屏容器区域和第二应用内容区域进行区域尺寸调整,以得到布局完成的第一应用页面。In this embodiment, the split-screen container is used to read content information of a content item and display the content information. Exemplarily, after the split-screen container is inserted into the second application page, a split-screen container area is generated on the second application page; and the area sizes of the split-screen container area and the second application content area are adjusted to obtain the first layout completed. application page.

在一些实施例中,页面布局步骤,包括:In some embodiments, the page layout step includes:

基于预设布局比例,对所述第二应用内容区域进行尺寸缩放,得到所述第一应用页面的所述第一应用内容区域和空白区域;Based on a preset layout ratio, scaling the second application content area to obtain the first application content area and blank area of the first application page;

将所述分屏容器填充至所述空白区域,得到所述分屏容器区域。Filling the split-screen container to the blank area to obtain the split-screen container area.

在本实施例中,预设布局比例为第二应用内容区域与分屏容器区域的尺寸比例。例如,预设布局比例为1:1,则第二应用内容区域与分屏容器区域各占第一应用页面的一半。示例性地,以1:1为预设布局比例,对图5所示的单据页面进行尺寸缩放,得到第一应用内容区域和空白区域,将分屏容器嵌入到空白区域,得到图6所示的分屏模式下的第二应用内容区域。In this embodiment, the preset layout ratio is the size ratio of the second application content area to the split-screen container area. For example, if the preset layout ratio is 1:1, the second application content area and the split-screen container area each occupy half of the first application page. Exemplarily, taking 1:1 as the preset layout ratio, scaling the document page shown in FIG. 5 to obtain the first application content area and the blank area, and embedding the split-screen container into the blank area, as shown in FIG. 6 . The second application content area in split-screen mode.

可以理解的是,预设布局比例可以基于实际情况下所要展示的内容项和内容信息确定,例如用户希望主要查看内容信息,则可以加大分屏容器区域的比例。It can be understood that the preset layout ratio can be determined based on the content items and content information to be displayed in actual situations. For example, if the user wishes to mainly view the content information, the ratio of the split-screen container area can be increased.

在一些实施例中,在图1所示实施例的基础上,图3示出了本申请实施例提供的步骤S102的流程示意图。需要说明的是,与图1相同的步骤,在此不再赘述。如图3所示,步骤S102具体包括步骤S301,详述如下:In some embodiments, based on the embodiment shown in FIG. 1 , FIG. 3 shows a schematic flowchart of step S102 provided by the embodiment of the present application. It should be noted that the steps that are the same as those in FIG. 1 will not be repeated here. As shown in FIG. 3, step S102 specifically includes step S301, which is described in detail as follows:

步骤S301,响应作用于所述内容项的拖拽操作,基于所述拖拽操作的拖拽轨迹,将所述内容项拖动至所述分屏容器区域。Step S301, in response to a drag operation acting on the content item, drag the content item to the split-screen container area based on the drag track of the drag operation.

在本实施例中,拖拽操作为基于计算机语言对浏览器节点添加的计算机操作,该计算机语言包括但不限于javascript和html,html可具体为html5。拖拽轨迹为触发拖拽操作后屏幕焦点的移动轨迹,该屏幕焦点可以为鼠标位置或可触摸屏的用户触屏位置。In this embodiment, the dragging operation is a computer operation that is added to the browser node based on a computer language, and the computer language includes but is not limited to javascript and html, and html may specifically be html5. The drag track is the movement track of the screen focus after the drag operation is triggered, and the screen focus may be the mouse position or the touch screen position of the touchable screen user.

可选地,对所述内容项的节点元素添加可拖拽属性,节点元素包括但不限于字段布局面板、高级面板、可折叠flex面板、附件和页签等。示例性地,基于html5对内容项对应的DOM节点元素添加可拖拽属性Draggable,例如:<div draggable=”true”></div>。Optionally, a draggable attribute is added to the node element of the content item, and the node element includes but is not limited to a field layout panel, an advanced panel, a collapsible flex panel, an attachment, a tab, and the like. Exemplarily, the draggable attribute Draggable is added to the DOM node element corresponding to the content item based on html5, for example: <div draggable="true"></div>.

在一些实施例中,所述拖拽操作包括选取操作、拖动操作和释放操作,所述步骤S301,包括:In some embodiments, the drag operation includes a selection operation, a drag operation and a release operation, and the step S301 includes:

响应作用于所述内容项的选取操作,展示所述内容项的缩放图;In response to a selection operation acting on the content item, displaying a zoomed image of the content item;

响应作用于所述内容项的拖动操作,基于所述拖拽轨迹,将所述缩放图拖动至所述分屏容器区域;In response to the drag operation acting on the content item, based on the drag track, drag the zoom image to the split-screen container area;

响应作用于所述内容项的释放操作,在所述分屏容器区域内释放所述内容项,并取消展示所述缩放图。In response to the release operation acting on the content item, the content item is released in the split-screen container area, and the zoomed image is canceled.

在本实施例中,选取操作可以为用户点击操作触发的选取操作,拖动操作可以为用户长按和移动操作所触发拖动操作,释放操作可以为用户释放长按操作所触发的拖动操作。缩放图可以内容信息的缩放图,也可以为内容项的预设图案。例如,内容信息为合同表,则缩放图为对合同表缩放后的图案。其中,缩放图可以是缩小图(或称缩略图),也可以是放大图。In this embodiment, the selection operation may be a selection operation triggered by a user's click operation, the drag operation may be a drag operation triggered by a user's long-press and move operations, and the release operation may be a drag operation triggered by the user's release of a long-press operation . The zoom map can be a zoom map of content information or a preset pattern of a content item. For example, if the content information is a contract table, the zoomed image is a scaled image of the contract table. The zoomed image may be a reduced image (or a thumbnail image) or an enlarged image.

在一些实施例中,对于选取操作,包括:In some embodiments, for the selection operation, including:

响应作用于所述内容项的选取操作,记录所述内容项的节点元素信息;In response to the selection operation acting on the content item, recording node element information of the content item;

根据所述节点元素信息,展示与所述节点元素信息对应的缩放图。According to the node element information, a zoomed image corresponding to the node element information is displayed.

在本实施例中,节点元素信息为内容项的DOM节点元素信息,该DOM节点元素信息包括scale属性信息,scale属性信息能够用于设置节点元素的内联样式。示例性地,当触发选取操作时,读取并记录内容项的DOM节点元素信息,通过修改DOM节点元素信息中的scale属性信息,以修改内容项的内联样式,从而达到生成并展示缩放图的目的。In this embodiment, the node element information is DOM node element information of the content item, the DOM node element information includes scale attribute information, and the scale attribute information can be used to set the inline style of the node element. Exemplarily, when the selection operation is triggered, the DOM node element information of the content item is read and recorded, and the inline style of the content item is modified by modifying the scale attribute information in the DOM node element information, so as to generate and display a zoomed image. the goal of.

可以理解的是,本实施例通过记录内容项的节点元素信息,还能够使分屏容器能够区分同一个应用页面下的不同内容项,使得内容项添加至分屏容器的过程更加准确。It can be understood that, by recording node element information of content items, the split-screen container can also distinguish different content items under the same application page, so that the process of adding content items to the split-screen container is more accurate.

可选地,对于节点元素信息的记录步骤,包括:Optionally, the step of recording node element information includes:

响应作用于所述内容项的选取操作,触发第一预设拖拽事件;triggering a first preset drag event in response to a selection operation acting on the content item;

基于所述第一预设拖拽事件,调用预设数据获取函数,记录所述内容项的节点元素信息。Based on the first preset drag event, a preset data acquisition function is called to record node element information of the content item.

在本可选实施例中,第一预设拖拽事件可以为OnDragstart事件,预设数据获取函数可以为dataTransfer.setData。示例性地,基于html5对内容项添加OnDragstart事件,当用户点击内容项时,触发OnDragstart事件,以调用dataTransfer.setData记录内容项的key和type。In this optional embodiment, the first preset drag event may be an OnDragstart event, and the preset data acquisition function may be dataTransfer.setData. Exemplarily, an OnDragstart event is added to the content item based on html5, and when the user clicks on the content item, the OnDragstart event is triggered to call dataTransfer.setData to record the key and type of the content item.

可选地,对于缩放图的展示步骤,包括:Optionally, for the step of displaying the zoomed image, it includes:

调用预设节点复制函数,复制所述内容项的节点元素信息,生成新的节点元素信息;Call the preset node copy function, copy the node element information of the content item, and generate new node element information;

变更所述新的节点元素信息中的样式属性,生成所述缩放图;changing the style attribute in the new node element information to generate the zoomed image;

展示所述缩放图。The zoomed image is displayed.

在本实施例中,预设节点复制函数可以为cloneNode函数,样式属性为scale属性。示例性地,基于cloneNode函数复制节点元素信息,并利用dataTransfer.setDragImage,将scale属性缩小为原来的0.3倍,以缩小样式属性,从而达到生成缩放图的目的。In this embodiment, the preset node copy function may be a cloneNode function, and the style attribute is a scale attribute. Exemplarily, the node element information is copied based on the cloneNode function, and dataTransfer.setDragImage is used to reduce the scale attribute to 0.3 times the original to reduce the style attribute, so as to achieve the purpose of generating a scaled image.

在一些实施例中,对于释放操作,包括:In some embodiments, for the release operation, including:

响应作用于所述内容项的释放操作,在所述分屏容器区域内释放所述内容项,并触发第二预设拖拽事件;In response to the release operation acting on the content item, the content item is released in the split-screen container area, and a second preset drag event is triggered;

基于所述第二预设拖拽事件,取消展示所述缩放图。Based on the second preset drag event, the zoomed image is canceled.

在本实施例中,第二预设拖拽事件可以为Ondragend事件。示例性地,基于html5对内容项添加Ondragend事件,当释放鼠标键时,触发Ondragend事件,则移除在拖动过程中所展示的缩放图。In this embodiment, the second preset drag event may be an Ondragend event. Exemplarily, an Ondragend event is added to the content item based on html5, and when the mouse button is released, the Ondragend event is triggered, and the zoomed image displayed during the dragging process is removed.

在一些实施例中,所述步骤S301,包括:In some embodiments, the step S301 includes:

响应作用于所述内容项的拖拽操作,基于所述拖拽轨迹,对所述内容项进行拖动;In response to the drag operation acting on the content item, drag the content item based on the drag track;

若监测到所述内容项进入所述分屏容器区域的区域范围,则展示所述分屏容器区域的目标背景色,所述目标背景色为用于表征所述分屏容器区域允许放置内容项的第一颜色,或用于表征所述分屏容器区域不允许放置内容项的第二颜色;If it is detected that the content item enters the area of the split-screen container area, the target background color of the split-screen container area is displayed, and the target background color is used to indicate that the content item is allowed to be placed in the split-screen container area. The first color of , or the second color used to represent that the split-screen container area does not allow content items to be placed;

若所述背景色为第一颜色,则释放所述内容项,以完成所述拖拽操作。If the background color is the first color, release the content item to complete the dragging operation.

在本实施例中,由于分屏容器可能因某些原因(例如分屏容器已被占用)而无法展示其他内容项,为避免用户不知晓而不断进行拖拽操作,所以本实施例在内容项进入分屏容器区域时,以目标背景色的方式提示用户当前分屏容器的可用状态,提高用户体验。In this embodiment, because the split-screen container may not be able to display other content items due to some reasons (for example, the split-screen container is already occupied), in order to avoid the user from continuously performing drag and drop operations without knowing it, in this embodiment, the content item is not displayed. When entering the split-screen container area, the user is prompted with the target background color of the available status of the current split-screen container to improve user experience.

可选地,对于目标背景色的展示步骤,包括:Optionally, the steps for displaying the target background color include:

监听第三预设拖拽事件;Listen to the third preset drag event;

若监听到所述第三预设拖拽事件被触发,则判定所述内容项进入所述分屏容器区域的区域范围,并展示所述分屏容器区域的目标背景色。If it is detected that the third preset drag event is triggered, it is determined that the content item enters the area of the split-screen container area, and the target background color of the split-screen container area is displayed.

在本可选实施例中,第三预设拖拽事件可以为OnDragEnter事件。示例性地,基于html5对分屏容器添加OnDragEnter事件,通过监听OnDragEnter事件,触发展示分屏容器的目标背景色,以表示当前分屏容器的可用状态。In this optional embodiment, the third preset drag event may be an OnDragEnter event. Exemplarily, an OnDragEnter event is added to the split-screen container based on html5, and the display of the target background color of the split-screen container is triggered by monitoring the OnDragEnter event to indicate the current available state of the split-screen container.

在一些实施例中,在图1所示实施例的基础上,图4示出了本申请实施例提供的步骤S103的流程示意图。需要说明的是,与图1相同的步骤,在此不再赘述。如图4所示,步骤S103包括步骤S401至步骤S403,详述如下:In some embodiments, based on the embodiment shown in FIG. 1 , FIG. 4 shows a schematic flowchart of step S103 provided by the embodiment of the present application. It should be noted that the steps that are the same as those in FIG. 1 will not be repeated here. As shown in FIG. 4 , step S103 includes steps S401 to S403, which are described in detail as follows:

步骤S401,读取所述内容项的第一内联样式和内容信息;Step S401, read the first inline style and content information of the content item;

步骤S402,根据所述分屏容器区域的区域尺寸,调整所述内容项的第一内联样式,得到第二内联样式;Step S402, adjusting the first inline style of the content item according to the area size of the split-screen container area to obtain a second inline style;

步骤S403,基于所述第二内联样式,在所述分屏容器区域展示所述内容信息。Step S403, displaying the content information in the split-screen container area based on the second inline style.

在本实施例中,内联样式为行内样式,其用于对一个节点元素应用有且仅有一次,以便于同一应用页面下内容分屏的快速切换。示例性地,内联样式为节点元素信息中的style样式属性,style样式属性包括position、left、top、width和height等信息。通过修改style样式,以对第一内联样式进行调整,得到第二内联样式。In this embodiment, the inline style is an inline style, which is applied to a node element only once, so as to facilitate quick switching of content split screens under the same application page. Exemplarily, the inline style is the style style attribute in the node element information, and the style style attribute includes information such as position, left, top, width, and height. By modifying the style style, the first inline style is adjusted to obtain the second inline style.

在一些实施例中,在图4所示实施例的基础上,步骤S403之后,还包括:In some embodiments, on the basis of the embodiment shown in FIG. 4 , after step S403, the method further includes:

监听所述第一应用页面的页面窗口变化;monitoring the page window change of the first application page;

若监听到所述第一应用页面的页面窗口发生变化,则对所述分屏容器区域的内容信息进行窗口自适应;If a change in the page window of the first application page is monitored, window adaptation is performed on the content information of the split-screen container area;

展示窗口自适应后的所述内容信息。The content information after the window is adapted is displayed.

在本实施例中,由于第一应用页面为浏览器页面,其能够基于浏览器窗口的变化而随之变化,所以为了提高展示效果,使得内容信息也随窗口变化而变化(即窗口自适应)。In this embodiment, since the first application page is a browser page, it can be changed based on the change of the browser window. Therefore, in order to improve the display effect, the content information is also changed with the change of the window (ie, the window is adaptive). .

可选地,窗口自适应步骤,包括:Optionally, the window adaptation step includes:

基于预设窗口变化函数,监听所述第一应用页面的页面窗口变化;Based on the preset window change function, monitor the page window change of the first application page;

若监听到所述第一应用页面的页面窗口发生变化,则对所述第二内联样式进行调整,得到第三内联样式;If a change in the page window of the first application page is monitored, the second inline style is adjusted to obtain a third inline style;

基于所述第三内联样式,在所述分屏容器区域展示所述内容信息。Based on the third inline style, the content information is displayed in the split-screen container area.

在本可选实施例中,预设窗口变化函数可以为ResizeObserve函数。示例性地,利用ResizeObserve监听页面fenp窗口变化,当窗口变化时,改变style样式(width、height、left),从而达到窗口变化时内容信息在分屏容器中也能跟随变化。In this optional embodiment, the preset window change function may be a ResizeObserve function. Exemplarily, ResizeObserve is used to monitor the change of the fenp window of the page, and when the window changes, the style (width, height, left) is changed, so that the content information in the split-screen container can also follow the change when the window changes.

在一些实施例中,在图4所示实施例的基础上,所述步骤S401之后,还包括:In some embodiments, on the basis of the embodiment shown in FIG. 4 , after the step S401, the method further includes:

触发所述预设发布订阅事件;triggering the preset publish-subscribe event;

基于所述预设发布订阅事件,对所述第一内联样式进行缓存。Based on the preset publish-subscribe event, the first inline style is cached.

在本实施例中,预设发布订阅事件为基于发布/订阅机制实现的计算机事件。可选地,当读取内容项的第一内联样式和内容信息时,触发发布订阅事件,其中分屏容器为发布者,内容项为订阅者,即分屏容器发布以读取到内容项的第一内联样式和内容信息,则内容项通过异步回调方式缓存第一内联样式。In this embodiment, the preset publish-subscribe event is a computer event implemented based on a publish/subscribe mechanism. Optionally, when the first inline style and content information of the content item are read, a publish-subscribe event is triggered, wherein the split-screen container is the publisher and the content item is the subscriber, that is, the split-screen container is published to read the content item. the first inline style and content information, the content item caches the first inline style through an asynchronous callback.

本实施例采用发布订阅事件能够支持简单的广播通信,当对象状态发生改变时,会自动通知已经订阅过的对象。发布者与订阅者耦合性降低,发布者只管发布消息,无需关心消息如何被订阅者使用,订阅者则只监听发布者的消息即可。This embodiment adopts publish-subscribe events to support simple broadcast communication, and when the state of an object changes, the subscribed objects are automatically notified. The coupling between the publisher and the subscriber is reduced. The publisher only publishes the message and does not need to care about how the message is used by the subscriber. The subscriber only needs to listen to the publisher's message.

可以理解的是,当第一内联样式被调整后,通过调整后的第一内联样式更新所缓存的第一内联样式。例如在第一内联样式被调整为上述第二内联样式后,利用第二内联样式更新第一内联样式,即将第二内联样式作为新的第一内联样式。It can be understood that, after the first inline style is adjusted, the cached first inline style is updated by the adjusted first inline style. For example, after the first inline style is adjusted to the second inline style, the first inline style is updated by using the second inline style, that is, the second inline style is used as the new first inline style.

可选地,所述步骤S403之后,还包括:Optionally, after the step S403, it further includes:

若监听到所述第一应用页面的分屏关闭事件,则基于所述第一内联样式,还原所述内容项的内联样式。If the split screen closing event of the first application page is monitored, the inline style of the content item is restored based on the first inline style.

在本可选实施例中,分屏关闭事件为关闭分屏模式的计算机事件,其可以为系统事件或用户事件。可选地,分屏关闭事件包括基于预设快捷指令触发的用户事件。预设快捷指令包括但不限于声音指令、远程遥控指令、鼠标指令和键盘指令。示例性地,快捷指令为键盘快捷键组合指令,如ctrl+shift+←。In this optional embodiment, the split-screen closing event is a computer event for closing the split-screen mode, which may be a system event or a user event. Optionally, the split screen closing event includes a user event triggered based on a preset shortcut instruction. Preset shortcut commands include but are not limited to voice commands, remote control commands, mouse commands and keyboard commands. Exemplarily, the shortcut instruction is a keyboard shortcut key combination instruction, such as ctrl+shift+←.

在一种实施方式中,在展示第一应用页面时,基于一个用于侦听事件并处理相应事件的函数(如addEventListener)监听键盘快捷键组合指令,当“ctrl+shift+←”被触发时,则判定监听到第一应用页面的分屏关闭事件。In one embodiment, when the first application page is displayed, the keyboard shortcut key combination instruction is monitored based on a function (such as addEventListener) for listening to events and processing corresponding events. When "ctrl+shift+←" is triggered, Then it is determined that the split screen closing event of the first application page is monitored.

需要说明的是,本实施例还结合预设分布订阅事件,利用预设分布订阅事件的第一内联样式进行内容项还原,提高还原效率和准确度。It should be noted that this embodiment also combines the preset distribution subscription event, and uses the first inline style of the preset distribution subscription event to restore the content item, thereby improving restoration efficiency and accuracy.

作为示例而非限定,图8示出了本申请实施例提供的页面内容的分屏展示方法的一种应用场景流程示意图。As an example and not a limitation, FIG. 8 shows a schematic flowchart of an application scenario of the method for displaying page content on a split screen provided by an embodiment of the present application.

如图8所示,进入单据页面,使用AddEventListener监听快捷键(ctrl+shift+←),以监听是否启动分屏模式。若监听到该快捷键,则对单据页面启动分屏模式,展示单据区域和分屏容器区域,其中默认单据区域和分屏容器区域各占50%的宽度。As shown in Figure 8, enter the document page and use AddEventListener to monitor the shortcut key (ctrl+shift+←) to monitor whether the split screen mode is enabled. If the shortcut key is monitored, the split-screen mode is activated on the document page, and the document area and the split-screen container area are displayed, in which the default document area and the split-screen container area each occupy 50% of the width.

其中,开启分屏模式时,为当前单据页面的内容项(如字段布局面板、高级面板、可折叠的flex面板、附件和页签)所在的DOM节点元素添加可拖拽的属性(Draggable),伪代码为:<div draggable=”true”></div>;以及增加第一拖拽事件(OnDragstart)和第二拖拽事件(OnDragend)。伪代码为:<div ondragstart=”function(){}”ondragend=”function(){}”></div>。Among them, when the split-screen mode is enabled, a draggable attribute (Draggable) is added to the DOM node element where the content items of the current document page (such as field layout panel, advanced panel, collapsible flex panel, attachment and tab) are located. The pseudo code is: <div draggable="true"></div>; and adding a first drag event (OnDragstart) and a second drag event (OnDragend). The pseudo code is: <div >

在开始拖拽内容项(即选取内容项)时,触发OnDragstart事件,利用dataTransfer.setData函数记录当前内容项的key和type,并利用cloneNode函数复制当前内容项的DOM节点元素信息,以及利用dataTransfer.setDragImage函数设置拖拽时的缩放图:利用dataTransfer.setDragImage(Element)函数设置自定义图像,Element为页面上的DOM节点元素,该修改节点元素的scale属性以将缩小为原来的0.3倍,从而达到缩放图的效果。When you start to drag a content item (that is, select a content item), trigger the OnDragstart event, use the dataTransfer.setData function to record the key and type of the current content item, and use the cloneNode function to copy the DOM node element information of the current content item, and use dataTransfer. The setDragImage function sets the zoom image when dragging: use the dataTransfer.setDragImage(Element) function to set a custom image, Element is the DOM node element on the page, modify the scale attribute of the node element to reduce it to 0.3 times the original, so as to achieve The effect of zooming the graph.

在内容项拖拽至分屏容器区域范围内时,触发分屏容器的OnDragEnter事件,展示分屏容器的目标背景色,以表明当前分屏容器的可用状态。When the content item is dragged into the area of the split-screen container, the OnDragEnter event of the split-screen container is triggered, and the target background color of the split-screen container is displayed to indicate the available status of the current split-screen container.

在释放内容项后,触发OnDragend事件,以调用dataTransfer.getData函数获取当前放置的内容项的key和type,并触发对应的发布订阅事件(发布者为分屏容器,订阅者为内容模块),在订阅者事件回调里将当前的内容项的内联样式style进行缓存,并且修改当前内容项的style样式中的position、left、top、width和height,以达到内容项的内容信息在分屏容器中自适应展示的效果。利用ResizeObserve函数监听当前应用页面的fenp窗口变化,当窗口发生变化时,根据窗口变化调整对应的style样式(width、height、left),以实现窗口自适应。After releasing the content item, trigger the OnDragend event to call the dataTransfer.getData function to obtain the key and type of the currently placed content item, and trigger the corresponding publish-subscribe event (the publisher is the split-screen container, and the subscriber is the content module). In the subscriber event callback, the inline style style of the current content item is cached, and the position, left, top, width and height in the style style of the current content item are modified, so that the content information of the content item can be stored in the split-screen container. The effect of adaptive display. Use the ResizeObserve function to monitor the change of the fenp window of the current application page. When the window changes, adjust the corresponding style (width, height, left) according to the window change to achieve window adaptation.

在分屏模式启动时,若再次监听快捷键(ctrl+shift+←),则关闭分屏模式,并基于在分布订阅事件中缓存的内联样式style还原内容项的样式,以实现内容项还原至单据页面。When the split-screen mode starts, if the shortcut key (ctrl+shift+←) is monitored again, the split-screen mode is turned off, and the style of the content item is restored based on the inline style style cached in the distributed subscription event, so that the content item can be restored to document page.

需要说明的是,相比于当前相关分屏技术,本申请具备以下场景特点:It should be noted that, compared with the current related split-screen technologies, the present application has the following scene characteristics:

1.内容分屏仅影响当前页签内容,对其他页签依然保留独占模式,分屏不影响其他页面的内容展示。例如,一个页签内有一个基于上述方法分屏的A页面,另一个页签内有一个基于上述方法分屏的B页面,则可以通过切换页签而展示不同应用页面的分屏内容。1. The content split screen only affects the content of the current tab, and the exclusive mode is still reserved for other tabs, and the split screen does not affect the content display of other pages. For example, if one tab contains a page A with split screen based on the above method, and another tab contains a page B split based on the above method, the split screen content of different application pages can be displayed by switching the tabs.

2.结合业务场景,将一些预制分屏内容直接对业务场景中的内容项进行合并展示,甚至能做到根据用户习惯来定制品和页面的诉求。例如,对于某些单据页面,一些用户习惯于单独录入,一些用户习惯于拼合关联录入,则本申请通过缓存内联样式的方式,在下次打开页面时,直接显示用户习惯对应的表单(如拼合表单或单独表单)。2. Combined with business scenarios, some prefabricated split-screen content can be directly combined and displayed to the content items in the business scenario, and even the demands of customizing products and pages according to user habits can be achieved. For example, for some document pages, some users are accustomed to inputting separately, and some users are accustomed to piecing together related input. This application, by caching the inline style, directly displays the corresponding form (such as piecing together) when the page is opened next time. form or separate form).

图9为本申请实施例提供的一种多页面展示方法的流程示意图。本申请实施例的多页面展示方法可应用于终端设备,该终端设备包括但不限于智能手机、笔记本电脑、平板电脑和桌上型计算机等设备。如图9所示,本实施例的多页面展示方法包括步骤S901至步骤S903,详述如下:FIG. 9 is a schematic flowchart of a method for displaying multiple pages according to an embodiment of the present application. The multi-page display method in the embodiment of the present application can be applied to terminal devices, where the terminal devices include but are not limited to devices such as smart phones, notebook computers, tablet computers, and desktop computers. As shown in FIG. 9 , the multi-page display method of this embodiment includes steps S901 to S903, which are described in detail as follows:

步骤S901,获取多个目标应用页面,每个所述目标应用页面包括应用内容区域和分屏容器区域,所述应用内容区域包含一个或多个内容项,所述分屏容器区域展示有所述内容项的内容信息;Step S901: Acquire multiple target application pages, each of the target application pages includes an application content area and a split-screen container area, the application content area includes one or more content items, and the split-screen container area displays the content information of the content item;

步骤S902,对多个所述目标应用页面进行重排;Step S902, rearranging a plurality of the target application pages;

步骤S903,展示重排后的多个所述目标应用页面。Step S903, displaying the rearranged multiple target application pages.

在本实施例中,目标应用页面为基于上述页面内容的分屏展示方法进行分屏得到的应用页面。重排可以为终端设备自带的分屏功能。In this embodiment, the target application page is an application page obtained by performing a split-screen display method based on the above-mentioned page content display method. The rearrangement can be the split screen function that comes with the terminal device.

示例性地,对于一个页签内有一个基于上述方法分屏的A页面(包括应用内容区域a1和分屏容器区域a2),另一个页签内有一个基于上述方法分屏的B页面(包括应用内容区域b1和分屏容器区域b2),利用终端设备的分屏功能,对A页面和B页面进行同时展示,则最终在一个显示屏下能够同时显示应用内容区域a1、分屏容器区域a2、应用内容区域b1和分屏容器区域b2。Exemplarily, there is a page A (including the application content area a1 and the split-screen container area a2) split-screen based on the above method in one tab, and a page B (including the application content area a1 and the split-screen container area a2) is split based on the above method in another tab. Application content area b1 and split-screen container area b2), using the split-screen function of the terminal device to display page A and page B at the same time, finally, the application content area a1 and the split-screen container area a2 can be simultaneously displayed under one display screen. , the application content area b1, and the split-screen container area b2.

可以理解的是,上述目标应用页面的分屏过程可以参见上述页面内容的分屏展示方法的描述,在此不再赘述。It can be understood that, for the split-screen process of the target application page, reference may be made to the description of the split-screen display method of the page content, which will not be repeated here.

为了执行上述方法实施例对应的页面内容的分屏展示方法,以实现相应的功能和技术效果。参见图10,图10示出了本申请实施例提供的一种页面内容的分屏展示装置的结构框图。为了便于说明,仅示出了与本实施例相关的部分,本申请实施例提供的页面内容的分屏展示装置,包括:In order to implement the split-screen display method of page content corresponding to the above method embodiments, corresponding functions and technical effects can be achieved. Referring to FIG. 10 , FIG. 10 shows a structural block diagram of a split-screen display apparatus for page content provided by an embodiment of the present application. For the convenience of description, only the parts related to this embodiment are shown. The split-screen display device for page content provided by the embodiment of this application includes:

第一展示模块1001,用于展示第一应用页面,所述第一应用页面包括第一应用内容区域和分屏容器区域,所述第一应用内容区域包含一个或多个内容项;a first display module 1001, configured to display a first application page, where the first application page includes a first application content area and a split-screen container area, and the first application content area includes one or more content items;

添加模块1002,用于响应作用于所述内容项的添加操作,将所述内容项添加至所述分屏容器区域;The adding module 1002 is configured to add the content item to the split-screen container area in response to an adding operation acting on the content item;

第二展示模块1003,用于在所述分屏容器区域内,展示所述内容项的内容信息。The second display module 1003 is configured to display the content information of the content item in the split-screen container area.

在一些实施例中,所述第一展示模块1001,包括:In some embodiments, the first presentation module 1001 includes:

第一展示子模块,用于展示第二应用页面,所述第二应用页面包括第二应用内容区域,所述第二应用内容区域为所述第二应用页面分屏前的所述第一应用内容区域;The first display sub-module is used to display a second application page, the second application page includes a second application content area, and the second application content area is the first application before the screen split of the second application page content area;

启动子模块,用于若监听到所述第二应用页面的分屏启动事件,则启动所述第二应用页面的分屏模式,所述分屏模式用于将所述第二应用页面分屏为所述第一应用内容区域和所述分屏容器区域,以得到所述第一应用页面;A startup submodule, configured to start a split-screen mode of the second application page if the split-screen startup event of the second application page is monitored, and the split-screen mode is used to split the second application page into a screen for the first application content area and the split-screen container area to obtain the first application page;

第二展示子模块,用于展示所述第一应用页面。The second display sub-module is configured to display the first application page.

在一些实施例中,所述启动子模块,包括:In some embodiments, the promoter module includes:

插入单元,用于若监听到所述第二应用页面的分屏启动事件,则在所述第二应用页面插入分屏容器;an inserting unit, configured to insert a split-screen container in the second application page if a split-screen startup event of the second application page is monitored;

布局单元,用于基于所述第二应用内容区域以及所述分屏容器,对所述第二应用页面进行页面布局,得到所述第一应用页面。A layout unit, configured to perform page layout on the second application page based on the second application content area and the split-screen container to obtain the first application page.

在一些实施例中,所述布局单元,包括:In some embodiments, the layout unit includes:

缩放子单元,用于基于预设布局比例,对所述第二应用内容区域进行尺寸缩放,得到所述第一应用页面的所述第一应用内容区域和空白区域;a scaling subunit, configured to scale the size of the second application content area based on a preset layout ratio to obtain the first application content area and blank area of the first application page;

填充子单元,用于将所述分屏容器填充至所述空白区域,得到所述分屏容器区域。The filling subunit is used for filling the split-screen container into the blank area to obtain the split-screen container area.

在一些实施例中,所述分屏启动事件包括基于预设快捷指令触发的分屏启动事件。In some embodiments, the split-screen startup event includes a split-screen startup event triggered based on a preset shortcut instruction.

在一些实施例中,所述添加操作为拖拽操作,所述添加模块1002,包括:In some embodiments, the adding operation is a dragging operation, and the adding module 1002 includes:

拖拽子模块,用于响应作用于所述内容项的拖拽操作,基于所述拖拽操作的拖拽轨迹,将所述内容项拖动至所述分屏容器区域。A dragging sub-module is configured to, in response to a dragging operation acting on the content item, drag the content item to the split-screen container area based on the dragging track of the dragging operation.

在一些实施例中,所述拖拽操作包括选取操作、拖动操作和释放操作,所述拖拽子模块,包括:In some embodiments, the drag operation includes a selection operation, a drag operation and a release operation, and the drag submodule includes:

选取单元,用于响应作用于所述内容项的选取操作,展示所述内容项的缩放图;a selection unit, configured to display a zoomed image of the content item in response to a selection operation acting on the content item;

拖动单元,用于响应作用于所述内容项的拖动操作,基于所述拖拽轨迹,将所述缩放图拖动至所述分屏容器区域;a dragging unit, configured to, in response to a dragging operation acting on the content item, drag the zoomed image to the split-screen container area based on the dragging track;

释放单元,用于响应作用于所述内容项的释放操作,在所述分屏容器区域内释放所述内容项,并取消展示所述缩放图。A release unit, configured to release the content item in the split-screen container area in response to a release operation acting on the content item, and cancel the display of the zoomed image.

在一些实施例中,所述释放单元,包括:In some embodiments, the release unit includes:

第一释放子单元,用于响应作用于所述内容项的释放操作,在所述分屏容器区域内释放所述内容项,并触发第二预设拖拽事件;a first release subunit, configured to release the content item in the split-screen container area in response to a release operation acting on the content item, and trigger a second preset drag event;

取消子单元,用于基于所述第二预设拖拽事件,取消展示所述缩放图。The canceling subunit is configured to cancel the display of the zoomed image based on the second preset drag event.

在一些实施例中,所述选取单元,包括:In some embodiments, the selecting unit includes:

记录子单元,用于响应作用于所述内容项的选取操作,记录所述内容项的节点元素信息;a recording subunit, configured to record the node element information of the content item in response to the selection operation acting on the content item;

第一展示子单元,用于根据所述节点元素信息,展示与所述节点元素信息对应的缩放图。The first display subunit is configured to display, according to the node element information, a zoomed image corresponding to the node element information.

在一些实施例中,所述记录子单元,具体用于:In some embodiments, the recording subunit is specifically used for:

响应作用于所述内容项的选取操作,触发第一预设拖拽事件;triggering a first preset drag event in response to a selection operation acting on the content item;

基于所述第一预设拖拽事件,调用预设数据获取函数,记录所述内容项的节点元素信息。Based on the first preset drag event, a preset data acquisition function is called to record node element information of the content item.

在一些实施例中,所述第一展示子单元,具体用于:In some embodiments, the first display subunit is specifically used for:

调用预设节点复制函数,复制所述内容项的节点元素信息,生成新的节点元素信息;Call the preset node copy function, copy the node element information of the content item, and generate new node element information;

变更所述新的节点元素信息中的样式属性,生成所述缩放图;changing the style attribute in the new node element information to generate the zoomed image;

展示所述缩放图。The zoomed image is displayed.

在一些实施例中,所述拖动单元,包括:In some embodiments, the dragging unit includes:

拖动子单元,用于响应作用于所述内容项的拖拽操作,基于所述拖拽轨迹,对所述内容项进行拖动;a dragging subunit, used for dragging the content item based on the dragging track in response to the dragging operation acting on the content item;

第二展示子单元,用于若监测到所述内容项进入所述分屏容器区域的区域范围,则展示所述分屏容器区域的目标背景色,所述目标背景色为用于表征所述分屏容器区域允许放置内容项的第一颜色,或用于表征所述分屏容器区域不允许放置内容项的第二颜色;The second display subunit is configured to display the target background color of the split-screen container area if it is detected that the content item enters the area of the split-screen container area, where the target background color is used to represent the The first color of the content item allowed to be placed in the split-screen container area, or the second color used to indicate that the split-screen container area is not allowed to place the content item;

第二释放子单元,用于若所述背景色为第一颜色,则释放所述内容项,以完成所述拖拽操作。The second release subunit is configured to release the content item if the background color is the first color to complete the drag operation.

在一些实施例中,所述第二展示子单元,具体用于:In some embodiments, the second display subunit is specifically used for:

监听第三预设拖拽事件;Listen to the third preset drag event;

若监听到所述第三预设拖拽事件被触发,则判定所述内容项进入所述分屏容器区域的区域范围,并展示所述分屏容器区域的目标背景色。If it is detected that the third preset drag event is triggered, it is determined that the content item enters the area of the split-screen container area, and the target background color of the split-screen container area is displayed.

在一些实施例中,所述拖拽子模块,还包括:In some embodiments, the dragging submodule further includes:

添加单元,用于对所述内容项的节点元素添加可拖拽属性。An adding unit is used to add a draggable attribute to the node element of the content item.

在一些实施例中,所述第二展示模块1003,包括:In some embodiments, the second presentation module 1003 includes:

读取子模块,用于读取所述内容项的第一内联样式和内容信息;a reading submodule for reading the first inline style and content information of the content item;

调整子模块,用于根据所述分屏容器区域的区域尺寸,调整所述内容项的第一内联样式,得到第二内联样式;an adjustment sub-module for adjusting the first inline style of the content item according to the area size of the split-screen container area to obtain a second inline style;

第三展示子模块,用于基于所述第二内联样式,在所述分屏容器区域展示所述内容信息。The third display sub-module is configured to display the content information in the split-screen container area based on the second inline style.

在一些实施例中,所述第二展示模块1003,还包括:In some embodiments, the second presentation module 1003 further includes:

监听子模块,用于监听所述第一应用页面的页面窗口变化;a monitoring submodule for monitoring the page window change of the first application page;

自适应子模块,用于若监听到所述第一应用页面的页面窗口发生变化,则对所述分屏容器区域的内容信息进行窗口自适应;an adaptive submodule, configured to perform window adaptation on the content information of the split-screen container area if a change in the page window of the first application page is monitored;

第四展示子模块,用于展示窗口自适应后的所述内容信息。The fourth display sub-module is used for displaying the content information after the window is adapted.

在一些实施例中,所述自适应子模块,包括:In some embodiments, the adaptive sub-module includes:

监听单元,用于基于预设窗口变化函数,监听所述第一应用页面的页面窗口变化;a monitoring unit, configured to monitor the page window change of the first application page based on a preset window change function;

调整单元,用于若监听到所述第一应用页面的页面窗口发生变化,则对所述第二内联样式进行调整,得到第三内联样式;an adjustment unit, configured to adjust the second inline style to obtain a third inline style if a change in the page window of the first application page is monitored;

展示单元,用于基于所述第三内联样式,在所述分屏容器区域展示所述内容信息。A display unit, configured to display the content information in the split-screen container area based on the third inline style.

在一些实施例中,所述第二展示模块1003,还包括:In some embodiments, the second presentation module 1003 further includes:

触发子模块,用于触发所述预设发布订阅事件;a triggering submodule for triggering the preset publish-subscribe event;

缓存子模块,用于基于所述预设发布订阅事件,对所述第一内联样式进行缓存。A caching submodule, configured to cache the first inline style based on the preset publish-subscribe event.

在一些实施例中,所述第二展示模块1003,还包括:In some embodiments, the second presentation module 1003 further includes:

还原子模块,用于若监听到所述第一应用页面的分屏关闭事件,则基于所述第一内联样式,还原所述内容项的内联样式。A restore sub-module, configured to restore the inline style of the content item based on the first inline style if the split screen closing event of the first application page is monitored.

上述的多页面展示装置可实施上述方法实施例的多页面展示方法。上述方法实施例中的可选项也适用于本实施例,这里不再详述。本申请实施例的其余内容可参照上述方法实施例的内容,在本实施例中,不再进行赘述。The above-mentioned multi-page display apparatus can implement the multi-page display method of the above method embodiment. The options in the foregoing method embodiment are also applicable to this embodiment, and are not described in detail here. For the remaining contents of the embodiments of the present application, reference may be made to the contents of the foregoing method embodiments, which will not be repeated in this embodiment.

为了执行上述方法实施例对应的多页面展示方法,以实现相应的功能和技术效果。参见图11,图11示出了本申请实施例提供的一种多页面展示装置的结构框图。为了便于说明,仅示出了与本实施例相关的部分,本申请实施例提供的多页面展示装置,包括:In order to implement the multi-page display method corresponding to the above method embodiments, corresponding functions and technical effects can be achieved. Referring to FIG. 11 , FIG. 11 shows a structural block diagram of a multi-page display apparatus provided by an embodiment of the present application. For the convenience of description, only the parts related to this embodiment are shown. The multi-page display device provided by the embodiment of this application includes:

获取模块1101,用于获取多个目标应用页面,每个所述目标应用页面包括应用内容区域和分屏容器区域,所述应用内容区域包含一个或多个内容项,所述分屏容器区域展示有所述内容项的内容信息;The acquiring module 1101 is configured to acquire multiple target application pages, each of the target application pages includes an application content area and a split-screen container area, the application content area contains one or more content items, and the split-screen container area displays there is content information for the content item;

重排模块1102,用于对多个所述目标应用页面进行重排;A rearrangement module 1102, configured to rearrange a plurality of the target application pages;

第三展示模块1103,用于展示重排后的多个所述目标应用页面。The third display module 1103 is configured to display the rearranged multiple target application pages.

上述的多页面展示装置可实施上述方法实施例的多页面展示方法。上述方法实施例中的可选项也适用于本实施例,这里不再详述。The above-mentioned multi-page display apparatus can implement the multi-page display method of the above method embodiment. The options in the foregoing method embodiment are also applicable to this embodiment, and are not described in detail here.

图12为本申请一实施例提供的终端设备的结构示意图。如图12所示,该实施例的终端设备12包括:至少一个处理器120(图12中仅示出一个)处理器、存储器121以及存储在所述存储器121中并可在所述至少一个处理器120上运行的计算机程序122,所述处理器120执行所述计算机程序122时实现上述任意方法实施例中的步骤。FIG. 12 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 12 , the terminal device 12 of this embodiment includes: at least one processor 120 (only one is shown in FIG. 12 ), a processor, a memory 121 , and a processor stored in the memory 121 and available for processing in the at least one processor The computer program 122 running on the processor 120, the processor 120 implements the steps in any of the above method embodiments when the computer program 122 is executed.

所述终端设备12可以是智能手机、笔记本电脑、平板电脑和桌上型计算机等计算设备。该终端设备可包括但不仅限于处理器120、存储器121。本领域技术人员可以理解,图12仅仅是终端设备12的举例,并不构成对终端设备12的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。The terminal device 12 may be a computing device such as a smart phone, a notebook computer, a tablet computer, and a desktop computer. The terminal device may include, but is not limited to, the processor 120 and the memory 121 . Those skilled in the art can understand that FIG. 12 is only an example of the terminal device 12, and does not constitute a limitation on the terminal device 12. It may include more or less components than the one shown, or combine some components, or different components , for example, may also include input and output devices, network access devices, and the like.

所称处理器120可以是中央处理单元(Central Processing Unit,CPU),该处理器120还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 120 may be a central processing unit (Central Processing Unit, CPU), and the processor 120 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuits) , ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

所述存储器121在一些实施例中可以是所述终端设备12的内部存储单元,例如终端设备12的硬盘或内存。所述存储器121在另一些实施例中也可以是所述终端设备12的外部存储设备,例如所述终端设备12上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器121还可以既包括所述终端设备12的内部存储单元也包括外部存储设备。所述存储器121用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器121还可以用于暂时地存储已经输出或者将要输出的数据。The memory 121 may be an internal storage unit of the terminal device 12 in some embodiments, such as a hard disk or a memory of the terminal device 12 . In other embodiments, the memory 121 may also be an external storage device of the terminal device 12, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card) and so on. Further, the memory 121 may also include both an internal storage unit of the terminal device 12 and an external storage device. The memory 121 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as program codes of the computer program, and the like. The memory 121 may also be used to temporarily store data that has been output or will be output.

另外,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述任意方法实施例中的步骤。In addition, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps in any of the foregoing method embodiments.

本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product, which, when the computer program product runs on a terminal device, enables the terminal device to implement the steps in each of the foregoing method embodiments.

在本申请所提供的几个实施例中,可以理解的是,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意的是,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。In the several embodiments provided in this application, it should be understood that each block in the flowchart or block diagram may represent a module, program segment or part of code, and the module, program segment or part of code includes One or more executable instructions for implementing specified logical functions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.

所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端设备执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to make a terminal device execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

以上所述的具体实施例,对本申请的目的、技术方案和有益效果进行了进一步的详细说明,应当理解,以上所述仅为本申请的具体实施例而已,并不用于限定本申请的保护范围。特别指出,对于本领域技术人员来说,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above are only specific embodiments of the present application, and are not intended to limit the protection scope of the present application. . It is particularly pointed out that for those skilled in the art, any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included within the protection scope of the present application.

Claims (14)

1. A method for displaying page contents in a split screen manner is characterized by comprising the following steps:
displaying a first application page, the first application page comprising a first application content area and a split-screen container area, the first application content area containing one or more content items;
adding the content item to the split-screen container area in response to an adding operation that acts on the content item;
and displaying the content information of the content item in the split-screen container area.
2. The method for displaying page content in a split screen manner according to claim 1, wherein the displaying the first application page comprises:
displaying a second application page, wherein the second application page comprises a second application content area, and the second application content area is the first application content area before the second application page is split;
if a split screen starting event of the second application page is monitored, starting a split screen mode of the second application page, wherein the split screen mode is used for splitting the second application page into the first application content area and the split screen container area to obtain the first application page;
and displaying the first application page.
3. The method for split-screen presentation of page content according to claim 1, wherein the adding operation is a drag operation, and the adding the content item to the split-screen container region in response to the adding operation being performed on the content item comprises:
and in response to the drag operation on the content item, dragging the content item to the split-screen container area based on a drag track of the drag operation.
4. The method for displaying page content in a split screen manner according to claim 3, wherein the dragging operation includes a selecting operation, a dragging operation, and a releasing operation, and the dragging the content item to the split-screen container area based on a dragging track of the dragging operation in response to the dragging operation applied to the content item includes:
presenting a zoom map of the content item in response to a selection operation acting on the content item;
dragging the zoom map of the content item to the split-screen container area based on the dragging track in response to a dragging operation acting on the content item;
and in response to the release operation acting on the content item, releasing the content item in the split-screen container area, and canceling the display of the zoom map.
5. The method for displaying page content in a split screen manner according to claim 4, wherein the displaying the zoom map of the content item in response to the selection operation acting on the content item comprises:
responding to the selection operation acted on the content item, and recording node element information of the content item;
and displaying a zoom graph corresponding to the node element information according to the node element information.
6. The method for displaying page content in a split screen manner according to claim 5, wherein the displaying the zoom map corresponding to the node element information according to the node element information comprises:
calling a preset node copying function, copying the node element information of the content item, and generating new node element information;
changing the style attribute in the new node element information to generate the zoom map;
the zoom map is shown.
7. The method for displaying page content in a split screen manner according to claim 3, wherein the dragging the content item to the split screen container area based on a drag track of the drag operation in response to the drag operation on the content item comprises:
dragging the content item based on the drag trajectory in response to a drag operation that acts on the content item;
if the content item is monitored to enter the area range of the split-screen container area, displaying a target background color of the split-screen container area, wherein the target background color is a first color for representing that the split-screen container area allows the content item to be placed, or a second color for representing that the split-screen container area does not allow the content item to be placed;
and if the background color is the first color, releasing the content item to finish the dragging operation.
8. The method for displaying the split screen of the page content according to claim 1, wherein said displaying the content information of the content item in the split screen container area comprises:
reading a first inline style and content information of the content item;
adjusting a first inline style of the content item according to the area size of the split-screen container area to obtain a second inline style;
displaying the content information in the split-screen container region based on the second inline style.
9. The method for split-screen presentation of page content according to claim 8, wherein, after the split-screen container region presents the content information based on the second inline style, further comprising:
and if the split screen closing event of the first application page is monitored, restoring the inline style of the content item based on the first inline style.
10. A multi-page display method is characterized by comprising the following steps:
the method comprises the steps that a plurality of target application pages are obtained, each target application page comprises an application content area and a split-screen container area, the application content area comprises one or more content items, and content information of the content items is displayed in the split-screen container area;
rearranging the target application pages;
and displaying the rearranged multiple target application pages.
11. A device for displaying page contents in a split screen manner, comprising:
a first presentation module for presenting a first application page, the first application page including a first application content area and a split-screen container area, the first application content area containing one or more content items;
an adding module, configured to add the content item to the split-screen container region in response to an adding operation that is performed on the content item;
and the second display module is used for displaying the content information of the content item in the split-screen container area.
12. A multi-page display device, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a plurality of target application pages, each target application page comprises an application content area and a split-screen container area, the application content area comprises one or more content items, and the split-screen container area displays content information of the content items;
the rearrangement module is used for rearranging the target application pages;
and the third display module is used for displaying the rearranged multiple target application pages.
13. A terminal device, characterized in that it comprises a processor and a memory for storing a computer program which, when executed by the processor, implements the method for split-screen presentation of page content according to any one of claims 1 to 9, or the method for multi-page presentation according to claim 10.
14. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the method for split-screen presentation of page content according to any one of claims 1 to 9, or the method for multi-page presentation according to claim 10.
CN202210441260.7A 2022-04-25 2022-04-25 Split-screen display method of page content, multi-page display method and device Active CN114924683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210441260.7A CN114924683B (en) 2022-04-25 2022-04-25 Split-screen display method of page content, multi-page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210441260.7A CN114924683B (en) 2022-04-25 2022-04-25 Split-screen display method of page content, multi-page display method and device

Publications (2)

Publication Number Publication Date
CN114924683A true CN114924683A (en) 2022-08-19
CN114924683B CN114924683B (en) 2025-05-09

Family

ID=82806514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210441260.7A Active CN114924683B (en) 2022-04-25 2022-04-25 Split-screen display method of page content, multi-page display method and device

Country Status (1)

Country Link
CN (1) CN114924683B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119311181A (en) * 2023-11-17 2025-01-14 中国工商银行股份有限公司 Split-screen display method, device, equipment, storage medium and program product
CN119311181B (en) * 2023-11-17 2025-10-10 中国工商银行股份有限公司 Split-screen display method, device, equipment, storage medium, and program product

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080243828A1 (en) * 2007-03-29 2008-10-02 Reztlaff James R Search and Indexing on a User Device
CN103049177A (en) * 2011-10-14 2013-04-17 浪潮乐金数字移动通信有限公司 Mobile terminal and browser split screen browsing method thereof
CN104346465A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for saving web page elements, and browser client
CN105302285A (en) * 2014-08-01 2016-02-03 福州瑞芯微电子股份有限公司 Multi-screen display method, equipment and system
CN106612197A (en) * 2015-10-23 2017-05-03 阿里巴巴集团控股有限公司 Network thumbnail generation method and device
CN108008929A (en) * 2017-12-19 2018-05-08 重庆满惠网络科技有限公司 A kind of method for building up and system of split screen PC web browsers
CN108572980A (en) * 2017-03-10 2018-09-25 北京搜狗科技发展有限公司 A kind of webpage multi-screen display method and device
CN113411768A (en) * 2018-11-18 2021-09-17 华为技术有限公司 Internet of vehicles message notification method and device
CN114063958A (en) * 2021-11-16 2022-02-18 上海哔哩哔哩科技有限公司 Page split-screen display method and device
CN114281225A (en) * 2020-09-28 2022-04-05 华为技术有限公司 Window display method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080243828A1 (en) * 2007-03-29 2008-10-02 Reztlaff James R Search and Indexing on a User Device
CN103049177A (en) * 2011-10-14 2013-04-17 浪潮乐金数字移动通信有限公司 Mobile terminal and browser split screen browsing method thereof
CN105302285A (en) * 2014-08-01 2016-02-03 福州瑞芯微电子股份有限公司 Multi-screen display method, equipment and system
CN104346465A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for saving web page elements, and browser client
CN106612197A (en) * 2015-10-23 2017-05-03 阿里巴巴集团控股有限公司 Network thumbnail generation method and device
CN108572980A (en) * 2017-03-10 2018-09-25 北京搜狗科技发展有限公司 A kind of webpage multi-screen display method and device
CN108008929A (en) * 2017-12-19 2018-05-08 重庆满惠网络科技有限公司 A kind of method for building up and system of split screen PC web browsers
CN113411768A (en) * 2018-11-18 2021-09-17 华为技术有限公司 Internet of vehicles message notification method and device
CN114281225A (en) * 2020-09-28 2022-04-05 华为技术有限公司 Window display method and device
CN114063958A (en) * 2021-11-16 2022-02-18 上海哔哩哔哩科技有限公司 Page split-screen display method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119311181A (en) * 2023-11-17 2025-01-14 中国工商银行股份有限公司 Split-screen display method, device, equipment, storage medium and program product
CN119311181B (en) * 2023-11-17 2025-10-10 中国工商银行股份有限公司 Split-screen display method, device, equipment, storage medium, and program product

Also Published As

Publication number Publication date
CN114924683B (en) 2025-05-09

Similar Documents

Publication Publication Date Title
US10216390B2 (en) Method and device for executing object on display
KR101733839B1 (en) Managing workspaces in a user interface
US9875219B2 (en) Methods and systems for opening a file
US7793232B2 (en) Unified interest layer for user interface
US20220365647A1 (en) Application Bar Display Method and Electronic Device
US20130212534A1 (en) Expanding thumbnail with metadata overlay
JP2006164260A (en) Data processor and user interface for system
KR20130064458A (en) Display apparatus for displaying screen divided by a plurallity of area and method thereof
CN110032700B (en) Information release control method and device, storage medium and electronic equipment
CN111767487A (en) Page display method, device and electronic device
JP2006164261A (en) Data processor having advanced user interface, and system
US20130151937A1 (en) Selective image loading in mobile browsers
CN109040767A (en) A kind of direct broadcasting room loading method, system, server and storage medium
CN113268182A (en) Application icon management method and electronic equipment
CN110262749B (en) Webpage operation method, device, container, equipment and medium
WO2020186815A1 (en) Page element highlighting method and apparatus, and device and storage medium
CN114116098A (en) Application icon management method, device, electronic device and storage medium
WO2025044582A1 (en) Page management method and apparatus for virtual game, electronic device, and storage medium
WO2024240158A9 (en) Methods and apparatus for page interaction, device and storage medium
JP2025519901A (en) Multimedia content display method, device, electronic device, and storage medium
CN114924683B (en) Split-screen display method of page content, multi-page display method and device
WO2023155874A1 (en) Application icon management method and apparatus, and electronic device
CN114327433B (en) Media data playback control method, device, electronic device and storage medium
CN111338520B (en) Label display method, apparatus, and computer-readable medium
CN116755591A (en) Application component display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant