From b1336e3f7fbc43854b6e891578a1d7673ea8e6dd Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sun, 27 Feb 2022 23:35:17 +0800 Subject: [PATCH] 弹窗调整 --- src/components/mini/box12-comment.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/mini/box12-comment.vue b/src/components/mini/box12-comment.vue index c02960c..ae64ada 100644 --- a/src/components/mini/box12-comment.vue +++ b/src/components/mini/box12-comment.vue @@ -1,10 +1,10 @@ <template> <div class="myFriend"> - <replyBox></replyBox> + <replyBox ref="commentBoxId"></replyBox> <a-modal v-model="visible" title="回复Ta @xx" on-ok="handleOk" :bodyStyle="{'overflow':'overlay','maxHeight': '550px'}"> - <template slot="footer"> - <!-- <a-button key="reset" @click="reset" type="danger"> + <!-- <template slot="footer"> + <a-button key="reset" @click="reset" type="danger"> 擦掉重来 </a-button> <a-button key="back" @click="handleCancel"> @@ -12,8 +12,8 @@ </a-button> <a-button key="submit" type="primary" :loading="loading" @click="handleOk"> 完事<span style="font-size: 10px;">儿</span>.. - </a-button> --> - </template> + </a-button> + </template> --> <replyBox ref="replyBoxId"></replyBox> </a-modal> @@ -59,6 +59,7 @@ replyBox }, methods: { + handleOk(e) {}, loadMore() { this.commentListData[0].replyList.listData = this.commentListData[0].replyList.listData.concat(this .commentListData[0].replyList.listData) @@ -74,7 +75,7 @@ }, data() { return { - visible: false, + visible: true, commentListData: [{ userName: "bimo", userComment: "1+1=2?", @@ -104,7 +105,7 @@ replyUserName: "inleft", }] }, - },{ + }, { userName: "bimo", userComment: "1+1=2?", commentTime: "2022-02-22 22:22:22", -- Gitblit v1.9.1