<template>
	<view>
		<!-- 页面标题内容 -->
		<view class="flex_row" style="margin: 140rpx 40rpx 0 40rpx;">
			<view class="flex_cloumn">
				<view class="flex_baseline">
					<view class="content_title" style="font-size: 60rpx;">{{childInfo.semester.split('学年')[0]}}</view>
					<view class="content_title" style="margin-left: 20rpx;font-size: 38rpx;">学年</view>
					<view class="content_title" style="font-size: 60rpx;margin-left: 20rpx;">
						{{childInfo.semester.split('学年')[1].split('学期')[0]}}
					</view>
					<view class="content_title" style="margin-left: 20rpx;font-size: 38rpx;">学期</view>

				</view>

				<view class="flex_baseline">

					<view class="tag" style="margin-left: 0;">
						<view class="tag_text">{{childInfo.school}}</view>
					</view>
					<view class="tag">
						<view class="tag_text">{{childInfo.class}}</view>
					</view>
					<view class="tag">
						<view class="tag_text">{{childInfo.name}}同学</view>
					</view>

				</view>
			</view>
			<!-- <image class="avatar" :src="childInfo.avatar"></image> -->
		</view>

	</view>
</template>

<script>
	import {
		mapState,
		mapMutations
	} from 'vuex'
	export default {
		name: "top-semester",
		computed: {
			...mapState('m_children', ['childInfo']),
		},
		data() {
			return {

			};
		},
		onLoad() {},
		methods: {

		}
	}
</script>

<style lang="scss">
	.flex_cloumn {
		height: 170rpx;
		justify-content: space-around;

		.content_title {
			font-size: 70rpx;
			font-family: YSfont;
			color: #FFF;
			z-index: 2;
			text-shadow: 1px -1px 0px #c0c0c0, 2px -2px 0px #b0b0b0, 1px -1px 0px #a0a0a0, 2px -2px 0px #909090;
		}

		.content_subtitle {
			font-size: 50rpx;
			font-family: YSfont;
			color: #FFF;
			z-index: 2;
		}
	}

	.tag {
		margin-left: 20rpx;
		border-radius: 6rpx;
		border: 2px solid #FFF;
		padding: 4rpx 10rpx;
		z-index: 9;

		.tag_text {
			font-size: 30rpx;
			font-family: YSfont;
			color: #FFF;
			z-index: 9;
		}
	}
</style>
