diff --git a/view/peko/modules/luckyTarot/css/index.css b/view/peko/modules/luckyTarot/css/index.css index ec99f2a..61cc883 100644 --- a/view/peko/modules/luckyTarot/css/index.css +++ b/view/peko/modules/luckyTarot/css/index.css @@ -6,7 +6,7 @@ body { background-size: 100% 100%; margin: 0 auto; position: relative; - overflow: hidden; + overflow-y: scroll; } .back { @@ -88,7 +88,6 @@ body { .tarotBox .tabBox { width: 9.56rem; height: 1.3066666667rem; - line-height: 1.3066666667rem; display: flex; justify-content: space-between; background: url(../images/tabBox.png) no-repeat; @@ -99,14 +98,40 @@ body { width: 3.3733333333rem; height: 100%; color: #FEF0C0; - font-size: 0.4266666667rem; + font-size: 0.3733333333rem; text-align: center; + box-sizing: border-box; + padding-top: 0.3466666667rem; +} +.tarotBox .tabBox div b { + color: #FEF0C0; + font-size: 0.24rem; + margin-top: 0.04rem; } .tarotBox .tabBox .active1 { background: url(../images/active1.png) no-repeat; background-size: 100% 100%; color: #FFFFFF; } +.tarotBox .tabBox .active1 b { + color: #FFFFFF; +} +.tarotBox .tabBox .active2 { + background: url(../images/active2.png) no-repeat; + background-size: 100% 100%; + color: #FFFFFF; +} +.tarotBox .tabBox .active2 b { + color: #FFFFFF; +} +.tarotBox .tabBox .active3 { + background: url(../images/active3.png) no-repeat; + background-size: 100% 100%; + color: #FFFFFF; +} +.tarotBox .tabBox .active3 b { + color: #FFFFFF; +} .tarotBox .gradeText { position: absolute; left: 0.9866666667rem; @@ -151,9 +176,49 @@ body { width: 1.9733333333rem; height: 3.2133333333rem; position: absolute; +} +.tarotBox .card1 { background: url(../images/card.png) no-repeat; background-size: 100% 100%; } +.tarotBox .card2 { + background: url(../images/card2.png) no-repeat; + background-size: 100% 100%; + display: none; +} +.tarotBox .card3 { + background: url(../images/card3.png) no-repeat; + background-size: 100% 100%; + display: none; +} +.tarotBox .card1_active { + background: url(../images/card1_active.png) no-repeat; + background-size: 100% 100%; +} +.tarotBox .card2_active { + background: url(../images/card2_active.png) no-repeat; + background-size: 100% 100%; +} +.tarotBox .card3_active { + background: url(../images/card3_active.png) no-repeat; + background-size: 100% 100%; +} +.tarotBox .card_not { + background: url(../images/not.png) no-repeat; + background-size: 100% 100%; +} +.tarotBox .card_winning1 { + background: url(../images/winning1.png) no-repeat; + background-size: 100% 100%; +} +.tarotBox .card_winning2 { + background: url(../images/winning2.png) no-repeat; + background-size: 100% 100%; +} +.tarotBox .card_winning3 { + background: url(../images/winning3.png) no-repeat; + background-size: 100% 100%; +} .tarotBox .cardBox0 { left: 0.9466666667rem; top: 2.0933333333rem; @@ -194,13 +259,131 @@ body { left: 0.9466666667rem; top: 5.52rem; } -.tarotBox .but { - width: 2.5333333333rem; - height: 1.0133333333rem; +.tarotBox .cardBoxBut { + width: 2.5066666667rem; + height: 0.9866666667rem; position: absolute; left: 50%; transform: translateX(-50%); - top: 7.32rem; + top: 7.4666666667rem; +} +.tarotBox .butAgain { + width: 2.5066666667rem; + height: 0.9866666667rem; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: 7.4666666667rem; + display: none; +} +.tarotBox .gonggao { + width: 100%; + height: 1.1rem; + box-sizing: border-box; + position: absolute; + left: 0; + top: 12.5rem; + overflow: hidden; +} +.tarotBox .gonggao .ul1 { + width: 100%; + height: 100%; +} +.tarotBox .gonggao .ul1 li { + width: 100%; + text-align: center; + color: #fff; + font-size: 0.32rem; + margin-bottom: 0.1466666667rem; +} +.tarotBox .gonggao .ul1 li b { + color: #FFEAA9; +} +.tarotBox .gonggao .ul1 li i { + font-style: normal; + color: #80E6FF; +} +.tarotBox .cardBoxText_gift { + width: 4.2666666667rem; + height: 3.0133333333rem; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: 5.76rem; + color: #FEF0C0; + font-size: 0.4rem; + text-align: center; +} +.tarotBox .cardBoxText_gx { + width: 4.2666666667rem; + height: 3.0133333333rem; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: 5.52rem; + box-sizing: border-box; + padding-top: 0.88rem; + display: none; +} +.tarotBox .cardBoxText_gx p { + width: 100%; + text-align: center; + margin-bottom: 0.2133333333rem; + color: #FFE26D; + font-size: 0.3733333333rem; +} +.tarotBox .cardBoxText_gx p i { + font-style: normal; +} +.tarotBox .cardBoxText_gx p b { + color: #FFE26D; +} +.tarotBox .cardBoxText_no { + width: 4.2666666667rem; + height: 3.0133333333rem; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: 5.52rem; + box-sizing: border-box; + padding-top: 0.88rem; + display: none; +} +.tarotBox .cardBoxText_no p { + width: 100%; + text-align: center; + margin-bottom: 0.2133333333rem; + color: #fff; + font-size: 0.3733333333rem; +} +.tarotBox .cardBoxText_no p i { + font-style: normal; +} +.tarotBox .cardBoxText_no p b { + color: #80E6FF; +} +.tarotBox .cardBoxText { + width: 4.2666666667rem; + height: 3.0133333333rem; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: 5.52rem; + box-sizing: border-box; + padding-top: 0.88rem; +} +.tarotBox .cardBoxText p { + width: 100%; + text-align: center; + margin-bottom: 0.2133333333rem; + color: #fff; + font-size: 0.3733333333rem; +} +.tarotBox .cardBoxText p i { + font-style: normal; +} +.tarotBox .cardBoxText p b { + color: #80E6FF; } h3 { diff --git a/view/peko/modules/luckyTarot/css/index.scss b/view/peko/modules/luckyTarot/css/index.scss index 03b4880..766cac9 100644 --- a/view/peko/modules/luckyTarot/css/index.scss +++ b/view/peko/modules/luckyTarot/css/index.scss @@ -10,7 +10,7 @@ body { background-size: 100% 100%; margin: 0 auto; position: relative; - overflow: hidden; + overflow-y: scroll; } .back { @@ -94,7 +94,6 @@ body { .tabBox { width: px2rem(717, ); height: px2rem(98, ); - line-height: px2rem(98, ); display: flex; justify-content: space-between; background: url(../images/tabBox.png) no-repeat; @@ -105,14 +104,46 @@ body { width: px2rem(253, ); height: 100%; color: #FEF0C0; - font-size: px2rem(32, ); + font-size: px2rem(28, ); text-align: center; + box-sizing: border-box; + padding-top: px2rem(26, ); + + b { + color: #FEF0C0; + font-size: px2rem(18, ); + margin-top: px2rem(3, ); + } } .active1 { background: url(../images/active1.png) no-repeat; background-size: 100% 100%; color: #FFFFFF; + + b { + color: #FFFFFF; + } + } + + .active2 { + background: url(../images/active2.png) no-repeat; + background-size: 100% 100%; + color: #FFFFFF; + + b { + color: #FFFFFF; + } + } + + .active3 { + background: url(../images/active3.png) no-repeat; + background-size: 100% 100%; + color: #FFFFFF; + + b { + color: #FFFFFF; + } } } @@ -165,10 +196,59 @@ body { width: px2rem(148, ); height: px2rem(241, ); position: absolute; + // transition: all 1s; + } + + .card1 { background: url(../images/card.png) no-repeat; background-size: 100% 100%; } + + .card2 { + background: url(../images/card2.png) no-repeat; + background-size: 100% 100%; + display: none; + } + + + .card3 { + background: url(../images/card3.png) no-repeat; + background-size: 100% 100%; + display: none; + } + + .card1_active { + background: url(../images/card1_active.png) no-repeat; + background-size: 100% 100%; + } + + .card2_active { + background: url(../images/card2_active.png) no-repeat; + background-size: 100% 100%; + } + + .card3_active { + background: url(../images/card3_active.png) no-repeat; + background-size: 100% 100%; + } + .card_not { + background: url(../images/not.png) no-repeat; + background-size: 100% 100%; + } + .card_winning1{ + background: url(../images/winning1.png) no-repeat; + background-size: 100% 100%; + } + .card_winning2{ + background: url(../images/winning2.png) no-repeat; + background-size: 100% 100%; + } + .card_winning3{ + background: url(../images/winning3.png) no-repeat; + background-size: 100% 100%; + } + .cardBox0 { left: px2rem(71, ); top: px2rem(157, ); @@ -219,13 +299,149 @@ body { top: px2rem(414, ); } - .but{ - width: px2rem(190, ); - height: px2rem(76, ); + .cardBoxBut { + width: px2rem(188, ); + height: px2rem(74, ); position: absolute; left: 50%; transform: translateX(-50%); - top: px2rem(549, ); + top: px2rem(560, ); + } + .butAgain { + width: px2rem(188, ); + height: px2rem(74, ); + position: absolute; + left: 50%; + transform: translateX(-50%); + top: px2rem(560, ); + display: none; + } + + .gonggao { + width: 100%; + height: 1.1rem; + box-sizing: border-box; + position: absolute; + left: 0; + top: 12.5rem; + overflow: hidden; + + .ul1 { + width: 100%; + height: 100%; + + li { + width: 100%; + text-align: center; + color: #fff; + font-size: px2rem(24, ); + margin-bottom: px2rem(11, ); + + b { + color: #FFEAA9; + } + + i { + font-style: normal; + color: #80E6FF; + } + } + } + } + + .cardBoxText_gift { + width: px2rem(320, ); + height: px2rem(226, ); + position: absolute; + left: 50%; + transform: translateX(-50%); + top: px2rem(432, ); + color: #FEF0C0; + font-size: px2rem(30, ); + text-align: center; + } + + .cardBoxText_gx { + width: px2rem(320, ); + height: px2rem(226, ); + position: absolute; + left: 50%; + transform: translateX(-50%); + top: px2rem(414, ); + box-sizing: border-box; + padding-top: px2rem(66, ); + display: none; + + p { + width: 100%; + text-align: center; + margin-bottom: px2rem(16, ); + color: #FFE26D; + font-size: px2rem(28, ); + + i { + font-style: normal; + } + + b { + color: #FFE26D; + } + } + } + + .cardBoxText_no { + width: px2rem(320, ); + height: px2rem(226, ); + position: absolute; + left: 50%; + transform: translateX(-50%); + top: px2rem(414, ); + box-sizing: border-box; + padding-top: px2rem(66, ); + display: none; + + p { + width: 100%; + text-align: center; + margin-bottom: px2rem(16, ); + color: #fff; + font-size: px2rem(28, ); + + i { + font-style: normal; + } + + b { + color: #80E6FF; + } + } + } + + .cardBoxText { + width: px2rem(320, ); + height: px2rem(226, ); + position: absolute; + left: 50%; + transform: translateX(-50%); + top: px2rem(414, ); + box-sizing: border-box; + padding-top: px2rem(66, ); + + p { + width: 100%; + text-align: center; + margin-bottom: px2rem(16, ); + color: #fff; + font-size: px2rem(28, ); + + i { + font-style: normal; + } + + b { + color: #80E6FF; + } + } } } diff --git a/view/peko/modules/luckyTarot/images/10Gold.png b/view/peko/modules/luckyTarot/images/10Gold.png index 712be52..248864d 100644 Binary files a/view/peko/modules/luckyTarot/images/10Gold.png and b/view/peko/modules/luckyTarot/images/10Gold.png differ diff --git a/view/peko/modules/luckyTarot/images/active1.png b/view/peko/modules/luckyTarot/images/active1.png index 30b2610..5594eec 100644 Binary files a/view/peko/modules/luckyTarot/images/active1.png and b/view/peko/modules/luckyTarot/images/active1.png differ diff --git a/view/peko/modules/luckyTarot/images/active2.png b/view/peko/modules/luckyTarot/images/active2.png new file mode 100644 index 0000000..fc74bd2 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/active2.png differ diff --git a/view/peko/modules/luckyTarot/images/active3.png b/view/peko/modules/luckyTarot/images/active3.png new file mode 100644 index 0000000..2ed581b Binary files /dev/null and b/view/peko/modules/luckyTarot/images/active3.png differ diff --git a/view/peko/modules/luckyTarot/images/add.png b/view/peko/modules/luckyTarot/images/add.png index b01ff84..ec9380e 100644 Binary files a/view/peko/modules/luckyTarot/images/add.png and b/view/peko/modules/luckyTarot/images/add.png differ diff --git a/view/peko/modules/luckyTarot/images/bg.png b/view/peko/modules/luckyTarot/images/bg.png index 876ccc4..89546e6 100644 Binary files a/view/peko/modules/luckyTarot/images/bg.png and b/view/peko/modules/luckyTarot/images/bg.png differ diff --git a/view/peko/modules/luckyTarot/images/but.png b/view/peko/modules/luckyTarot/images/but.png deleted file mode 100644 index 721540f..0000000 Binary files a/view/peko/modules/luckyTarot/images/but.png and /dev/null differ diff --git a/view/peko/modules/luckyTarot/images/but1.png b/view/peko/modules/luckyTarot/images/but1.png new file mode 100644 index 0000000..5bcd0cd Binary files /dev/null and b/view/peko/modules/luckyTarot/images/but1.png differ diff --git a/view/peko/modules/luckyTarot/images/but2.png b/view/peko/modules/luckyTarot/images/but2.png new file mode 100644 index 0000000..4789183 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/but2.png differ diff --git a/view/peko/modules/luckyTarot/images/but3.png b/view/peko/modules/luckyTarot/images/but3.png new file mode 100644 index 0000000..04e085d Binary files /dev/null and b/view/peko/modules/luckyTarot/images/but3.png differ diff --git a/view/peko/modules/luckyTarot/images/butAgain1.png b/view/peko/modules/luckyTarot/images/butAgain1.png new file mode 100644 index 0000000..542a532 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/butAgain1.png differ diff --git a/view/peko/modules/luckyTarot/images/butAgain2.png b/view/peko/modules/luckyTarot/images/butAgain2.png new file mode 100644 index 0000000..9ca3fef Binary files /dev/null and b/view/peko/modules/luckyTarot/images/butAgain2.png differ diff --git a/view/peko/modules/luckyTarot/images/butAgain3.png b/view/peko/modules/luckyTarot/images/butAgain3.png new file mode 100644 index 0000000..b29ff84 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/butAgain3.png differ diff --git a/view/peko/modules/luckyTarot/images/card.png b/view/peko/modules/luckyTarot/images/card.png index ec70aea..9463de5 100644 Binary files a/view/peko/modules/luckyTarot/images/card.png and b/view/peko/modules/luckyTarot/images/card.png differ diff --git a/view/peko/modules/luckyTarot/images/card1_active.png b/view/peko/modules/luckyTarot/images/card1_active.png new file mode 100644 index 0000000..e68836b Binary files /dev/null and b/view/peko/modules/luckyTarot/images/card1_active.png differ diff --git a/view/peko/modules/luckyTarot/images/card2.png b/view/peko/modules/luckyTarot/images/card2.png new file mode 100644 index 0000000..919c380 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/card2.png differ diff --git a/view/peko/modules/luckyTarot/images/card2_active.png b/view/peko/modules/luckyTarot/images/card2_active.png new file mode 100644 index 0000000..c628f49 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/card2_active.png differ diff --git a/view/peko/modules/luckyTarot/images/card3.png b/view/peko/modules/luckyTarot/images/card3.png new file mode 100644 index 0000000..a09bbff Binary files /dev/null and b/view/peko/modules/luckyTarot/images/card3.png differ diff --git a/view/peko/modules/luckyTarot/images/card3_active.png b/view/peko/modules/luckyTarot/images/card3_active.png new file mode 100644 index 0000000..d067fcf Binary files /dev/null and b/view/peko/modules/luckyTarot/images/card3_active.png differ diff --git a/view/peko/modules/luckyTarot/images/diamond.png b/view/peko/modules/luckyTarot/images/diamond.png index 4155abe..43510af 100644 Binary files a/view/peko/modules/luckyTarot/images/diamond.png and b/view/peko/modules/luckyTarot/images/diamond.png differ diff --git a/view/peko/modules/luckyTarot/images/header.png b/view/peko/modules/luckyTarot/images/header.png index 29140e6..6d7d68c 100644 Binary files a/view/peko/modules/luckyTarot/images/header.png and b/view/peko/modules/luckyTarot/images/header.png differ diff --git a/view/peko/modules/luckyTarot/images/icon.png b/view/peko/modules/luckyTarot/images/icon.png index 4d9d502..2205eee 100644 Binary files a/view/peko/modules/luckyTarot/images/icon.png and b/view/peko/modules/luckyTarot/images/icon.png differ diff --git a/view/peko/modules/luckyTarot/images/middleBg.png b/view/peko/modules/luckyTarot/images/middleBg.png index 80d6892..6186148 100644 Binary files a/view/peko/modules/luckyTarot/images/middleBg.png and b/view/peko/modules/luckyTarot/images/middleBg.png differ diff --git a/view/peko/modules/luckyTarot/images/not.png b/view/peko/modules/luckyTarot/images/not.png new file mode 100644 index 0000000..d63aa11 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/not.png differ diff --git a/view/peko/modules/luckyTarot/images/tabBox.png b/view/peko/modules/luckyTarot/images/tabBox.png index 3861acd..61a28ef 100644 Binary files a/view/peko/modules/luckyTarot/images/tabBox.png and b/view/peko/modules/luckyTarot/images/tabBox.png differ diff --git a/view/peko/modules/luckyTarot/images/winning1.png b/view/peko/modules/luckyTarot/images/winning1.png new file mode 100644 index 0000000..77ac283 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/winning1.png differ diff --git a/view/peko/modules/luckyTarot/images/winning2.png b/view/peko/modules/luckyTarot/images/winning2.png new file mode 100644 index 0000000..4551a93 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/winning2.png differ diff --git a/view/peko/modules/luckyTarot/images/winning3.png b/view/peko/modules/luckyTarot/images/winning3.png new file mode 100644 index 0000000..34e5aa7 Binary files /dev/null and b/view/peko/modules/luckyTarot/images/winning3.png differ diff --git a/view/peko/modules/luckyTarot/index.html b/view/peko/modules/luckyTarot/index.html index adbd51d..bc42087 100644 --- a/view/peko/modules/luckyTarot/index.html +++ b/view/peko/modules/luckyTarot/index.html @@ -16,7 +16,7 @@
幸运塔罗
+翻到金幣卡獲得100金幣
+翻到钻石卡獲得1000钻石
翻到钻石卡!
+获得 0 钻石
+供选择 0 张
+获得0钻石的概率为0%
+差一点就成功了
+别灰心
+