From d72daf3a2053d27c8884741afdc4c7d56c10b900 Mon Sep 17 00:00:00 2001 From: "Mr.jiang" <714156421@qq.com> Date: Tue, 23 Jul 2024 15:42:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/XJ-comment/componets/common.vue | 41 +- components/XJ-comment/index.vue | 841 +++++----- .../douyin-scrollview/douyin-scrollview.nvue | 1487 ----------------- pages.json | 1 + pages/index/index.vue | 23 +- pages/videoCircle/index - 副本 (2).vue | 756 --------- pages/videoCircle/index.vue | 249 ++- uni_modules/uni-easyinput/changelog.md | 115 ++ .../components/uni-easyinput/common.js | 54 + .../uni-easyinput/uni-easyinput.vue | 676 ++++++++ uni_modules/uni-easyinput/package.json | 88 + uni_modules/uni-easyinput/readme.md | 11 + uni_modules/uni-tag/changelog.md | 23 + .../uni-tag/components/uni-tag/uni-tag.vue | 252 +++ uni_modules/uni-tag/package.json | 84 + uni_modules/uni-tag/readme.md | 13 + 16 files changed, 2023 insertions(+), 2691 deletions(-) delete mode 100644 components/douyin-scrollview/douyin-scrollview.nvue delete mode 100644 pages/videoCircle/index - 副本 (2).vue create mode 100644 uni_modules/uni-easyinput/changelog.md create mode 100644 uni_modules/uni-easyinput/components/uni-easyinput/common.js create mode 100644 uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue create mode 100644 uni_modules/uni-easyinput/package.json create mode 100644 uni_modules/uni-easyinput/readme.md create mode 100644 uni_modules/uni-tag/changelog.md create mode 100644 uni_modules/uni-tag/components/uni-tag/uni-tag.vue create mode 100644 uni_modules/uni-tag/package.json create mode 100644 uni_modules/uni-tag/readme.md diff --git a/components/XJ-comment/componets/common.vue b/components/XJ-comment/componets/common.vue index 65b97c4..b2e327b 100644 --- a/components/XJ-comment/componets/common.vue +++ b/components/XJ-comment/componets/common.vue @@ -3,7 +3,7 @@ - - {{ data.user_name }} - {{ cReplyName }} + /> --> + + {{ data.user_name }} + {{ data.create_time }} + + + - + {{ c_content }} - ...展开 + > --> - {{ data.create_time }} - {{ data.create_time }} --> + @@ -86,9 +90,6 @@ export default { : this.data.like_count; } }, - mounted() { - console.log("回复名字为:" ,this.data); - }, methods: { // 展开评论 expandContentFun() { @@ -126,6 +127,13 @@ export default { text-overflow: ellipsis; //溢出省略号显示 } //////////////////////// +.top_left_time{ + display: flex; + flex-direction: row; + align-items: baseline; + justify-content: space-between; + width: 100%; +} .comment_item { font-size: 28rpx; .top { @@ -135,6 +143,7 @@ export default { display: flex; align-items: center; overflow: hidden; + width: 100%; .user_avatar { width: 68rpx; height: 68rpx; @@ -163,9 +172,9 @@ export default { .content { padding: 10rpx; margin-left: 70rpx; - color: $uni-text-color; + color: #fff; &:active { - background-color: $uni-bg-color-hover; + // background-color: $uni-bg-color-hover; } .shrink { padding: 20rpx 20rpx 20rpx 0rpx; diff --git a/components/XJ-comment/index.vue b/components/XJ-comment/index.vue index 8cab6ce..4b022cb 100644 --- a/components/XJ-comment/index.vue +++ b/components/XJ-comment/index.vue @@ -1,400 +1,473 @@ + //////////////////////// + .scroll-Y { + height: 940rpx; + } + .scroll-view_H { + white-space: nowrap; + width: 100%; + } + .scroll-view-item { + height: 300rpx; + line-height: 300rpx; + text-align: center; + font-size: 36rpx; + } + .scroll-view-item_H { + display: inline-block; + width: 100%; + height: 300rpx; + line-height: 300rpx; + text-align: center; + font-size: 36rpx; + } + // .template-view { + // height: 430px; + // overflow: auto; + // } + .c_total { + padding: 20rpx 30rpx 0 30rpx; + font-size: 28rpx; + color: #fff; + } + + .empty_box { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + padding: 150rpx 10rpx; + font-size: 28rpx; + + .txt { + color: $uni-text-color-disable; + } + + .click { + color: $uni-color-primary; + } + } + + .c_comment { + padding: 20rpx 30rpx; + font-size: 28rpx; + + .children_item { + padding: 20rpx 30rpx; + margin-top: 10rpx; + margin-left: 80rpx; + + // background-color: $uni-bg-color-grey; + .expand_reply { + margin-top: 10rpx; + margin-left: 80rpx; + + .txt { + font-weight: 600; + color: $uni-color-primary; + } + } + } + } + + .c_popup_box { + background-color: #fff; + + .reply_text { + @extend .center; + padding: 20rpx 20rpx 0 20rpx; + font-size: 26rpx; + + .text_aid { + color: $uni-text-color-grey; + margin-right: 5rpx; + } + + .text_main {} + } + + .content { + @extend .center; + + .text_area { + flex: 1; + padding: 20rpx; + } + + .send_btn { + @extend .center; + justify-content: center; + width: 120rpx; + height: 60rpx; + border-radius: 20rpx; + font-size: 28rpx; + color: #fff; + background-color: $uni-color-primary; + margin-right: 20rpx; + } + } + } + \ No newline at end of file diff --git a/components/douyin-scrollview/douyin-scrollview.nvue b/components/douyin-scrollview/douyin-scrollview.nvue deleted file mode 100644 index daa232f..0000000 --- a/components/douyin-scrollview/douyin-scrollview.nvue +++ /dev/null @@ -1,1487 +0,0 @@ - - - - - diff --git a/pages.json b/pages.json index b6f7613..3fa73ff 100644 --- a/pages.json +++ b/pages.json @@ -47,6 +47,7 @@ "style": { "navigationBarTitleText": "视频圈", "enablePullDownRefresh": true, + "onReachBottomDistance":200, "navigationStyle": "custom", "app-plus": { "titleNView": false diff --git a/pages/index/index.vue b/pages/index/index.vue index 8098bc3..4c7fca3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -191,7 +191,7 @@ -