fix: 이미지 경로에 빈칸이 있는 경우

This commit is contained in:
2024-12-20 15:50:38 +00:00
parent 7b5613d032
commit b472440ec1
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
<div
class="general-icon"
:style="{
backgroundImage: `url(${iconPath})`,
backgroundImage: `url('${iconPath}')`,
}"
></div>
@@ -83,7 +83,7 @@
<div
class="general-crew-type-icon"
:style="{
backgroundImage: `url(${imagePath}/crewtype${general.crewtype}.png)`,
backgroundImage: `url('${imagePath}/crewtype${general.crewtype}.png')`,
}"
></div>
+1 -1
View File
@@ -3,7 +3,7 @@
<div
class="general-icon"
:style="{
backgroundImage: `url(${iconPath})`,
backgroundImage: `url('${iconPath}')`,
}"
></div>
+1 -1
View File
@@ -9,7 +9,7 @@
v-if="city.color"
:class="`city_bg b${city.color.substring(1)}`"
:style="{
backgroundImage: `url(${imagePath}/b${city.color.substring(1).toUpperCase()}.png)`,
backgroundImage: `url('${imagePath}/b${city.color.substring(1).toUpperCase()}.png')`,
}"
></div>
+2 -2
View File
@@ -18,7 +18,7 @@
left: '0',
width: '100%',
height: `${props.height}px`,
backgroundImage: `url(${imagePath}/pr${props.height - 2}.gif)`,
backgroundImage: `url('${imagePath}/pr${props.height - 2}.gif')`,
backgroundRepeat: 'repeat-x',
backgroundPosition: 'center',
}"
@@ -30,7 +30,7 @@
left: '0',
width: `${clamp(props.percent, 0, 100)}%`,
height: `${props.height}px`,
backgroundImage: `url(${imagePath}/pb${props.height - 2}.gif)`,
backgroundImage: `url('${imagePath}/pb${props.height - 2}.gif')`,
backgroundRepeat: 'repeat-x',
backgroundPosition: 'left center',