Commit f22a5439 authored by hewenhao's avatar hewenhao

feat: update

parent 1f67dd58
......@@ -3,6 +3,12 @@
z-index: 9999998;
opacity: 1;
box-shadow: rgba(0,0,0, .6) 0px 0px 0px 5000PX;
animation-name: fadeIn_2;
animation-duration: .5s;
animation-timing-function: ease-out;
animation-iteration-count: 1;
animation-fill-mode: backwards;
animation-delay: 0s;
}
.content {
......@@ -17,4 +23,19 @@
top: 0;
bottom: 0;
z-index: 9999997;
animation-name: fadeIn_2;
animation-duration: .5s;
animation-timing-function: ease-out;
animation-iteration-count: 1;
animation-fill-mode: backwards;
animation-delay: 0s;
}
@keyframes fadeIn_2 {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
......@@ -7,8 +7,15 @@
background: rgba(0, 0, 0, 0.7);
z-index: 99999;
opacity: 1;
animation-name: fadeIn_2;
animation-duration: .5s;
animation-timing-function: ease-out;
animation-iteration-count: 1;
animation-fill-mode: backwards;
animation-delay: 0s;
}
.result_wrap {
position: fixed;
z-index: 100000;
......@@ -17,6 +24,12 @@
right: 0;
display: flex;
padding: 0 16px;
animation-name: fadeIn_2;
animation-duration: .5s;
animation-timing-function: ease-out;
animation-iteration-count: 1;
animation-fill-mode: backwards;
animation-delay: 0s;
}
.slogen {
......@@ -97,3 +110,12 @@
display: block;
margin-left: 4px;
}
@keyframes fadeIn_2 {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
......@@ -52,13 +52,19 @@ const MainPage = () => {
// 激活部落引导
useEffect(() => {
if (!isFocus) return
const currentIndex = stageList.findIndex(c => c.status === StageStatus.CURRENT)
if (isGroupGuideComplete || currentIndex < 3 || !userInfo.pointReceive || !userInfo.city || !userInfo.grade) {
const fn = async () => {
if (
!isFocus ||
isGroupGuideComplete ||
!userInfo.pointReceive ||
!userInfo.city ||
!userInfo.grade
) {
return
}
const fn = async () => {
const currentIndex = stageList.findIndex(c => c.status === StageStatus.CURRENT)
if (point < 50 || currentIndex >= 3) {
const res = await fetchTribeInfo()
if (!res?.id) {
......
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