zyejMAll-mobile/pages/mulu/mulu.vue

44 lines
842 B
Vue

<template>
<view>
<view class="ccclass">
<detail-content-card
class="detail-content-selector"
:content="state.model.content"
/>
</view>
</view>
</template>
<script setup>
import { onLoad, onPageScroll } from '@dcloudio/uni-app';
import { ref, reactive, unref, createApp } from 'vue';
import AddressApi from '../../sheep/api/member/address';
import detailContentCard from './detail-content-card.vue';
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>