Files
jjx-wap/pages/self/list.vue
T
2026-10-08 18:34:09 +08:00

49 lines
1.6 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<view class="wrap">
<!-- 吸顶 -->
<u-sticky offset-top="0" customNavHeight="0">
<!-- 顶部 -->
<uititle title="我的询价"></uititle>
</u-sticky>
<view class="p-30">
<view v-for="(item, index) in list" :key="index" class="card mb-20 text-25">
<view class="mb-15">联系人:{{ item.name }}</view>
<view class="mb-15">询价区域:{{ item.province.name }}{{ item.city.name }}</view>
<view class="mb-15">联系方式:{{ item.phone }}</view>
<view class="mb-15">企业名称:{{ item.company }}</view>
<view class="mb-15">询价日期:{{ item._add_time_str }}</view>
<template v-if="item.files">
<view class="mb-15">附件列表</view>
<file-type v-for="(item0, index0) in item.files" :key="index0" :item="item0"/>
</template>
</view>
</view>
</view>
</template>
<script>
import uititle from "@/components/common/title.vue";
import FileType from "@/components/file-type/file-type.vue";
export default {
name: "list",
components: {FileType, uititle},
data() {
return {
list: []
}
},
methods: {
async getList() {
const {rows} = await vk.callFunction({
url: 'client/selfSupport/kh/getList',
})
this.list = rows
this.showList = true
},
},
onLoad() {
this.getList()
}
}
</script>