mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-11-13 04:18:53 +08:00
16 lines
399 B
Vue
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>
|