mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
优化弹框关闭图表
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||||
<link rel="stylesheet" href="http://at.alicdn.com/t/c/font_5010233_d9pawp3ats.css" />
|
<link rel="stylesheet" href="http://at.alicdn.com/t/c/font_5010233_fpzrc14sfwj.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|||||||
@@ -11,11 +11,16 @@
|
|||||||
v-model:open="showCtrModal"
|
v-model:open="showCtrModal"
|
||||||
:destroy-on-close="true"
|
:destroy-on-close="true"
|
||||||
:get-container="() => $refs.mapContent"
|
:get-container="() => $refs.mapContent"
|
||||||
:closable="false"
|
|
||||||
:footer="null"
|
:footer="null"
|
||||||
:title="testVal.name"
|
:title="testVal.name"
|
||||||
:mask="true"
|
:mask="true"
|
||||||
>
|
>
|
||||||
|
<template #closeIcon>
|
||||||
|
<i
|
||||||
|
class="iconfont icon-guanbi"
|
||||||
|
style="font-size:20px; cursor: pointer; color: #fff; "
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="home-modal">
|
<div class="home-modal">
|
||||||
<Modal></Modal>
|
<Modal></Modal>
|
||||||
@@ -103,7 +108,11 @@ export default {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
.ant-modal-close{
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 3px;
|
||||||
|
}
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
height: calc(100% - 45px);
|
height: calc(100% - 45px);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import { createRouter, createWebHistory } from 'vue-router'
|
import { createRouter, createWebHistory } from 'vue-router'
|
||||||
|
|
||||||
export const routes = [
|
export const routes = [
|
||||||
// {
|
{
|
||||||
// path: '/',
|
path: '/',
|
||||||
// redirect: '/main'
|
redirect: '/main/Home'
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
name: 'login',
|
name: 'login',
|
||||||
|
|||||||
Reference in New Issue
Block a user