Files
lilishop-uniapp/pages/tabbar/home/template/tpl_blank.vue
2026-10-12 10:26:00 +08:00

16 lines
399 B
Vue

<template>
<view class="tpl-blank" :style="blankStyle"></view>
</template>
<script setup lang="ts">
import { computed } from "vue";
const props = defineProps<{ res: any }>();
const blankStyle = computed(() => ({
background: props.res?.bgColor || "#f5f5f5",
height: `${props.res?.height ?? 10}rpx`,
margin: `0 ${props.res?.paddingX ?? 0}rpx ${props.res?.pageGap ?? 10}rpx`,
}));
</script>