fix: 이미지 경로에 빈칸이 있는 경우
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<div
|
<div
|
||||||
class="general-icon"
|
class="general-icon"
|
||||||
:style="{
|
:style="{
|
||||||
backgroundImage: `url(${iconPath})`,
|
backgroundImage: `url('${iconPath}')`,
|
||||||
}"
|
}"
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
<div
|
<div
|
||||||
class="general-crew-type-icon"
|
class="general-crew-type-icon"
|
||||||
:style="{
|
:style="{
|
||||||
backgroundImage: `url(${imagePath}/crewtype${general.crewtype}.png)`,
|
backgroundImage: `url('${imagePath}/crewtype${general.crewtype}.png')`,
|
||||||
}"
|
}"
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div
|
<div
|
||||||
class="general-icon"
|
class="general-icon"
|
||||||
:style="{
|
:style="{
|
||||||
backgroundImage: `url(${iconPath})`,
|
backgroundImage: `url('${iconPath}')`,
|
||||||
}"
|
}"
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
v-if="city.color"
|
v-if="city.color"
|
||||||
:class="`city_bg b${city.color.substring(1)}`"
|
:class="`city_bg b${city.color.substring(1)}`"
|
||||||
:style="{
|
:style="{
|
||||||
backgroundImage: `url(${imagePath}/b${city.color.substring(1).toUpperCase()}.png)`,
|
backgroundImage: `url('${imagePath}/b${city.color.substring(1).toUpperCase()}.png')`,
|
||||||
}"
|
}"
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
left: '0',
|
left: '0',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: `${props.height}px`,
|
height: `${props.height}px`,
|
||||||
backgroundImage: `url(${imagePath}/pr${props.height - 2}.gif)`,
|
backgroundImage: `url('${imagePath}/pr${props.height - 2}.gif')`,
|
||||||
backgroundRepeat: 'repeat-x',
|
backgroundRepeat: 'repeat-x',
|
||||||
backgroundPosition: 'center',
|
backgroundPosition: 'center',
|
||||||
}"
|
}"
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
left: '0',
|
left: '0',
|
||||||
width: `${clamp(props.percent, 0, 100)}%`,
|
width: `${clamp(props.percent, 0, 100)}%`,
|
||||||
height: `${props.height}px`,
|
height: `${props.height}px`,
|
||||||
backgroundImage: `url(${imagePath}/pb${props.height - 2}.gif)`,
|
backgroundImage: `url('${imagePath}/pb${props.height - 2}.gif')`,
|
||||||
backgroundRepeat: 'repeat-x',
|
backgroundRepeat: 'repeat-x',
|
||||||
backgroundPosition: 'left center',
|
backgroundPosition: 'left center',
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user