|
|
|
@ -2,19 +2,14 @@ |
|
|
|
|
|
|
|
<!-- 搜索框 --> |
|
|
|
<view style="position: fixed; top: 0; left: 0; right: 0; padding: 20rpx; background-color: white; z-index: 100; box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.1); box-sizing: border-box;"> |
|
|
|
<view style="width: 90%; display: flex; border: 1rpx solid #ddd; border-radius: 40rpx; overflow: hidden;"> |
|
|
|
<view style="width: 90%; display: flex; border: 1rpx solid #ddd; border-radius: 40rpx; overflow: hidden; margin: 0 auto;"> |
|
|
|
<input |
|
|
|
style="flex: 1; padding: 20rpx 30rpx;" |
|
|
|
style="width: 100%; padding: 20rpx 30rpx;" |
|
|
|
placeholder="搜索商品名称或品种" |
|
|
|
bindinput="onSearchInput" |
|
|
|
bindconfirm="searchGoods" |
|
|
|
value="{{searchKeyword}}" |
|
|
|
/> |
|
|
|
<button |
|
|
|
style="background-color: #1677ff; color: white; font-size: 26rpx; height: 80rpx; line-height: 80rpx; padding: 0 30rpx;" |
|
|
|
bindtap="searchGoods" |
|
|
|
> |
|
|
|
搜索 |
|
|
|
</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|