CN104657128A - Article comment checking method based on equipment of iOS operating system - Google Patents
Article comment checking method based on equipment of iOS operating system Download PDFInfo
- Publication number
- CN104657128A CN104657128A CN201410422458.6A CN201410422458A CN104657128A CN 104657128 A CN104657128 A CN 104657128A CN 201410422458 A CN201410422458 A CN 201410422458A CN 104657128 A CN104657128 A CN 104657128A
- Authority
- CN
- China
- Prior art keywords
- page
- article
- articles page
- articles
- preset value
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000012552 review Methods 0.000 claims description 51
- 238000013519 translation Methods 0.000 claims description 5
- 230000010365 information processing Effects 0.000 abstract description 2
- 230000007704 transition Effects 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003796 beauty Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an article comment checking method based on equipment of an iOS operating system and belongs to the technical field of information processing. The method includes: S1, judging whether the browse of an article page is finished, if finished, executing S2, if not, maintaining the article page; S2, judging whether the hand sliding distance of the page turning gesture of a user reaches the preset value, if reach, executing S3, if not, maintaining the article page; and S3, covering the article page with the article comment page and finishing the switching of the article page and the comment page. Through the article comment checking method based on the equipment of the iOS operating system, not only an additional page switching button is not needed so that the complexity of page configuration is simplified, but also free switching of the comment page through the sliding gesture can be realized after the user finishes browsing of the article. Therefore, the smooth transition from the article to the comments can be realized, and the reading experience degree of the user can be improved.
Description
Technical field
The present invention relates to technical field of information processing, particularly relate to a kind of method that equipment based on iOS operating system checks article review.
Background technology
Along with the development of Internet technology, the quantity of information propagated on the internet constantly increases, and people more and more like browsing all kinds of article and article review on the internet.
At present, when using based on the equipment browse article of iOS operating system and article review, user generally by clicking the mode that can be switched to the switching push button of the article review page in the current article page, being switched to the article review page from current articles page, browsing article review further.
Visible, when user has browsed article, when wanting to continue to browse article review, need in articles page, first find the switching push button that can be switched to the article review page, then click this button, after clicking this button, after needing to wait until that the article review page has loaded, just article review can be browsed.
Therefore, adopt the mode of above-mentioned click switching push button, browse the method for article review, user needs spended time specially and thought to go to find and button click, thus make after user browsed article, can not directly enter article review page browsing article review smoothly, the reading experience degree of user is declined.
Summary of the invention
The object of the present invention is to provide a kind of equipment based on iOS operating system to check the method for article review, thus solve the foregoing problems existed in prior art.
To achieve these goals, the technical solution used in the present invention is as follows:
Equipment based on iOS operating system checks the method for article review, comprises the steps:
S1, judges whether articles page has been browsed, if completed, then performs S2, otherwise, keep described articles page;
S2, judges that whether the hand actual relative movement of user's page turning gesture is from reaching preset value, if reach preset value, then performs S3; Otherwise, keep described articles page;
S3, covers described articles page by the review pages of article, completes the switching of described articles page and described review pages.
Further, also comprise between step S2 and step S3, judge and record the position of commenting on label in described articles page, locate the described position of comment label in described review pages according to the positional value of described comment label in described articles page.
Particularly, in step S1, describedly judge whether articles page has been browsed, and carries out as follows:
Judge that whether articles page is the end of article, if articles page is the end of article, then browsed; If articles page is not the end of article, then browses and do not complete; The end of described article comprises the top of article and the bottom of article.
Particularly, the top of described article judges as follows: if on described articles page, the distance of glide of downslide gesture reaches preset value, but described articles page does not roll downwards, then described articles page is the top of described article; Otherwise described articles page is not the top of described article.
Particularly, the bottom of described article judges as follows: if on described articles page, and the upslip of upper skating gesture is from reaching preset value, but described articles page does not scroll up, then described articles page is the bottom of described article; Otherwise described articles page is not the bottom of described article.
More specifically, described preset value is 40 pixels.
Particularly, in step S2, described page turning gesture is left skating gesture.
More specifically, described hand actual relative movement from preset value be 100 pixels.
Particularly, in step S3, described articles page and described review pages adopt the mode of integral translation to carry out page layout switch.
More specifically, described page layout switch adopts the mode of animation.
The invention has the beneficial effects as follows: with prior art, user needs spended time specially and thought to go to find and button click, the technology that could be switched to the article review page from articles page is compared, by adopting, the present invention judges that the mode of page turning gesture realizes articles page and is switched to the article review page, thus browse the method for article review, not only do not need to arrange extra page layout switch button, simplify the complexity of page configuration, can also make after user browsed article, slip gesture just can be switched to review pages easily, thus it is excessive to what comment on to complete article smoothly, the reading experience degree of user is improved.
Accompanying drawing explanation
Fig. 1 is the method flow diagram that the equipment based on iOS operating system that the embodiment of the present invention provides checks article review.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with accompanying drawing, the present invention is further elaborated.Should be appreciated that embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In one embodiment of the invention, as shown in Figure 1, the equipment based on iOS operating system checks the method for article review, comprises the steps:
S1, judges whether articles page has been browsed, if completed, then performs S2, otherwise, keep described articles page.
Wherein, describedly judge whether articles page has been browsed, can carry out as follows: judge that whether articles page is the end of article, if articles page is the end of article, then browsed; If articles page is not the end of article, then browses and do not complete.
Here, the end of article can be the top of article, also can be the bottom of article.
Wherein, the top of article can judge as follows: if on described articles page, the distance of glide of downslide gesture reaches preset value, but described articles page does not roll downwards, then described articles page is the top of described article; Otherwise described articles page is not the top of described article, wherein, the preset value of the distance of glide of downslide gesture is 40 pixels.
As will be understood by the skilled person in the art, here, the preset value of the distance of glide of downslide gesture can also be set to other values, in the embodiment of the present invention, undertaken arranging by the use habit of analysis people, more meet the motor habit of people, thus improve the convenience of user operation, and then improve the operating experience of user.
Meanwhile, in the embodiment of the present invention, the preset value of the distance of glide of downslide gesture is set to 40 pixels, also can avoids user in the process browsing current page, the maloperation of the page turning that the hand slide strips being not intended to carry out is come, thus reduce the probability of user misoperation.
When user glide the distance of glide of gesture meet or exceed preset value time, system default performs the operation that the page rolls downwards, if and system does not perform the operation that the page rolls downwards, then illustrate that articles page reaches the top, user has read complete to article.And when arriving articles page top, user has carried out again gliding operation, illustrate that user also wants to continue reading, have the wish continuing reading, then system can perform step S2.
The bottom of article can judge as follows: if on described articles page, and the upslip of upper skating gesture is from reaching preset value, but described articles page does not scroll up, then described articles page is the bottom of described article; Otherwise described articles page is not the bottom of described article, wherein, upper skating gesture upslip from preset value be 40 pixels.
As will be understood by the skilled person in the art, here, the upslip of upper skating gesture from preset value can also be set to other values, in the embodiment of the present invention, undertaken arranging by the use habit of analysis people, more meet the motor habit of people, thus improve the convenience of user operation, and then improve the operating experience of user.
Meanwhile, in the embodiment of the present invention by the upslip of upper skating gesture from preset value be set to 40 pixels, also can avoid user in the process browsing current page, be not intended to the maloperation of the page turning that the hand slide strips of carrying out is come, thus reduce the probability of user misoperation.
When the upslip of the upper skating gesture of user is from when meeting or exceeding preset value, system default performs the operation that the page scrolls up, if and system does not perform the operation that the page scrolls up, then illustrate that articles page reaches bottom, user has read complete to article.And when arriving articles page top, user has carried out again upper sliding operation, illustrate that user also wants to continue reading, have the wish continuing reading, then system can perform S2.
S2, judges whether user's page turning gesture reaches preset value, if reach preset value, then performs S3; Otherwise, keep described articles page.
Here, page turning gesture is left skating gesture, and the left actual relative movement of this left skating gesture from preset value be 100 pixels.As will be understood by the skilled person in the art, here, the left actual relative movement of left skating gesture from preset value can also be set to other values, in the embodiment of the present invention, undertaken arranging by the use habit of analysis people, more meet the motor habit of people, thus improve the convenience of user operation, and then improve the operating experience of user.
Meanwhile, in the embodiment of the present invention by the left actual relative movement of left skating gesture from preset value be set to 100 pixels, also can avoid user in the process browsing current page, be not intended to the maloperation of the page turning that the hand slide strips of carrying out is come, thus reduce the probability of user misoperation.
When the left actual relative movement of user's left skating gesture is not from when meeting or exceeding this preset value, system default performs the page operation of rolling left, and if the left actual relative movement of user's left skating gesture from when having met or exceeded this preset value, then perform S3.
S3, covers described articles page by the review pages of article, completes articles page and review pages switching.
In the embodiment of the present invention, articles page and review pages adopt the mode of integral translation to carry out page layout switch, load information limit, review pages limit gradually integral translation from right to left enters screen, simultaneously articles page also from right to left entirety shift out screen, until review pages is presented on screen completely, articles page shifts out screen completely.Adopt such page layout switch mode, there will not be white screen phenomenon, the Experience Degree of user can not be reduced.
Wherein, between articles page and review pages, page layout switch can adopt animate.As will be understood by the skilled person in the art, other modes can also be adopted to complete the switching of the page between articles page and review pages, but, the mode of animation is adopted to enter, page layout switch is natural beauty more, and its visual effect is better, thus improves the Experience Degree of user.In addition, in the embodiment of the present invention, adopt the translation animate first accelerating to slow down afterwards.
In another embodiment of the present invention, also comprise between step S2 and step S3, judge and record in articles page the position of commenting on label, according to the positional value location comment label position in review pages of comment label in articles page.
In the raw embodiment of the present invention, when current articles page is positioned at article top, comment label appears at article top;
When current articles page is positioned at article top, comment label appears at article bottom.Like this, after user browses complete articles page, just directly can see comment label in current location, judge whether to want to browse article review according to comment label, therefore, such arranging can greatly facilitate using and operating of user.
Simultaneously, the positional value location comment label position in review pages of comment label in articles page is utilized by review pages, comment label can be made to occur on the top of review pages or bottom, and the comment label shown in the article review page can show the further review information to this comment, therefore, after user has browsed this current review pages, can according to the comment label occurred on this review pages top or bottom, judge whether to want to browse the further review information to this comment, thus further facilitated the use of user.
By adopting technique scheme disclosed by the invention, obtain effect useful as follows: by adopting, the present invention judges that the mode of page turning gesture realizes articles page and is switched to the article review page, thus browse the method for article review, not only do not need to arrange extra page layout switch button, simplify the complexity of page configuration, can also make after user browsed article, slip gesture just can be switched to review pages easily, thus it is excessive to what comment on to complete article smoothly, makes the reading experience degree of user improve.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should look protection scope of the present invention.
Claims (10)
1. check the method for article review based on the equipment of iOS operating system, it is characterized in that, comprise the steps:
S1, judges whether articles page has been browsed, if completed, then performs S2, otherwise, keep described articles page;
S2, judges that whether the hand actual relative movement of user's page turning gesture is from reaching preset value, if reach preset value, then performs S3; Otherwise, keep described articles page;
S3, covers described articles page by the review pages of article, completes the switching of described articles page and described review pages.
2. method according to claim 1, it is characterized in that, also comprise between step S2 and step S3, judge and record the position of commenting on label in described articles page, locating the described position of comment label in described review pages according to the positional value of described comment label in described articles page.
3. method according to claim 1 and 2, is characterized in that, in step S1, describedly judges whether articles page has been browsed, and carries out as follows:
Judge that whether articles page is the end of article, if articles page is the end of article, then browsed; If articles page is not the end of article, then browses and do not complete; The end of described article comprises the top of article and the bottom of article.
4. method according to claim 3, it is characterized in that, the top of described article judges as follows: if on described articles page, the distance of glide of downslide gesture reaches preset value, but described articles page does not roll downwards, then described articles page is the top of described article; Otherwise described articles page is not the top of described article.
5. method according to claim 3, it is characterized in that, the bottom of described article judges as follows: if on described articles page, the upslip of upper skating gesture is from reaching preset value, but described articles page does not scroll up, then described articles page is the bottom of described article; Otherwise described articles page is not the bottom of described article.
6. the method according to claim 4 or 5, is characterized in that, described preset value is 40 pixels.
7. method according to claim 1, is characterized in that, in step S2, described page turning gesture is left skating gesture.
8. method according to claim 7, is characterized in that, described hand actual relative movement from preset value be 100 pixels.
9. method according to claim 1 and 2, is characterized in that, in step S3, described articles page and described review pages adopt the mode of integral translation to carry out page layout switch.
10. method according to claim 9, is characterized in that, described page layout switch adopts the mode of animation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410422458.6A CN104657128B (en) | 2014-08-25 | 2014-08-25 | The method that equipment based on iOS operating systems checks article review |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410422458.6A CN104657128B (en) | 2014-08-25 | 2014-08-25 | The method that equipment based on iOS operating systems checks article review |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104657128A true CN104657128A (en) | 2015-05-27 |
CN104657128B CN104657128B (en) | 2018-05-01 |
Family
ID=53248315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410422458.6A Active CN104657128B (en) | 2014-08-25 | 2014-08-25 | The method that equipment based on iOS operating systems checks article review |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104657128B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032464A (en) * | 2018-09-10 | 2018-12-18 | 腾讯科技(深圳)有限公司 | Interface switching method, device, equipment and storage medium in application program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184104A (en) * | 2011-05-13 | 2011-09-14 | 北京瑞信在线***技术有限公司 | Method and device for realizing simulated page turning effect on display screen |
US20120143686A1 (en) * | 2008-07-30 | 2012-06-07 | Philippe Caland | Media Development Network |
CN103164414A (en) * | 2011-12-09 | 2013-06-19 | 腾讯科技(深圳)有限公司 | Multimedia file comment display method and multimedia file comment display system |
CN103853761A (en) * | 2012-12-03 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Method and device for displaying and adding comments of webpage content |
CN103902253A (en) * | 2012-12-24 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Message processing method and system based on IOS platform |
-
2014
- 2014-08-25 CN CN201410422458.6A patent/CN104657128B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120143686A1 (en) * | 2008-07-30 | 2012-06-07 | Philippe Caland | Media Development Network |
CN102184104A (en) * | 2011-05-13 | 2011-09-14 | 北京瑞信在线***技术有限公司 | Method and device for realizing simulated page turning effect on display screen |
CN103164414A (en) * | 2011-12-09 | 2013-06-19 | 腾讯科技(深圳)有限公司 | Multimedia file comment display method and multimedia file comment display system |
CN103853761A (en) * | 2012-12-03 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Method and device for displaying and adding comments of webpage content |
CN103902253A (en) * | 2012-12-24 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Message processing method and system based on IOS platform |
Non-Patent Citations (2)
Title |
---|
ILTER CENGIZ: "ICViewPager", 《HTTP://CODE4APP.COM:80/IOS/ICVIEWPAGER/5243B17D6803FA3710000001》 * |
PHPER: "jQuery判断滚动条滚到页面底部脚本", 《HTTP://WWW.111 CN.NET/WY/JQUERY/61741.HTM》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032464A (en) * | 2018-09-10 | 2018-12-18 | 腾讯科技(深圳)有限公司 | Interface switching method, device, equipment and storage medium in application program |
Also Published As
Publication number | Publication date |
---|---|
CN104657128B (en) | 2018-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104238949B (en) | A kind of multi-screen display method and device | |
US9304668B2 (en) | Method and apparatus for customizing a display screen of a user interface | |
CN104268221B (en) | Page turning method and page turning system based on Ios systems WebView | |
US20160266757A1 (en) | Terminal Screenshot Method and Device | |
CN103425386B (en) | The method and microblogging client of microblogging display control | |
CN105183338B (en) | Object processing method | |
CN104679434A (en) | Method for switching client pages | |
CN103246382B (en) | Control method and electronic equipment | |
CN103324414A (en) | Method and mobile terminal for adjusting icon positions | |
CN105302458B (en) | A kind of message display method and device | |
CN102819397A (en) | Quick browse and search method of photo album of handheld equipment | |
CN103324390B (en) | Interaction method for page browsing, browser device and mobile terminal | |
CN103455248A (en) | Content sliding method and system for browsing file | |
CN104391636A (en) | Screenshot method and device | |
CN103412713A (en) | Management method of intelligent device for having control over a plurality of windows simultaneously | |
CN103677592A (en) | Method and device for sliding display of webpage object in webpage | |
CN104216606A (en) | WebView page turning special effect method based on Android operation system | |
CN104035676B (en) | A kind of switching method and device of the page | |
WO2016074451A1 (en) | Operation method and device for scrolling page, and terminal | |
CN103324430B (en) | The objects operating method and device of many fingers | |
CN104932769B (en) | Webpage display method and device | |
CN106572227A (en) | Address book search method and device of mobile terminal | |
CN104391851A (en) | Method for realizing data detail browse based on upward and downward sliding of mobile phone | |
CN105786355A (en) | Method and device for positioning contact persons on terminal and terminal | |
CN103530046B (en) | A kind of system of selection of electronic equipment and screen display content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |