<template>
  <div>
    <el-form :model="property" label-width="72px" label-position="left">
      <SerailNumber :property="property" />
      <el-form-item label="预览展开">
        <el-radio-group v-model="property.is_word_show">
          <el-radio v-for="{ value, label } in wordShowList" :key="value" :label="value">
            {{ label }}
          </el-radio>
        </el-radio-group>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
import SettingMixin from '@/views/book/courseware/create/components/common/SettingMixin';

import { getNotesProperty, wordShowList } from '@/views/book/courseware/data/notes';

export default {
  name: 'NotesSetting',
  mixins: [SettingMixin],
  data() {
    return {
      property: getNotesProperty(),
      wordShowList,
    };
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
@use '@/styles/mixin.scss' as *;

.el-form {
  @include setting-base;
}
</style>
