feat: 修改问题
This commit is contained in:
@@ -84,6 +84,14 @@
|
|||||||
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;
|
||||||
|
-webkit-overflow-scrolling: auto;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
width: 0 !important;
|
||||||
|
height: 0 !important;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes bg-blink {
|
@keyframes bg-blink {
|
||||||
|
|||||||
@@ -212,6 +212,7 @@ 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
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
|
-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;
|
||||||
@@ -31,6 +32,11 @@
|
|||||||
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 {
|
||||||
@@ -55,7 +61,13 @@
|
|||||||
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;
|
overflow: scroll;
|
||||||
|
-webkit-overflow-scrolling: auto;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
width: 0 !important;
|
||||||
|
height: 0 !important;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.day {
|
.day {
|
||||||
@@ -158,7 +170,13 @@
|
|||||||
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;
|
overflow: scroll;
|
||||||
|
-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 {
|
||||||
|
|||||||
@@ -159,9 +159,15 @@
|
|||||||
// 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;
|
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 {
|
||||||
|
width: 0 !important;
|
||||||
|
height: 0 !important;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
@@ -181,13 +181,18 @@ export default function OrganizerInfo(props) {
|
|||||||
src={img.ICON_DETAIL_ARROW_RIGHT}
|
src={img.ICON_DETAIL_ARROW_RIGHT}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
<ScrollView refresherBackground="#FAFAFA" className={styles["recommend-games-list"]} scrollX>
|
<ScrollView
|
||||||
|
refresherBackground="#FAFAFA"
|
||||||
|
className={styles["recommend-games-list"]}
|
||||||
|
scrollX
|
||||||
|
>
|
||||||
<View className={styles["recommend-games-list-content"]}>
|
<View className={styles["recommend-games-list-content"]}>
|
||||||
{recommendGames.map((game, index) => (
|
{recommendGames.map((game, index) => (
|
||||||
<View
|
<View
|
||||||
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"]}>
|
||||||
|
|||||||
@@ -88,7 +88,13 @@
|
|||||||
// background: rgba(255, 255, 255, 0.16);
|
// background: rgba(255, 255, 255, 0.16);
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
|
-webkit-overflow-scrolling: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
width: 0 !important;
|
||||||
|
height: 0 !important;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
@@ -360,6 +360,7 @@ 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"]}
|
||||||
|
|||||||
@@ -30,11 +30,11 @@ export default forwardRef(({ id, from, detail, userInfo }, ref) => {
|
|||||||
// const posterRef = useRef();
|
// const posterRef = useRef();
|
||||||
const { max_participants, participant_count } = detail || {};
|
const { max_participants, participant_count } = detail || {};
|
||||||
|
|
||||||
useEffect(() => {
|
// useEffect(() => {
|
||||||
if (id) {
|
// if (id) {
|
||||||
changeMessageType();
|
// changeMessageType();
|
||||||
}
|
// }
|
||||||
}, [id]);
|
// }, [id]);
|
||||||
|
|
||||||
async function changeMessageType() {
|
async function changeMessageType() {
|
||||||
try {
|
try {
|
||||||
@@ -76,6 +76,7 @@ export default forwardRef(({ id, from, detail, userInfo }, ref) => {
|
|||||||
const endTime = dayjs(end_time);
|
const endTime = dayjs(end_time);
|
||||||
const dayofWeek = DayOfWeekMap.get(startTime.day());
|
const dayofWeek = DayOfWeekMap.get(startTime.day());
|
||||||
const gameLength = `${endTime.diff(startTime, "hour")}小时`;
|
const gameLength = `${endTime.diff(startTime, "hour")}小时`;
|
||||||
|
await changeMessageType();
|
||||||
const url = await generateShareImage({
|
const url = await generateShareImage({
|
||||||
userAvatar: userInfo.avatar_url,
|
userAvatar: userInfo.avatar_url,
|
||||||
userNickname: userInfo.nickname,
|
userNickname: userInfo.nickname,
|
||||||
|
|||||||
Reference in New Issue
Block a user