mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
140 lines
3.1 KiB
Vue
140 lines
3.1 KiB
Vue
<template>
|
||
<a-drawer
|
||
:visible="Provisible"
|
||
class="drawerStyle promess"
|
||
placement="right"
|
||
width="50%"
|
||
@after-visible-change="afterVisibleChange"
|
||
>
|
||
<div class="drawerMain">
|
||
<div class="header">
|
||
<div class="headerTitle">任务信息</div>
|
||
<img
|
||
style="width: 29px; height: 29px; cursor: pointer"
|
||
src="../../assets/images/basicinfo/close.png"
|
||
@click="closeDrawer"
|
||
/>
|
||
</div>
|
||
<div class="main">
|
||
<div class="one">
|
||
<span class="left">班级名称:</span>
|
||
<span class="right">产品经理管理-腾飞班1</span>
|
||
</div>
|
||
<div class="one second">
|
||
<span class="left">说明:</span>
|
||
<span class="right">班级说明,此班级为产品经理班级,其他岗位不要进入请大家按照规定时间进行任务学习</span>
|
||
</div>
|
||
</div>
|
||
<div class="btnn">
|
||
<button class="btn2" @click="closeDrawer">关闭</button>
|
||
</div>
|
||
</div>
|
||
</a-drawer>
|
||
|
||
</template>
|
||
|
||
<script>
|
||
import { reactive, toRefs } from "vue";
|
||
export default {
|
||
name: "ProMess",
|
||
props: {
|
||
Provisible: {
|
||
type: Boolean,
|
||
default: false,
|
||
},
|
||
},
|
||
setup(props, ctx) {
|
||
const state = reactive({});
|
||
const closeDrawer = () => {
|
||
ctx.emit("update:Provisible", false);
|
||
};
|
||
|
||
const afterVisibleChange = (bool) => {
|
||
console.log("state", bool);
|
||
};
|
||
|
||
return {
|
||
...toRefs(state),
|
||
afterVisibleChange,
|
||
closeDrawer,
|
||
// change,
|
||
};
|
||
},
|
||
};
|
||
</script>
|
||
|
||
<style scoped lang="scss" >
|
||
.promess {
|
||
.ant-drawer-content-wrapper {
|
||
// max-width: 1000px;
|
||
.ant-drawer-header {
|
||
display: none !important;
|
||
}
|
||
.ant-drawer-body {
|
||
padding: 0;
|
||
}
|
||
}
|
||
.drawerMain {
|
||
min-width: 434px;
|
||
margin: 0px 32px 0px 32px;
|
||
overflow-x: scroll;
|
||
display: flex;
|
||
flex-direction: column;
|
||
.header {
|
||
height: 73px;
|
||
border-bottom: 1px solid #e8e8e8;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
// background-color: red;
|
||
margin-bottom: 20px;
|
||
.headerTitle {
|
||
font-size: 18px;
|
||
font-weight: 600;
|
||
color: #333333;
|
||
line-height: 25px;
|
||
// margin-left: 24px;
|
||
}
|
||
}
|
||
.main {
|
||
.one {
|
||
margin-top: 38px;
|
||
margin-left: 53px;
|
||
.left {
|
||
color: rgba(51, 51, 51, 1);
|
||
font-size: 14px;
|
||
}
|
||
.right {
|
||
color: rgba(102, 102, 102, 1);
|
||
font-size: 14px;
|
||
margin-left: 12px;
|
||
}
|
||
}
|
||
.second {
|
||
margin-left: 81px;
|
||
}
|
||
}
|
||
.btnn {
|
||
height: 72px;
|
||
width: 100%;
|
||
position: absolute;
|
||
bottom: 0;
|
||
left: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||
.btn2 {
|
||
cursor: pointer;
|
||
width: 100px;
|
||
height: 40px;
|
||
background: #4ea6ff;
|
||
border-radius: 8px;
|
||
border: 0;
|
||
margin-left: 15px;
|
||
color: #fff;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
</style> |