non-mandatory imgae in tick v3
parent
d3b4088a43
commit
5f2138b742
|
@ -198,11 +198,11 @@ import Layout from "../../layouts/Layout.astro";
|
|||
height: 40px;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
input[type="checkbox"]:checked {
|
||||
}
|
||||
input[type="checkbox"]:checked {
|
||||
background: blue;
|
||||
}
|
||||
input[type="checkbox"]:checked:after {
|
||||
}
|
||||
input[type="checkbox"]:checked:after {
|
||||
content: "X";
|
||||
color: #fff;
|
||||
border: none;
|
||||
|
@ -222,7 +222,7 @@ input[type="checkbox"]:checked:after {
|
|||
* top: 0;
|
||||
* left: 0;
|
||||
*/
|
||||
}
|
||||
}
|
||||
body{
|
||||
font-family: Quicksand;
|
||||
}
|
||||
|
|
|
@ -89,8 +89,10 @@ import Layout from "../../layouts/Layout.astro";
|
|||
document.getElementById('descImage').src = assetsURL + gameData.descript_img;
|
||||
for (let i = 1; i <= 3; i++) {
|
||||
const imageId = `image${i}`;
|
||||
if(gameData[imageId]){
|
||||
document.getElementById(imageId).src = assetsURL + gameData[imageId];
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
function checkResult2(id) {
|
||||
|
|
Loading…
Reference in New Issue