搜索bug

parent b43f80d8
...@@ -266,6 +266,7 @@ function jumpProductDetails(item) { ...@@ -266,6 +266,7 @@ function jumpProductDetails(item) {
// 搜索 // 搜索
const toSearch = (keyword) => { const toSearch = (keyword) => {
listParams.keyword = keyword; listParams.keyword = keyword;
reset();
getMerchantList(); getMerchantList();
}; };
// 获取优惠券 // 获取优惠券
...@@ -564,6 +565,7 @@ page { ...@@ -564,6 +565,7 @@ page {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
margin-top: 32rpx; margin-top: 32rpx;
align-items: center;
.choice { .choice {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -583,6 +585,7 @@ page { ...@@ -583,6 +585,7 @@ page {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
margin-top: 34rpx; margin-top: 34rpx;
align-items: center;
.choice { .choice {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
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