优化搜索

This commit is contained in:
TOP糯米 2023-03-19 17:05:33 +08:00
parent 92669d3505
commit dc3bb32b34
2 changed files with 8 additions and 1 deletions

View File

@ -9,6 +9,7 @@
v-model="keywords"
placeholder="搜索您需要的服务"
placeholder-class="placeholder-style-1"
:disabled="disabled"
/>
</view>
</template>
@ -21,6 +22,12 @@ export default {
keywords: "",
};
},
props: {
disabled: {
type: Boolean,
default: false,
},
},
components: {},
created() {},
mounted() {},

View File

@ -1,7 +1,7 @@
<template>
<app-layout headerBackgroundColor="#4B65ED" textColor="light" btnType="city" title="熊熊安装队">
<view class="search-component" @click="utils.toPage('/pages/service/cate', {}, 'switch')">
<widget-search />
<widget-search :disabled="true" />
</view>
<view class="banner">
<app-banner :list="bannerList" />