优化监控中心样式

This commit is contained in:
fks-yangshouda
2024-08-19 15:45:48 +08:00
parent 45d914b16e
commit fbe0796d7d
9 changed files with 113 additions and 37 deletions

View File

@@ -3,7 +3,14 @@
<div style="display: flex">
<a-tabs
v-model:activeKey="activeKey"
style="height: 5%; width: 100%; margin-top: 0.5%; background: #ffffff">
style="
height: 5%;
width: 98.5%;
margin-top: 0.5%;
padding-left: 1.5%;
background: #ffffff;
font-family: 'PingFangSC-Regular', sans-serif;
">
<a-tab-pane key="1" tab="综合数据" />
<a-tab-pane key="2" tab="历史数据" />
<a-tab-pane key="3" tab="平均数据" />
@@ -11,7 +18,8 @@
<a-button
type="primary"
style="position: absolute; margin-right: 30px; margin-top: 10px; right: 30px"
@click="configurePoint">
@click="configurePoint"
v-if="activeKey == '1'">
配置监测点位
</a-button>
</div>
@@ -236,7 +244,6 @@
};
// 修改是否显示状态
const updateShowed = (record: any) => {
debugger;
let url = '';
if (record.useFlag == 0) {
record.useFlag = 1;
@@ -253,7 +260,7 @@
},
];
http.post(url, params).then((res) => {
debugger;
console.log('🚀 ~ http.post ~ res:', res);
});
};
// 批量修改是否显示状态
@@ -448,7 +455,7 @@
</script>
<style lang="less" scoped>
::v-deep .ant-tabs-tab {
font-weight: bold; /* 选中标签的加粗 */
font-weight: 700; /* 选中标签的加粗 */
// font-size: 16px;
// letter-spacing: 1.33px;
color: #666666 !important;