This commit is contained in:
2025-04-14 11:42:21 +08:00
parent b614f2482e
commit a706b60c90
30 changed files with 700 additions and 9 deletions

View File

@@ -0,0 +1,21 @@
<script setup>
const {label} = defineProps({
label: {
type: String,
default: null,
}
});
</script>
<template>
<view class="x-form-item">
<view class="!mb-[8rpx]" v-if="label">{{ label }}</view>
<slot></slot>
</view>
</template>
<style scoped lang="scss">
.x-form-item {
margin-bottom: 20rpx;
}
</style>