From de05219dc3a59773b51a09c217dbb9c2e0aa8bca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com>
Date: Mon, 22 Sep 2025 16:48:24 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A1=A8=E5=8D=95=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/form-input/date-group.vue | 2 +-
.../components/form-input/form-input.vue | 40 ++++++++++++++-----
pages/form-input/form-preview.vue | 2 +-
.../plugins/video/components/comment-info.vue | 6 +--
pages/plugins/video/detail/detail.vue | 9 ++++-
5 files changed, 41 insertions(+), 18 deletions(-)
diff --git a/pages/form-input/components/form-input/date-group.vue b/pages/form-input/components/form-input/date-group.vue
index 4a7e5e2f..4d08fab4 100644
--- a/pages/form-input/components/form-input/date-group.vue
+++ b/pages/form-input/components/form-input/date-group.vue
@@ -5,7 +5,7 @@
{{ com_data.start_placeholder }}
- -
+
{{ com_data.end_placeholder }}
diff --git a/pages/form-input/components/form-input/form-input.vue b/pages/form-input/components/form-input/form-input.vue
index 1c10de2e..06e08436 100644
--- a/pages/form-input/components/form-input/form-input.vue
+++ b/pages/form-input/components/form-input/form-input.vue
@@ -17,15 +17,20 @@
-
-
-
+
+
+
-
- {{ form_name }}
-
-
-
+
+
+
+
+
+ {{ form_name }}
+
+
+
+
@@ -70,6 +75,10 @@ export default {
type: [String, Number],
default: 0,
},
+ propIsMask: {
+ type: Boolean,
+ default: false,
+ },
},
data() {
return {
@@ -135,7 +144,9 @@ export default {
* 点击提交按钮触发方法
*/
on_submit_event() {
- this.$refs.componentForm.on_submit_event();
+ if (!this.propIsMask) {
+ this.$refs.componentForm.on_submit_event();
+ }
},
/*
* 表单校验完成之后返回的数据内容
@@ -197,6 +208,7 @@ export default {
.save_draft_title {
min-width: 180rpx;
font-size: 24rpx;
+ margin: 0 20rpx 0 0;
}
.submit_title {
text-align: center;
@@ -204,7 +216,6 @@ export default {
color: #fff;
border-radius: 40rpx;
font-size: 32rpx;
- margin: 0 0 0 20rpx;
}
}
.data-list {
@@ -226,4 +237,13 @@ export default {
overflow-x: auto;
scroll-behavior: smooth; /* 使滚动更加平滑 */
}
+.scoll-mask {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: transparent;
+ z-index: 999;
+}
\ No newline at end of file
diff --git a/pages/form-input/form-preview.vue b/pages/form-input/form-preview.vue
index 0023bcbb..52592ddd 100644
--- a/pages/form-input/form-preview.vue
+++ b/pages/form-input/form-preview.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/pages/plugins/video/components/comment-info.vue b/pages/plugins/video/components/comment-info.vue
index f6525803..019c8c66 100644
--- a/pages/plugins/video/components/comment-info.vue
+++ b/pages/plugins/video/components/comment-info.vue
@@ -33,10 +33,8 @@
default: '',
},
propSubId: {
- type: Object,
- default: () => {
- return {};
- },
+ type: [String, Number],
+ default: '',
},
propReplyContent: {
type: String,
diff --git a/pages/plugins/video/detail/detail.vue b/pages/plugins/video/detail/detail.vue
index f2acde18..b8824848 100644
--- a/pages/plugins/video/detail/detail.vue
+++ b/pages/plugins/video/detail/detail.vue
@@ -60,7 +60,7 @@
@@ -433,7 +433,12 @@
},
// 主评论回复
comment_reply(id) {
-
+ const index = this.active_comments.findIndex(item => item.id === id);
+ if (index >= 0) {
+ const data = this.active_comments[index];
+ this.input_placeholder = `回复 ${data.userNick};`;
+
+ }
},
// 主评论点赞
comment_like(id) {