1.完成能力集市:基础设施-会客厅,字数太多时,展示不美观的问题;

2.完成融合服务:打包模式,点击发布时间,只能按照正序排,不能按照倒序排列的问题;
3完成.融合服务:打包模式,点击收藏量,只能按照正序排,不能按照倒序排列的问题
This commit is contained in:
gongjiale 2022-10-28 16:37:48 +08:00
parent ed6a7e85b2
commit 6967b3f1da
2 changed files with 1904 additions and 1911 deletions

View File

@ -47,12 +47,10 @@ const integrationOrder = reactive({
// --
const changeOrder = (i, val, type) => {
console.log('i, val, type------------>', i, val, type);
integrationOrder.orderField = val
integrationOrder.orderType = type;
// 0 apply_count ASC
let _index = integrationOrderList.value.findIndex(x => x.value = val)
let _index = integrationOrderList.value.findIndex(x => x.value == val)
if (_index > -1) {
integrationOrderList.value[_index].orderType = type
}

View File

@ -105,7 +105,13 @@
<span>面积{{ item.area }}</span>
</div>
<div class="bottonmContent">
<a-tooltip>
<template #title>{{ item.description }}</template>
<span>{{ item.description }}</span>
</a-tooltip>
<!-- <a-tooltip>
{{ item.description }}
</a-tooltip> -->
</div>
</div>
<a-button
@ -851,11 +857,7 @@
const meetingSelect = reactive({ data: [] })
const meetingSelectOld = reactive({ data: [] })
const meetingOnSelectChange = (selectedRowKeys) => {
console.log(
'selectedRowKeys changed: ',
selectedRowKeys,
meetingSelect.data
)
console.log('selectedRowKeys changed: ', selectedRowKeys, meetingSelect.data)
meetingSelect.data = selectedRowKeys
meetingSelectOld.data[meetingPagination.value.current - 1] =
meetingSelect.data
@ -2141,13 +2143,7 @@
align: 'center',
},
])
const onSelectChange = (
record,
selected,
selectedRows,
nativeEvent,
type
) => {
const onSelectChange = (record, selected, selectedRows, nativeEvent, type) => {
record = JSON.parse(JSON.stringify(record))
if (selected) {
if (selectedRowKeys.value.length == 1000) {
@ -2170,13 +2166,7 @@
mybus.emit('selectTablePoint', selectedList.value)
console.log('已选中======================>', selectedList.value)
}
const onSelectChange2 = (
record,
selected,
selectedRows,
nativeEvent,
type
) => {
const onSelectChange2 = (record, selected, selectedRows, nativeEvent, type) => {
console.log(
'已选中======================>',
record,
@ -2189,10 +2179,7 @@
selectedRowKeys.value.push(record.name)
selectedRows.value.push(record.name)
} else {
selectedRowKeys.value.splice(
selectedRowKeys.value.indexOf(record.name),
1
)
selectedRowKeys.value.splice(selectedRowKeys.value.indexOf(record.name), 1)
selectedRows.value.splice(selectedRowKeys.value.indexOf(record.name), 1)
}
}
@ -2610,6 +2597,14 @@
font-size: 0.14rem;
margin: 0.15rem 0 0.2rem 0;
}
.bottonmContent {
width: 100%;
overflow: hidden; //
text-overflow: ellipsis; //...
display: -webkit-box; //div1
-webkit-line-clamp: 3; //div12
-webkit-box-orient: vertical; //
}
}
}