暂降治理评估
This commit is contained in:
27
src/components/icon/back/index.vue
Normal file
27
src/components/icon/back/index.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<div style='width: 12px;'></div>
|
||||
<el-icon color='black' class='backIcon'>
|
||||
<close @click='go(-1)' />
|
||||
</el-icon>
|
||||
</template>
|
||||
|
||||
<script setup lang='ts'>
|
||||
import { useRouter } from 'vue-router'
|
||||
import { Close } from '@element-plus/icons-vue'
|
||||
const { go } = useRouter()
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.backIcon {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
font-size: 25px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.backIcon:hover {
|
||||
border-radius: 25px;
|
||||
background-color: lightgrey;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user