<template>
	<view>
		<view class="ccclass">
			<detail-content-card
			  class="detail-content-selector"
			  :content="state.model.content"
			/>
		</view>
	</view>
</template>

<script setup>
	import detailContentCard from '@/pages/goods/components/detail/detail-content-card.vue';
	import { onLoad, onPageScroll } from '@dcloudio/uni-app';
	import { ref, reactive, unref } from 'vue';
	import AddressApi from '@/sheep/api/member/address';
	const state = reactive({
	  model: [],
	});
	
	const ff = async (id) => {
		let { code, data } = await AddressApi.textListDetail(id);
		state.model = data; 
	}
	onLoad( (options) => {
		if (!options.id) {
		  return;
		}
		
		ff(options.id);
	} )
</script>

<style scoped lang="scss">
	.ccclass {
		width: 100%;
		background-color: white;
	}
	::v-deep .title, ::v-deep .card-header{
		display: none;
	}
</style>
