|
@@ -22,6 +22,7 @@ import SectionHeading from '@designer-hub/app/src/components/section-heading.vue
|
|
|
import { useMemberLevelsStore } from '../../../store/member-levles'
|
|
|
import { storeToRefs } from 'pinia'
|
|
|
import { useUserStore } from '../../../store'
|
|
|
+import link from '@designer-hub/assets/src/libs/assets/link'
|
|
|
|
|
|
const userStore = useUserStore()
|
|
|
const { userInfo } = storeToRefs(userStore)
|
|
@@ -36,12 +37,14 @@ const { getMemberLevelLogo } = memberLevelsStore
|
|
|
const filterQuery = ref<{
|
|
|
tags: any[]
|
|
|
levels: any[]
|
|
|
+ retryStatus: any[]
|
|
|
minPoints?: string
|
|
|
maxPoints?: string
|
|
|
brokerId?: string
|
|
|
}>({
|
|
|
tags: [],
|
|
|
levels: [],
|
|
|
+ retryStatus: [],
|
|
|
brokerId: String(userInfo.value.userId),
|
|
|
})
|
|
|
const query = ref({})
|
|
@@ -92,6 +95,7 @@ const handleSubmit = () => {
|
|
|
...filterQuery.value,
|
|
|
tags: filterQuery.value.tags.join(','),
|
|
|
levels: filterQuery.value.levels.join(','),
|
|
|
+ retryStatus: filterQuery.value.retryStatus.join(','),
|
|
|
}
|
|
|
filterState.value = false
|
|
|
}
|
|
@@ -144,9 +148,12 @@ onLoad(async (params: { title?: string; filter?: string; tags?: string }) => {
|
|
|
<div class="">
|
|
|
<div class="flex items-center">
|
|
|
<div
|
|
|
- class="w-[55px] h-[55px] bg-neutral-100 rounded-full mr-2 flex items-center justify-center"
|
|
|
+ class="w-[55px] h-[55px] bg-neutral-100 rounded-full mr-2 flex items-center justify-center relative"
|
|
|
>
|
|
|
<wd-img width="100%" height="100%" round :src="it.avatar"></wd-img>
|
|
|
+ <div v-if="it.retryStatus" class="absolute right-0 bottom--1">
|
|
|
+ <wd-img width="14" height="14" :src="link"></wd-img>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="flex flex-col flex-1">
|
|
|
<div class="flex-row flex items-center justify-between w-full">
|
|
@@ -317,15 +324,6 @@ onLoad(async (params: { title?: string; filter?: string; tags?: string }) => {
|
|
|
<wd-checkbox custom-class="w-50%!" :model-value="tag.value">{{ tag.label }}</wd-checkbox>
|
|
|
</template>
|
|
|
</wd-checkbox-group>
|
|
|
- <!-- <div class="flex items-center justify-between py-4">
|
|
|
- <template>
|
|
|
- <div class="w-[168px] h-10 bg-[#f5f7f9] rounded-lg flex items-center justify-center">
|
|
|
- <div class="w-7 text-black/90 text-sm font-normal font-['PingFang_SC'] leading-none">
|
|
|
- 全部
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </div> -->
|
|
|
|
|
|
<SectionHeading title="积分区间"></SectionHeading>
|
|
|
<div class="flex items-center justify-between py-4">
|
|
@@ -341,6 +339,21 @@ onLoad(async (params: { title?: string; filter?: string; tags?: string }) => {
|
|
|
no-border
|
|
|
></wd-input>
|
|
|
</div>
|
|
|
+ <SectionHeading title="绑定关系"></SectionHeading>
|
|
|
+ <wd-checkbox-group shape="button" v-model="filterQuery.retryStatus">
|
|
|
+ <template
|
|
|
+ v-for="(tag, index) in [
|
|
|
+ // { label: '全部', value: '' },
|
|
|
+ { label: '弱绑定', value: '0' },
|
|
|
+ { label: '强绑定', value: '1' },
|
|
|
+ ]"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
+ <wd-checkbox custom-class="w-50%!" :model-value="tag.value">
|
|
|
+ {{ tag.label }}
|
|
|
+ </wd-checkbox>
|
|
|
+ </template>
|
|
|
+ </wd-checkbox-group>
|
|
|
<div class="flex gap-4">
|
|
|
<div class="flex-1">
|
|
|
<wd-button block :round="false" @click="handleReset">重置</wd-button>
|