style:修改添加学员滚动条

This commit is contained in:
lixg
2022-12-21 09:54:44 +08:00
parent 79249cb21f
commit a862d18f18

View File

@@ -4,11 +4,11 @@
<div class="CommonStudent"> <div class="CommonStudent">
<a-drawer <a-drawer
:visible="visiable" :visible="visiable"
class="drawerStyle ProjCheckship" class="drawerStyle ProjCheckship CommonStudent"
placement="right" placement="right"
width="60%" width="60%"
> >
<div class="drawerMain" id="ProjCheckship"> <div class="drawerMain" id="ProjCheckship" style="">
<div class="header"> <div class="header">
<div class="headerTitle"> <div class="headerTitle">
{{ { 1: "添加学员", 2: "添加学员", 3: "添加学员" }[type] || "" }} {{ { 1: "添加学员", 2: "添加学员", 3: "添加学员" }[type] || "" }}
@@ -19,10 +19,8 @@
@click="closeDrawer" @click="closeDrawer"
/> />
</div> </div>
<div <div style="display: flex; overflow-x: auto; overflow-y: auto">
style="width: 100%; display: grid; grid-template-columns: 750px auto" <div class="tabs" style="min-width: 800px">
>
<div class="tabs" style="min-height: 800px">
<a-tabs v-model:activeKey="activeKey"> <a-tabs v-model:activeKey="activeKey">
<a-tab-pane :key="1" tab="快速选人"> <a-tab-pane :key="1" tab="快速选人">
<div :style="{ height: screenHeight - 235 + 'px' }"> <div :style="{ height: screenHeight - 235 + 'px' }">
@@ -175,7 +173,7 @@
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>
</div> </div>
<div class="right1"> <div class="right1" style="min-width: 200px">
<div class="onerow"> <div class="onerow">
<div class="onleft"> <div class="onleft">
<div class="already">已选</div> <div class="already">已选</div>
@@ -663,179 +661,178 @@ watch(visiable, () => {
.ant-tabs { .ant-tabs {
overflow: visible; overflow: visible;
} }
} .right1 {
.right1 { border-left: 1px solid #f2f6fe;
border-left: 1px solid #f2f6fe; margin-left: 20px;
width: 100%; .onerow {
margin-left: 20px;
.onerow {
display: flex;
justify-content: space-between;
align-items: center;
margin-right: 40px;
flex-wrap: wrap;
width: 100%;
.onleft {
display: flex; display: flex;
text-align: center; justify-content: space-between;
align-items: center;
margin-right: 40px;
flex-wrap: wrap;
.already { width: 100%;
color: rgba(51, 51, 51, 1);
font-size: 16px; .onleft {
font-weight: 500; display: flex;
margin-left: 32px; text-align: center;
white-space: nowrap;
// margin-bottom: 20px; .already {
color: rgba(51, 51, 51, 1);
font-size: 16px;
font-weight: 500;
margin-left: 32px;
white-space: nowrap;
// margin-bottom: 20px;
}
.count {
color: #4ea6ff;
font-size: 16px;
margin: 0 6px;
}
.peo {
color: rgba(51, 51, 51, 1);
font-size: 16px;
font-weight: 500;
}
} }
.clbox {
.count { margin-right: 50px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
width: 104px;
height: 32px;
border-radius: 4px;
background: #4ea6ff;
.colose {
width: 16px;
height: 16px;
// border-radius: 8px;
// background: #ffffff;
// position: relative;
background-image: url(../../assets/images/basicinfo/ch.png);
background-size: 100%;
margin-right: 4px;
}
.allclear {
color: rgba(255, 255, 255, 1);
font-size: 14px;
}
}
}
.selecteds {
display: flex;
flex-wrap: wrap;
margin-left: 32px;
.person {
width: 100%;
margin-top: 20px;
border-top: 1px solid #f2f6fe;
}
.chose {
width: 64px;
height: 24px;
margin-top: 25px;
margin-right: 25px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 2px;
border: 1px solid rgba(56, 139, 225, 1);
color: rgba(56, 139, 225, 1);
font-size: 12px;
position: relative;
.ch {
position: absolute;
width: 18px;
height: 18px;
background-image: url(../../assets/images/basicinfo/ch.png);
right: -8px;
top: -8px;
}
}
.ifsw {
display: flex;
align-items: end;
justify-content: center;
color: #4ea6ff; color: #4ea6ff;
font-size: 16px;
margin: 0 6px;
} }
.sw {
.peo { display: flex;
color: rgba(51, 51, 51, 1); align-items: center;
font-size: 16px; justify-content: center;
font-weight: 500; text-align: justify;
color: #4ea6ff;
margin-top: 23px;
margin-left: 10px;
} }
} .dept {
.clbox { width: 100%;
margin-right: 50px; margin-top: 30px;
display: flex; border-top: 1px solid #f2f6fe;
justify-content: center;
align-items: center;
cursor: pointer;
width: 104px;
height: 32px;
border-radius: 4px;
background: #4ea6ff;
.colose {
width: 16px;
height: 16px;
// border-radius: 8px;
// background: #ffffff;
// position: relative;
background-image: url(../../assets/images/basicinfo/ch.png);
background-size: 100%;
margin-right: 4px;
} }
.allclear { .chose1 {
color: rgba(255, 255, 255, 1); //width: 90px;
font-size: 14px; height: 24px;
margin-top: 25px;
margin-right: 25px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 2px;
border: 1px solid rgba(56, 139, 225, 1);
color: rgba(56, 139, 225, 1);
font-size: 12px;
position: relative;
.span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ch1 {
position: absolute;
width: 18px;
height: 18px;
background-image: url(../../assets/images/basicinfo/ch.png);
right: -8px;
top: -8px;
}
} }
} .group {
} width: 100%;
.selecteds { margin-top: 30px;
display: flex; border-top: 1px solid #f2f6fe;
flex-wrap: wrap;
margin-left: 32px;
.person {
width: 100%;
margin-top: 20px;
border-top: 1px solid #f2f6fe;
}
.chose {
width: 64px;
height: 24px;
margin-top: 25px;
margin-right: 25px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 2px;
border: 1px solid rgba(56, 139, 225, 1);
color: rgba(56, 139, 225, 1);
font-size: 12px;
position: relative;
.ch {
position: absolute;
width: 18px;
height: 18px;
background-image: url(../../assets/images/basicinfo/ch.png);
right: -8px;
top: -8px;
} }
} .chose2 {
.ifsw { //width: 120px;
display: flex; height: 24px;
align-items: end; margin-top: 25px;
justify-content: center; margin-right: 25px;
color: #4ea6ff; display: flex;
} align-items: center;
.sw { justify-content: center;
display: flex; border-radius: 2px;
align-items: center; border: 1px solid rgba(56, 139, 225, 1);
justify-content: center; color: rgba(56, 139, 225, 1);
text-align: justify; font-size: 12px;
color: #4ea6ff; position: relative;
margin-top: 23px; .span {
margin-left: 10px; white-space: nowrap;
} overflow: hidden;
.dept { text-overflow: ellipsis;
width: 100%; }
margin-top: 30px; .ch2 {
border-top: 1px solid #f2f6fe; position: absolute;
} width: 18px;
.chose1 { height: 18px;
//width: 90px; background-image: url(../../assets/images/basicinfo/ch.png);
height: 24px; right: -8px;
margin-top: 25px; top: -8px;
margin-right: 25px; }
display: flex;
align-items: center;
justify-content: center;
border-radius: 2px;
border: 1px solid rgba(56, 139, 225, 1);
color: rgba(56, 139, 225, 1);
font-size: 12px;
position: relative;
.span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ch1 {
position: absolute;
width: 18px;
height: 18px;
background-image: url(../../assets/images/basicinfo/ch.png);
right: -8px;
top: -8px;
}
}
.group {
width: 100%;
margin-top: 30px;
border-top: 1px solid #f2f6fe;
}
.chose2 {
//width: 120px;
height: 24px;
margin-top: 25px;
margin-right: 25px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 2px;
border: 1px solid rgba(56, 139, 225, 1);
color: rgba(56, 139, 225, 1);
font-size: 12px;
position: relative;
.span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ch2 {
position: absolute;
width: 18px;
height: 18px;
background-image: url(../../assets/images/basicinfo/ch.png);
right: -8px;
top: -8px;
} }
} }
} }