31 lines
736 B
Vue
31 lines
736 B
Vue
<template>
|
|
<view class="con-body">
|
|
<view class="con-bg">
|
|
<!-- 头部 -->
|
|
<customHeader ref="customHeaderRef" :title="'搜索'"
|
|
:leftFlag="true" :rightFlag="false"
|
|
></customHeader>
|
|
<!-- 高度来避免头部遮挡 -->
|
|
<view class="top-height"></view>
|
|
|
|
<customSearch :type="type"></customSearch>
|
|
|
|
</view>
|
|
</view>
|
|
</template>
|
|
<script setup>
|
|
import { ref, onMounted } from 'vue';
|
|
import { onLoad } from '@dcloudio/uni-app';
|
|
import customHeader from '@/components/customHeader.vue'
|
|
import customSearch from '@/components/customSearch.vue'
|
|
|
|
let type=ref(1);
|
|
onLoad(async(opt) => {
|
|
console.log(opt.type)
|
|
type.value = opt.type;
|
|
})
|
|
</script>
|
|
|
|
<style scoped>
|
|
|
|
</style> |