This commit is contained in:
姚宇浩 2024-08-07 09:28:51 +08:00
commit 0a0a8fa87d
5 changed files with 17 additions and 13 deletions

BIN
dist.zip

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -137,13 +137,13 @@ const reset_font = () => {
"scale(" + width / 1920 + "," + height / 1080 + ")";
};
onMounted(() => {
// let token = tools.data.get("token");
// // console.log(token, "token");
// if (token == null) {
// ElMessage.error("!");
// window.location.href =
// "http://220.191.238.50:996/api/login?returnURL=" + window.location.href;
// }
let token = tools.data.get("token");
// console.log(token, "token");
if (token == null) {
ElMessage.error("请重新登录!");
window.location.href =
"http://220.191.238.50:996/api/login?returnURL=" + window.location.href;
}
reset_font();
reset_font();
});

View File

@ -119,7 +119,7 @@
<div class="bottom">
{{ data.salvageServices.jzje
}}<span style="font-size: 12px; color: #fff; margin-left: 4px"
></span
></span
>
</div>
</div>
@ -1242,7 +1242,7 @@ const getData = async () => {
// data.salvageServices[key] = res.data.jzfw[key];
// });
data.salvageServices.jzrc = addThousandSeparator(res.data.jzfw.jzrc);
data.salvageServices.jzje = addThousandSeparator(res.data.jzfw.jzje);
data.salvageServices.jzje = (res.data.jzfw.jzje / 10000).toFixed(2);
}
// &
const jysyKeys = ["xxzs", "xszs", "jzgzs"];

View File

@ -270,16 +270,16 @@
<div class="serviceBox">
<div class="serviceTop">
<div class="visit">
<img class="serviceimg" src="@/assets/YLimg/ylimg8.png" alt="" />
<ylSMFW v-if="showEchart" :list="data.smfwcs"></ylSMFW>
<img class="serviceimg" src="@/assets/YLimg/ylimg8.png" alt="" />
</div>
<div class="medicalService">
<img class="serviceimg" src="@/assets/YLimg/ylimg9.png" alt="" />
<img class="moveYl" src="@/assets/YLimg/turn.gif" alt="" />
<div class="medicalServiceTop">
<img class="ylimg" src="@/assets/YLimg/ylimg1.png" alt="" />
<span>36,234</span>
</div>
<img class="serviceimg1" src="@/assets/YLimg/ylimg13.png" alt="" />
</div>
</div>
</div>
@ -892,6 +892,10 @@ const getData = () => {
width: 165px;
height: 35px;
}
.serviceimg1 {
width: 165px;
height: 64px;
}
.serviceTop {
display: flex;
@ -914,11 +918,11 @@ const getData = () => {
position: absolute;
width: 160px;
height: 160px;
top: 76px;
top: 5px;
}
.ylimg {
margin-top: 40px;
margin-top: 5px;
width: 160px;
height: 190px;
}