From 808baf798ba74d4c2ef86fa9ebe9795a08b27c8a Mon Sep 17 00:00:00 2001 From: xiaoronghao <1300399510@qq.com> Date: Mon, 17 Apr 2023 16:19:01 +0800 Subject: [PATCH] no message --- src/App.vue | 3 --- src/components/DetailReply.vue | 1 - src/components/Hintbox.vue | 1 - src/utils/common.js | 1 - src/views/detail/detailIndex.vue | 6 ------ src/views/index/allSections/AllSections.vue | 6 ++++-- src/views/index/recommend/Recommend.vue | 3 --- 7 files changed, 4 insertions(+), 17 deletions(-) diff --git a/src/App.vue b/src/App.vue index b80ab9f..d9395ca 100755 --- a/src/App.vue +++ b/src/App.vue @@ -29,9 +29,6 @@ export default { }, methods: { - aaa1() { - console.log("dfgk;dfg;dfgk;"); - }, isJudgePc() { const userAgentInfo = navigator.userAgent; const Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"]; diff --git a/src/components/DetailReply.vue b/src/components/DetailReply.vue index 7cd08ee..ea40b2d 100755 --- a/src/components/DetailReply.vue +++ b/src/components/DetailReply.vue @@ -59,7 +59,6 @@ export default { props: ["twoCommentData", "popState", "commentContent"], mounted() { - // console.log("子组件"); }, methods: { diff --git a/src/components/Hintbox.vue b/src/components/Hintbox.vue index 91a9f0a..8515f60 100755 --- a/src/components/Hintbox.vue +++ b/src/components/Hintbox.vue @@ -24,7 +24,6 @@ export default { }, mounted() { - console.log(this.messagehint, "messagehint"); }, methods: { diff --git a/src/utils/common.js b/src/utils/common.js index be8263a..0664f3f 100755 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -1,6 +1,5 @@ // a标签 跳转 isblank 代表跳转新标签 function skipUrl(url, isblank = true) { - console.log(); let aTab = document.createElement("a"); document.body.appendChild(aTab); aTab.setAttribute("href", url); diff --git a/src/views/detail/detailIndex.vue b/src/views/detail/detailIndex.vue index 101c0a3..d614012 100755 --- a/src/views/detail/detailIndex.vue +++ b/src/views/detail/detailIndex.vue @@ -496,11 +496,8 @@ export default { } - - if (info['message'].indexOf("[hide]") != -1) { const regex = /\[hide\].*?\[\/hide\]/g; // 获取所有[hide] 中间内容的正则 - console.log("ispost", ispost, "isauthor", isauthor); if (ispost == 0 && isauthor != 1) info['message'] = info['message'].replace(regex, replyVisibleHtml); if (ispost == 1 || isauthor == 1) { info['message'] = info['message'].replaceAll("[hide]", `
- 本内容回复可见 -
`) @@ -686,7 +683,6 @@ export default { message = message.trim() - console.log("message", message); this.commentContent = message this.editCommentPid = item.pid @@ -810,8 +806,6 @@ export default { // 投币 postCoin() { - console.log("点击解锁"); - this.$http.post("/api/operation/coinPurchase", { token: this.token }).then(res => { diff --git a/src/views/index/allSections/AllSections.vue b/src/views/index/allSections/AllSections.vue index accab7c..ed094a5 100755 --- a/src/views/index/allSections/AllSections.vue +++ b/src/views/index/allSections/AllSections.vue @@ -139,6 +139,8 @@ export default { }) }) + if (!this.allActive) this.allActive = 0 + } else { setTimeout(() => { this.handQuery() @@ -253,8 +255,8 @@ export default { height: 100%; border-radius: 0.32rem 0 0 0.32rem; // background: #62b1ff; - border-left: 0.013333rem solid #ddd; - background-color: rgba(235, 235, 235, 0.556862745098039); + border-left: 0.013333rem solid #ddd; + background-color: rgba(235, 235, 235, 0.556862745098039); position: absolute; z-index: -1; } diff --git a/src/views/index/recommend/Recommend.vue b/src/views/index/recommend/Recommend.vue index 29b1532..c71ef49 100755 --- a/src/views/index/recommend/Recommend.vue +++ b/src/views/index/recommend/Recommend.vue @@ -70,17 +70,14 @@ export default { if (page) { this.page = Number(page) query['page'] = Number(page) - // this. } if (fid) { this.fid = fid this.handleForumFid() query['fid'] = Number(fid) - } this.$parent['query'] = query - console.log("query", query); this.init() },