update 调整应急大屏样式·
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -1,20 +1,20 @@
|
|||||||
//高德信息弹窗
|
//高德信息弹窗
|
||||||
.amap-info-contentContainer {
|
.amap-info-contentContainer {
|
||||||
.amap-content-body {
|
.amap-content-body {
|
||||||
background: #00152B;
|
background: var(--alarmContentBg);
|
||||||
border: 1px solid #129BFF;
|
border: 1px solid var(--alarmBorder);
|
||||||
|
|
||||||
.amap-lib-infowindow {
|
.amap-lib-infowindow {
|
||||||
background: #00152B;
|
background: var(--alarmContentBg);
|
||||||
|
|
||||||
.amap-lib-infowindow-title {
|
.amap-lib-infowindow-title {
|
||||||
color: #fff;
|
color: var(--antSelectFontColor);
|
||||||
border-bottom: 1px solid #129BFF;
|
border-bottom: 1px solid var(--alarmBorder);
|
||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.amap-lib-infowindow-content {
|
.amap-lib-infowindow-content {
|
||||||
color: #fff;
|
color: var(--antSelectFontColor);
|
||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
@import "./themeType";
|
@import "./themeType";
|
||||||
@import "./public-title";
|
@import "./public-title";
|
||||||
|
|
||||||
|
html, body, #app {
|
||||||
|
min-width: 1300px;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.type-time {
|
.type-time {
|
||||||
padding-top: 3%;
|
padding-top: 3%;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@@ -132,8 +137,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 选中字体颜色
|
// 选中字体颜色
|
||||||
.ant-select-selection-item {
|
:deep(.ant-select-selection-item) {
|
||||||
//color: #1b7ef2 !important;
|
|
||||||
color: var(--antSelectFontColor);
|
color: var(--antSelectFontColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -198,14 +202,14 @@
|
|||||||
background-color: #f3f5ff;
|
background-color: #f3f5ff;
|
||||||
|
|
||||||
.police-con {
|
.police-con {
|
||||||
color: #000;
|
color: var(--tableFontColor);
|
||||||
background-color: #f3f5ff;
|
background-color: #f3f5ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-modal-title {
|
.ant-modal-title {
|
||||||
color: #576BAD !important;
|
color: #576BAD !important;
|
||||||
background: url('/@/assets/images/dialog-light.png') no-repeat;
|
background: url('/@/assets/images/dialog-light.png') no-repeat;
|
||||||
background-size: 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -221,7 +225,7 @@
|
|||||||
.ant-modal-title {
|
.ant-modal-title {
|
||||||
color: #ffffff !important;
|
color: #ffffff !important;
|
||||||
background: url('/@/assets/images/dialog.png') no-repeat;
|
background: url('/@/assets/images/dialog.png') no-repeat;
|
||||||
background-size: 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,9 @@
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
border-top: 1px solid #6a707c;
|
border-top: 1px solid #6a707c;
|
||||||
border-bottom: 1px solid #6a707c;
|
border-bottom: 1px solid #6a707c;
|
||||||
border-image: linear-gradient(
|
border-image: linear-gradient(90deg,
|
||||||
90deg,
|
|
||||||
rgba(217.0000022649765, 231.00000143051147, 255, 0.5),
|
rgba(217.0000022649765, 231.00000143051147, 255, 0.5),
|
||||||
rgba(217.0000022649765, 231.00000143051147, 255, 0)
|
rgba(217.0000022649765, 231.00000143051147, 255, 0)) 1 1;
|
||||||
)
|
|
||||||
1 1;
|
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
@@ -28,6 +25,7 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.public-title.light {
|
.public-title.light {
|
||||||
background: url("/@/assets/images/title-background.png") no-repeat;
|
background: url("/@/assets/images/title-background.png") no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
@@ -37,6 +35,7 @@
|
|||||||
.server-item.light {
|
.server-item.light {
|
||||||
color: #607DDB;
|
color: #607DDB;
|
||||||
}
|
}
|
||||||
|
|
||||||
.server-item.dark {
|
.server-item.dark {
|
||||||
|
|
||||||
&:nth-child(odd) {
|
&:nth-child(odd) {
|
||||||
@@ -45,12 +44,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.right-top-item.light {
|
.right-top-item.light {
|
||||||
|
.fixed-width {
|
||||||
|
display: inline-flex;
|
||||||
|
width: 100px;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
//名字和类型宽度100
|
||||||
> span:nth-child(1) {
|
> span:nth-child(1) {
|
||||||
color: #607DDB;
|
color: #607DDB;
|
||||||
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> span:nth-child(2) {
|
> span:nth-child(2) {
|
||||||
color: #F58584;
|
color: #F58584;
|
||||||
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
color: #607DDB;
|
color: #607DDB;
|
||||||
}
|
}
|
||||||
@@ -63,6 +75,7 @@
|
|||||||
background: url('/@/assets/images/positionNew.png') no-repeat;
|
background: url('/@/assets/images/positionNew.png') no-repeat;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-top-item.dark {
|
.right-top-item.dark {
|
||||||
.fixed-width {
|
.fixed-width {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
@@ -72,6 +85,14 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> span:nth-child(1) {
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
> span:nth-child(2) {
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@@ -90,6 +111,7 @@
|
|||||||
color: #576BAD;
|
color: #576BAD;
|
||||||
background: url('/@/assets/images/top-title-new.png') no-repeat;
|
background: url('/@/assets/images/top-title-new.png') no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.outer-title.dark {
|
.outer-title.dark {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background: url('/@/assets/images/top-title.png') no-repeat;
|
background: url('/@/assets/images/top-title.png') no-repeat;
|
||||||
|
|||||||
@@ -17,4 +17,7 @@
|
|||||||
--pageItemActiveBg: #0081ff;
|
--pageItemActiveBg: #0081ff;
|
||||||
/*表单*/
|
/*表单*/
|
||||||
--formLabel: #1b7ef2;
|
--formLabel: #1b7ef2;
|
||||||
|
/*地图弹窗*/
|
||||||
|
--alarmContentBg: #00152B;
|
||||||
|
--alarmBorder: #1b7ef2;
|
||||||
}
|
}
|
||||||
@@ -18,6 +18,9 @@ export const themeList = {
|
|||||||
pageItemActiveBg: '#0081ff',
|
pageItemActiveBg: '#0081ff',
|
||||||
//form
|
//form
|
||||||
formLabel: '#1b7ef2',
|
formLabel: '#1b7ef2',
|
||||||
|
//地图弹窗
|
||||||
|
alarmContentBg: '#00152B',
|
||||||
|
alarmBorder: '#1b7ef2',
|
||||||
},
|
},
|
||||||
light: {
|
light: {
|
||||||
antSelectDropdownBg: '#fff',
|
antSelectDropdownBg: '#fff',
|
||||||
@@ -37,6 +40,9 @@ export const themeList = {
|
|||||||
pageItemActiveBg: '#7092ff',
|
pageItemActiveBg: '#7092ff',
|
||||||
//form
|
//form
|
||||||
formLabel: '#7092ff',
|
formLabel: '#7092ff',
|
||||||
|
//地图弹窗
|
||||||
|
alarmContentBg: '#ced7f6',
|
||||||
|
alarmBorder: '#1b7ef2',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="physical-container">
|
<div class="physical-container">
|
||||||
<a-spin :spinning="spinning" class="spin"></a-spin>
|
<a-spin :spinning="spinning" class="spin"></a-spin>
|
||||||
<div class="RadarCharts"></div>
|
<div class="RadarCharts" ref="radarChartsRef"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -78,8 +78,10 @@
|
|||||||
everyEmpty && initChart();
|
everyEmpty && initChart();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const radarChartsRef = ref<HTMLElement>();
|
||||||
|
|
||||||
function initChart() {
|
function initChart() {
|
||||||
const myChart = echarts.init(document.querySelector('.RadarCharts'));
|
const myChart = echarts.init(radarChartsRef.value);
|
||||||
let countList = radarList?.value.map((item) => item?.userCount);
|
let countList = radarList?.value.map((item) => item?.userCount);
|
||||||
if (countList.length < 1) return;
|
if (countList.length < 1) return;
|
||||||
let max = Math.max(...countList);
|
let max = Math.max(...countList);
|
||||||
@@ -105,7 +107,6 @@
|
|||||||
.physical-container {
|
.physical-container {
|
||||||
width: 96%;
|
width: 96%;
|
||||||
height: calc(100% - 35px);
|
height: calc(100% - 35px);
|
||||||
//padding-top: 6%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-content: space-around;
|
align-content: space-around;
|
||||||
|
|||||||
@@ -133,9 +133,9 @@ const ringTheme = {
|
|||||||
backgroundColor: 'rgba(50,50,50,0.7)',
|
backgroundColor: 'rgba(50,50,50,0.7)',
|
||||||
tooltip: {
|
tooltip: {
|
||||||
textStyle: {
|
textStyle: {
|
||||||
color: '#fff',
|
color: '#768ddb',
|
||||||
},
|
},
|
||||||
backgroundColor: '#607DDB',
|
backgroundColor: '#d5dcf8',
|
||||||
borderColor: '#1b7ef2',
|
borderColor: '#1b7ef2',
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
@@ -144,7 +144,7 @@ const ringTheme = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
seriesLabel: {
|
seriesLabel: {
|
||||||
color: '#27386E',
|
color: '#fff',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -196,7 +196,7 @@ export function ringOption(chartData, total, theme) {
|
|||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
radius: ['50%', '74%'],
|
radius: ['50%', '80%'],
|
||||||
center: ['50%', '47%'],
|
center: ['50%', '47%'],
|
||||||
avoidLabelOverlap: false,
|
avoidLabelOverlap: false,
|
||||||
label: {
|
label: {
|
||||||
|
|||||||
@@ -130,7 +130,7 @@
|
|||||||
handlePolice(item);
|
handlePolice(item);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
message.warn('暂无定位信息');
|
message.warn('暂无经纬度信息!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-height: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
color: #ffffff !important;
|
color: #ffffff !important;
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
.user-info-modal {
|
.user-info-modal {
|
||||||
background-color: #00152b;
|
background-color: #00152b;
|
||||||
border: 1px solid #129bff;
|
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
|||||||
@@ -573,8 +573,7 @@
|
|||||||
gap: 20px;
|
gap: 20px;
|
||||||
|
|
||||||
.count-item {
|
.count-item {
|
||||||
//src/assets/images/footer-num.png
|
padding: 0 100px;
|
||||||
width: 340px;
|
|
||||||
height: 80px;
|
height: 80px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ import router from './router';
|
|||||||
import('ant-design-vue/dist/antd.less');
|
import('ant-design-vue/dist/antd.less');
|
||||||
import registerGlobComp from './assets/ts/antd.ts';
|
import registerGlobComp from './assets/ts/antd.ts';
|
||||||
import directiveMethods from './assets/ts/directive';
|
import directiveMethods from './assets/ts/directive';
|
||||||
import { setupStore } from './store/index.ts';
|
import { setupStore } from '/@/store';
|
||||||
|
|
||||||
const app = createApp(App);
|
const app = createApp(App);
|
||||||
// 注册自定义事件
|
// 注册自定义事件
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<Dialog :openVis="visible" width="50%" :title="title" @close="closeDialog" :maskClosable="false">
|
<Dialog class="phone-dialog" :openVis="visible" width="50%" :title="title" @close="closeDialog" :maskClosable="false">
|
||||||
<template #container>
|
<template #container>
|
||||||
<div v-if="useForm" class="form-container">
|
<div v-if="useForm" class="form-container">
|
||||||
<Form :model="formRecord" :label-width="100" v-bind="formItemLayout">
|
<Form :model="formRecord" :label-width="100" v-bind="formItemLayout">
|
||||||
@@ -102,8 +102,16 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
.phone-dialog {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.form-container {
|
.form-container {
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
|
|
||||||
|
:deep(.ant-form-item-label > label) {
|
||||||
|
color: var(--formLabel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-container {
|
.table-container {
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ function pathResolve(dir: string) {
|
|||||||
|
|
||||||
const px2remOptions = {
|
const px2remOptions = {
|
||||||
remUnit: 14,
|
remUnit: 14,
|
||||||
rootValue: 19, //换算基数, 默认100 ,也就是1440px ,这样的话把根标签的字体规定为1rem为50px,这样就可以从设计稿上量出多少个px直接在代码中写多少px了
|
rootValue: 17, //换算基数, 默认100 ,也就是1440px ,这样的话把根标签的字体规定为1rem为50px,这样就可以从设计稿上量出多少个px直接在代码中写多少px了
|
||||||
unitPrecision: 5, //允许REM单位增长到的十进制数字,其实就是精度控制
|
unitPrecision: 5, //允许REM单位增长到的十进制数字,其实就是精度控制
|
||||||
// propWhiteList: [], // 默认值是一个空数组,这意味着禁用白名单并启用所有属性。
|
// propWhiteList: [], // 默认值是一个空数组,这意味着禁用白名单并启用所有属性。
|
||||||
// propBlackList: [], // 黑名单
|
// propBlackList: [], // 黑名单
|
||||||
|
|||||||
Reference in New Issue
Block a user