Commit 83527f24 authored by xinyuandu's avatar xinyuandu

修改提示框

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