<template>

	<view class="block">

		<view class="item-container" @click="navRoseChart">
			<view class="analysis-name">
				<view class="t-icon t-icon-xtubiao-"></view>
				<text class="analysis-text">优劣科目分析</text>
			</view>
		</view>


		<view class="item-container" @click="navRadarChart">
			<view class="analysis-name">
				<view class="t-icon t-icon-xtubiao-3"></view>
				<text class="analysis-text">考试能力分析</text>
			</view>
		</view>


		<view class="item-container" @click="navArcbarChart">
			<view class="analysis-name">
				<view class="t-icon t-icon-xtubiao-6"></view>
				<text class="analysis-text">成绩占比分析</text>
			</view>
		</view>

	</view>


</template>

<script>
	export default {
		name: "analysis-module ",
		data() {
			return {

			};
		},
		methods: {
			//导航玫瑰图页面
			navRoseChart(e) {
				console.log(e);
				uni.navigateTo({
					url: "/gradepkg/rose-chart/rose-chart"
				})
			},
			//导航雷达图页面
			navRadarChart(e) {
				console.log(e);
				uni.navigateTo({
					url: "/gradepkg/radar-chart/radar-chart"
				})
			},
			//导航到进度条页面
			navArcbarChart(e) {
				console.log(e);
				uni.navigateTo({
					url: "/gradepkg/arcbar-chart/arcbar-chart"
				})
			},
		}
	}
</script>

<style lang="scss">
	.block {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 347rpx;
		height: 345rpx;

		.item-container {
			display: flex;
			align-items: center;
			border-radius: 16rpx;
			background-color: #FFFFFF;
			box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.05);
			width: 347rpx;
			height: 100rpx;

			.analysis-name {
				display: flex;
				align-items: center;
				justify-content: flex-start;
				width: 100%;
				margin: 20rpx 0rpx 20rpx 40rpx;

				.analysis-text {
					margin: 26rpx;
					font-size: 30rpx;
					font-weight: bold;
					color: #3B4144;
				}
			}
		}

	}
</style>
