UI优化
This commit is contained in:
@@ -144,9 +144,9 @@
|
||||
|
||||
// 过滤弹窗
|
||||
.filter_popup {
|
||||
padding: 20px;
|
||||
|
||||
.popup_content {
|
||||
padding: 16px 20px;
|
||||
.form_section {
|
||||
.form_item {
|
||||
margin-bottom: 20px;
|
||||
@@ -157,7 +157,7 @@
|
||||
font-weight: 600;
|
||||
font-style: Semibold;
|
||||
font-size: 16px;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.options_wrapper {
|
||||
|
||||
@@ -314,6 +314,7 @@ const DownloadBill: React.FC = () => {
|
||||
|
||||
{/* 下载账单输入密码弹窗 */}
|
||||
<CommonPopup
|
||||
showHeader={true}
|
||||
visible={show_download_popup}
|
||||
onClose={() => set_show_download_popup(false)}
|
||||
title="提现"
|
||||
@@ -344,6 +345,7 @@ const DownloadBill: React.FC = () => {
|
||||
|
||||
{/* 筛选账单弹窗 */}
|
||||
<CommonPopup
|
||||
showHeader={true}
|
||||
visible={showFilterPopup}
|
||||
onClose={handleClose}
|
||||
onConfirm={handleTypeConfirm}
|
||||
|
||||
@@ -629,6 +629,9 @@ const EditProfilePage: React.FC = () => {
|
||||
{/* 性别选择弹窗 */}
|
||||
{gender_picker_visible && (
|
||||
<PopupPicker
|
||||
showHeader={true}
|
||||
title="选择性别"
|
||||
confirmText="保存"
|
||||
options={[
|
||||
[
|
||||
{ text: "男", value: "0" },
|
||||
@@ -645,6 +648,9 @@ const EditProfilePage: React.FC = () => {
|
||||
{/* 生日选择弹窗 */}
|
||||
{birthday_picker_visible && (
|
||||
<PopupPicker
|
||||
showHeader={true}
|
||||
title="选择生日"
|
||||
confirmText="保存"
|
||||
visible={birthday_picker_visible}
|
||||
setvisible={setBirthdayPickerVisible}
|
||||
value={[
|
||||
@@ -659,6 +665,9 @@ const EditProfilePage: React.FC = () => {
|
||||
{/* 地区选择弹窗 */}
|
||||
{location_picker_visible && (
|
||||
<PopupPicker
|
||||
showHeader={true}
|
||||
title="选择地区"
|
||||
confirmText="保存"
|
||||
options={cities}
|
||||
visible={location_picker_visible}
|
||||
setvisible={setLocationPickerVisible}
|
||||
@@ -669,6 +678,9 @@ const EditProfilePage: React.FC = () => {
|
||||
{/* NTRP水平选择弹窗 */}
|
||||
{ntrp_picker_visible && (
|
||||
<PopupPicker
|
||||
showHeader={true}
|
||||
title="选择 NTRP 自评水平"
|
||||
confirmText="保存"
|
||||
options={[
|
||||
[
|
||||
{ text: "1.5", value: "1.5" },
|
||||
@@ -691,6 +703,9 @@ const EditProfilePage: React.FC = () => {
|
||||
{/* 职业选择弹窗 */}
|
||||
{occupation_picker_visible && (
|
||||
<PopupPicker
|
||||
showHeader={true}
|
||||
title="选择职业"
|
||||
confirmText="保存"
|
||||
options={professions}
|
||||
visible={occupation_picker_visible}
|
||||
setvisible={setOccupationPickerVisible}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: "我的钱包",
|
||||
navigationBarTitleText: "钱包",
|
||||
});
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
background-color: #f5f5f5;
|
||||
padding-bottom: 5px;
|
||||
box-sizing: border-box;
|
||||
padding: 100px 0 40px;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
@@ -364,9 +365,9 @@
|
||||
|
||||
// 过滤弹窗
|
||||
.filter_popup {
|
||||
padding: 20px;
|
||||
|
||||
.popup_content {
|
||||
padding: 16px 20px;
|
||||
.form_section {
|
||||
.form_item {
|
||||
margin-bottom: 20px;
|
||||
@@ -377,7 +378,7 @@
|
||||
font-weight: 600;
|
||||
font-style: Semibold;
|
||||
font-size: 16px;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.options_wrapper {
|
||||
|
||||
@@ -578,6 +578,7 @@ const WalletPage: React.FC = () => {
|
||||
|
||||
{/* 提现弹窗 */}
|
||||
<CommonPopup
|
||||
showHeader={true}
|
||||
visible={show_withdraw_popup}
|
||||
onClose={() => set_show_withdraw_popup(false)}
|
||||
onConfirm={submit_withdraw}
|
||||
@@ -619,6 +620,8 @@ const WalletPage: React.FC = () => {
|
||||
{/* 选择月份弹窗 */}
|
||||
{showMonthPicker && (
|
||||
<PopupPicker
|
||||
showHeader={true}
|
||||
title="选择月份"
|
||||
visible={showMonthPicker}
|
||||
setvisible={setShowMonthPicker}
|
||||
value={[
|
||||
@@ -639,6 +642,7 @@ const WalletPage: React.FC = () => {
|
||||
)}
|
||||
{/* 筛选账单弹窗 */}
|
||||
<CommonPopup
|
||||
showHeader={true}
|
||||
visible={showFilterPopup}
|
||||
onClose={handleFilterCancel}
|
||||
onConfirm={modify_load_transactions_params}
|
||||
|
||||
@@ -292,6 +292,7 @@ const Withdrawal: React.FC = () => {
|
||||
|
||||
{/* 提现输入密码弹窗 */}
|
||||
<CommonPopup
|
||||
showHeader={true}
|
||||
visible={show_withdraw_popup}
|
||||
onClose={() => set_show_withdraw_popup(false)}
|
||||
title="提现"
|
||||
@@ -310,7 +311,7 @@ const Withdrawal: React.FC = () => {
|
||||
))
|
||||
}
|
||||
</View>
|
||||
<Input holdKeyboard={true} ref={inputRef} focus={isFocus} type="number" adjustPosition={false} style={{ width: "0", height: "0", opacity: "0" }} value={password.filter(item => item !== "").join("")} maxlength={6} onInput={handlePasswordInput} onBlur={() => {set_show_withdraw_popup(false)}} />
|
||||
<Input holdKeyboard={true} ref={inputRef} focus={isFocus} type="number" adjustPosition={false} style={{ width: "0", height: "0", opacity: "0" }} value={password.filter(item => item !== "").join("")} maxlength={6} onInput={handlePasswordInput} onBlur={() => { set_show_withdraw_popup(false) }} />
|
||||
</View>
|
||||
</CommonPopup>
|
||||
</View >
|
||||
|
||||
Reference in New Issue
Block a user