Compare commits
2
Commits
b3c324653b
...
f14ebcfc85
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f14ebcfc85 | ||
|
|
aadc8fa8fb |
@@ -8,6 +8,12 @@
|
||||
-webkit-transform: none;
|
||||
}
|
||||
|
||||
.swipe-cell-button {
|
||||
height: 100%;
|
||||
padding: 0 1rem;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.t-image-viewer {
|
||||
|
||||
.t-swiper-item {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<t-popup v-model="visible" placement="bottom">
|
||||
<t-popup v-model="visible" placement="bottom" :z-index="props.zIndex" :overlay-props="props.overlayProps">
|
||||
<div class="bottom-popup" :style="{ height: props.height }">
|
||||
<div v-if="hasHeader" class="header">
|
||||
<div class="button left">
|
||||
@@ -40,6 +40,8 @@ export interface BottomPopupProps {
|
||||
rightButtonText?: string;
|
||||
height?: string | number;
|
||||
title?: string;
|
||||
zIndex?: number;
|
||||
overlayProps?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface BottomPopupSlots {
|
||||
@@ -54,7 +56,9 @@ const props = withDefaults(defineProps<BottomPopupProps>(), {
|
||||
leftButtonText: "取消",
|
||||
rightButtonText: "确定",
|
||||
height: "auto",
|
||||
title: ""
|
||||
title: "",
|
||||
zIndex: undefined,
|
||||
overlayProps: undefined
|
||||
});
|
||||
|
||||
const emit = defineEmits<{
|
||||
|
||||
Reference in New Issue
Block a user