mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-11-13 20:38:51 +08:00
feat(uniapp): 新增辅助空白/辅助线/富文本楼层渲染
This commit is contained in:
15
pages/tabbar/home/template/tpl_blank.vue
Normal file
15
pages/tabbar/home/template/tpl_blank.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user