add:新增喂养计算器开始页面

This commit is contained in:
zlong committed 2024-12-13 18:06:27 +08:00
1 parent 4e8d5e9262
commit 6c127e2a59
6 files changed
+68 -2

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
<script setup lang="ts">
const props = defineProps<{
list: Array<{
step: number
title: string
}>
}>()
</script>
<template>
<view v-for="(item, index) in props.list" :key="index">
<view class="flex">
<view class="w-[21px] h-[21px] bg-[#999] rounded-xl flex items-center justify-center text-[white]">
{{ item.step }}
</view>
<view class="ml-1 text-[#999] font-pingfangsc font-normal tracking-[0.8px]">
{{ item.title }}
</view>
</view>
<view v-if="index !== props.list.length - 1" class="w-[1px] h-[13px] bg-[#999] ml-2.5 mt-1 mb-1" />
</view>
</template>
<style scoped>
</style>