36 lines
892 B
Vue
36 lines
892 B
Vue
<script setup lang="ts">
|
|
import type { StepInfo } from '@/model/pet-manual'
|
|
import FeedStep from '@/pages/feed-calculator/components/FeedStep.vue'
|
|
import feedTitle from '@/static/image/feed-plan/feed-title.png'
|
|
|
|
const props = defineProps<{
|
|
stepInfo: StepInfo[]
|
|
}>()
|
|
const emits = defineEmits<{
|
|
ready: [void]
|
|
}>()
|
|
function handleReady() {
|
|
emits('ready')
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<view class="w-[273px] h-[125px] mx-auto mt-[105px]">
|
|
<image :src="feedTitle" class="w-full h-full" />
|
|
</view>
|
|
|
|
<view class="h-[121px] ml-15 mt-14">
|
|
<FeedStep :list="props.stepInfo" />
|
|
</view>
|
|
<FeedFlogan />
|
|
<view class="flex items-center justify-center">
|
|
<button class="w-[176px] h-[47px] flex items-center justify-center bg-[#4545E5] border-none text-[white] rounded-3xl mt-[87px]" @tap="handleReady">
|
|
准备好了
|
|
</button>
|
|
</view>
|
|
</template>
|
|
|
|
<style scoped>
|
|
|
|
</style>
|