<template>
	<uni-collapse class="fwnr-collapse-box" @change="handleChange">
		<uni-collapse-item title="服务内容" :open="true">
			
			<jiawuItemVue></jiawuItemVue>
			<haiziNianlingVue @change="onChange"></haiziNianlingVue>
			
			
			
		</uni-collapse-item>
	</uni-collapse>
</template>

<script setup>
	import jiawuItemVue from './jiawuItem.vue';
	import haiziNianlingVue from './haiziNianling.vue';
	import {ref} from "vue"

	const emits = defineEmits(['change'])

	const collapse= ref(null)


	function handleChange() {
		emits('change')
	}

	function onChange() {
		setTimeout(() => {
			collapse.value && collapse.value.resize();
			emits('change')
		}, 300)
	}
</script>


<style>
</style>