diff --git a/begin.html b/begin.html
index e07806f..4ce0fc5 100644
--- a/begin.html
+++ b/begin.html
@@ -44,7 +44,7 @@
}
/*遮罩*/
.mask{
- display: none;
+ /*display: none;*/
width: 100%;
height: 100%;
position: fixed;
@@ -56,7 +56,7 @@
}
/*活动规则*/
.guizBox{
- display: none;
+ /*display: none;*/
position: absolute;
left: 50%;
top: 50%;
@@ -104,6 +104,23 @@
.box_cont li:nth-child(3){
margin-top: .4rem;
}
+ .beginIndex .countDown{
+ width: 2rem;
+ height: .6rem;
+ text-align: center;
+ margin: .1rem auto 0;
+ background: #377d92;
+ border-radius: .2rem;
+ color: #333;
+ line-height: .6rem;
+ color: #fff;
+ }
+ .beginIndex .countDown text{
+ color: #fff;
+ }
+ .beginIndex .close{
+ display: none;
+ }
@@ -136,6 +153,9 @@
+
+ 10(s)
+
@@ -153,10 +173,14 @@
$('.title').click(function(){
$('.mask').fadeIn();
$('.guizBox').fadeIn()
+ $('.beginIndex .close').fadeIn()
})
$('.beginBtn').click(function(){
$('.begin').fadeOut(100)
$('.loading').fadeOut(100)
$('#game1').fadeIn(500)
})
+ //倒计时
+
+
diff --git a/css/font/icon.eot b/css/font/icon.eot
new file mode 100644
index 0000000..c966d48
Binary files /dev/null and b/css/font/icon.eot differ
diff --git a/css/font/icon.ttf b/css/font/icon.ttf
new file mode 100644
index 0000000..ead2a7c
Binary files /dev/null and b/css/font/icon.ttf differ
diff --git a/css/game1.css b/css/game1.css
index 7eef103..7a1f433 100644
--- a/css/game1.css
+++ b/css/game1.css
@@ -1,22 +1,25 @@
-.game1Index{
+.game1Index {
width: 100%;
height: 100%;
}
-.game1Index p.bgm img{
+
+.game1Index p.bgm img {
width: 100%;
height: 100%;
-
}
-.game1Index p.bgm img:nth-child(1){
+
+.game1Index p.bgm img:nth-child(1) {
opacity: 1;
}
-.game1Index p.bgm img:nth-child(2){
+
+.game1Index p.bgm img:nth-child(2) {
opacity: 0;
position: absolute;
left: 0;
top: 0;
}
-.game1Index .imgList li{
+
+.game1Index .imgList li {
width: 1.21rem;
height: 1.2rem;
background: url(../img/game1/kuang.png) no-repeat;
@@ -26,25 +29,27 @@
top: 0;
}
-.game1Index .imgList li img{
+.game1Index .imgList li img {
position: absolute;
z-index: 9999;
top: 50%;
left: 50%;
- transform: translate(-50%,-50%);
-
+ transform: translate(-50%, -50%);
}
-.game1Index .imgList li:nth-child(1){
+
+.game1Index .imgList li:nth-child(1) {
left: 1%;
}
-.game1Index .imgList li:nth-child(2){
+
+.game1Index .imgList li:nth-child(2) {
left: 11%;
}
-.game1Index .imgList li:nth-child(3){
+
+.game1Index .imgList li:nth-child(3) {
left: 21%;
}
-.game1Index .clickIcon li{
+.game1Index .clickIcon li {
width: 1rem;
height: 1rem;
position: absolute;
@@ -53,30 +58,36 @@
/*background: #000000;
opacity: .5;*/
}
-.game1Index .clickIcon li.click1{
+
+.game1Index .clickIcon li.click1 {
top: 40%;
- left: 60%;
+ left: 60%;
}
-.game1Index .clickIcon li.click2{
+
+.game1Index .clickIcon li.click2 {
top: 16%;
- left: 46%;
- width: .5rem;
- height: .5rem;
+ left: 46%;
+ width: .5rem;
+ height: .5rem;
}
-.game1Index .clickIcon img{
+
+.game1Index .clickIcon img {
width: .92rem;
display: none;
}
-.game1Index .clickIcon li.click3{
+
+.game1Index .clickIcon li.click3 {
top: 43%;
- left: 15%;
- width: 3rem;
- height: 1.3rem;
- transform: rotate(33deg);
+ left: 15%;
+ width: 3rem;
+ height: 1.3rem;
+ transform: rotate(33deg);
}
+
/*书*/
-.game1Index .maskBgm{
+
+.game1Index .maskBgm {
display: none;
width: 100%;
height: 100%;
@@ -87,18 +98,20 @@
background-size: 100% 100%;
z-index: 99;
}
+
.game1Index .maskBgm:after {
- content: "";
- width: 100%;
- height: 100%;
- position: absolute;
- left: 0;
- top: 0;
- background: inherit;
- filter: blur(10px);
- z-index: 2;
-}
-.game1Index .book_box{
+ content: "";
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ left: 0;
+ top: 0;
+ background: inherit;
+ filter: blur(10px);
+ z-index: 2;
+}
+
+.game1Index .book_box {
display: none;
width: 100%;
height: 100%;
@@ -106,20 +119,20 @@
left: 0;
top: 0;
z-index: 999;
-
}
-.game1Index div.line{
+
+.game1Index div.line {
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
- background: rgba(61, 117, 122,.5);
+ background: rgba(61, 117, 122, .5);
width: 100%;
height: 1.66rem;
- z-index:-1 ;
-
+ z-index: -1;
}
-.game1Index div.line div{
+
+.game1Index div.line div {
margin: 0 auto;
width: 11rem;
height: 100%;
@@ -127,33 +140,38 @@
justify-content: space-between;
align-items: center;
}
-.game1Index div.line p{
+
+.game1Index div.line p {
box-sizing: border-box;
font-size: .44rem;
font-weight: 400;
color: #C9C6BA;
}
-div.line p{
+
+div.line p {
width: .42rem;
height: .4rem;
font-size: 0;
}
-div.line p img{
+
+div.line p img {
width: 100%;
height: 100%;
}
-.game1Index div.closeIcon{
+
+.game1Index div.closeIcon {
display: flex;
justify-content: flex-end;
margin-right: 1.2rem;
margin-top: .55rem;
-
}
-.game1Index div.closeIcon img{
+
+.game1Index div.closeIcon img {
width: .546rem;
height: .546rem;
}
-.game1Index .bookCont{
+
+.game1Index .bookCont {
width: 9.93rem;
height: 5.89rem;
background: url(../img/bookBgm.png) no-repeat;
@@ -161,65 +179,77 @@ div.line p img{
margin: 0 auto;
z-index: 999;
display: flex;
-
}
+
.game1Index .leftImg {
width: 3.58rem;
margin-left: .9rem;
}
-.game1Index .leftImg .titleTip{
+
+.game1Index .leftImg .titleTip {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: .42rem;
}
-.game1Index .leftImg .titleTip p{
+
+.game1Index .leftImg .titleTip p {
color: #1F444B;
font-size: .22rem;
}
-.game1Index .leftImg .img{
+
+.game1Index .leftImg .img {
width: 1.18rem;
height: .91rem;
}
-.game1Index .leftImg .imgList{
+
+.game1Index .leftImg .imgList {
width: 3.58rem;
height: 4.14rem;
margin-top: .1rem;
}
-.game1Index .leftImg img{
+
+.game1Index .leftImg img {
width: 100%;
height: 100%;
}
-.game1Index .rightCont{
+
+.game1Index .rightCont {
width: 3.8rem;
margin-left: 1.05rem;
position: relative;
}
-.game1Index .rightCont .titleTip{
+
+.game1Index .rightCont .titleTip {
display: flex;
margin-top: .7rem;
justify-content: space-between;
}
+
.game1Index .rightCont .titleTip h2,
-.game1Index .rightCont .titleTip h5{
+.game1Index .rightCont .titleTip h5 {
color: #1F444B;
font-size: .3rem;
}
-.game1Index .rightCont .titleTip h5{
+
+.game1Index .rightCont .titleTip h5 {
font-weight: normal;
font-size: .22rem;
}
-.game1Index .rightCont ul{
+
+.game1Index .rightCont ul {
margin-top: .12rem;
}
-.game1Index .rightCont li{
- font-size:.2rem ;
+
+.game1Index .rightCont li {
+ font-size: .2rem;
color: #1F444B;
line-height: .36rem;
}
-.game1Index .rightCont .pageNum{
+
+.game1Index .rightCont .pageNum {
position: absolute;
- bottom:5%;
+ bottom: 5%;
left: 40%;
transform: translateX(-50%);
text-align: center;
@@ -228,3 +258,21 @@ div.line p img{
}
+/*手势*/
+
+.game1Index .shoushi {
+ position: fixed;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ background: rgba(0, 0, 0, .5);
+ z-index: 99999;
+}
+
+.game1Index .shoushi img {
+ position: absolute;
+ right: 28%;
+ top: 11%;
+ width: 2.5rem;
+}
\ No newline at end of file
diff --git a/css/game4.css b/css/game4.css
index 78d8457..e4cbb05 100644
--- a/css/game4.css
+++ b/css/game4.css
@@ -1,4 +1,19 @@
+@font-face {
+ font-family: icon;
+ src: url("font/icon.ttf"), url("font/icon.eot");
+}
+.snowList {
+ /*display: none;*/
+}
+.snow {
+ font-family: icon;
+ color: #fff;
+ position: absolute;
+ top: -100px;
+ -webkit-transform: rotate(90deg);
+ transform: rotate(90deg);
+}
.game4Index {
width: 100%;
height: 100%;
diff --git a/css/index.css b/css/index.css
index 099e526..a3d4605 100644
--- a/css/index.css
+++ b/css/index.css
@@ -212,14 +212,14 @@ p.bgm {
}*/
.imgList li p{
- /*width: 1.21rem;
+ width: 1.21rem;
height: 1.2rem;
position: absolute;
left: 0;
top: 0;
background: rgba(0,0,0,.5);
z-index: 999999;
- border-radius: 5px;*/
+ border-radius: 5px;
}
p.bgm img{
width: 100%;
diff --git a/game1.html b/game1.html
index feac286..8a1a145 100644
--- a/game1.html
+++ b/game1.html
@@ -4,6 +4,7 @@
+
@@ -67,8 +68,19 @@

+
+
+
+

+
+
+
+
\ No newline at end of file
diff --git a/game4.html b/game4.html
index fd5d594..07f3c3f 100644
--- a/game4.html
+++ b/game4.html
@@ -1,5 +1,6 @@
+
@@ -68,54 +69,17 @@