Commit 8e4ea77a authored by xiaoye's avatar xiaoye

增加加载动画

parent 104db06b
Pipeline #38232 passed with stages
in 4 minutes and 20 seconds
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
</uni-list-chat> </uni-list-chat>
</uni-list> </uni-list>
</view> </view>
<transition name = 'switch'>
<uni-icons id = 'progress' type = 'spinner-cycle' v-if = 'Loading' size = '80'></uni-icons>
</transition>
<view class = 'click head'><uni-list><uni-list-chat></uni-list-chat></uni-list></view> <view class = 'click head'><uni-list><uni-list-chat></uni-list-chat></uni-list></view>
<Pics <Pics
:style = "{ :style = "{
...@@ -147,7 +150,7 @@ ...@@ -147,7 +150,7 @@
import { ref, reactive, onMounted, onUnmounted, onBeforeMount, watch} from 'vue'; import { ref, reactive, onMounted, onUnmounted, onBeforeMount, watch} from 'vue';
import { TournamentFindObject, TournamentCreateObject, ruleSettings, UserObject } from '../script/type.ts'; import { TournamentFindObject, TournamentCreateObject, ruleSettings, UserObject } from '../script/type.ts';
import UniApp from '../script/uniapp.ts'; import UniApp from '../script/uniapp.ts';
import { Tabulator, User} from '../script/post.ts'; import { Tabulator, User, Loading } from '../script/post.ts';
import Tournament from '../script/tournament.ts'; import Tournament from '../script/tournament.ts';
import Mycard from '../script/mycard.ts'; import Mycard from '../script/mycard.ts';
import emitter from '../script/emitter.ts' import emitter from '../script/emitter.ts'
......
This diff is collapsed.
...@@ -11,6 +11,22 @@ ...@@ -11,6 +11,22 @@
} }
} }
} }
#progress {
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
position: fixed;
top : 20%;
width: 100%;
margin: 0 auto;
z-index: 4;
animation: spin 2s linear infinite;
}
#really { #really {
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
// background-color: white; // background-color: white;
......
.PageTournament { .PageTournament {
#PageTournament { #PageTournament {
#round { #round {
// display: flex;
// column-gap: 10%;
div { div {
display: flex; display: flex;
column-gap: 10%; column-gap: 10%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment