| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <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: #2d8cf0;
- :deep(.n-thing-main .n-thing-header .n-thing-header__title) {
- color: #2d8cf0;
- }
- &:hover {
- background: #f0faff;
- }
- }
- </style>
|