no message
This commit is contained in:
parent
34d052255f
commit
808baf798b
@ -29,9 +29,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
aaa1() {
|
|
||||||
console.log("dfgk;dfg;dfgk;");
|
|
||||||
},
|
|
||||||
isJudgePc() {
|
isJudgePc() {
|
||||||
const userAgentInfo = navigator.userAgent;
|
const userAgentInfo = navigator.userAgent;
|
||||||
const Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
|
const Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
|
||||||
|
@ -59,7 +59,6 @@ export default {
|
|||||||
props: ["twoCommentData", "popState", "commentContent"],
|
props: ["twoCommentData", "popState", "commentContent"],
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
// console.log("子组件");
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -24,7 +24,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log(this.messagehint, "messagehint");
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
// a标签 跳转 isblank 代表跳转新标签
|
// a标签 跳转 isblank 代表跳转新标签
|
||||||
function skipUrl(url, isblank = true) {
|
function skipUrl(url, isblank = true) {
|
||||||
console.log();
|
|
||||||
let aTab = document.createElement("a");
|
let aTab = document.createElement("a");
|
||||||
document.body.appendChild(aTab);
|
document.body.appendChild(aTab);
|
||||||
aTab.setAttribute("href", url);
|
aTab.setAttribute("href", url);
|
||||||
|
@ -496,11 +496,8 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (info['message'].indexOf("[hide]") != -1) {
|
if (info['message'].indexOf("[hide]") != -1) {
|
||||||
const regex = /\[hide\].*?\[\/hide\]/g; // 获取所有[hide] 中间内容的正则
|
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 == 0 && isauthor != 1) info['message'] = info['message'].replace(regex, replyVisibleHtml);
|
||||||
if (ispost == 1 || isauthor == 1) {
|
if (ispost == 1 || isauthor == 1) {
|
||||||
info['message'] = info['message'].replaceAll("[hide]", `<div class="content-unlock content-already"><div class="content-already-header flexflex">- 本内容回复可见 -</div><div class="content-unlock-wenzi">`)
|
info['message'] = info['message'].replaceAll("[hide]", `<div class="content-unlock content-already"><div class="content-already-header flexflex">- 本内容回复可见 -</div><div class="content-unlock-wenzi">`)
|
||||||
@ -686,7 +683,6 @@ export default {
|
|||||||
|
|
||||||
message = message.trim()
|
message = message.trim()
|
||||||
|
|
||||||
console.log("message", message);
|
|
||||||
this.commentContent = message
|
this.commentContent = message
|
||||||
this.editCommentPid = item.pid
|
this.editCommentPid = item.pid
|
||||||
|
|
||||||
@ -810,8 +806,6 @@ export default {
|
|||||||
|
|
||||||
// 投币
|
// 投币
|
||||||
postCoin() {
|
postCoin() {
|
||||||
console.log("点击解锁");
|
|
||||||
|
|
||||||
this.$http.post("/api/operation/coinPurchase", {
|
this.$http.post("/api/operation/coinPurchase", {
|
||||||
token: this.token
|
token: this.token
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
@ -139,6 +139,8 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (!this.allActive) this.allActive = 0
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.handQuery()
|
this.handQuery()
|
||||||
|
@ -70,17 +70,14 @@ export default {
|
|||||||
if (page) {
|
if (page) {
|
||||||
this.page = Number(page)
|
this.page = Number(page)
|
||||||
query['page'] = Number(page)
|
query['page'] = Number(page)
|
||||||
// this.
|
|
||||||
}
|
}
|
||||||
if (fid) {
|
if (fid) {
|
||||||
this.fid = fid
|
this.fid = fid
|
||||||
this.handleForumFid()
|
this.handleForumFid()
|
||||||
query['fid'] = Number(fid)
|
query['fid'] = Number(fid)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$parent['query'] = query
|
this.$parent['query'] = query
|
||||||
console.log("query", query);
|
|
||||||
|
|
||||||
this.init()
|
this.init()
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user