Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
Project
Project
Details
Activity
Releases
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
easyUI
hls-easy-ui
Commits
2cdfa7f8
Commit
2cdfa7f8
authored
Mar 09, 2021
by
nature
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用vw代替rem
parent
1744227b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
2 deletions
+25
-2
hlsPopup.js
packages/common/scripts/hlsPopup.js
+3
-2
animate.less
packages/common/styles/animate.less
+1
-0
publicStyle.less
packages/common/styles/publicStyle.less
+21
-0
No files found.
packages/common/scripts/hlsPopup.js
View file @
2cdfa7f8
...
...
@@ -22,8 +22,9 @@ Vue.use(NumberKeyboard)
* 锁屏函数 超过10s后自动解屏用于防止屏幕锁死
* 自动截屏成弹出错误提示框
* @param content 锁屏内容
* @param timeout
*/
export
function
showLoading
(
content
=
''
)
{
export
function
showLoading
(
content
=
''
,
timeout
=
10000
)
{
let
vm
=
this
Vue
.
$vux
.
loading
.
show
({
text
:
content
||
'Loading'
,
...
...
@@ -43,7 +44,7 @@ export function showLoading (content = '') {
position: 'middle',
}) */
}
},
10000
)
},
timeout
)
}
/**
...
...
packages/common/styles/animate.less
View file @
2cdfa7f8
...
...
@@ -3263,3 +3263,4 @@
animation-name: slideOutUp;
}
packages/common/styles/publicStyle.less
View file @
2cdfa7f8
...
...
@@ -33,6 +33,9 @@
.weui-mask {
background: rgba(0, 0, 0, 0.3) !important;
}
.weui-toast .weui-loading{
animation: vue-loading 1s steps(12, end) infinite !important;
}
.weui-loading_toast .weui-toast__content {
margin-top: 7px !important;
...
...
@@ -485,5 +488,23 @@
}
}
@-webkit-keyframes vue-loading {
0% {
transform: rotate3d(0, 0, 1, 0deg);
}
100% {
transform: rotate3d(0, 0, 1, 360deg);
}
}
@keyframes vue-loading {
0% {
transform: rotate3d(0, 0, 1, 0deg);
}
100% {
transform: rotate3d(0, 0, 1, 360deg);
}
}
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