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