<template>
  <PageWrapper>
    <el-card shadow="never" size="small" class="proCard tabsCard">
      <el-tabs v-model="activeName">
        <el-tab-pane name="basic" label="基本设置">
          <BasicSetting />
        </el-tab-pane>
        <!-- <el-tab-pane name="safety" label="安全设置"><SafetySetting /></el-tab-pane> -->
      </el-tabs>
    </el-card>
  </PageWrapper>
</template>
<script lang="ts" setup>
  import { ref } from 'vue';
  import { PageWrapper } from '@/components/Page';
  import BasicSetting from './BasicSetting.vue';
  import SafetySetting from './SafetySetting.vue';
  const activeName = ref('basic');
</script>
<style lang="scss" scoped>
  .thing-cell {
    margin: 0 -16px 10px;
    padding: 5px 16px;

    &:hover {
      background: #f3f3f3;
      cursor: pointer;
    }
  }

  .thing-cell-on {
    background: #f0faff;
    color: #165DFF;

    :deep(.n-thing-main .n-thing-header .n-thing-header__title) {
      color: #165DFF;
    }

    &:hover {
      background: #f0faff;
    }
  }
</style>
