Commit 7c402830 by 张恒

j

parent 75086d7b
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
点击抽奖 点击抽奖
</div> </div>
<div class="prize-type" style="display: none"></div> <img class="prize-type" src="__CDN__/images/pirze.jpg">
</div> </div>
<script> <script>
if (!/android/i.test(navigator.userAgent)) { if (!/android/i.test(navigator.userAgent)) {
......
...@@ -158,7 +158,7 @@ ul, li { ...@@ -158,7 +158,7 @@ ul, li {
height: 100%; height: 100%;
} }
.flex, #container, #container .btn-prize, #container .prize-type { .flex, #container, #container .btn-prize {
display: -webkit-box; display: -webkit-box;
/* OLD - iOS 6-, Safari 3.1-6 */ /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box; display: -moz-box;
...@@ -176,9 +176,12 @@ ul, li { ...@@ -176,9 +176,12 @@ ul, li {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
#container .btn-prize, #container .prize-type { #container .btn-prize {
width: 200px; width: 200px;
height: 200px; height: 200px;
font-size: 27px; font-size: 27px;
border: 1px solid red; border: 1px solid red;
} }
#container .prize-type {
width: 100%;
}
...@@ -197,13 +197,17 @@ ul, li { ...@@ -197,13 +197,17 @@ ul, li {
@extend .flex; @extend .flex;
width: 100%; width: 100%;
height: 100%; height: 100%;
.btn-prize,.prize-type { .btn-prize {
@extend .flex; @extend .flex;
width: torem(200px); width: torem(200px);
height: torem(200px); height: torem(200px);
font-size: 27px; font-size: 27px;
border: 1px solid red; border: 1px solid red;
} }
.prize-type{
width: 100%;
}
} }
...@@ -24,7 +24,7 @@ $(document).ready(function () { ...@@ -24,7 +24,7 @@ $(document).ready(function () {
this.show(); this.show();
}; };
if(window.type==1){ if(window.type==1){
$('.prize-type').text('美丽桃源').show(); $('.prize-type').show();
}else { }else {
$('.btn-prize').show(); $('.btn-prize').show();
} }
...@@ -48,7 +48,7 @@ function btnPrize() { ...@@ -48,7 +48,7 @@ function btnPrize() {
my_notify(prize_word[rank]); my_notify(prize_word[rank]);
}else{ }else{
$('.btn-prize').hide(); $('.btn-prize').hide();
$('.prize-type').text('美丽桃源').show(); $('.prize-type').show();
} }
$('.btn-prize').text('点击抽奖'); $('.btn-prize').text('点击抽奖');
prize_lock=1; prize_lock=1;
......
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