<template>
	<div :style="{backgroundColor:StandardAnswer == null?'':'#F2F6FC'}" style="padding: 20px;">
		<div style="font-size: 16px;">
			<span>{{(index+1)+". "}}{{getContent.TestContent}}</span><span style="color: #F56C6C;">（{{getContent.TestMark
}}分）</span>
		</div>
		<div style="padding-left: 20px;margin-top:20px">
			<el-radio-group v-model="StandardAnswer" >
				<el-radio :label="'正确'" ><span style="font-size: 16px;">正确</span></el-radio>
				<el-radio :label="'错误'" ><span style="font-size: 16px;">错误</span></el-radio>
			</el-radio-group>
		</div>
		<div style="color: #0000FF;margin-top: 20px;" v-if="show">
			标准答案：{{getContent.StandardAnswer}}
		</div>
	</div>
</template>

<script>
	export default {
		name:"Panduan",
		props: {
			content: { // 传入的地址
				type: Object,
				default:null,
			},
			index:{
				type:Number,
				default:null,
			},
			show:{
				type:Boolean,
				default:true
			}
		},
		data() {
			return {
				StandardAnswer:null,
			};
		},
		computed: {
			getContent(){
				
				return this.content
			}
		},
		mounted() {
			
		},
		methods: {
			
		},
	};
</script>

<style>
</style>