fix: 背景渲染问题
This commit is contained in:
@@ -84,14 +84,8 @@
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
animation: bg-blink var(--dur) infinite steps(10);
|
animation: bg-blink var(--dur) infinite steps(10);
|
||||||
overflow: scroll;
|
transform: translateZ(0);
|
||||||
-webkit-overflow-scrolling: auto;
|
overflow: hidden;
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
|
||||||
width: 0 !important;
|
|
||||||
height: 0 !important;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes bg-blink {
|
@keyframes bg-blink {
|
||||||
|
|||||||
@@ -212,7 +212,6 @@ function CommentItem(props: {
|
|||||||
)}
|
)}
|
||||||
key={comment.id}
|
key={comment.id}
|
||||||
id={`comment_id_${comment.id}`}
|
id={`comment_id_${comment.id}`}
|
||||||
catchtouchmove
|
|
||||||
>
|
>
|
||||||
<View style={{ width: level === 1 ? "36px" : "28px" }}>
|
<View style={{ width: level === 1 ? "36px" : "28px" }}>
|
||||||
<Image
|
<Image
|
||||||
|
|||||||
@@ -23,8 +23,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
overflow: scroll;
|
transform: translateZ(0);
|
||||||
-webkit-overflow-scrolling: auto;
|
|
||||||
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
||||||
background: rgba(255, 255, 255, 0.25);
|
background: rgba(255, 255, 255, 0.25);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@@ -32,11 +31,6 @@
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
font-family: "Quicksand";
|
font-family: "Quicksand";
|
||||||
animation: intro 0.3s ease-in forwards;
|
animation: intro 0.3s ease-in forwards;
|
||||||
&::-webkit-scrollbar {
|
|
||||||
width: 0 !important;
|
|
||||||
height: 0 !important;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes intro {
|
@keyframes intro {
|
||||||
from {
|
from {
|
||||||
@@ -60,14 +54,8 @@
|
|||||||
border-top-right-radius: 12px;
|
border-top-right-radius: 12px;
|
||||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
background: rgba(255, 255, 255, 0.25);
|
background: rgba(255, 255, 255, 0.25);
|
||||||
overflow: scroll;
|
|
||||||
-webkit-overflow-scrolling: auto;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
&::-webkit-scrollbar {
|
transform: translateZ(0);
|
||||||
width: 0 !important;
|
|
||||||
height: 0 !important;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.day {
|
.day {
|
||||||
@@ -169,14 +157,8 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
border: 0.5px solid rgba(255, 255, 255, 0.08);
|
||||||
background: rgba(255, 255, 255, 0.25);
|
background: rgba(255, 255, 255, 0.25);
|
||||||
overflow: scroll;
|
transform: translateZ(0);
|
||||||
-webkit-overflow-scrolling: auto;
|
|
||||||
animation: intro 0.3s ease-in forwards;
|
animation: intro 0.3s ease-in forwards;
|
||||||
&::-webkit-scrollbar {
|
|
||||||
width: 0 !important;
|
|
||||||
height: 0 !important;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes intro {
|
@keyframes intro {
|
||||||
from {
|
from {
|
||||||
|
|||||||
@@ -158,16 +158,11 @@
|
|||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
// border: 1px solid rgba(255, 255, 255, 0.1);
|
// border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
// background: rgba(255, 255, 255, 0.16);
|
// background: rgba(255, 255, 255, 0.16);
|
||||||
overflow: scroll;
|
|
||||||
-webkit-overflow-scrolling: auto;
|
|
||||||
padding: 12px 0 12px 15px;
|
padding: 12px 0 12px 15px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: relative;
|
position: relative;
|
||||||
&::-webkit-scrollbar {
|
transform: translateZ(0);
|
||||||
width: 0 !important;
|
overflow: hidden;
|
||||||
height: 0 !important;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
@@ -192,7 +192,6 @@ export default function OrganizerInfo(props) {
|
|||||||
key={index}
|
key={index}
|
||||||
className={styles["recommend-games-list-item"]}
|
className={styles["recommend-games-list-item"]}
|
||||||
onClick={handleViewGame.bind(null, game.id)}
|
onClick={handleViewGame.bind(null, game.id)}
|
||||||
catchMove
|
|
||||||
>
|
>
|
||||||
{/* game title */}
|
{/* game title */}
|
||||||
<View className={styles["recommend-games-list-item-title"]}>
|
<View className={styles["recommend-games-list-item-title"]}>
|
||||||
|
|||||||
@@ -87,14 +87,9 @@
|
|||||||
// border: 0.5px solid rgba(255, 255, 255, 0.2);
|
// border: 0.5px solid rgba(255, 255, 255, 0.2);
|
||||||
// background: rgba(255, 255, 255, 0.16);
|
// background: rgba(255, 255, 255, 0.16);
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
overflow: scroll;
|
transform: translateZ(0);
|
||||||
-webkit-overflow-scrolling: auto;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
&::-webkit-scrollbar {
|
overflow: hidden;
|
||||||
width: 0 !important;
|
|
||||||
height: 0 !important;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
@@ -360,7 +360,6 @@ export default function Participants(props) {
|
|||||||
<View
|
<View
|
||||||
key={participant.id}
|
key={participant.id}
|
||||||
className={styles["participants-list-item"]}
|
className={styles["participants-list-item"]}
|
||||||
catchMove
|
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
className={styles["participants-list-item-avatar"]}
|
className={styles["participants-list-item-avatar"]}
|
||||||
|
|||||||
@@ -91,10 +91,10 @@ function Index() {
|
|||||||
const fetchDetail = async () => {
|
const fetchDetail = async () => {
|
||||||
if (!id) return;
|
if (!id) return;
|
||||||
|
|
||||||
const res = await DetailService.getDetail(Number(id)).catch(e => {
|
const res = await DetailService.getDetail(Number(id)).catch((e) => {
|
||||||
// 跳转到空状态页面
|
// 跳转到空状态页面
|
||||||
(Taro as any).redirectTo({
|
(Taro as any).redirectTo({
|
||||||
url: '/other_pages/emptyState/index',
|
url: "/other_pages/emptyState/index",
|
||||||
});
|
});
|
||||||
return e;
|
return e;
|
||||||
});
|
});
|
||||||
@@ -188,7 +188,7 @@ function Index() {
|
|||||||
enhanced
|
enhanced
|
||||||
showScrollbar={false}
|
showScrollbar={false}
|
||||||
scrollIntoView={scrollToTarget}
|
scrollIntoView={scrollToTarget}
|
||||||
scroll-with-animation
|
// scroll-with-animation
|
||||||
>
|
>
|
||||||
{/* custom navbar */}
|
{/* custom navbar */}
|
||||||
<View
|
<View
|
||||||
|
|||||||
Reference in New Issue
Block a user