|
@@ -19,6 +19,18 @@ const props = defineProps({
|
|
|
|
|
|
});
|
|
|
|
|
|
+// 定义发射给父组件的方法
|
|
|
+const emits = defineEmits([
|
|
|
+ 'callbackExit',
|
|
|
+])
|
|
|
+
|
|
|
+/**
|
|
|
+ * 触发退出当前组件
|
|
|
+ */
|
|
|
+const callbackExitEvent = () => {
|
|
|
+ emits('callbackExit', 'yes');
|
|
|
+}
|
|
|
+
|
|
|
// let state = ref({
|
|
|
// listParams: {
|
|
|
// keyword: '',
|
|
@@ -289,6 +301,9 @@ const btnManage = (res) => {
|
|
|
|
|
|
<div class="content commonsScrollbar">
|
|
|
<div class="contentTitle">
|
|
|
+ <div class="contentTitle-Img" v-on:click="callbackExitEvent()" >
|
|
|
+ <img src="../../assets/img/manageUser/return.svg" />
|
|
|
+ </div>
|
|
|
<div class="contentTitle-line"></div>
|
|
|
<div class="contentTitle-text">管理学院</div>
|
|
|
</div>
|
|
@@ -434,7 +449,6 @@ const btnManage = (res) => {
|
|
|
top: 0px;
|
|
|
left: 0px;
|
|
|
background-color: #ffffff;
|
|
|
-
|
|
|
|
|
|
.content {
|
|
|
|
|
@@ -451,6 +465,19 @@ const btnManage = (res) => {
|
|
|
box-sizing: border-box;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ .contentTitle-Img {
|
|
|
+ width: 3rem;
|
|
|
+ height: 3rem;
|
|
|
+ border-radius: 50%;
|
|
|
+ background-color: #f7f7f7;
|
|
|
+ margin: 0px 1rem 0px 0px;
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ /* 链接选中 一个手势【常用】 */
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
.contentTitle-line {
|
|
|
width: 0.35rem;
|
|
|
height: 2rem;
|