Commit a00a97fe by doszhang

dos

parent b254756b
......@@ -63,7 +63,7 @@ input::-webkit-input-placeholder {
}
.hd {
background: rgba(0, 0, 0, 0.8);
background: rgba(255, 255, 255, 0.9);
}
/* loading-page */
......@@ -79,6 +79,18 @@ input::-webkit-input-placeholder {
background-size: 100%;
}
/* rule-page */
.rule-page {
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
.rule-block {
overflow: scroll;
}
/* question-page */
.question-page .question-img-block {
transform-origin: 50% 100%;
......
......@@ -109,6 +109,8 @@ $(document).ready(function () {
$('.prize-page .btn-submit').on('click', submit);
//再来一次
$('.poster-page .btn-retry').on('click', retry);
//活动规则
$('.home-page .btn-rule').on('click', showRule);
......@@ -146,6 +148,10 @@ $(document).ready(function () {
});
});
function showRule() {
$('.rule-page').show();
}
function retry() {
initQuestion();
$('.poster-page').hide();
......
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