zhaoxiaoqiang
2023-09-07 a857a5abd3525287221f813cea77bb78cd6c7e01
src/views/qyp-project-management/index.vue
@@ -103,7 +103,9 @@
              <uploadImg v-if="addProd" @sendList="imgSet($event,'qyFilePath')"     :disabled="disabled" :defaultList="qyFilePath"></uploadImg>
            </el-form-item>
            <el-form-item label="活动规则" prop="ruleContent">
              <tinymce v-if="addProd" v-model="ruleForm.ruleContent" :disabled="disabled" :height="300" />
              <div :class="{'tinymce_disable':disabled}">
                <tinymce v-if="addProd" v-model="ruleForm.ruleContent" :disabled="disabled" :height="300" />
              </div>
            </el-form-item>
            <el-form-item style="text-align:right;" v-if="!disabled">
              <el-button type="primary" @click="submitForm('ruleForm')">保存</el-button>
@@ -490,6 +492,16 @@
    .tips{
      color: #f56c6c;
    }
    .tinymce_disable{
      position:relative;
      left:0;
      top:0;
      opacity:.5;
      width:100%;//根据自己的富文本宽调整
      background-color:#000;
      z-index:998;
      pointer-events: none;
    }
  }
  </style>