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 @@
-
- 评论 {{ tableTotal }}
-
-
-
-
-
-
-
- 这里是一片荒草地,
- newCommentFun()">说点什么...
-
-
-
-
-
+ 发表新评论
+
+
+
+
+
+ sendClick()">发送
+
+
+
+
+
+
+
+
+ ////////////////////////
+ .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 @@
-
-
-
-
- {{pinlunNum}}条评论
-
-
- ~ 快来评论吧 ~
-
-
-
-
-
-
-
-
-
- {{list.username}}
-
-
- 作者
-
-
-
-
-
- {{lili.text}}
-
-
-
-
-
-
-
- {{list.time}}
- 回复
- 删除
-
-
- {{list.like.length}}
-
-
-
-
-
-
-
-
-
-
-
- {{li.huifuUser}}
-
-
- 作者
-
-
-
-
-
-
- {{li.gethuifuUser}}
-
-
- 作者
-
-
-
-
-
-
- {{lili.text}}
-
-
-
-
-
-
-
- {{li.time}}
- 回复
- 删除
-
-
- {{li.like.length}}
-
-
-
-
-
-
-
- {{list.sonpinlunText}}
-
-
-
-
-
- |
-
-
-
-
-
- 有爱评论,说点好听的~
- 有爱评论,说点好听的~
-
-
-
-
-
-
- 有爱评论,说点好听的~
- 有爱评论,说点好听的~
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 清空
-
-
-
-
-
-
- ~ 您还没使用过图片 ~
-
-
-
-
-
-
-
-
- 最近使用
- 清空
-
-
-
-
-
-
-
-
-
- 全部表情
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 发送
-
-
- 发送
-
-
-
-
-
-
-
-
- 发送
-
-
- 发送
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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 @@
-
+