This commit is contained in:
duanxiaohai 2024-08-23 10:10:04 +08:00
parent 52d0a888bd
commit 52d99a8492
4 changed files with 43 additions and 10 deletions

View File

@ -1,9 +1,6 @@
<template>
<teleport to="body">
<div
class="header_content"
style="position: absolute; z-index: 9999; width: 1920px"
>
<div class="header_content">
<div class="header">
<div class="headerGo" @click="to('/guide')"></div>
<!-- <img class="title" src="../assets/img_07.png" alt="" /> -->
@ -373,6 +370,9 @@ onMounted(() => {
}
.header_content {
z-index: 99999;
width: 1920px;
position: absolute;
background: url("../assets/bgImg.png") no-repeat 0/100% 100%;
}
</style>

View File

@ -6,8 +6,7 @@
</div> -->
<Header />
<router-view />
<router-view />
</div>
</div>
</template>
@ -72,7 +71,6 @@ window.addEventListener("resize", function () {
padding: 0;
margin: 0;
box-sizing: border-box;
// color: #ccffff;
}
html {

View File

@ -1,5 +1,9 @@
<template>
<div class="module">
<div class="back" @click="back()">
<img src="@/assets/person/back.png" alt="" />
<p>返回</p>
</div>
<div class="displayFlex left_bg">
<div class="bt_title">
<div class="yd_title">
@ -1613,7 +1617,10 @@ const listAssignment = () => {
break;
}
};
//
const back = () => {
router.back();
};
onMounted(() => {
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
if (routers.query.name) {
@ -1632,6 +1639,34 @@ onMounted(() => {
justify-content: space-between;
padding: 10px 45px;
box-sizing: border-box;
.back {
box-sizing: border-box;
position: fixed;
width: 88px;
height: 36px;
top: 90px;
left: 45px;
background: url("../../assets/person/back_bg.png") no-repeat;
background-size: 100% 100%;
background-color: #0d4378;
border-radius: 36px;
display: flex;
align-items: center;
padding: 10px 16px;
z-index: 10001;
cursor: pointer;
img {
width: 17px;
height: 16px;
}
p {
margin-left: 5px;
font-weight: 400;
font-size: 16px;
color: #b5eaff;
line-height: 22px;
}
}
.displayFlex {
height: 100%;
display: flex;

View File

@ -15,8 +15,8 @@ export default defineConfig({
// 第一个代理
"/api": {
// 匹配到啥来进行方向代理
// target: "http://10.0.0.65:8095/", //刘进
target: "http://220.191.238.50:996/", //线上
target: "http://10.0.0.65:8095/", //刘进
// target: "http://220.191.238.50:996/", //线上
changeOrigin: true, //是否支持跨域
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
},