diff --git a/components.d.ts b/components.d.ts index 748a68c..2b26012 100644 --- a/components.d.ts +++ b/components.d.ts @@ -10,6 +10,7 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { _index: typeof import('./src/core/components/_sample/_index.vue')['default'] + AAlert: typeof import('ant-design-vue/es')['Alert'] AAvatar: typeof import('ant-design-vue/es')['Avatar'] ABadge: typeof import('ant-design-vue/es')['Badge'] AButton: typeof import('ant-design-vue/es')['Button'] @@ -42,6 +43,7 @@ declare module '@vue/runtime-core' { APagination: typeof import('ant-design-vue/es')['Pagination'] APopconfirm: typeof import('ant-design-vue/es')['Popconfirm'] APopover: typeof import('ant-design-vue/es')['Popover'] + ARadio: typeof import('ant-design-vue/es')['Radio'] ARadioButton: typeof import('ant-design-vue/es')['RadioButton'] ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] ARow: typeof import('ant-design-vue/es')['Row'] @@ -56,6 +58,7 @@ declare module '@vue/runtime-core' { ATextarea: typeof import('ant-design-vue/es')['Textarea'] ATimePicker: typeof import('ant-design-vue/es')['TimePicker'] ATooltip: typeof import('ant-design-vue/es')['Tooltip'] + AUpload: typeof import('ant-design-vue/es')['Upload'] BaseButton: typeof import('./src/core/components/BaseButton/index.ts')['default'] BaseCard: typeof import('./src/core/components/BaseCard/index.ts')['default'] BaseCollapse: typeof import('./src/components/BaseCollapse.vue')['default'] diff --git a/src/components/BasicActionSheet.vue b/src/components/BasicActionSheet.vue index 72d12fc..01018bd 100644 --- a/src/components/BasicActionSheet.vue +++ b/src/components/BasicActionSheet.vue @@ -60,6 +60,9 @@
+
+

{{ title }}

+
@@ -167,7 +170,8 @@ function handleOk() { .basic-action-sheet { .ant-drawer-content { border-radius: 16px 16px 0 0; - overflow: hidden; + overflow-x: visible; + overflow-y: hidden; } .ant-drawer-body { @@ -185,10 +189,27 @@ function handleOk() { .basic-action-sheet__content { flex: 1; + min-width: 0; overflow-y: auto; padding: 0 16px 12px; } +.basic-action-sheet__header { + flex: 0 0 auto; + padding: 8px 16px 12px; + border-bottom: 1px solid var(--admin-border); + background: var(--admin-bg-elevated); +} + +.basic-action-sheet__title { + margin: 0; + color: var(--admin-text); + font-size: 1rem; + font-weight: 700; + line-height: 1.6; + text-align: right; +} + .basic-action-sheet--compact { .ant-drawer-content-wrapper { height: auto !important; @@ -209,7 +230,7 @@ function handleOk() { .basic-action-sheet__container--compact .basic-action-sheet__content { flex: 0 1 auto; - max-height: calc(88vh - 40px); + max-height: calc(88vh - 92px); } .basic-action-sheet__footer { diff --git a/src/components/customer/CustomerWalletBalancePanel.vue b/src/components/customer/CustomerWalletBalancePanel.vue index f2c44e0..017cddc 100644 --- a/src/components/customer/CustomerWalletBalancePanel.vue +++ b/src/components/customer/CustomerWalletBalancePanel.vue @@ -1,8 +1,14 @@ diff --git a/src/components/mobile/MobileDetailSheet.vue b/src/components/mobile/MobileDetailSheet.vue index 4a0f8a5..2667f9e 100644 --- a/src/components/mobile/MobileDetailSheet.vue +++ b/src/components/mobile/MobileDetailSheet.vue @@ -1,12 +1,12 @@