Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
najiu-frontend
najiu-admin-template
Commits
3a651767
Commit
3a651767
authored
Nov 19, 2020
by
vben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: update global spin
parent
fca0bb16
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
16 deletions
+6
-16
public.less
src/design/public.less
+5
-0
spin.less
src/setup/ant-design-vue/spin.less
+0
-14
spin.tsx
src/setup/ant-design-vue/spin.tsx
+1
-2
No files found.
src/design/public.less
View file @
3a651767
.app-svg-loading {
position: relative;
width: auto;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
...
...
src/setup/ant-design-vue/spin.less
deleted
100644 → 0
View file @
fca0bb16
@import (reference) '../../design/index.less';
.app-svg-loading {
position: relative;
width: auto;
&__tip {
display: block;
margin-top: 4px;
font-size: 13px;
color: #303133;
text-align: center;
}
}
src/setup/ant-design-vue/spin.tsx
View file @
3a651767
import
{
Spin
}
from
'
ant-design-vue
'
;
import
svgImg
from
'
/@/assets/images/loading.svg
'
;
import
'
./spin.less
'
;
Spin
.
setDefaultIndicator
({
indicator
:
()
=>
{
return
(
<
div
class=
"app-svg-loading"
>
<
img
src=
{
svgImg
}
alt=
""
height=
"32"
width=
"32"
class=
"g-loading"
/>
<
img
src=
{
svgImg
}
alt=
""
height=
"32"
width=
"32"
/>
</
div
>
);
},
...
...
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