From b4c9ae1b67d3c34bf49b3612812dfee4f5a88452 Mon Sep 17 00:00:00 2001 From: cansnow Date: Thu, 27 Nov 2025 07:48:42 +0800 Subject: [PATCH] 8 --- components/MyAvatar/index.vue | 164 ++- components/UserItem/index.vue | 251 +++-- components/videoPlayer.vue | 71 ++ .../components/ConversationItem.vue | 7 +- .../components/GroupMemberRow.vue | 294 +++--- pages/conversation/groupSettings/index.vue | 6 +- pages/profile/index/index.vue | 149 +-- .../workbench/friend-circle/friend-circle.vue | 978 +++++++++++++++++- .../friend-circle/releaseFriendCircle.vue | 518 ++++++++++ 9 files changed, 1952 insertions(+), 486 deletions(-) create mode 100644 components/videoPlayer.vue create mode 100644 pages/workbench/friend-circle/releaseFriendCircle.vue diff --git a/components/MyAvatar/index.vue b/components/MyAvatar/index.vue index 486a94f..093647c 100644 --- a/components/MyAvatar/index.vue +++ b/components/MyAvatar/index.vue @@ -1,94 +1,84 @@ - + \ No newline at end of file diff --git a/components/UserItem/index.vue b/components/UserItem/index.vue index f671fbe..6b3d365 100644 --- a/components/UserItem/index.vue +++ b/components/UserItem/index.vue @@ -1,149 +1,138 @@ + .u-list-item:last-child { + .bottom_line { + height: 0; + } + } + \ No newline at end of file diff --git a/components/videoPlayer.vue b/components/videoPlayer.vue new file mode 100644 index 0000000..fcbd6ec --- /dev/null +++ b/components/videoPlayer.vue @@ -0,0 +1,71 @@ + + + + + diff --git a/pages/conversation/conversationList/components/ConversationItem.vue b/pages/conversation/conversationList/components/ConversationItem.vue index 74a1799..e06a7d4 100644 --- a/pages/conversation/conversationList/components/ConversationItem.vue +++ b/pages/conversation/conversationList/components/ConversationItem.vue @@ -38,6 +38,9 @@ default: () => {}, }, }, + created() { + console.log(this.source) + }, computed: { latestMessage() { if (this.source.latestMsg === "") return ""; @@ -65,7 +68,7 @@ }, methods: { clickConversationItem() { - console.log(this.source); + //console.log(this.source); prepareConversationState(this.source); }, }, @@ -128,7 +131,7 @@ .lastest_msg_wrap { display: flex; font-size: 24rpx; - margin-top: 10rpx; + margin: 10rpx 0; color: #666; .lastest_msg_prefix { diff --git a/pages/conversation/groupSettings/components/GroupMemberRow.vue b/pages/conversation/groupSettings/components/GroupMemberRow.vue index 1e1bd71..ff11aaf 100644 --- a/pages/conversation/groupSettings/components/GroupMemberRow.vue +++ b/pages/conversation/groupSettings/components/GroupMemberRow.vue @@ -1,171 +1,165 @@ + .more_right { + @include vCenterBox(); + } + } + } + \ No newline at end of file diff --git a/pages/conversation/groupSettings/index.vue b/pages/conversation/groupSettings/index.vue index 3bdd919..e8f59ef 100644 --- a/pages/conversation/groupSettings/index.vue +++ b/pages/conversation/groupSettings/index.vue @@ -18,11 +18,7 @@ - {{ storeCurrentConversation.showName }}({{ - storeCurrentGroup.memberCount - }}) + {{ storeCurrentConversation.showName }}({{storeCurrentGroup.memberCount}}) - + + - - + + - - {{ selfInfo.nickname }} - - {{ selfInfo.userID }} - + + {{ selfInfo.nickname }} + + {{ selfInfo.userID }} + + + + + + + - - - - - - - - - - - - {{ item.title }} - - - + + + + + + + + @@ -37,27 +36,14 @@ \ No newline at end of file diff --git a/pages/workbench/friend-circle/friend-circle.vue b/pages/workbench/friend-circle/friend-circle.vue index 87b6899..977d87b 100644 --- a/pages/workbench/friend-circle/friend-circle.vue +++ b/pages/workbench/friend-circle/friend-circle.vue @@ -1,22 +1,986 @@ - \ No newline at end of file + .comment-hover-class { + background-color: #FFFFFF; + } + + image { + will-change: transform; + } + + .content { + .scrollView{ + ::-webkit-scrollbar{ + display: none; + width: 0; + height: 0; + } + } + &-imgbox { + position: relative; + + .bgimg { + width: 100%; + height: 560rpx; + background-color: #474747; + } + + .headimg { + //width: 110rpx; + //height: 110rpx; + border-radius: 6rpx; + position: absolute; + right: 30rpx; + bottom: -20rpx; + } + + .nickname { + color: #ffffff; + position: absolute; + right: 170rpx; + bottom: 20rpx; + font-size: 30rpx; + font-weight: bold; + } + } + + &-circle { + &-box { + padding: 18rpx 30rpx; + border-bottom: 1rpx solid #f2eeee; + display: flex; + flex-direction: row; + justify-content: flex-start; + align-items: flex-start; + + .headimg { + width: 80rpx; + height: 80rpx; + + .img { + width: 100%; + height: 100%; + border-radius: 10rpx; + } + } + + .content { + flex: 1; + padding-left: 18rpx; + font-size: 32rpx; + + &-name { + color: #36648b; + font-weight: bold; + font-size: 32rpx; + } + + &-desc { + color: #000000; + padding-top: 4rpx; + //line-height: 36rpx; + font-size: 32rpx; + } + + &-img { + margin-top: 10rpx; + + .img-1 { + will-change: transform; + width: 280rpx; + height: auto; + max-height: 400rpx; + } + + &-more { + display: flex; + flex-wrap: wrap; + .img-more { + display: block; + width: 160rpx; + height: 160rpx; + margin: 4rpx; + } + + .img-3 { + margin: 4rpx 4rpx 4rpx 0; + } + } + } + + .msg-box { + width: 100%; + background-color: #FFF; + margin-top: 15rpx; + border-radius: 4rpx; + + .thumbinfo { + // border-bottom: 1rpx solid gray; + padding: 6rpx; + display: flex; + align-items: center; + flex-wrap: wrap; + + &-icon { + width: 28rpx; + height: 28rpx; + line-height: 28rpx; + margin-right: 15rpx; + text-align: center; + vertical-align: middle; + padding-left: 10rpx; + } + + &-name { + font-size: 28rpx; + color: #36648b; + } + } + + .comment { + padding: 6rpx 8rpx; + color: $uni-text-color; + font-size: 28rpx; + + &-box { + padding: 4rpx 0; + + &-name { + color: #36648b; + + .callback { + color: $uni-text-color; + } + } + + &-content { + word-break: break-all; + } + } + } + } + } + + .relavivetime { + display: flex; + justify-content: space-between; + align-items: center; + font-size: 26rpx; + + .time { + color: $uni-text-color-grey; + } + + .icon-box { + display: flex; + align-items: center; + + &-item { + //background-color: #F8F8F8; + padding: 4rpx 12rpx; + border-radius: 6rpx; + + &.thumb { + margin-right: 10rpx; + } + } + + .img { + width: 34rpx; + height: 34rpx; + } + } + } + } + } + + .input-box { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + box-sizing: content-box; + z-index: 999; + background-color: #eaeaea; + + // margin-bottom: 0rpx; + // margin-bottom: constant(safe-area-inset-bottom); + // margin-bottom: env(safe-area-inset-bottom); + &-flex { + display: flex; + justify-content: flex-start; + align-items: center; + flex-wrap: nowrap; + flex-direction: row; + padding: 0 20rpx; + height: 100rpx; + + &-grow { + flex-grow: 1; + + .content { + background-color: #fff; + height: 60rpx; + padding: 0 20rpx; + border-radius: 12rpx; + font-size: 28rpx; + caret-color: $uni-color-success; + } + } + + .btn { + margin-left: 20rpx; + //background-color: $u-type-success; + border: none; + } + } + } + + .signature { + display: flex; + justify-content: flex-end; + font-size: 24rpx; + color: gray; + padding: 35rpx 30rpx 35rpx 100rpx; + text-align: right; + } + + .slot-wrap { + display: flex; + align-items: center; + padding: 0 30rpx; + } + + .slot-btn { + width: 200rpx; + height: 200rpx; + display: flex; + justify-content: center; + align-items: center; + background: rgb(244, 245, 246); + border-radius: 10rpx; + border:1rpx solid $u-border-color + } + } + diff --git a/pages/workbench/friend-circle/releaseFriendCircle.vue b/pages/workbench/friend-circle/releaseFriendCircle.vue new file mode 100644 index 0000000..5fc9e9a --- /dev/null +++ b/pages/workbench/friend-circle/releaseFriendCircle.vue @@ -0,0 +1,518 @@ +