Showing
1 changed file
with
6 additions
and
6 deletions
@@ -67,12 +67,12 @@ class TopicDetail extends Page { | @@ -67,12 +67,12 @@ class TopicDetail extends Page { | ||
67 | let TR = swiper.translate; | 67 | let TR = swiper.translate; |
68 | 68 | ||
69 | if (TR < -(issueListLength + 100) && TR > -(issueListLength + 200)) { | 69 | if (TR < -(issueListLength + 100) && TR > -(issueListLength + 200)) { |
70 | - $('.tip').removeClass('hide'); | 70 | + $('.content .tip').removeClass('hide'); |
71 | } else if (TR < -(issueListLength + 200)) { | 71 | } else if (TR < -(issueListLength + 200)) { |
72 | - $('.tip').html('释放查看'); | ||
73 | - $('.tip').removeClass('hide'); | 72 | + $('.content .tip').html('释放查看'); |
73 | + $('.content .tip').removeClass('hide'); | ||
74 | } else { | 74 | } else { |
75 | - $('.tip').addClass('hide'); | 75 | + $('.content .tip').addClass('hide'); |
76 | } | 76 | } |
77 | }, | 77 | }, |
78 | onTouchEnd: function(swiper) { | 78 | onTouchEnd: function(swiper) { |
@@ -83,14 +83,14 @@ class TopicDetail extends Page { | @@ -83,14 +83,14 @@ class TopicDetail extends Page { | ||
83 | swiper.setWrapperTranslate(TR); | 83 | swiper.setWrapperTranslate(TR); |
84 | window.location.href = `/rectopic/list?id=${common.queryString().id}&city_id=${common.queryString().city_id}`; | 84 | window.location.href = `/rectopic/list?id=${common.queryString().id}&city_id=${common.queryString().city_id}`; |
85 | } else { | 85 | } else { |
86 | - $('.tip').html('查看更多'); | 86 | + $('.content .tip').html('查看更多'); |
87 | } | 87 | } |
88 | 88 | ||
89 | if (TR > 5) { | 89 | if (TR > 5) { |
90 | $('.issue-list').css({transform: 'translate3d(' + 0 + ',' + 0 + ',' + 0 + ')'}); | 90 | $('.issue-list').css({transform: 'translate3d(' + 0 + ',' + 0 + ',' + 0 + ')'}); |
91 | } | 91 | } |
92 | 92 | ||
93 | - $('.tip').addClass('hide'); | 93 | + $('.content .tip').addClass('hide'); |
94 | } | 94 | } |
95 | }); | 95 | }); |
96 | } | 96 | } |
-
Please register or login to post a comment