Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 94104b1b
authored
Jul 22, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
- 在 ReceptionCenter 组件中添加 loading 状态的 GIF 动画
- 调整 SwiperComponent 中 GIF 的大小 - 优化加载图标的样式和动画
1 parent
8fcf819a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
components/HomeFrame/components/ReceptionCenter/index.vue
components/SwiperComponent.vue
components/HomeFrame/components/ReceptionCenter/index.vue
View file @
94104b1
...
...
@@ -43,12 +43,16 @@
</
template
>
<
template
v-else
>
<view
class=
"loading flex"
>
<uni-icons
<image
class=
"gif"
src=
"../../../../assets/images/common/loadding.gif"
/>
<!--
<uni-icons
class=
"icon"
type=
"refreshempty"
:size=
"120"
color=
"#3773f8"
></uni-icons>
></uni-icons>
-->
</view>
</
template
>
</view>
...
...
@@ -301,14 +305,18 @@ export default {
width
:
100%
;
height
:
100%
;
justify-content
:
center
;
.icon{
.gif
{
width
:
toRpx
(
64
);
height
:
toRpx
(
64
);
}
.icon
{
animation
:
rotate
1s
infinite
;
}
@keyframes
rotate
{
0
%
{
0
%
{
transform
:
rotate
(
0
);
}
100
%
{
100
%
{
transform
:
rotate
(
360deg
);
}
}
...
...
components/SwiperComponent.vue
View file @
94104b1
...
...
@@ -290,8 +290,8 @@ export default {
height
:
100%
;
justify-content
:
center
;
.gif{
width
:
toRpx
(
180
);
height
:
toRpx
(
180
);
width
:
toRpx
(
64
);
height
:
toRpx
(
64
);
}
.icon
{
animation
:
rotate
1s
infinite
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment