|
@@ -43,14 +43,15 @@
|
|
|
<div class="head coloumn"><span>船舶名称</span><span>货物名称</span><span>起运港</span><span>目的港</span><span>申报数</span></div>
|
|
|
<el-carousel
|
|
|
v-if="tableData_goods_len>0"
|
|
|
+ style="height:25vh"
|
|
|
trigger="click"
|
|
|
indicator-position="outside"
|
|
|
arrow="never"
|
|
|
:autoplay="false"
|
|
|
>
|
|
|
- <el-carousel-item v-for="page in tableData_goods_len" :key="page">
|
|
|
+ <el-carousel-item v-for="page in tableData_goods_len" :key="page">
|
|
|
<ul class="tc-list">
|
|
|
- <li v-for="item,index in tableData_goods.value.slice((page-1)*3, (page-1)*3+3)" class="coloumn">
|
|
|
+ <li v-for="item,index in tableData_goods.value.slice((page-1)*6, (page-1)*6+6)" class="coloumn">
|
|
|
<el-tooltip v-for="item2 in item" effect="dark" :content="item2.toString()" placement="top">
|
|
|
<span>{{item2}}</span>
|
|
|
</el-tooltip>
|
|
@@ -270,7 +271,7 @@ function getQydt(id) {
|
|
|
},{immediate:true})
|
|
|
|
|
|
const tableData_goods_len = computed(() => {
|
|
|
- return Math.ceil(tableData_goods.value.length/3)
|
|
|
+ return Math.ceil(tableData_goods.value.length/6)
|
|
|
})
|
|
|
|
|
|
|