<template>
  <div class="panel-fieldset">
    <h4 class="panel-legend">区块</h4>
    <el-row :gutter="20">
      <el-col :span="10">
        <span>列表是否按当前栏目显示：</span>
      </el-col>
      <el-col :span="14">
        <el-switch v-model="preferences.showAllBlock" active-value="Y" inactive-value="N" ></el-switch>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
    }
  },
  props: {
    preferences: Object
  }
}
</script>
