border-card
This commit is contained in:
@@ -143,7 +143,7 @@ defineExpose({ onComSearch, areaRef })
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
background-color: var(--ba-bg-color-overlay);
|
background-color: var(--ba-bg-color-overlay);
|
||||||
border: 1px solid var(--ba-border-color);
|
border: 1px solid var(--el-border-color);
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
padding: 13px 15px;
|
padding: 13px 15px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div style='border: 1px solid #e4e4e4;height: 100%'>
|
<div style='border: 1px solid #e4e4e4;height: 100%'>
|
||||||
<Toolbar
|
<Toolbar
|
||||||
style='border-bottom: 1px solid #e4e4e4'
|
style='border-bottom: 1px solid #e4e4e4;border-top: 1px solid #e4e4e4'
|
||||||
:editor='editorRef'
|
:editor='editorRef'
|
||||||
:defaultConfig='toolbarConfig'
|
:defaultConfig='toolbarConfig'
|
||||||
mode='default'
|
mode='default'
|
||||||
|
|||||||
@@ -301,9 +301,11 @@ body,
|
|||||||
/* 自适应-e */
|
/* 自适应-e */
|
||||||
|
|
||||||
.custom-table-header {
|
.custom-table-header {
|
||||||
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 13px 15px;
|
padding: 13px 15px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
border: 1px solid var(--el-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -117,3 +117,7 @@
|
|||||||
.el-form--inline .el-form-item {
|
.el-form--inline .el-form-item {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-tabs--border-card>.el-tabs__content{
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
@@ -104,7 +104,7 @@ onMounted(() => {
|
|||||||
tableStore.index()
|
tableStore.index()
|
||||||
})
|
})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
tableStore.table.height = mainHeight(180).height as any
|
tableStore.table.height = mainHeight(200).height as any
|
||||||
}, 0)
|
}, 0)
|
||||||
const addMenu = () => {}
|
const addMenu = () => {}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ onMounted(() => {
|
|||||||
tableStore.index()
|
tableStore.index()
|
||||||
})
|
})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
tableStore.table.height = mainHeight(180).height as any
|
tableStore.table.height = mainHeight(200).height as any
|
||||||
}, 0)
|
}, 0)
|
||||||
const addMenu = () => {}
|
const addMenu = () => {}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -241,7 +241,7 @@ onMounted(() => {
|
|||||||
})
|
})
|
||||||
const bxecharts = mainHeight(155).height as any
|
const bxecharts = mainHeight(155).height as any
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
tableStore.table.height = mainHeight(180).height as any
|
tableStore.table.height = mainHeight(200).height as any
|
||||||
}, 0)
|
}, 0)
|
||||||
|
|
||||||
const addMenu = () => {}
|
const addMenu = () => {}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="default-main">
|
<div class="default-main">
|
||||||
<el-tabs v-model="activeName" type="card" class="demo-tabs">
|
<el-tabs v-model="activeName" type="border-card" class="demo-tabs">
|
||||||
<el-tab-pane label="设备告警" name="1">
|
<el-tab-pane label="设备告警" name="1">
|
||||||
<Device v-if="activeName == '1'" :deviceTree="deviceTree" />
|
<Device v-if="activeName == '1'" :deviceTree="deviceTree" />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
{{ deviceData.time }}
|
{{ deviceData.time }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-tabs v-model="dataSet" type="card" class="device-control-box-card" @tab-click="handleClick">
|
<el-tabs v-model="dataSet" type="border-card" class="device-control-box-card" @tab-click="handleClick">
|
||||||
<el-tab-pane
|
<el-tab-pane
|
||||||
lazy
|
lazy
|
||||||
:label="item.name"
|
:label="item.name"
|
||||||
@@ -128,6 +128,7 @@
|
|||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
:total="formInline.total"
|
:total="formInline.total"
|
||||||
></el-pagination>
|
></el-pagination>
|
||||||
|
<div v-else style="height: 42px;"></div>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
<el-empty v-else description="请选择设备" class="device-control-right" />
|
<el-empty v-else description="请选择设备" class="device-control-right" />
|
||||||
@@ -160,7 +161,7 @@ const dataSet = ref('')
|
|||||||
const devTypeOptions = ref([])
|
const devTypeOptions = ref([])
|
||||||
const devModelOptions = ref([])
|
const devModelOptions = ref([])
|
||||||
const tableData = ref<any[]>([])
|
const tableData = ref<any[]>([])
|
||||||
const tableHeight = mainHeight(310).height
|
const tableHeight = mainHeight(330).height
|
||||||
const mangePopup = ref()
|
const mangePopup = ref()
|
||||||
const datePickerRef = ref()
|
const datePickerRef = ref()
|
||||||
const formInline = reactive({
|
const formInline = reactive({
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
{{ deviceData.time }}
|
{{ deviceData.time }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-tabs v-model="dataSet" type="card" class="device-manage-box-card" @tab-click="handleClick">
|
<el-tabs v-model="dataSet" type="border-card" class="device-manage-box-card" @tab-click="handleClick">
|
||||||
<el-tab-pane
|
<el-tab-pane
|
||||||
lazy
|
lazy
|
||||||
:label="item.name"
|
:label="item.name"
|
||||||
@@ -83,7 +83,7 @@ const dataSet = ref('')
|
|||||||
const devTypeOptions = ref([])
|
const devTypeOptions = ref([])
|
||||||
const devModelOptions = ref([])
|
const devModelOptions = ref([])
|
||||||
const tableData = ref([])
|
const tableData = ref([])
|
||||||
const tableHeight = mainHeight(215).height
|
const tableHeight = mainHeight(235).height
|
||||||
const mangePopup = ref()
|
const mangePopup = ref()
|
||||||
const nodeClick = (e: anyObj) => {
|
const nodeClick = (e: anyObj) => {
|
||||||
if (!e) {
|
if (!e) {
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class='default-main'>
|
<div class='default-main'>
|
||||||
<el-tabs v-model='activeName' type='card' @tab-click='init'>
|
<el-tabs v-model='activeName' type='border-card' @tab-click='init'>
|
||||||
<el-tab-pane label='用户协议' name='User_Agreement'></el-tab-pane>
|
<el-tab-pane label='用户协议' name='User_Agreement'></el-tab-pane>
|
||||||
<el-tab-pane label='个人信息保护政策' name='Personal_Infor_Protect'></el-tab-pane>
|
<el-tab-pane label='个人信息保护政策' name='Personal_Infor_Protect'></el-tab-pane>
|
||||||
<el-tab-pane label='系统介绍' name='introduction'></el-tab-pane>
|
<el-tab-pane label='系统介绍' name='introduction'></el-tab-pane>
|
||||||
<el-tab-pane label='使用手册' name='User_Manual'></el-tab-pane>
|
<el-tab-pane label='使用手册' name='User_Manual'></el-tab-pane>
|
||||||
<el-tab-pane label='公司介绍' name='Company_Profile'></el-tab-pane>
|
<el-tab-pane label='公司介绍' name='Company_Profile'></el-tab-pane>
|
||||||
</el-tabs>
|
|
||||||
<div class='agreement' :style='{height:height}'>
|
<div class='agreement' :style='{height:height}'>
|
||||||
<div style='margin-top: 5px; right: 10px; position: absolute; z-index: 9999999'>
|
<div style='margin-top: 5px; right: 10px; position: absolute; z-index: 9999999'>
|
||||||
<el-button type='primary' @click='submit' icon='el-icon-Checked'>保存</el-button>
|
<el-button type='primary' @click='submit' icon='el-icon-Checked'>保存</el-button>
|
||||||
</div>
|
</div>
|
||||||
<WangEditor v-model='html' style='border-top: none' />
|
<WangEditor v-model='html' style='border-top: none' />
|
||||||
</div>
|
</div>
|
||||||
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ const dic = useDictData().getBasicData('appInformationType')
|
|||||||
const id = ref('')
|
const id = ref('')
|
||||||
const activeName = ref('User_Agreement')
|
const activeName = ref('User_Agreement')
|
||||||
const html = ref('')
|
const html = ref('')
|
||||||
const height = mainHeight(60).height
|
const height = mainHeight(80).height
|
||||||
const submit = () => {
|
const submit = () => {
|
||||||
addAppInfo({
|
addAppInfo({
|
||||||
type: id.value,
|
type: id.value,
|
||||||
|
|||||||
Reference in New Issue
Block a user