|
@@ -24,7 +24,7 @@ const active = ref(0)
|
|
|
const currentComponent = ref(menus[active.value].component)
|
|
const currentComponent = ref(menus[active.value].component)
|
|
|
const weather = computed(() => store.weather)
|
|
const weather = computed(() => store.weather)
|
|
|
const warningMsg = ref({
|
|
const warningMsg = ref({
|
|
|
- value: '这里是预警提示信息这里是预警提示信息这里是预警提示信息这里是预警提示信息这里是预...',
|
|
|
|
|
|
|
+ value: '这里是预警提示信息这里是预警提示信息这里是预警提示信息这里是预警提示信息这里是预是预警提示信息这里',
|
|
|
time: ' 2023-01-01 12:00:00',
|
|
time: ' 2023-01-01 12:00:00',
|
|
|
btns: [
|
|
btns: [
|
|
|
{
|
|
{
|
|
@@ -289,8 +289,6 @@ function changMenu(_id: number) {
|
|
|
&-tooltip {
|
|
&-tooltip {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 90px;
|
|
top: 90px;
|
|
|
- min-width: 100px;
|
|
|
|
|
- max-width: 1590px;
|
|
|
|
|
border: solid 1px red;
|
|
border: solid 1px red;
|
|
|
border-radius: 30px;
|
|
border-radius: 30px;
|
|
|
z-index: 3;
|
|
z-index: 3;
|
|
@@ -307,7 +305,13 @@ function changMenu(_id: number) {
|
|
|
margin-right: 10px;
|
|
margin-right: 10px;
|
|
|
margin-left: 10px;
|
|
margin-left: 10px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ &>div:nth-child(2){
|
|
|
|
|
+ max-width: 938px;
|
|
|
|
|
+ min-width: 100px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ }
|
|
|
&>div:nth-child(3) {
|
|
&>div:nth-child(3) {
|
|
|
margin: 0 60px;
|
|
margin: 0 60px;
|
|
|
}
|
|
}
|