<template>
	<view class="user">
		<view class="user-bd">
			<view class="li">
				<view class="l">
					<image :src="$picUrl+'/static/news/icon-message-01.png'"></image>
				</view>
				<view class="m">
					<view class="n">在线客服</view>
					<view class="t">
						<view class="p">2023-02-12 10:00</view>
					</view>
				</view>
			</view>
			<view class="li">
				<view class="l">
					<image :src="$picUrl+'/static/news/icon-message-02.png'"></image>
				</view>
				<view class="m">
					<view class="n">订单动态<text>11:23</text></view>
					<view class="t">
						<view class="p">您购买的商品商家已发货，请...</view>
						<view class="num">18</view>
					</view>
				</view>
				<view class="r">
					
				</view>
			</view>
			<view class="li">
				<view class="l">
					<image :src="$picUrl+'/static/news/icon-message-02.png'"></image>
				</view>
				<view class="m">
					<view class="n">活动通知<text>13:23</text></view>
					<view class="t">
						<view class="p">限时秒杀活动开始，赶快...</view>
					</view>
				</view>
				
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.user{
	overflow: hidden;
	height: 100vh;
	&-bd{
		padding: 0 0 0 60rpx;;
		background-color: #FFFFFF;
		overflow: hidden;
		margin-top: 20rpx;
		.li{
			display: flex;
			align-items: flex-start;
			justify-content: space-between;
			padding: 35rpx 0;
			border-top: 1px solid #F2F2F2;
			&:first-child{
				border-top-color: #FFFFFF;
			}
			.l{
				width: 110rpx;
				height: 110rpx;
				margin-right: 25rpx;
				image{
					width: 100%;
					height: 100%;
					border-radius: 50%;
				}
			}
			.m{
				flex: 1;
				margin-right: 20rpx;
				.n{
					font-size: 28rpx;
					font-weight: 400;
					line-height: 50rpx;
					color: #545454;
					display: flex;
					align-items: center;
					justify-content: space-between;
					text{
						color: #BABABA;
					}
				}
				.t{
					margin-top: 10rpx;
					font-size: 28rpx;
					font-weight: 400;
					color: #BABABA;
					display: flex;
					align-items: center;
					justify-content: space-between;
					.p{
						max-width: 400rpx;
						text-overflow: ellipsis;
						white-space: nowrap;
						overflow: hidden;
					}
					.num{
						width: 66rpx;
						height: 38rpx;
						background: #FF3126;
						border-radius: 38rpx;
						text-align: center;
						line-height: 38rpx;
						font-size: 26rpx;
						color: #FFFFFF;
					}
				}
			}
			
		}
	}
}
</style>
