Commit 8808b42b authored by moonby's avatar moonby

240716

parent 452209b4
public/imgs/home/LOGO_index.png

108 KB | W: | H:

public/imgs/home/LOGO_index.png

106 KB | W: | H:

public/imgs/home/LOGO_index.png
public/imgs/home/LOGO_index.png
public/imgs/home/LOGO_index.png
public/imgs/home/LOGO_index.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -20,10 +20,10 @@
<div class="ams-container" :style="{ left: menuWidth - 2 + 'px' }">
<div class="ams-header" style=" background-color: rgb(31, 63, 141);">
<div class="enterprise-name">
<el-dropdown size="'large'" style="margin-left: 10px;margin-top: 5px;color:blue; width: 100%;"
<el-dropdown size="'large'" style=" margin-left: 10px;margin-top: 5px;color:blue; width: 100%;"
@command="handleCommand" :trigger="(roleId > 2) ? 'contextmenu' : 'hover'">
<span class="el-dropdown-link">
<el-image style=" height: 60px " :src="currLogoUrl" :fit="'full'" />
<el-image style=" height: 50px " :src="currLogoUrl" :fit="'full'" />
</span>
<template #dropdown>
<el-dropdown-menu>
......@@ -479,7 +479,7 @@ export default defineComponent({
showWeatherData.supplyData.supplyId = enterpriseList.value[0].supplyList[0].supplyId;
showWeatherData.supplyData.supplyName = enterpriseList.value[0].supplyList[0].supplyName;
}
currLogoUrl = new URL('../assets/imgs/home/' + enterpriseList.value[0].logo, import.meta.url).href;
currLogoUrl = new URL('/imgs/home/' + enterpriseList.value[0].logo, import.meta.url).href;
//console.log(currLogoUrl);
await getWeather();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment