account.vue 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <PageWrapper>
  3. <el-card shadow="never" size="small" class="proCard tabsCard">
  4. <el-tabs v-model="activeName">
  5. <el-tab-pane name="basic" label="基本设置">
  6. <BasicSetting />
  7. </el-tab-pane>
  8. <el-tab-pane name="safety" label="安全设置"><SafetySetting /></el-tab-pane>
  9. </el-tabs>
  10. </el-card>
  11. </PageWrapper>
  12. </template>
  13. <script lang="ts" setup>
  14. import { ref } from 'vue';
  15. import { PageWrapper } from '@/components/Page';
  16. import BasicSetting from './BasicSetting.vue';
  17. import SafetySetting from './SafetySetting.vue';
  18. const activeName = ref('basic');
  19. </script>
  20. <style lang="scss" scoped>
  21. .thing-cell {
  22. margin: 0 -16px 10px;
  23. padding: 5px 16px;
  24. &:hover {
  25. background: #f3f3f3;
  26. cursor: pointer;
  27. }
  28. }
  29. .thing-cell-on {
  30. background: #f0faff;
  31. color: #2d8cf0;
  32. :deep(.n-thing-main .n-thing-header .n-thing-header__title) {
  33. color: #2d8cf0;
  34. }
  35. &:hover {
  36. background: #f0faff;
  37. }
  38. }
  39. </style>