Browse Source

优化

master
陈裕财 3 years ago
parent
commit
d39ac2f867
  1. 32
      src/components/Mdp/index.scss
  2. 2
      src/views/xm/core/xmMenu/XmMenuAdd.vue

32
src/components/Mdp/index.scss

@ -4,33 +4,33 @@
margin-right: 5px; margin-right: 5px;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
height: 36px;
line-height: 36px;
height: 40px;
line-height: 40px;
.field-avater { .field-avater {
background-color: #ff9f73; background-color: #ff9f73;
} }
.field-info { .field-info {
height: 36px;
line-height: 36px;
height: 40px;
line-height: 40px;
margin-left: 10px; margin-left: 10px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.field-value { .field-value {
height: 18px;
line-height: 18px;
height: 20px;
line-height: 20px;
font-size: 0.75rem; font-size: 0.75rem;
} }
.field-label { .field-label {
height: 18px;
line-height: 18px;
height: 20px;
line-height: 20px;
font-size: 0.75rem; font-size: 0.75rem;
color: #c0c4cc; color: #c0c4cc;
} }
} }
.field-oper { .field-oper {
height: 36px;
line-height: 36px;
height: 40px;
line-height: 40px;
margin-left: 5px; margin-left: 5px;
margin-right: 5px; margin-right: 5px;
display: none; display: none;
@ -43,10 +43,10 @@
display: inline; display: inline;
} }
.dashed-circle { .dashed-circle {
width: 36px;
height: 36px;
width: 40px;
height: 40px;
border: 2px dashed #000000; border: 2px dashed #000000;
border-radius: 36px/36px;
border-radius: 40px/40px;
} }
.field-box:hover .dashed-circle { .field-box:hover .dashed-circle {
border: 2px dashed #409eff; border: 2px dashed #409eff;
@ -54,7 +54,7 @@
.avatar-container { .avatar-container {
height: 36px;
height: 40px;
display: flex; display: flex;
align-items: center; align-items: center;
.avatar-wrapper { .avatar-wrapper {
@ -63,8 +63,8 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
.user-avatar { .user-avatar {
height: 34px;
width: 34px;
height: 36px;
width: 36px;
border-radius: 50%; border-radius: 50%;
margin-right: 12px; margin-right: 12px;
} }

2
src/views/xm/core/xmMenu/XmMenuAdd.vue

@ -261,7 +261,7 @@
Object.assign(this.addForm, this.xmMenu); Object.assign(this.addForm, this.xmMenu);
this.addForm.mmUserid=this.userInfo.userid this.addForm.mmUserid=this.userInfo.userid
this.addForm.mmUsername=this.userInfo.username this.addForm.mmUsername=this.userInfo.username
this.addForm.remark="作为 ,我需要 ,以便我能够 。"
this.addForm.remark=""
if(this.parentMenu && this.parentMenu.menuId){ if(this.parentMenu && this.parentMenu.menuId){
if(this.parentMenu.childrenCnt){ if(this.parentMenu.childrenCnt){
this.addForm.seqNo=this.parentMenu.seqNo+"."+(this.parentMenu.childrenCnt+1) this.addForm.seqNo=this.parentMenu.seqNo+"."+(this.parentMenu.childrenCnt+1)

Loading…
Cancel
Save