<template>
	<view class="dashan">
		<view class="hd">
			<view class="a"><text>10</text>人</view>
			<view class="a">我的团队人数</view>
		</view>
		<view class="list">
			<view class="item" v-for="i in 5" :key="i">
				<view class="pic">
					<!-- 只有会员才可以看到 -->
					<image src="@/static/avatar.png"></image>
				</view>
				<view class="content">
					<view class="info">
						<view class="name">李同学</view>
						<view class="desc">ID：1568935688</view>
					</view>
					<view class="btns">2023-09-23</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods: {
			openSheet() {
				uni.showActionSheet({
					itemList: ["删除会话"],
					success: function (res) {
						console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
					},
				})
			}
		}
	}
</script>

<style scoped lang="scss">
page{
	background-color: #fff;
}
.dashan{
	padding: 0 25rpx;
	overflow: hidden;
	.hd{
		width: 702rpx;
		height: 190rpx;
		background: linear-gradient(90deg, #17150E, #373632);
		border-radius: 20rpx;
		margin-bottom: 20rpx;
		padding-top: 30rpx;
		box-sizing: border-box;
		.a{
			font-weight: 500;
			font-size: 30rpx;
			color: #E7D4B8;
			text-align: center;
			padding-top: 10rpx;
			text{
				font-weight: bold;
				font-size: 48rpx;
			}
		}
	}
	.item{
		display: flex;
		align-items: center;
		.pic{
			width: 90rpx;
			height: 90rpx;
			margin-right: 20rpx;
			position: relative;
			image{
				width: 100%;
				height: 100%;
				border-radius: 50%;
			}
		}
		.content{
			padding: 30rpx 0;
			flex: 1;
			border-bottom: 1px solid #EAEAEA;
			display: flex;
			align-items: end;
			justify-content: space-between;
			.info{
				.name{
					font-weight: 400;
					font-size: 30rpx;
					color: #222222;
					image{
						width: 95rpx;
						height: 30rpx;
						display: block;
					}
				}
				.desc{
					font-weight: 400;
					font-size: 24rpx;
					color: #AAAAAA;
					margin-top: 15rpx;
					max-width: 400rpx;
					text-overflow: ellipsis;
					white-space: nowrap;
					overflow: hidden;
				}
			}
			.btns{
				font-weight: 500;
				font-size: 24rpx;
				color: #AAAAAA;
			}
		}
	}
}
</style>
