Commit 83527f24 authored by xinyuandu's avatar xinyuandu

修改提示框

parent ea2e97d1
...@@ -723,19 +723,19 @@ p{margin: 0;} ...@@ -723,19 +723,19 @@ p{margin: 0;}
max-height: 98%; max-height: 98%;
} }
.mark { .mark {
display: none;
position: fixed; position: fixed;
top: 20%; top: 20%;
right: 0; right: 0;
/*bottom: 0;*/
left: 0; left: 0;
margin: auto; margin: auto;
height: 0.88rem; padding : 0.2rem;
line-height: 0.88rem; height: auto;
width: 40%; line-height: 0.4rem;
width: 35%;
text-align: center; text-align: center;
font-size: 0.28rem; font-size: 0.28rem;
color: #fff; color: #fff;
background: rgba(0, 0, 0, 0.6); background: rgba(0, 0, 0, 0.6);
border-radius: 0.1rem; border-radius: 0.1rem;
word-wrap: break-word;
} }
\ No newline at end of file
...@@ -308,7 +308,7 @@ function dealPunctuation(str) { ...@@ -308,7 +308,7 @@ function dealPunctuation(str) {
* *
*/ */
function alert(str) { function alert(str) {
var div = '<div class="mark"></div>'; var div = '<div class="mark"></div>';
$('body').append(div) $('body').append(div)
$('.mark').html(str); $('.mark').html(str);
$('.mark').show(); $('.mark').show();
......
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 to comment