This commit is contained in:
张成
2025-11-15 23:51:38 +08:00
parent 6519cb8eec
commit 4b5c677856
14 changed files with 78 additions and 32 deletions

View File

@@ -82,6 +82,7 @@
// 标签样式
.bubbleLabel {
font-weight: 500;
font-size: 12px !important;
}
// 描述样式

View File

@@ -21,6 +21,14 @@
.btn {
flex: 1;
font-size: 14pt !important; // 14pt 加粗
font-weight: 600 !important; // 加粗
// 确保按钮内部文字也应用样式
:global(.nut-button__text) {
font-size: 14pt !important;
font-weight: 600 !important;
}
}
--nutui-button-border-width: 0.5px;

View File

@@ -60,19 +60,22 @@
white-space: nowrap;
position: relative;
background: transparent !important;
box-sizing: border-box;
// 使用伪元素实现真正的 0.5px 边框
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
top: -50%;
left: -50%;
right: -50%;
bottom: -50%;
width: 200%;
height: 200%;
border: 1px solid;
border-radius: 40px; // 20px * 2
transform: scale(0.5);
transform-origin: 0 0;
transform-origin: center center;
pointer-events: none;
box-sizing: border-box;
}

View File

@@ -119,6 +119,7 @@
letter-spacing: -0.22px; // -1.6428571734045228%
min-width: 0; // 允许输入框缩小
height: 100%; // 输入框高度填满容器
background: transparent; // 去掉输入框背景
:global(.nut-input-inner) {
font-family: "PingFang SC";
@@ -128,6 +129,7 @@
letter-spacing: -0.22px;
color: #000000; // 根据设计稿:文本颜色 fill_9WEVAH
height: 100%;
background: transparent; // 去掉输入框内部背景
}
:global(.nut-input-placeholder) {

View File

@@ -227,21 +227,30 @@
position: relative;
.image-container {
width: 60%;
height: 60%;
position: absolute;
overflow: hidden;
top: 20%;
border: 1.5px solid #ffffff;
border-radius: 9px;
box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.2);
box-sizing: border-box;
// 设计稿尺寸 72.28px,按 100/122 比例缩放
width: 59.2px;
height: 59.2px;
&:first-child {
// 设计稿位置 top: 10.52px, left: 38.52px,按比例缩放
top: 8.6px;
left: 31.6px;
z-index: 2;
transform: translateX(4px) rotate(-10deg);
transform: rotate(8deg);
}
&:last-child {
right: 0;
// 设计稿位置 top: 38.62px, left: 10.62px,按比例缩放
top: 31.7px;
left: 8.7px;
z-index: 1;
transform: translateX(-4px) rotate(10deg);
transform: rotate(-8deg);
}
}
}

View File

@@ -9,6 +9,7 @@ import { PopupPicker } from "@/components/Picker/index";
import { useUserActions } from "@/store/userStore";
import { UserInfoType } from "@/services/userService";
import { useCities, useProfessions } from "@/store/pickerOptionsStore";
import { formatNtrpDisplay } from "@/utils/helper";
// 用户信息接口
// export interface UserInfo {
@@ -457,7 +458,7 @@ const UserInfoCardComponent: React.FC<UserInfoCardProps> = ({
editable && handle_open_edit_modal("ntrp_level");
}}
>
<Text className="tag_text">{`NTRP ${user_info.ntrp_level}`}</Text>
<Text className="tag_text">{`NTRP ${formatNtrpDisplay(user_info.ntrp_level)}`}</Text>
</View>
) : is_current_user ? (
<View