Commit 572e994c authored by xinyuandu's avatar xinyuandu

修改下拉框的样式

parent b3ee7d82
...@@ -722,3 +722,20 @@ p{margin: 0;} ...@@ -722,3 +722,20 @@ p{margin: 0;}
#preview_big_img_div>img{ #preview_big_img_div>img{
max-height: 98%; 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%;
text-align: center;
font-size: 0.28rem;
color: #fff;
background: rgba(0, 0, 0, 0.6);
border-radius: 0.1rem;
}
\ No newline at end of file
...@@ -301,3 +301,14 @@ function urlDeal(urlStr, httpStr) { ...@@ -301,3 +301,14 @@ function urlDeal(urlStr, httpStr) {
function dealPunctuation(str) { function dealPunctuation(str) {
return str.replace(/!!!!!/g, '').replace(/!!!!!/g, '').replace(/\?\?\?\?\?/g, '').replace(/?????/g, '').replace(/。。。。。/g, ''); return str.replace(/!!!!!/g, '').replace(/!!!!!/g, '').replace(/\?\?\?\?\?/g, '').replace(/?????/g, '').replace(/。。。。。/g, '');
} }
function alert(str) {
var div = '<div class="mark"></div>';
$('body').append(div)
$('.mark').html(str);
$('.mark').show();
setTimeout(function() {
$('.mark').hide();
$('.mark').remove();
}, 2000000)
}
\ No newline at end of file
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