|
|
@ -10,7 +10,7 @@ |
|
|
|
<template #icon> |
|
|
|
<slot> |
|
|
|
<Icon color="#9e9e9e" |
|
|
|
:icon="item.type == 1 ? 'ep:document-add' : item.type == 2 ? 'ep:edit' : item.type == 3 ? 'ep:delete' : item.type == 4 ? 'fa:edit' : item.type == 5 ? 'ep:upload' : item.type == 6 ? 'ep:document-delete' : item.type == 7 ? 'ep:chat-line-square' : item.type == 8 ? 'ep:delete' : ''" |
|
|
|
:icon="item.type == 1 ? 'ep:document-add' : item.type == 2 ? 'ep:edit' : item.type == 3 ? 'ep:delete' : item.type == 4 ? 'fa:edit' : item.type == 5 ? 'ep:upload' : item.type == 6 ? 'ep:document-delete' : item.type == 7 ? 'ep:chat-line-square' : item.type == 8 ? 'ep:delete' : 'ep:edit'" |
|
|
|
class="cursor-pointer" size="20" /> |
|
|
|
</slot> |
|
|
|
</template> |
|
|
@ -21,31 +21,11 @@ |
|
|
|
</template> |
|
|
|
<template #description> |
|
|
|
<slot> |
|
|
|
<div class="dic color-#303133" v-if="item.type == 1"> |
|
|
|
{{ item.nickname }} {{ item.content }} |
|
|
|
</div> |
|
|
|
<div class="dic color-#303133" v-else-if="item.type == 2"> |
|
|
|
{{ item.nickname }} {{ item.content }} |
|
|
|
</div> |
|
|
|
<div class="dic color-#303133" v-else-if="item.type == 3"> |
|
|
|
{{ item.nickname }} {{ item.content }} |
|
|
|
</div> |
|
|
|
<div class="dic color-#303133" v-else-if="item.type == 4"> |
|
|
|
{{ item.nickname }} {{ item.content }} |
|
|
|
</div> |
|
|
|
<div class="dic color-#303133" v-else-if="item.type == 5"> |
|
|
|
{{ item.nickname }} {{ item.content }} |
|
|
|
</div> |
|
|
|
<div class="dic color-#303133" v-else-if="item.type == 6"> |
|
|
|
{{ item.nickname }} {{ item.content }} |
|
|
|
</div> |
|
|
|
<div class="dic color-#303133" v-else-if="item.type == 7"> |
|
|
|
{{ item.nickname }} {{ item.content }} |
|
|
|
</div> |
|
|
|
<div class="dic color-#303133" v-else-if="item.type == 8"> |
|
|
|
<div class="dic color-#303133"> |
|
|
|
{{ item.nickname }} {{ item.content }} |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <div class="tips" v-if="item.type == 2"> |
|
|
|
<span class="color-#f56c6c" style="text-decoration:line-through">原值</span>><span |
|
|
|
class="color-#67c23a">新值</span> |
|
|
|