新增搜索出的产品列表

This commit is contained in:
clay
2022-12-25 16:49:38 +08:00
parent fd6f5b5390
commit d3c83c4c7d
8 changed files with 87 additions and 19 deletions

View File

@@ -32,7 +32,8 @@
</view>
<view class="found-record">
<view v-for="(item, index) in foundList" :key="index" class="tag-item">
<u-tag bg-color="#eee" borderColor="#eee" color="#666" :text="item.name" @click="recentSearch(item.name)" />
<u-tag bg-color="#eee" borderColor="#eee" color="#666" :text="item.name"
@click="recentSearch(item.name)" />
</view>
</view>
</view>
@@ -81,6 +82,9 @@
} catch (e) {
// error
}
uni.navigateTo({
url: '../search-products/search-products'
})
},
goBack() {
uni.navigateBack()