Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
572e994c
Commit
572e994c
authored
Oct 31, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改下拉框的样式
parent
b3ee7d82
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
public.css
public/resource/css/public.css
+18
-0
public.js
public/resource/js/public.js
+12
-0
No files found.
public/resource/css/public.css
View file @
572e994c
...
@@ -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
public/resource/js/public.js
View file @
572e994c
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment