diff --git a/src/views/detail/detailIndex.vue b/src/views/detail/detailIndex.vue index c043c99..eba403b 100755 --- a/src/views/detail/detailIndex.vue +++ b/src/views/detail/detailIndex.vue @@ -536,6 +536,17 @@ export default { }, + // 集中处理回复帖子 + postComment(message) { + this.$http.post("/api/operation/reply", { + token: this.token, + message + }).then(res => { + console.log(res); + }) + }, + + // 点击点赞 tapLike() { this.isState = true @@ -1157,8 +1168,8 @@ export default { background-repeat: no-repeat; background-size: 100%; transform-origin: bottom; - animation: like 1.8s ease-out; - animation-fill-mode: forwards; + animation: like 1.8s ease-out forwards; + // animation-fill-mode: forwards; } @keyframes like { @@ -1182,235 +1193,4 @@ export default { } } - -@keyframes bubble_11 { - 25% { - margin-left: -10px; - } - - 50% { - margin-left: -10px; - } - - 100% { - margin-left: -18px; - } -} - -@keyframes bubble_10 { - 25% { - margin-left: -20px; - } - - 50% { - margin-left: -20px; - } - - 100% { - margin-left: -20px; - } -} - -@keyframes bubble_9 { - 25% { - margin-left: 10px; - } - - 50% { - margin-left: 10px; - } - - 100% { - margin-left: 10px; - } -} - -@keyframes bubble_8 { - 25% { - margin-left: 20px; - } - - 50% { - margin-left: 20px; - } - - 100% { - margin-left: 20px; - } -} - -@keyframes bubble_7 { - 25% { - margin-left: 3px; - } - - 50% { - margin-left: 1px; - } - - 75% { - margin-left: 2px; - } - - 100% { - margin-left: 3px; - } -} - -@keyframes bubble_6 { - 25% { - margin-left: -3px; - } - - 50% { - margin-left: -1px; - } - - 75% { - margin-left: -2px; - } - - 100% { - margin-left: -3px; - } -} - -@keyframes bubble_5 { - 25% { - margin-left: 5px; - } - - 50% { - margin-left: -5px; - } - - 75% { - margin-left: -10px; - } - - 100% { - margin-left: -20px; - } -} - -@keyframes bubble_4 { - 25% { - margin-left: -5px; - } - - 50% { - margin-left: -5px; - } - - 75% { - margin-left: 20px; - } - - 100% { - margin-left: 10px; - } -} - -@keyframes bubble_3 { - 25% { - margin-left: -20px; - } - - 50% { - margin-left: 10px; - } - - 75% { - margin-left: 20px; - } - - 100% { - margin-left: -10px; - } -} - -@keyframes bubble_2 { - 25% { - margin-left: 20px; - } - - 50% { - margin-left: 25px; - } - - 75% { - margin-left: 10px; - } - - 100% { - margin-left: 5px; - } -} - -@keyframes bubble_1 { - 25% { - margin-left: -8px; - } - - 50% { - margin-left: 8px; - } - - 75% { - margin-left: -15px; - } - - 100% { - margin-left: 15px; - } -} - -@keyframes bubble_big_1 { - 0% { - transform: scale(0.3); - } - - 100% { - transform: scale(1.2); - } -} - -@keyframes bubble_big_2 { - 0% { - transform: scale(0.3); - } - - 100% { - transform: scale(0.9); - } -} - -@keyframes bubble_big_3 { - 0% { - transform: scale(0.3); - } - - 100% { - transform: scale(0.6); - } -} - -@keyframes bubble_y { - 0% { - margin-bottom: 0; - } - - 10% { - margin-bottom: 0; - } - - 75% { - opacity: 1; - } - - 100% { - margin-bottom: 200px; - opacity: 0; - } -} \ No newline at end of file diff --git a/src/views/search/searchResult/SearchResult.vue b/src/views/search/searchResult/SearchResult.vue index 7733e26..c3efbf8 100755 --- a/src/views/search/searchResult/SearchResult.vue +++ b/src/views/search/searchResult/SearchResult.vue @@ -114,11 +114,12 @@ export default { page: this.page, limit: this.limit }).then(res => { - console.log(res, "res"); let data = res.data + + console.log(data.data); this.list = data.data this.count = data.count - + this.limit = data.limit document.documentElement.scrollTop = 0; document.body.scrollTop = 0; this.searchResultState = false