Commit a0092a16 authored by chenqikuai's avatar chenqikuai

fix: 划转记录表列表宽度修改。复制按钮修改

parent cadfcf09
......@@ -15,7 +15,7 @@ export const columns = [
{
label: "发行时间",
prop: "create_time",
slotName: 'create_time',
slotName: "create_time",
width: 200,
},
{
......
......@@ -2,27 +2,22 @@ import { iTableColumn } from "@/components/Table/types";
export const columns = [
{
label: "划转名称",
minWidth: "230px",
minWidth: "380px",
slotName: "name",
},
{
label: "划转时间",
minWidth: "150px",
width: "200px",
slotName: "time",
},
{
label: "划转地址",
minWidth: "230px",
width: "350px",
slotName: "address",
},
{
label: "划转状态",
minWidth: "100px",
width: "180px",
slotName: "status",
},
// {
// label: "编辑",
// slotName: "operate",
// width: "80px",
// },
] as iTableColumn[];
......@@ -17,7 +17,7 @@
{{ props.to }}
</div>
<ElTooltip effect="dark" content="复制地址" placement="top-start">
<el-icon @click="handleClickCopy(props.to)"
<el-icon @click="handleClickCopy(props.to)" class="cursor-pointer"
><DocumentCopy
/></el-icon>
</ElTooltip>
......@@ -70,17 +70,11 @@
</template>
<script setup lang="ts">
import { ref, watch } from "vue";
import { ref } from "vue";
import { ElTooltip, ElIcon, ElMessage } from "element-plus";
import { DocumentCopy } from "@element-plus/icons-vue";
import {
formatTime,
GO_URLS,
syButton,
syMoreOperate,
copyText,
} from "cqk-sy-ui";
import { formatTime, syButton, syMoreOperate, copyText } from "cqk-sy-ui";
import Icon from "@/components/Icon/index.vue";
import Table from "@/components/Table/index.vue";
......@@ -136,6 +130,7 @@ const toProve = (item: any) => {
const handleClickCopy = (str: string) => {
copyText(str);
ElMessage.success("复制成功");
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment