细节优化

This commit is contained in:
2025-10-12 23:03:51 +08:00
parent 09c77a809b
commit 6a5191df21
14 changed files with 143 additions and 54 deletions

View File

@@ -1,11 +1,16 @@
// @use '../../scss/common.scss' as *;
.wallet_page {
min-height: 100vh;
background-color: #f5f5f5;
padding: 5px;
padding: 0 5px 5px;
box-sizing: border-box;
&::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}
.wallet_main_card {
background: #000;
border-radius: 20px;
@@ -155,7 +160,7 @@
padding: 12px 20px;
border-bottom: 0.5px solid rgba(120, 120, 128, 0.12);
position: sticky;
top: 0;
top: -1px;
background-color: #fff;
.history_title {
@@ -363,6 +368,7 @@
.form_section {
.form_item {
margin-bottom: 20px;
.form_label {
display: inline-block;
font-family: PingFang SC;
@@ -376,11 +382,13 @@
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
.option_item {
background-color: #0000000D;
text-align: center;
padding: 8px;
border-radius: 4px;
&.active {
background-color: #000000;
color: #fff;

View File

@@ -1,5 +1,5 @@
import React, { useEffect, useState } from "react";
import { View, Text, Input, Button, Image } from "@tarojs/components";
import { View, Text, Input, Button, Image, ScrollView } from "@tarojs/components";
import Taro, { useDidShow } from "@tarojs/taro";
import "./index.scss";
import { CommonPopup } from "@/components";
@@ -430,7 +430,7 @@ const WalletPage: React.FC = () => {
};
return (
<View className="wallet_page">
<ScrollView className="wallet_page" scrollY enhanced showScrollbar={false}>
{/* 钱包主卡片 */}
<View className="wallet_main_card">
{/* 头部信息 */}
@@ -700,7 +700,7 @@ const WalletPage: React.FC = () => {
</View>
</View>
</CommonPopup>
</View>
</ScrollView>
);
};