|
@@ -581,20 +581,17 @@ onLoad(async (params: { title?: string; filter?: string; tags?: string }) => {
|
|
|
</template>
|
|
|
</wd-checkbox-group>
|
|
|
<SectionHeading title="推荐设计师"></SectionHeading>
|
|
|
- <wd-checkbox-group shape="button" v-model="filterQuery.recommend">
|
|
|
- <template
|
|
|
- v-for="(tag, index) in [
|
|
|
+ <wd-radio-group shape="button"
|
|
|
+ v-model="filterQuery.recommend"
|
|
|
+ >
|
|
|
+ <template v-for="(tag, index) in [
|
|
|
// { label: '全部', value: '' },
|
|
|
{ label: '否', value: false },
|
|
|
{ label: '是', value: true },
|
|
|
- ]"
|
|
|
- :key="index"
|
|
|
- >
|
|
|
- <wd-checkbox custom-class="w-50%!" :model-value="tag.value">
|
|
|
- {{ tag.label }}
|
|
|
- </wd-checkbox>
|
|
|
+ ]" :key="index">
|
|
|
+ <wd-radio :value="tag.value">{{ tag.label }}</wd-radio>
|
|
|
</template>
|
|
|
- </wd-checkbox-group>
|
|
|
+ </wd-radio-group>
|
|
|
<div class="flex gap-4 pt-[10px]">
|
|
|
<div class="flex-1">
|
|
|
<wd-button block :round="false" @click="handleReset">重置</wd-button>
|