<template>
	<view class="content">
		<view v-for="(item, index) in list" :key="index" class="order-item flex">
			<view class="title-box flex_item">
				<view class="title-avatar">
					<image src="../../static/icon/sh-log.png"></image>
				</view>
				<view class="list_tpl">
					<view class="title">
						<view class="title-name ">我的好强儿</view>
					</view>
					<view class="time">
						<text>2020-12-12</text>
					</view>
				</view>
				<view class="money">
					<text>未通过</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: 10
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.content {
		background-color: #fff;
	}

	.sq-item {
		height: 118rpx;
		border-top: 1px solid #F0F0F0;
		width: 690rpx;
		margin: auto;

		&:first-of-type {
			border-top: none;
		}

	}

	.order-item {
		padding: 20rpx 30rpx;
		line-height: 1.5;
		height: 118rpx;
		border-top: 1px solid #F0F0F0;
		width: 690rpx;
		margin: auto;

		&:first-of-type {
			border-top: none;
		}

		.title-box {
			width: 100%;

			.title-avatar {
				flex-shrink: 0;
				width: 55rpx;
				height: 55rpx;
				margin-right: 25rpx;
				border-radius: 100%;

				image {
					width: 100%;
					height: 100%;
					border-radius: 100%;
				}
			}

			.list_tpl {
				width: 85%;

				.title {
					display: flex;
					justify-content: flex-start;
					font-size: $font-lg;
					color: $font-color-base;
					overflow: hidden; //超出的文本隐藏
					text-overflow: ellipsis; //溢出用省略号显示
					white-space: nowrap;
					line-height: 1;
					text-align: center;

					.title-name {
						max-width: 40%;
					}

					.dl {
						margin-left: 10rpx;
						width: 93rpx;
						height: 32rpx;
						border-radius: 16rpx;

						image {
							width: 93rpx;
							height: 32rpx;
							border-radius: 16rpx;
						}
					}

					.class {
						display: inline-block;
						margin-left: 10rpx;
						padding: 6rpx;
						text-align: center;
						border: 1px solid #2e58ff;
						border-radius: 16rpx;
						font-size: 20rpx;
						font-family: PingFang SC;
						font-weight: 500;
						color: #2e58ff;
					}
				}

				.time {
					font-size: $font-base;
					color: $font-color-light;
				}
			}
		}

		.money {
			width: 50%;
			text-align: right;
			color: #333;
			font-size: $font-lg;
		}
	}
</style>
