From 8bd441bb58a2d78c4253bdb1441b3f801ccc22c6 Mon Sep 17 00:00:00 2001
From: winter_born <2264596049@qq.com>
Date: Sat, 18 Apr 2026 15:20:24 +0800
Subject: [PATCH] all complete
---
components/side.vue | 36 ++++++++++++++++++++++++++++++++----
1 file changed, 32 insertions(+), 4 deletions(-)
diff --git a/components/side.vue b/components/side.vue
index aeeef7e..96ad2bb 100644
--- a/components/side.vue
+++ b/components/side.vue
@@ -9,12 +9,20 @@
- 发帖人:XXX
+ 发帖人:XXX
评论数:{{this.value[2]}}
+
+
+
@@ -24,10 +32,23 @@
data() {
return {
- value: null
+ value: null,
+ value_add: null,
+ write_if:false,
+ value_add_else:null
+ }
+ },
+ methods: {
+ add() {
+ this.write_if=true
+ this.value_add_else=this.value_add
+ this.value_add=""
+ uni.showToast({
+ title: '发布成功',
+ icon:"success"
+ });
}
},
- methods: {},
onLoad(option) {
const id = option.id
this.value = JSON.parse(decodeURIComponent(option.data))
@@ -67,4 +88,11 @@
height: 30px;
width: 30px;
}
-
+
+ .comment {
+ margin: 10px;
+ }
+ .comment text{
+
+ }
+
\ No newline at end of file