<template>
  <div id="manageLookMoneyForm">
    <el-row>
      <el-col :span="24" class="form">
        <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
          <el-col :span="24">
            <el-form-item label="产品名称" prop="title">
              <el-input disabled v-model="ruleForm.title" placeholder="请输入产品名称"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="收益率" prop="rate">
              <el-input class="mongeyrate" disabled v-model="ruleForm.rate" placeholder="收益率"></el-input>%
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="产品期限(个月)" prop="min_time">
              <el-input class="mongeyrates" disabled v-model="ruleForm.min_time" placeholder="产品期限（小）"></el-input>个月~
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item prop="max_time" class="formItem">
              <el-input class="mongeyrates" disabled v-model="ruleForm.max_time" placeholder="产品期限（大）"></el-input>个月
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="起购价格(元)" prop="buymin">
              <el-input class="mongeyrate" disabled v-model="ruleForm.buymin" placeholder="起购价格"></el-input>元
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="视频附件" prop="video">
              <el-link :href="ruleForm.video" :download="ruleForm.video">{{ ruleForm.video }}</el-link>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="产品介绍">
              <el-input type="textarea" disabled v-model="ruleForm.news" placeholder="请输入产品介绍"></el-input>
            </el-form-item>
          </el-col>
        </el-form>
      </el-col>
    </el-row>
  </div>
  <!--:disabled="isAble"-->
</template>

<script>
export default {
  name: 'manageMoneyForm',
  props: {
    ruleForm: null,
    hkList: null,
    dbList: null,
  },
  components: {},
  data: () => ({}),
  created() {},
  computed: {},
  methods: {
    submitForm() {
      this.$emit('submitForm', { data: this.ruleForm });
    },
    resetForm() {
      this.$emit('resetForm');
    },
  },
};
</script>

<style lang="less" scoped>
.form {
  padding: 0 200px 0 0;
}
.mongeyrate {
  width: 30%;
}
.mongeyrates {
  width: 93%;
}
/deep/.formItem .el-form-item__content {
  margin-left: 0 !important;
}
.btn {
  text-align: center;
  padding: 30px 0;
}
/deep/.el-textarea__inner {
  height: 150px;
}
</style>
