Commit 94104b1b by 李伟康

- 在 ReceptionCenter 组件中添加 loading 状态的 GIF 动画

- 调整 SwiperComponent 中 GIF 的大小
- 优化加载图标的样式和动画
1 parent 8fcf819a
......@@ -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);
}
}
......
......@@ -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;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!