zyejMAll-mobile/pages/mulu/mulu.vue

44 lines
842 B
Vue
Raw Normal View History

2024-08-08 10:22:22 +08:00
<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';
2024-08-08 10:22:22 +08:00
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>