This commit is contained in:
2025-03-24 14:17:48 +08:00
parent 46fc546d6f
commit 79fcae935b
15 changed files with 773 additions and 119 deletions

View File

@@ -0,0 +1,44 @@
<script setup>
import {ref} from 'vue';
const group = [
{
label: '站内URL',
value: 0,
},
{
label: '站内富文本页面',
value: 1,
},
{
label: '微信链接',
value: 2,
},
{
label: '外部链接',
value: 3,
},
{
label: '弹窗',
value: 4,
},
{
label: '空',
value: 5,
},
];
const type = ref(0);
</script>
<template>
<a-radio-group v-model:model-value="type">
<div class="grid grid-cols-3">
<a-radio v-for="item in group" :key="item.value" :value="item.value">
{{item.label}}
</a-radio>
</div>
</a-radio-group>
</template>
<style scoped lang="scss">
</style>

View File

@@ -23,7 +23,12 @@ onMounted(() => {
</script>
<template>
<a-select v-bind="$attrs" :options="list" :field-names="fieldName" placeholder="请选择"></a-select>
<a-select
v-bind="$attrs"
:options="list"
:field-names="fieldName"
placeholder="请选择">
</a-select>
</template>
<style scoped>