add:新增喂养计算器开始页面
This commit is contained in:
1 parent
4e8d5e9262
commit
6c127e2a59
6 files changed
+68
-2
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user