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