Browse Source

优化

master
陈裕财 3 years ago
parent
commit
14fe38056a
  1. 7
      src/styles/mdp.scss
  2. 4
      src/views/xm/core/xmQuestion/XmQuestionEdit.vue

7
src/styles/mdp.scss

@ -311,6 +311,13 @@ table tr.hover-row{
text-align: center;
width: 20px;
}
/**
超宽度换行
**/
.el-tag{
white-space: normal;
height:auto;
}
/*此处根据不同屏幕分配率显示不同的样式*/
/*手机端*/
@media only screen and (min-width: 0px) and (max-width: 768px) {

4
src/views/xm/core/xmQuestion/XmQuestionEdit.vue

@ -17,8 +17,8 @@
<el-form-item label="归属模块" prop="funcId">
<span>{{editForm.funcName?editForm.funcName:'无'}} <el-button type="text" @click="funcVisible=true">选择模块</el-button></span>
</el-form-item>
<el-form-item label="归属需求" prop="menuId">
<el-tag title="隶属需求" closable @click="showSelectMenu" @close.stop="handleCloseMenuTag">
<el-form-item label="归属需求" prop="menuId">
<el-tag title="隶属需求" style="width:100%;" closable @click="showSelectMenu" @close.stop="handleCloseMenuTag">
<div class="icon" :style="{backgroundColor: 'rgb(79, 140, 255)' }">
<i :class=" 'el-icon-document' " ></i>
</div> {{editForm.menuName?editForm.menuName:"未关联需求"}}</el-tag>

Loading…
Cancel
Save