feat(fallback): use dynamic filename

This commit is contained in:
Haoyu Xu
2021-08-08 16:27:58 -04:00
parent 7099bc8c27
commit bbaacd766d
5 changed files with 39 additions and 24 deletions

View File

@@ -11,11 +11,12 @@
<link rel="stylesheet" href="./assets/spine-player.css?v={# version #}">
</head>
<body>
<div id="dev" style="position: fixed;left: 0;top: 0;background-color: white;"></div>
<body style="background-image: url('./operator/operator_bg.png');">
<div id="dev"></div>
<image src="./operator/{# operator_logo #}.png" class="logo invert-filter" id="logo" alt="operator logo" />
<div id="widget-wrapper" style="width: 100%; height: 100%;">
<div id="container" style="width: 100%; height: 100%;"></div>
<div id="widget-wrapper">
<div id="container"></div>
<div id="fallback" class="hide" style="background-image: url('./operator/{# fallback_name #}.png');"></div>
</div>
</body>