<template>
	<view>
		<view style="margin-top: 380rpx;text-align: center;font-size: 50rpx;font-weight: bold;">
			答对{{success}},答错{{error}}
		</view>
		<view style="margin-top: 15rpx;text-align: center;font-size: 50rpx;font-weight: bold;">
			总共得分{{num}}
		</view>
		<view @click="back" style="background-color: #00bfa5;margin: auto;text-align: center;margin-top: 30rpx;border-radius: 50rpx;font-size: 42rpx;padding: 20rpx;">
			返回列表
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				error: '',
				success: '',
				num: ''
			}
		},
		onLoad(options) {
			if(options.error){
				this.error = options.error;
			}
			if(options.success){
				this.success = options.success;
			}
			if(options.num){
				this.num = options.num;
			}
		},
		methods: {
			back() {
				uni.navigateTo({
					url: '/pages-coach/coach/my/teaching_management'
				})
			}
		}
	}
</script>

<style>

</style>
