1

parent 29d6e053
<template> <template>
<!-- 搜索 --> <!-- 搜索 -->
<Search <Search :backIcon="backIconColor" :backgroundBox="backgroundBox" :border="border">
@toSearch="toSearch"
:backIcon="backIconColor"
:backgroundBox="backgroundBox"
:border="border"
>
<text class="title-icon" :style="{ color: textColor }">{{ categoryNames }}</text> <text class="title-icon" :style="{ color: textColor }">{{ categoryNames }}</text>
<view class="searchBox" :style="{ border }"> <view class="searchBox" :style="{ border }">
<image <image
...@@ -205,7 +200,7 @@ const popular = (communityName) => { ...@@ -205,7 +200,7 @@ const popular = (communityName) => {
}; };
// 搜索 // 搜索
const toSearch = (keyword) => { const toSearch = (keyword) => {
params.value.keyword = keyword; params.value.keyword = keyword.detail.value;
refresh().then(() => { refresh().then(() => {
getMerchantList(); getMerchantList();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment