Commit 42d3b637 by doszhang

dos

parent 5b0d9df7
...@@ -102,6 +102,10 @@ body { ...@@ -102,6 +102,10 @@ body {
-webkit-animation: point 1.5s linear infinite; -webkit-animation: point 1.5s linear infinite;
} }
.hd {
background: rgba(0, 0, 0, 0.8);
}
.cloud { .cloud {
animation: cloud 5s linear infinite; animation: cloud 5s linear infinite;
-webkit-animation: cloud 5s linear infinite; -webkit-animation: cloud 5s linear infinite;
...@@ -153,7 +157,11 @@ canvas { ...@@ -153,7 +157,11 @@ canvas {
-webkit-animation: luo 8s 5s ease infinite; -webkit-animation: luo 8s 5s ease infinite;
} }
.rule-page,
.intro-page {
position: fixed;
z-index: 10;
}
.page1 .light { .page1 .light {
animation: point 2s linear infinite; animation: point 2s linear infinite;
......
...@@ -126,12 +126,32 @@ $(document).ready(function () { ...@@ -126,12 +126,32 @@ $(document).ready(function () {
$('.result').on('click', showResult) $('.result').on('click', showResult)
$('.btn-retry').on('click', retry) $('.btn-retry').on('click', retry)
$('.home-page .btn-rule').on('click', showRule)
$('.home-page .btn-intro').on('click', showIntro)
$('.rule-page .btn-close-rule').on('click', hideRule)
$('.intro-page .btn-close-intro').on('click', hideIntro)
// $('.page').on('click', function () { // $('.page').on('click', function () {
// var audio = document.getElementById('music'); // var audio = document.getElementById('music');
// audio.play(); // audio.play();
// }) // })
}); });
function hideIntro() {
$('.intro-page').hide();
}
function hideRule() {
$('.rule-page').hide();
}
function showRule() {
$('.rule-page').show();
}
function showIntro() {
$('.intro-page').show();
}
// function audioAutoPlay(id) { // function audioAutoPlay(id) {
// var audio = document.getElementById(id); // var audio = document.getElementById(id);
// if (window.WeixinJSBridge) { // if (window.WeixinJSBridge) {
......
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 sign in to comment