Commit 94104b1b by 李伟康

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

- 调整 SwiperComponent 中 GIF 的大小
- 优化加载图标的样式和动画
1 parent 8fcf819a
...@@ -43,12 +43,16 @@ ...@@ -43,12 +43,16 @@
</template> </template>
<template v-else> <template v-else>
<view class="loading flex"> <view class="loading flex">
<uni-icons <image
class="gif"
src="../../../../assets/images/common/loadding.gif"
/>
<!-- <uni-icons
class="icon" class="icon"
type="refreshempty" type="refreshempty"
:size="120" :size="120"
color="#3773f8" color="#3773f8"
></uni-icons> ></uni-icons> -->
</view> </view>
</template> </template>
</view> </view>
...@@ -301,14 +305,18 @@ export default { ...@@ -301,14 +305,18 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
justify-content: center; justify-content: center;
.icon{ .gif {
width: toRpx(64);
height: toRpx(64);
}
.icon {
animation: rotate 1s infinite; animation: rotate 1s infinite;
} }
@keyframes rotate { @keyframes rotate {
0%{ 0% {
transform: rotate(0); transform: rotate(0);
} }
100%{ 100% {
transform: rotate(360deg); transform: rotate(360deg);
} }
} }
......
...@@ -290,8 +290,8 @@ export default { ...@@ -290,8 +290,8 @@ export default {
height: 100%; height: 100%;
justify-content: center; justify-content: center;
.gif{ .gif{
width: toRpx(180); width: toRpx(64);
height: toRpx(180); height: toRpx(64);
} }
.icon { .icon {
animation: rotate 1s infinite; 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!