fix: BUG修改

This commit is contained in:
kun 2023-11-15 11:58:29 +08:00
parent 9d8ac11456
commit 22f4aa108b
30 changed files with 272 additions and 163 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 469 KiB

After

Width:  |  Height:  |  Size: 462 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 287 KiB

View File

@ -1,20 +1,6 @@
{ {
"code": 200, "code": 200,
"result": [ "result": [
{
"path": "/frontLargeScreen",
"name": "frontLargeScreen",
"component": "/goverment/frontLargeScreen/index",
"meta": {
"icon": "leftGover",
"title": "前台首页",
"isLink": "",
"isHide": false,
"isFull": true,
"isAffix": true,
"isKeepAlive": true
}
},
{ {
"path": "/largeScreen", "path": "/largeScreen",
"name": "largeScreen", "name": "largeScreen",

View File

@ -1,14 +1,31 @@
@mixin selected {
background-image: url("@/assets/images/Mars3DIcon/selected.png");
background-size: cover;
background-repeat: no-repeat;
span {
font-size: 24px;
font-family: YouSheBiaoTiHei-Regular, YouSheBiaoTiHei;
font-weight: 400;
line-height: 28px;
letter-spacing: 4px;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
background: linear-gradient(180deg, #ffffff 0%, #fff 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
.back-model { .back-model {
.el-header { .el-header {
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
align-items: center; align-items: center;
height: 72px; height: 72px;
padding: 0 15px 0 0; padding: 0;
background-color: rgba(23, 49, 71, 0.8); background-color: rgba(23, 49, 71, 0.8);
background-image: url("@/assets/images/Mars3DIcon/headBg.png"); background-image: url("@/assets/images/Mars3DIcon/headBg.png");
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 0px 4px;
position: relative; position: relative;
z-index: 100; z-index: 100;
.header-lf { .header-lf {
@ -17,7 +34,7 @@
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
cursor: pointer; cursor: pointer;
height: 76px; height: 100%;
width: 460px; width: 460px;
// background-image: url("@/assets/images/topHeader/heade-title-bg.png"); // background-image: url("@/assets/images/topHeader/heade-title-bg.png");
// background-size: 100% 100%; // background-size: 100% 100%;
@ -45,27 +62,54 @@
} }
} }
} }
.angel {
width: 28px;
height: 38px;
}
.header-menu { .header-menu {
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
margin-right: auto; margin-right: auto;
> div { > div {
height: 100%; width: 184px;
height: 38px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
padding: 0 20px; padding: 0 20px;
cursor: pointer; cursor: pointer;
background-image: url("@/assets/images/Mars3DIcon/no-select.png");
background-size: cover;
background-repeat: no-repeat;
span { span {
color: white; font-size: 24px;
font-size: 18px; font-family: YouSheBiaoTiHei-Regular, YouSheBiaoTiHei;
margin-left: 3px; font-weight: 400;
white-space: nowrap; line-height: 28px;
letter-spacing: 4px;
text-shadow: 0px 1px 0px rgba(30, 96, 169, 0.6);
background: linear-gradient(180deg, #ffffff 0%, #d7e9fa 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
} }
} }
> div:hover { > div:hover {
background-color: rgba(0, 138, 255, 0.2); @include selected();
} }
.selected-class {
@include selected();
}
}
.tool-bar-ri {
width: 260px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
background-image: url("@/assets/images/Mars3DIcon/RectangleBox.png");
background-size: cover;
background-repeat: no-repeat;
} }
} }
} }

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="back-model" v-if="false"> <div class="back-model">
<el-header> <el-header>
<div class="header-lf"> <div class="header-lf">
<div @click="goHome" class="logo flx-center"> <div @click="goHome" class="logo flx-center">
@ -10,20 +10,22 @@
<span>佳信捷3D综合态势展示系统</span> <span>佳信捷3D综合态势展示系统</span>
</div> </div>
</div> </div>
<img class="angel" src="@/assets/images/Mars3DIcon/Rectangle.png" alt="" />
<div class="header-menu"> <div class="header-menu">
<div @click="backCenter"> <div @click="router.push('/largeScreen')" :class="route.path == '/largeScreen' ? 'selected-class' : ''">
<!-- <img src="@/assets/images/icon/fire.png" alt="" srcset="" /> --> <!-- <img src="@/assets/images/icon/fire.png" alt="" srcset="" /> -->
<span>首页</span> <span>首页</span>
</div> </div>
<div @click="router.push('/config')"> <div @click="router.push('/config')" :class="route.path == '/config' ? 'selected-class' : ''">
<!-- <img src="@/assets/images/icon/fire.png" alt="" srcset="" /> --> <!-- <img src="@/assets/images/icon/fire.png" alt="" srcset="" /> -->
<span>信息展示</span> <span>信息展示</span>
</div> </div>
</div> </div>
<img class="angel" src="@/assets/images/Mars3DIcon/Rectangle.png" alt="" />
<ToolBarRight /> <ToolBarRight />
</el-header> </el-header>
</div> </div>
<div class="front-model"> <div class="front-model" v-if="false">
<el-header> <el-header>
<div class="date-content"> <div class="date-content">
<span>2023-10-25</span> <span>2023-10-25</span>
@ -42,14 +44,10 @@ import { useRoute, useRouter } from "vue-router";
import { GlobalStore } from "@/stores"; import { GlobalStore } from "@/stores";
import { HOME_URL } from "@/enums/Home"; import { HOME_URL } from "@/enums/Home";
import ToolBarRight from "@/layouts/components/Header/ToolBarRight.vue"; import ToolBarRight from "@/layouts/components/Header/ToolBarRight.vue";
const emits = defineEmits(["toCenter"]); const route = useRoute();
const router = useRouter(); const router = useRouter();
const globalStore = GlobalStore(); const globalStore = GlobalStore();
const moduleTitle = globalStore.moduleName; const moduleTitle = globalStore.moduleName;
const backCenter = () => {
emits("toCenter");
router.push("/largeScreen");
};
const goHome = () => { const goHome = () => {
router.push(HOME_URL[globalStore.accountType - 1]); router.push(HOME_URL[globalStore.accountType - 1]);
}; };

View File

@ -1 +1 @@
export const HOME_URL: string[] = ["/frontLargeScreen", "/home", "/home", "/home"]; export const HOME_URL: string[] = ["/largeScreen", "/home", "/home", "/home"];

View File

@ -1,3 +1,19 @@
@mixin selected {
background-image: url("@/assets/images/Mars3DIcon/selected.png");
background-size: cover;
background-repeat: no-repeat;
span {
font-size: 24px;
font-family: YouSheBiaoTiHei-Regular, YouSheBiaoTiHei;
font-weight: 400;
line-height: 28px;
letter-spacing: 4px;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
background: linear-gradient(180deg, #ffffff 0%, #fff 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
.el-container { .el-container {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -6,11 +22,12 @@
display: flex; display: flex;
align-items: center; align-items: center;
height: 72px; height: 72px;
padding: 0 15px 0 0; padding: 0;
background-color: rgba(23, 49, 71, 0.8); background-color: rgba(23, 49, 71, 0.8);
background-image: url("@/assets/images/topHeader/header-bg.png"); background-image: url("@/assets/images/Mars3DIcon/headBg.png");
background-size: 100% 100%; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 0px 4px;
position: relative; position: relative;
z-index: 100; z-index: 100;
.header-lf { .header-lf {
@ -19,14 +36,13 @@
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
cursor: pointer; cursor: pointer;
height: 76px; height: 100%;
width: 460px; width: 460px;
background-image: url("@/assets/images/topHeader/heade-title-bg.png"); // background-image: url("@/assets/images/topHeader/heade-title-bg.png");
background-size: 100% 100%; // background-size: 100% 100%;
background-repeat: no-repeat; // background-repeat: no-repeat;
color: #fff; color: #fff;
text-shadow: 0px 2px 6px #123756; text-shadow: 0px 2px 6px #123756;
margin-right: auto;
.logo { .logo {
flex-shrink: 0; flex-shrink: 0;
@ -48,26 +64,54 @@
} }
} }
} }
:deep(.tool-bar-lf) { .angel {
color: #ffffff; width: 28px;
.el-breadcrumb__inner.is-link { height: 38px;
color: #e5eaf3; }
&:hover { .header-menu {
color: var(--el-color-primary); height: 100%;
display: flex;
align-items: center;
margin-right: auto;
> div {
width: 184px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
padding: 0 20px;
cursor: pointer;
background-image: url("@/assets/images/Mars3DIcon/no-select.png");
background-size: cover;
background-repeat: no-repeat;
span {
font-size: 24px;
font-family: YouSheBiaoTiHei-Regular, YouSheBiaoTiHei;
font-weight: 400;
line-height: 28px;
letter-spacing: 4px;
text-shadow: 0px 1px 0px rgba(30, 96, 169, 0.6);
background: linear-gradient(180deg, #ffffff 0%, #d7e9fa 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
} }
} }
.el-breadcrumb__item:last-child .el-breadcrumb__inner, > div:hover {
.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover { @include selected();
color: #cfd3dc; }
.selected-class {
@include selected();
} }
} }
:deep(.tool-bar-ri) { .tool-bar-ri {
// display: flex; width: 260px;
// align-items: center; height: 38px;
.toolBar-icon, display: flex;
.username { align-items: center;
color: #e5eaf3; justify-content: center;
} background-image: url("@/assets/images/Mars3DIcon/RectangleBox.png");
background-size: cover;
background-repeat: no-repeat;
} }
} }
.el-aside { .el-aside {

View File

@ -11,6 +11,18 @@
<span>佳信捷3D综合态势展示系统</span> <span>佳信捷3D综合态势展示系统</span>
</div> </div>
</div> </div>
<img class="angel" src="@/assets/images/Mars3DIcon/Rectangle.png" alt="" />
<div class="header-menu">
<div @click="router.push('/largeScreen')" :class="route.path == '/largeScreen' ? 'selected-class' : ''">
<!-- <img src="@/assets/images/icon/fire.png" alt="" srcset="" /> -->
<span>首页</span>
</div>
<div @click="router.push('/config')" :class="route.path == '/config' ? 'selected-class' : ''">
<!-- <img src="@/assets/images/icon/fire.png" alt="" srcset="" /> -->
<span>信息展示</span>
</div>
</div>
<img class="angel" src="@/assets/images/Mars3DIcon/Rectangle.png" alt="" />
<ToolBarRight /> <ToolBarRight />
</el-header> </el-header>
<el-container class="classic-content"> <el-container class="classic-content">

View File

@ -10,11 +10,6 @@
<!-- <el-dropdown-item @click="openDialog('infoRef')"> <!-- <el-dropdown-item @click="openDialog('infoRef')">
<el-icon><User /></el-icon>{{ $t("header.personalData") }} <el-icon><User /></el-icon>{{ $t("header.personalData") }}
</el-dropdown-item> --> </el-dropdown-item> -->
<el-dropdown-item @click="openDocument">
<!-- <el-icon><Edit /></el-icon> -->
<!-- {{ $t("header.changePassword") }} -->
<span>文档地址</span>
</el-dropdown-item>
<el-dropdown-item @click="openDialog('passwordRef')"> <el-dropdown-item @click="openDialog('passwordRef')">
<!-- <el-icon><Edit /></el-icon> --> <!-- <el-icon><Edit /></el-icon> -->
<!-- {{ $t("header.changePassword") }} --> <!-- {{ $t("header.changePassword") }} -->
@ -48,14 +43,7 @@ const router = useRouter();
const globalStore = GlobalStore(); const globalStore = GlobalStore();
const account = globalStore.account; const account = globalStore.account;
const openDropdown = ref(false); const openDropdown = ref(false);
const documentUrl = ref("");
//
const getConfigMarker = async () => {
const { result } = await getSystemConfig({ configKey: "system_doc" });
documentUrl.value = result[0].configValue;
console.log(result);
};
// 退 // 退
const logout = () => { const logout = () => {
ElMessageBox.confirm("您是否确认退出登录?", "温馨提示", { ElMessageBox.confirm("您是否确认退出登录?", "温馨提示", {
@ -94,13 +82,7 @@ const onEdit = () => {
globalStore.seteditPassword(true); globalStore.seteditPassword(true);
console.log(globalStore.editPassword); console.log(globalStore.editPassword);
}; };
// onMounted(() => {});
const openDocument = () => {
window.open(documentUrl.value, "_blank");
};
onMounted(() => {
// getConfigMarker();
});
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">

View File

@ -21,9 +21,9 @@ export const staticRouter: RouteRecordRaw[] = [
} }
}, },
{ {
path: "/home", path: "/frontLargeScreen",
name: "home", name: "frontLargeScreen",
component: () => import("@/views/home/index.vue"), component: () => import("@/views/goverment/frontLargeScreen/index.vue"),
meta: { meta: {
title: "首页", title: "首页",
showSidebar: false showSidebar: false

View File

@ -1,5 +1,5 @@
<template> <template>
<layoutTop @toCenter="toCenter"></layoutTop> <layoutTop></layoutTop>
<div class="map-content" id="map-content"> <div class="map-content" id="map-content">
<div id="mars3dContainer" class="mars3d-container"></div> <div id="mars3dContainer" class="mars3d-container"></div>
<!-- 搜索框 --> <!-- 搜索框 -->
@ -494,9 +494,7 @@ const data = [
} }
]; ];
// //
const toCenter = () => { const toCenter = () => {};
map.flyHome();
};
// //
const clearScreenComparison = () => { const clearScreenComparison = () => {
if (mapScreenSplit) { if (mapScreenSplit) {
@ -590,11 +588,15 @@ const showWidget = (name: string) => {
if (name == "底图") { if (name == "底图") {
basicMapShow.value = true; basicMapShow.value = true;
layersShow.value = false; layersShow.value = false;
toolListShow.value = false;
} else if (name == "图层") { } else if (name == "图层") {
basicMapShow.value = false;
layersShow.value = true; layersShow.value = true;
basicMapShow.value = false;
toolListShow.value = false;
} else if (name == "工具") { } else if (name == "工具") {
toolListShow.value = !toolListShow.value; toolListShow.value = !toolListShow.value;
basicMapShow.value = false;
layersShow.value = false;
} }
console.log(666); console.log(666);
}; };
@ -831,6 +833,8 @@ const initMars3d = (option: any) => {
getPointPosition(); getPointPosition();
// 线 // 线
getLineEffect(); getLineEffect();
//
map.flyHome();
}; };
// //
const randomPoint = (position: any) => { const randomPoint = (position: any) => {
@ -1476,10 +1480,12 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: white; color: #0089fe;
margin-right: auto; margin-right: auto;
} }
:deep() { :deep() {
@ -1555,10 +1561,12 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: white; color: #0089fe;
margin-right: auto; margin-right: auto;
} }
:deep() { :deep() {

View File

@ -293,7 +293,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;

View File

@ -402,7 +402,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;

View File

@ -582,7 +582,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;

View File

@ -6,7 +6,7 @@
</div> </div>
<div class="main-content-menu"> <div class="main-content-menu">
<div v-for="(item, i) in menuList" :key="i" class="menu-item" @click="mapOperate(item.name)"> <div v-for="(item, i) in menuList" :key="i" class="menu-item" @click="mapOperate(item.name)">
<div><img class="icon" src="@/assets/images/icon/fire.png" alt="" srcset="" /></div> <div><img class="icon" :src="item.icon" alt="" srcset="" /></div>
<div>{{ item.name }}</div> <div>{{ item.name }}</div>
</div> </div>
</div> </div>
@ -54,15 +54,15 @@ const formData = ref({
distanceVal: 0 distanceVal: 0
}); });
const menuList = ref([ const menuList = ref([
{ name: "空间距离" }, { name: "空间距离", icon: new URL("../../../../assets/images/Mars3DIcon/kjjl.png", import.meta.url).href },
{ name: "贴地距离" }, { name: "贴地距离", icon: new URL("../../../../assets/images/Mars3DIcon/tdjl.png", import.meta.url).href },
{ name: "剖面" }, { name: "剖面", icon: new URL("../../../../assets/images/Mars3DIcon/pm.png", import.meta.url).href },
{ name: "水平面积" }, { name: "水平面积", icon: new URL("../../../../assets/images/Mars3DIcon/spmj.png", import.meta.url).href },
{ name: "贴地面积" }, { name: "贴地面积", icon: new URL("../../../../assets/images/Mars3DIcon/tdmj.png", import.meta.url).href },
{ name: "角度" }, { name: "角度", icon: new URL("../../../../assets/images/Mars3DIcon/jd.png", import.meta.url).href },
{ name: "三角测量" }, { name: "三角测量", icon: new URL("../../../../assets/images/Mars3DIcon/sjcl.png", import.meta.url).href },
{ name: "坐标测量" }, { name: "坐标测量", icon: new URL("../../../../assets/images/Mars3DIcon/zbcl.png", import.meta.url).href },
{ name: "高度差" } { name: "高度差", icon: new URL("../../../../assets/images/Mars3DIcon/gdc.png", import.meta.url).href }
]); ]);
let map: any = props.mapInstance; let map: any = props.mapInstance;
let measure: any; let measure: any;
@ -213,7 +213,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;
@ -241,8 +243,8 @@ onUnmounted(() => {
font-size: 12px; font-size: 12px;
color: white; color: white;
.icon { .icon {
width: 65px; width: 50px;
height: 60px; height: 50px;
padding: 1px; padding: 1px;
} }
} }

View File

@ -83,7 +83,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;

View File

@ -343,7 +343,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;

View File

@ -206,7 +206,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;

View File

@ -394,7 +394,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;

View File

@ -6,7 +6,7 @@
</div> </div>
<div class="main-content-menu" v-if="mainMenuShow"> <div class="main-content-menu" v-if="mainMenuShow">
<div v-for="(item, i) in menuList" :key="i" class="menu-item" @click="mapOperate(item.name)"> <div v-for="(item, i) in menuList" :key="i" class="menu-item" @click="mapOperate(item.name)">
<div><img class="icon" src="@/assets/images/icon/fire.png" alt="" srcset="" /></div> <div><img class="icon" :src="item.icon" alt="" srcset="" /></div>
<div>{{ item.name }}</div> <div>{{ item.name }}</div>
</div> </div>
</div> </div>
@ -328,15 +328,15 @@ const allProperty = ref<any>({
}); });
const selectedName = ref(""); const selectedName = ref("");
const menuList = ref([ const menuList = ref([
{ name: "日照分析" }, { name: "日照分析", icon: new URL("../../../../assets/images/Mars3DIcon/rzfx.png", import.meta.url).href },
{ name: "可视域" }, { name: "可视域", icon: new URL("../../../../assets/images/Mars3DIcon/ksy.png", import.meta.url).href },
{ name: "方量分析" }, { name: "方量分析", icon: new URL("../../../../assets/images/Mars3DIcon/flfx.png", import.meta.url).href },
{ name: "地形开挖" }, { name: "地形开挖", icon: new URL("../../../../assets/images/Mars3DIcon/dxkw.png", import.meta.url).href },
{ name: "地表透明" }, { name: "地表透明", icon: new URL("../../../../assets/images/Mars3DIcon/dbtm.png", import.meta.url).href },
{ name: "坡度坡向" }, { name: "坡度坡向", icon: new URL("../../../../assets/images/Mars3DIcon/pdpx.png", import.meta.url).href },
{ name: "模型剖切" }, { name: "模型剖切", icon: new URL("../../../../assets/images/Mars3DIcon/mxpq.png", import.meta.url).href },
{ name: "模型压平" }, { name: "模型压平", icon: new URL("../../../../assets/images/Mars3DIcon/mxyp.png", import.meta.url).href },
{ name: "限高分析" } { name: "限高分析", icon: new URL("../../../../assets/images/Mars3DIcon/xgfx.png", import.meta.url).href }
]); ]);
let map: any = props.mapInstance; let map: any = props.mapInstance;
let measure: any; let measure: any;
@ -981,7 +981,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;
@ -1011,8 +1013,8 @@ onUnmounted(() => {
font-size: 12px; font-size: 12px;
color: white; color: white;
.icon { .icon {
width: 65px; width: 50px;
height: 60px; height: 50px;
padding: 1px; padding: 1px;
} }
} }

View File

@ -140,7 +140,9 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: #0089fe; color: #0089fe;

View File

@ -590,11 +590,15 @@ const showWidget = (name: string) => {
if (name == "底图") { if (name == "底图") {
basicMapShow.value = true; basicMapShow.value = true;
layersShow.value = false; layersShow.value = false;
toolListShow.value = false;
} else if (name == "图层") { } else if (name == "图层") {
basicMapShow.value = false;
layersShow.value = true; layersShow.value = true;
basicMapShow.value = false;
toolListShow.value = false;
} else if (name == "工具") { } else if (name == "工具") {
toolListShow.value = !toolListShow.value; toolListShow.value = !toolListShow.value;
basicMapShow.value = false;
layersShow.value = false;
} }
console.log(666); console.log(666);
}; };
@ -1476,10 +1480,12 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: white; color: #0089fe;
margin-right: auto; margin-right: auto;
} }
:deep() { :deep() {
@ -1555,10 +1561,12 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 40px; height: 40px;
padding: 0 5px 0 10px; padding: 0 5px 0 10px;
background-color: #173147; background-image: url("@/assets/images/Mars3DIcon/subClassTitle.png");
background-size: 100% 100%;
background-repeat: no-repeat;
span { span {
font-size: 16px; font-size: 16px;
color: white; color: #0089fe;
margin-right: auto; margin-right: auto;
} }
:deep() { :deep() {

View File

@ -5,7 +5,7 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
background: #333c52; background: #333c52;
background-image: url("@/assets/images/login/login-bg-color.png"); background-image: url("@/assets/images/login/login-bg.jpg");
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
user-select: none; user-select: none;
@ -13,38 +13,44 @@
-moz-user-select: none; -moz-user-select: none;
-o-user-select: none; -o-user-select: none;
-ms-user-select: none; -ms-user-select: none;
> img { display: flex;
width: 67%; flex-direction: column;
position: absolute; align-items: center;
top: 50%; .login-title-content {
transform: translateY(-50%); width: 1047px;
} height: max-content;
.login-title {
position: relative; position: relative;
width: 754px; display: flex;
height: 96px; flex-direction: column;
margin: auto; align-items: center;
padding: 18px 107px; .login-title {
color: #fff; width: 613px;
font-weight: 700; height: 62px;
font-size: 36px; font-size: 48px;
text-align: center; font-family: YouSheBiaoTiHei-Regular, YouSheBiaoTiHei;
letter-spacing: 0.1em; font-weight: 400;
line-height: 56px;
letter-spacing: 4px;
background: linear-gradient(180deg, #ffffff 0%, #2ebafb 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-top: 100px;
}
.login-title-bg {
width: 1047px;
height: 589px;
background-image: url("@/assets/images/login/login-title-bg.png"); background-image: url("@/assets/images/login/login-title-bg.png");
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
position: absolute;
// top: -40px;
// left: 430px;
// top: -4%;
// left: 5%;
top: -60px;
left: 0;
}
} }
// .login-title::before {
// content: "";
// width: 54px;
// height: 44px;
// position: relative;
// top: 10px;
// display: inline-block;
// background-image: url("@/assets/images/login/login-title-logo.png");
// background-size: 100% 100%;
// background-repeat: no-repeat;
// }
.login-pannel { .login-pannel {
width: 380px; width: 380px;
height: 500px; height: 500px;

View File

@ -1,8 +1,10 @@
<template> <template>
<div class="login-container"> <div class="login-container">
<img src="@/assets/images/login/login-bg-earth.png" alt="" srcset="" /> <div class="login-title-content">
<div class="login-title">佳信捷3D综合态势展示系统</div> <div class="login-title">佳信捷30综合态势展示系统</div>
<div class="login-pannel"> <div class="login-title-bg"></div>
</div>
<!-- <div class="login-pannel">
<p class="login-pannel_text">欢迎登录</p> <p class="login-pannel_text">欢迎登录</p>
<el-form ref="loginFormRef" class="form" :model="loginForm" :rules="loginRules" size="large"> <el-form ref="loginFormRef" class="form" :model="loginForm" :rules="loginRules" size="large">
<el-form-item prop="account"> <el-form-item prop="account">
@ -21,7 +23,6 @@
autocomplete="new-password" autocomplete="new-password"
> >
<template #prefix> <template #prefix>
<!-- <el-icon class="el-input__icon"><lock /></el-icon> -->
<img src="@/assets/images/login/lockIcon.png" alt="" /> <img src="@/assets/images/login/lockIcon.png" alt="" />
</template> </template>
</el-input> </el-input>
@ -30,7 +31,7 @@
<div class="login-btn"> <div class="login-btn">
<el-button @click="login(loginFormRef)" type="primary" size="large"> 登录 </el-button> <el-button @click="login(loginFormRef)" type="primary" size="large"> 登录 </el-button>
</div> </div>
</div> </div> -->
</div> </div>
</template> </template>
@ -66,7 +67,7 @@ const login = (formEl: FormInstance | undefined) => {
if (!valid) return; if (!valid) return;
loading.value = true; loading.value = true;
try { try {
const arr = ref(["/frontLargeScreen", "/home", "/home", "/home"]); const arr = ref(["/largeScreen", "/home", "/home", "/home"]);
// 1. // 1.
const { result } = await loginApi({ ...loginForm, showPassword: loginForm.showPassword }); const { result } = await loginApi({ ...loginForm, showPassword: loginForm.showPassword });
console.log(result); console.log(result);