22 lines
508 B
Vue
22 lines
508 B
Vue
<script setup lang="ts">
|
|
import feedSlogan from '@/static/image/feed-plan/feed-slogan.png'
|
|
import ToolApi from '@/utils'
|
|
|
|
const props = withDefaults(defineProps<{
|
|
bottom: number
|
|
}>(), {
|
|
bottom: 70,
|
|
})
|
|
const safeBottomMenuHeight = ToolApi.getMenuButtonInfoHeight()
|
|
</script>
|
|
|
|
<template>
|
|
<view class="w-screen fixed left-0" :style="{ bottom: `${safeBottomMenuHeight + props.bottom}px` }">
|
|
<image :src="feedSlogan" class="w-[138px] h-[38px] mx-auto" />
|
|
</view>
|
|
</template>
|
|
|
|
<style scoped>
|
|
|
|
</style>
|