<script setup>
	/**
	 * name：
	 * user：sa0ChunLuyu
	 * date：2024年9月11日 19:24:50
	 */
	import {
		ref,
		onMounted
	} from 'vue'
	import {
		$api,
		$response
	} from '@/api'
	import {
		onShow
	} from '@dcloudio/uni-app'
	import {
		useStore
	} from '@/store'
	const $store = useStore()

	const mountedAction = () => {

	}

	const QuestionLogDelete = async () => {
		const response = await $api('QuestionLogDelete', {
			id: $props.id,
			person: $store.user.person_id,
		})
		$response(response, () => {
			uni.redirectTo({
				url: `/pages/main/question/list/list`
			})
		})
	}
	const delete_show = ref(false)
	const deleteShow = () => {
		delete_show.value = true
	}

	defineExpose({
		deleteShow
	})

	onMounted(() => {
		mountedAction()
	})
</script>
<template>
	<view class="delete_dialog_wrapper">
		<view class="delete_box_wrapper"></view>
	</view>
</template>
<style scoped>
	.delete_dialog_wrapper {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background: #00000020;
	}
</style>