diff --git a/src/components/FollowUserCard/index.tsx b/src/components/FollowUserCard/index.tsx index acee46f..22d3a49 100644 --- a/src/components/FollowUserCard/index.tsx +++ b/src/components/FollowUserCard/index.tsx @@ -114,7 +114,7 @@ const FollowUserCard: React.FC = ({ user, tabKey, onFollowC diff --git a/src/login_pages/index/index.scss b/src/login_pages/index/index.scss index d1b23a7..fdfd9b3 100644 --- a/src/login_pages/index/index.scss +++ b/src/login_pages/index/index.scss @@ -384,6 +384,10 @@ cursor: pointer; transition: all 0.3s ease; margin-bottom: 20px; + display: flex; + align-items: center; + justify-content: center; + line-height: 1; &::after { border: none; diff --git a/src/login_pages/verification/index.scss b/src/login_pages/verification/index.scss index e47e250..b62866f 100644 --- a/src/login_pages/verification/index.scss +++ b/src/login_pages/verification/index.scss @@ -213,7 +213,7 @@ flex-direction: column; gap: 8px; text-align: left; - padding: 12px 24px 36px 24px; + padding: 12px 0px 36px 0px; .main_title { font-family: "PingFang SC"; @@ -249,6 +249,8 @@ border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 12px; padding: 10px 12px; + height: 52px; + box-sizing: border-box; box-shadow: 0px 4px 36px 0px rgba(0, 0, 0, 0.06); .phone_input { @@ -256,11 +258,13 @@ font-family: "PingFang SC"; font-weight: 500; font-size: 20px; - line-height: 1.6; + line-height: 32px; + height: 32px; color: #000000; border: none; outline: none; background: transparent; + box-sizing: border-box; &::placeholder { color: rgba(60, 60, 67, 0.3); @@ -313,11 +317,13 @@ font-family: "PingFang SC"; font-weight: 500; font-size: 20px; - line-height: 1.6; + line-height: 32px; + height: 32px; color: #000000; border: none; outline: none; background: transparent; + box-sizing: border-box; &::placeholder { color: rgba(60, 60, 67, 0.3); @@ -347,7 +353,10 @@ width: 120px; height: 52px; box-sizing: border-box; - padding: 12px 2px; + padding: 0; + display: flex; + align-items: center; + justify-content: center; background: #000000; border: 1px solid rgba(0, 0, 0, 0.06); @@ -355,7 +364,7 @@ font-family: "PingFang SC"; font-weight: 600; font-size: 16px; - line-height: 1.4; + line-height: 1; color: #ffffff; box-shadow: 0px 8px 64px 0px rgba(0, 0, 0, 0.1); backdrop-filter: blur(32px); diff --git a/src/other_pages/comment_reply/index.scss b/src/other_pages/comment_reply/index.scss index b978140..c095c15 100644 --- a/src/other_pages/comment_reply/index.scss +++ b/src/other_pages/comment_reply/index.scss @@ -106,8 +106,8 @@ min-width: 0; .user-avatar { - width: 48px; height: 48px; + width: 48px; border-radius: 999px; flex-shrink: 0; cursor: pointer; diff --git a/src/other_pages/comment_reply/index.tsx b/src/other_pages/comment_reply/index.tsx index 211e49f..25f3303 100644 --- a/src/other_pages/comment_reply/index.tsx +++ b/src/other_pages/comment_reply/index.tsx @@ -1,6 +1,5 @@ import { useState, useEffect } from "react"; import { View, Text, ScrollView, Image, Input } from "@tarojs/components"; -import { Avatar } from "@nutui/nutui-react-taro"; import { withAuth, EmptyState, BackNavbar } from "@/components"; import commentService, { CommentActivity } from "@/services/commentService"; import { formatShortRelativeTime } from "@/utils/timeUtils"; @@ -225,10 +224,10 @@ const CommentReply = () => { onClick={() => handleCommentClick(item)} > - handleUserClick(e, item.user_id)} /> diff --git a/src/other_pages/message/index.scss b/src/other_pages/message/index.scss index 48197d7..f705270 100644 --- a/src/other_pages/message/index.scss +++ b/src/other_pages/message/index.scss @@ -101,6 +101,7 @@ // box-shadow: 0px 4px 36px 0px rgba(0, 0, 0, 0.06); padding: 0 0 12px; transition: all 0.2s; + cursor: pointer; &:active { transform: scale(0.98); @@ -164,7 +165,6 @@ display: flex; justify-content: space-between; align-items: center; - cursor: pointer; .action-text { font-family: "PingFang SC"; @@ -185,10 +185,6 @@ height: 14px; } } - - &:active { - opacity: 0.7; - } } } } diff --git a/src/other_pages/message/index.tsx b/src/other_pages/message/index.tsx index 4401626..ab04f7c 100644 --- a/src/other_pages/message/index.tsx +++ b/src/other_pages/message/index.tsx @@ -174,7 +174,7 @@ const Message = () => { {filteredMessages.length > 0 ? ( {filteredMessages.map((message) => ( - + handleViewDetail(message)}> {message.title} @@ -186,7 +186,7 @@ const Message = () => { - handleViewDetail(message)}> + 查看详情 diff --git a/src/other_pages/new_follow/index.tsx b/src/other_pages/new_follow/index.tsx index b83da87..16ef3e9 100644 --- a/src/other_pages/new_follow/index.tsx +++ b/src/other_pages/new_follow/index.tsx @@ -1,6 +1,5 @@ import { useState, useEffect } from "react"; -import { View, Text, ScrollView } from "@tarojs/components"; -import { Avatar } from "@nutui/nutui-react-taro"; +import { View, Text, ScrollView, Image } from "@tarojs/components"; import { withAuth, EmptyState, BackNavbar } from "@/components"; import FollowService from "@/services/followService"; import { formatShortRelativeTime } from "@/utils/timeUtils"; @@ -163,10 +162,10 @@ const NewFollow = () => { return ( handleUserClick(item.user_id)}> -