我的项目

This commit is contained in:
zhaoxiao
2021-09-29 16:13:14 +08:00
parent f52be81751
commit 1b33c68136
2 changed files with 22 additions and 10 deletions
-7
View File
@@ -143,13 +143,6 @@ export default {
&-content {
height: 70px;
.ant-col:first-child {
font-size: 16px;
font-family: PingFang SC, PingFang SC-Bold;
font-weight: 700;
color: #069f99;
}
.ant-col {
text-align: center;
padding: 0 15px;
+22 -3
View File
@@ -37,8 +37,15 @@
<!-- 表格区域-->
<div>
<project-table :column-data="columns" :table-data="dataSource" @change="handlePageChange">
<template v-slot:text="record">
<div @click="d(record)">点击</div>
<!-- 打包、需要发票、到账、开票、邮寄-->
<template v-slot:text="{record}">
<div @click="d(record)">{{ record.pack }}</div>
</template>
<!-- 项目名称-->
<template v-slot:projectName="{record}">
<div @click="openDetail(record)" class="project-name">
{{ record.projectName }}
</div>
</template>
</project-table>
</div>
@@ -61,6 +68,7 @@ export default {
{
title: '',
dataIndex: 'projectName',
scopedSlots: 'projectName',
col: 3
}, {
title: '项目用途',
@@ -141,4 +149,15 @@ export default {
}
}
</script>
<style scoped lang="less"></style>
<style scoped lang="less">
.project-name {
cursor: pointer;
font-size: 16px;
font-family: PingFang SC, PingFang SC-Bold;
font-weight: 700;
color: #069f99;
overflow: hidden;
word-break: keep-all;
text-overflow: ellipsis;
}
</style>