<template>
  <div>
    <el-form-item label="类型：">
      <el-radio disabled v-model="radio" label="选中且禁用">知识共享</el-radio>
    </el-form-item>

    <el-form-item label="标题：" prop="name">
      <el-input v-model="form.name" :maxlength="INPUTLENGTH" show-word-limit></el-input>
    </el-form-item>

    <el-form-item label="内容简介：" prop="description">
      <el-input v-model="form.description"></el-input>
    </el-form-item>

   
    <el-form-item label="链接：" prop="shareUrl">
      <el-input placeholder="请输入链接" v-model="form.shareUrl">
        <template slot="prepend">Http://</template>
      </el-input>
    </el-form-item>

  </div>
</template>

<script>

export default {
  props: ["data",'rule'],
  data() {
    return {
      form: this.data,
      radio: "选中且禁用"
    };
  }
};
</script>
