个人中心优化

dev_2022-04-07
yujialong 3 years ago
parent 5c405f5fec
commit 0194612af6
  1. 2
      src/pages/setting/person/index.vue
  2. 17
      src/pages/setting/person/info.vue

@ -103,6 +103,8 @@ export default {
<style lang="scss" scoped>
.wrap{
display: flex;
width: $min-width;
padding: 12px 0 0 !important;
.left{
margin-right: 20px;
.inner{

@ -77,20 +77,22 @@
<el-option v-for="item in countryList" :key="item.value" :label="item.label" :value="item.label" ></el-option>
</el-select>
</li>
</div>
<div class="line">
<li>
<label>学校名称</label>
<el-select size="small" v-model="archive.schoolId" filterable placeholder="选择学校" @change="id => getSchoolName(id,index)">
<el-option v-for="item in schoolList" :key="item.value" :label="item.schoolName" :value="item.schoolId"></el-option>
</el-select>
</li>
</div>
<div class="line" style="margin-bottom: 0">
<li>
<label>专业学科</label>
<el-select size="small" v-model="archive.disciplineId" placeholder="选择专业学科" @change="id => getItemProfessionalClass(id,index)" @clear="() => clearItemClass(index)">
<el-option v-for="item in subjectList" :key="item.value" :label="item.disciplineName" :value="item.disciplineId"></el-option>
</el-select>
</li>
</div>
<div class="line" style="margin-bottom: 0">
<li>
<label>专业类</label>
<el-select size="small" v-model="archive.professionalClassId" placeholder="选择专业类" :disabled="archive.disciplineId ? false : true" @change="id => getItemProfessional(id,index)" @clear="() => clearItemProfess(index)">
@ -877,19 +879,22 @@ export default {
}
.archives{
position: relative;
width: 862px;
padding: 16px 0;
margin-bottom: 6px;
border-radius: 4px;
background-color: #FAFAFA;
.del{
position: absolute;
top: 48px;
right: 16px;
top: 80px;
right: 19px;
cursor: pointer;
}
.line {
justify-content: space-between;
}
li{
width: 30%;
margin-right: 32px;
margin-right: 60px;
}
.el-select{
flex: 1;

Loading…
Cancel
Save