Branch_csl #1
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}}
|
{{item.title}}
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom">
|
<view class="bottom">
|
||||||
{{item.createTime}}
|
{{ sheep.$helper.timeFormat(item.createTime, 'yyyy-mm-dd hh:MM:ss') }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -75,6 +75,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import sheep from '@/sheep';
|
||||||
import { ref, reactive, unref } from 'vue';
|
import { ref, reactive, unref } from 'vue';
|
||||||
import AddressApi from '@/sheep/api/member/address';
|
import AddressApi from '@/sheep/api/member/address';
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
@ -146,6 +147,11 @@
|
|||||||
flex:1;
|
flex:1;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
.bottom{
|
||||||
|
color: #999;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user