搜索结果列表页面开发
This commit is contained in:
27
src/components/Setting/InfoCheckBox/InfoCheckbox.vue
Normal file
27
src/components/Setting/InfoCheckBox/InfoCheckbox.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<script setup lang="ts">
|
||||
defineProps<{ label: string }>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="checkbox-container">
|
||||
<d-checkbox v-bind="$attrs">
|
||||
<span class="label-text">{{ label }}</span>
|
||||
</d-checkbox>
|
||||
<p class="sub-text text-CG600"><slot></slot></p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.checkbox-container {
|
||||
display: inline-block;
|
||||
|
||||
.label-text {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.sub-text {
|
||||
margin: 10px 26px;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user