|
@@ -23,8 +23,8 @@
|
|
|
<el-option v-for="item in moduleTypeList" :key="item.id" :label="item.recTypeDetail" :value="item.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="示例:" v-if="form.moduleType !==''" prop="example" class="formItem">
|
|
|
- <span>{{form.example}}</span>
|
|
|
+ <el-form-item label="示例:" v-if="form.moduleType !==''" prop="example" class="formItem formExam">
|
|
|
+ <span class="exampleTxt">{{form.example}}</span>
|
|
|
<!-- <el-input v-model="form.example" disabled placeholder="示例"></el-input> -->
|
|
|
</el-form-item>
|
|
|
<el-form-item label="添加模块内容:" prop="moduleInfo" class="formItem">
|
|
@@ -395,6 +395,21 @@ export default {
|
|
|
line-height: 30px;
|
|
|
width: 200px;
|
|
|
}
|
|
|
+.formExam{
|
|
|
+ /deep/.el-form-item__content{
|
|
|
+ width: calc(100% - 185px);
|
|
|
+ }
|
|
|
+}
|
|
|
+.exampleTxt{
|
|
|
+ display: inline-block;
|
|
|
+ position: relative;
|
|
|
+ width: 100%;
|
|
|
+ max-height: 200px;
|
|
|
+ padding: 0 20px 0 0;
|
|
|
+ height: 100%;
|
|
|
+ word-break: break-all;
|
|
|
+ overflow-y: auto;
|
|
|
+}
|
|
|
.moduleInfoItem{
|
|
|
width: 500px;
|
|
|
min-height: 200px;
|