装修新闻列表页面布局调整
This commit is contained in:
parent
bab2d48441
commit
5f13c4efae
42
pages/mulu/mulu.vue
Normal file
42
pages/mulu/mulu.vue
Normal file
@ -0,0 +1,42 @@
|
||||
<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>
|
@ -57,7 +57,7 @@
|
||||
{{item.title}}
|
||||
</view>
|
||||
<view class="bottom">
|
||||
{{item.createTime}}
|
||||
{{ sheep.$helper.timeFormat(item.createTime, 'yyyy-mm-dd hh:MM:ss') }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -75,6 +75,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import sheep from '@/sheep';
|
||||
import { ref, reactive, unref } from 'vue';
|
||||
import AddressApi from '@/sheep/api/member/address';
|
||||
const state = reactive({
|
||||
@ -146,6 +147,11 @@
|
||||
flex:1;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
.bottom{
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user