<template>
  <div>
    <setActCode>
      <template #typeCode>
        <el-form-item label="活码类型" prop="hmType">
          <el-radio-group v-model="form.hmType">
            <el-radio :label="1">单人活码</el-radio>
          </el-radio-group>
        </el-form-item>
      </template>
      <template #member>
        <el-form-item label="使用成员" prop="memberType">
          <el-radio-group v-model="form.memberType">
            <el-radio :label="1">全部成员</el-radio>
            <el-radio :label="2">部分成员</el-radio>
          </el-radio-group>
          <br />
          <el-button plain class="ylbtn" v-if="form.memberType == 2"><i class="iconfont-components3 icon-cp-PlusOutlined addPic"></i>添加成员</el-button>
        </el-form-item>
      </template>
    </setActCode>
  </div>
</template>

<script>
import setActCode from '../../../components/actCodeSet.vue';
export default {
  components: { setActCode },
  data() {
    return {
      form: {
        hmType: 1,
        memberType: 1
      }
    };
  },
  methods: {}
};
</script>
<style lang="less" scoped>
.ylbtn {
  margin-top: 10px;
  border: 1px solid #2f54eb;
  color: #2f54eb;
}
</style>
