|
@@ -1,20 +1,45 @@
|
|
<template>
|
|
<template>
|
|
- <div class="default-width py-3 white-bgc">
|
|
|
|
- <headSearch></headSearch>
|
|
|
|
- <div class="px-5 mt-3">
|
|
|
|
- <areaType class="mb-3"></areaType>
|
|
|
|
- <industryType></industryType>
|
|
|
|
- <natureType class="my-5"></natureType>
|
|
|
|
- <scaleType></scaleType>
|
|
|
|
|
|
+ <div class="default-width">
|
|
|
|
+ <div class="white-bgc py-3">
|
|
|
|
+ <headSearch></headSearch>
|
|
|
|
+ <div class="px-5 mt-3 clear-parent">
|
|
|
|
+ <areaType class="mb-3" :isClear="clear"></areaType>
|
|
|
|
+ <industryType :isClear="clear"></industryType>
|
|
|
|
+ <natureType class="my-5" :isClear="clear"></natureType>
|
|
|
|
+ <scaleType :isClear="clear" @clear="clear = false"></scaleType>
|
|
|
|
+ <div class="clear" @click="clear = true">清空筛选条件</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <companyItem class="mt-3"></companyItem>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
defineOptions({name: 'retrieval-company-page'})
|
|
defineOptions({name: 'retrieval-company-page'})
|
|
|
|
+import { ref } from 'vue'
|
|
import headSearch from '@/components/headSearch'
|
|
import headSearch from '@/components/headSearch'
|
|
import scaleType from './components/scaleType'
|
|
import scaleType from './components/scaleType'
|
|
-import natureType from './components/natureType.vue'
|
|
|
|
-import industryType from './components/industryType.vue'
|
|
|
|
-import areaType from './components/areaType.vue'
|
|
|
|
-</script>
|
|
|
|
|
|
+import natureType from './components/natureType'
|
|
|
|
+import industryType from './components/industryType'
|
|
|
|
+import areaType from './components/areaType'
|
|
|
|
+import companyItem from './components/companyItem'
|
|
|
|
+
|
|
|
|
+const clear = ref(false)
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<style lang="scss" scoped>
|
|
|
|
+.clear-parent {
|
|
|
|
+ position: relative
|
|
|
|
+}
|
|
|
|
+.clear {
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ right: 30px;
|
|
|
|
+ color: #999;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ &:hover {
|
|
|
|
+ color: var(--v-primary-base);
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+</style>
|