<template>
	<view class="view_x_case">
		<view class="tit">
			<view class="">
				<slot name="title"></slot>
			</view>
			<view class="">
				<slot name="lookMore"></slot>
			</view>
		</view>
		
		<!-- 首页精选活动类 -->
		<scroll-view class="scroll-view_H" scroll-x="true" >
			<slot name="activeBlock"></slot>
		</scroll-view>
		
		<!-- 首页教研室活动类 -->
		<!-- <scroll-view class="scroll-view_y" scroll-y="true"> -->
			<slot name="teaching"></slot>
		<!-- </scroll-view> -->
	</view>
</template>

<script>
	export default {
		name:"view_x_case",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.view_x_case{
		width: 750rpx;
		background-color: #fff;
		margin-top: 10px;
		padding: 40rpx 0;
		padding-left: 25rpx;
		.tit{
			margin-bottom: 15px;
			display: flex;
			justify-content: space-between;
			padding-right: 25rpx;
		}
		.scroll-view_H {
			white-space: nowrap;
		}
		.scroll-view_y{
			// padding-right: 25rpx;
		}
	}
</style>