<template>
	<view class="negative-wrapper">
		<negative :data="data" :loading="loading" />
	</view>
</template>

<script>
	import { getNegative } from '@/api/negative'
	
	let _this;
	export default {
		data() {
			return {
				data: {},
				loading: true
			}
		},
		onLoad() {
			_this = this;
			uni.setNavigationBarTitle({
				title: `问题编号 ` + this.$page.options.id
			})
			
			getNegative(this.$page.options.id).then(data => {
				this.data = data
				this.loading = false
			})
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.negative-wrapper {
		background-color: #f5f5f5;
		min-height: 100vh;
		box-sizing: border-box;
	}
</style>