This commit is contained in:
2025-11-21 01:40:07 +08:00
parent ff026c6f32
commit 6ec389ff41
2718 changed files with 0 additions and 592114 deletions
+56
View File
@@ -0,0 +1,56 @@
<template>
<view @click="toGroupCard" class="group_item">
<my-avatar :src="groupInfo.faceURL" :isGroup="true" size="42" />
<view class="group_info">
<text class="group_name">{{ groupInfo.groupName }}</text>
<view class="group_details">
<text>{{ `${groupInfo.memberCount}` }}</text>
</view>
</view>
</view>
</template>
<script>
import MyAvatar from "@/components/MyAvatar/index.vue";
export default {
name: "",
components: {
MyAvatar,
},
props: {
groupInfo: Object,
},
data() {
return {};
},
methods: {
toGroupCard() {
uni.navigateTo({
url: `/pages/common/groupCard/index?sourceID=${this.groupInfo.groupID}`,
});
},
},
};
</script>
<style lang="scss" scoped>
.group_item {
@include vCenterBox();
padding: 24rpx 44rpx;
.group_info {
margin-left: 24rpx;
.group_name {
@include nomalEllipsis() ;
max-width: 400rpx;
}
.group_details {
font-size: 28rpx;
color: #999;
margin-top: 8rpx;
}
}
}
</style>