feat: 完成前端业务闭环与后端联调
This commit is contained in:
@@ -135,9 +135,18 @@ const confirmation = createDiscardConfirmation((visible) => {
|
||||
const confirmDiscard = confirmation.confirm;
|
||||
const cancelDiscard = confirmation.cancel;
|
||||
|
||||
const decodeQueryText = (value) => {
|
||||
const text = String(value || "");
|
||||
try {
|
||||
return decodeURIComponent(text);
|
||||
} catch {
|
||||
return text;
|
||||
}
|
||||
};
|
||||
|
||||
onLoad((query) => {
|
||||
genealogyId.value = String(query?.genealogyId || "");
|
||||
genealogyName.value = String(query?.genealogyName || "");
|
||||
genealogyName.value = decodeQueryText(query?.genealogyName);
|
||||
});
|
||||
|
||||
const backToSearch = () => returnTo("G06");
|
||||
@@ -204,7 +213,7 @@ onUnload(() => {
|
||||
z-index: 1;
|
||||
}
|
||||
.page-content {
|
||||
padding: 18rpx 24rpx 72rpx;
|
||||
padding: 18rpx 24rpx calc(72rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.state-card,
|
||||
.join-form {
|
||||
@@ -277,7 +286,7 @@ onUnload(() => {
|
||||
line-height: 1.5;
|
||||
}
|
||||
.form-field input {
|
||||
min-height: 76rpx;
|
||||
min-height: var(--app-touch-min);
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user