update prompt
This commit is contained in:
1 parent
e4bd995e6c
commit
80bafd4c8d
20 files changed
+231
-33
No files matched your search
@@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<el-tooltip effect="dark" :content="content" placement="top">
|
||||
<font-awesome-icon icon="fa-solid fa-info" class="icon icon-rotate" />
|
||||
</el-tooltip>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import { ElTooltip } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'InfoIcon',
|
||||
components: {
|
||||
FontAwesomeIcon,
|
||||
ElTooltip
|
||||
},
|
||||
props: {
|
||||
content: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.icon {
|
||||
display: block;
|
||||
width: 20px;
|
||||
border: 3px solid #aaa;
|
||||
border-radius: 50%;
|
||||
height: 20px;
|
||||
font-size: 10px;
|
||||
padding: 5px;
|
||||
transform: scale(0.4);
|
||||
cursor: pointer;
|
||||
color: #aaa;
|
||||
margin-right: -5px;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user