perf : asset 列表复制功能样式优化
This commit is contained in:
@@ -424,8 +424,8 @@ input, textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.document-copy-block:hover i{
|
.document-copy-block:hover i{
|
||||||
visibility: visible !important;
|
display: inline-block !important;
|
||||||
}
|
}
|
||||||
.document-copy-block i{
|
.document-copy-block i{
|
||||||
font-size: 14px !important;
|
transform: scale(0.95);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,13 +41,13 @@
|
|||||||
<template v-if="item.prop === 'name'">
|
<template v-if="item.prop === 'name'">
|
||||||
<div style="cursor:text" class="document-copy-block">
|
<div style="cursor:text" class="document-copy-block">
|
||||||
{{scope.row.name ? scope.row.name : '-'}}
|
{{scope.row.name ? scope.row.name : '-'}}
|
||||||
<i class="nz-icon nz-icon-override" style="cursor: pointer;visibility: hidden" @click="onCopy(scope.row.name)"></i>
|
<i class="nz-icon nz-icon-override" style="cursor: pointer;display:none" @click="onCopy(scope.row.name)"></i>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="item.prop === 'manageIp'">
|
<template v-else-if="item.prop === 'manageIp'">
|
||||||
<div style="cursor:text" class="document-copy-block">
|
<div style="cursor:text" class="document-copy-block">
|
||||||
{{scope.row.manageIp ? scope.row.manageIp : '-'}}
|
{{scope.row.manageIp ? scope.row.manageIp : '-'}}
|
||||||
<i class="nz-icon nz-icon-override" style="cursor: pointer;visibility: hidden" @click="onCopy(scope.row.manageIp)"></i>
|
<i class="nz-icon nz-icon-override" style="cursor: pointer;display:none" @click="onCopy(scope.row.manageIp)"></i>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="item.prop === 'type'">{{scope.row.type ? scope.row.type.name : '-'}}</template>
|
<template v-else-if="item.prop === 'type'">{{scope.row.type ? scope.row.type.name : '-'}}</template>
|
||||||
@@ -106,7 +106,7 @@
|
|||||||
<template v-else-if="item.prop === 'sn'">
|
<template v-else-if="item.prop === 'sn'">
|
||||||
<div style="cursor:text" class="document-copy-block">
|
<div style="cursor:text" class="document-copy-block">
|
||||||
{{scope.row.sn ? scope.row.sn : '-'}}
|
{{scope.row.sn ? scope.row.sn : '-'}}
|
||||||
<i class="nz-icon nz-icon-override" style="cursor: pointer;visibility: hidden" @click="onCopy(scope.row.sn)"></i>
|
<i class="nz-icon nz-icon-override" style="cursor: pointer;display:none" @click="onCopy(scope.row.sn)"></i>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="item.prop === 'talon'">
|
<template v-else-if="item.prop === 'talon'">
|
||||||
@@ -296,7 +296,7 @@ export default {
|
|||||||
label: this.$t('asset.sn'),
|
label: this.$t('asset.sn'),
|
||||||
prop: 'sn',
|
prop: 'sn',
|
||||||
show: true,
|
show: true,
|
||||||
minWidth: 110
|
minWidth: 120
|
||||||
}, {
|
}, {
|
||||||
label: this.$t('asset.talon'),
|
label: this.$t('asset.talon'),
|
||||||
// prop: 'clientState',
|
// prop: 'clientState',
|
||||||
|
|||||||
Reference in New Issue
Block a user