|
@@ -35,7 +35,7 @@
|
|
|
</view>
|
|
|
<view class="other">
|
|
|
<view class="price">
|
|
|
- ¥{{item.goods.cost}}
|
|
|
+ {{item.goods.cost}}
|
|
|
</view>
|
|
|
<view class="num">
|
|
|
×{{item.buy_num}}
|
|
@@ -60,7 +60,7 @@
|
|
|
return {
|
|
|
// 系统设置
|
|
|
config: {},
|
|
|
- searchInfo:{},
|
|
|
+ searchInfo: {},
|
|
|
user: {},
|
|
|
list: [],
|
|
|
total: 0,
|
|
@@ -112,7 +112,11 @@
|
|
|
// 输入框
|
|
|
toInput(e) {
|
|
|
const that = this;
|
|
|
- if (e.detail.value) that.$set(that.searchInfo, `goods`, e.detail.value);
|
|
|
+ if (e.detail.value == '') {
|
|
|
+ that.$set(that, `searchInfo`, {})
|
|
|
+ } else {
|
|
|
+ that.$set(that.searchInfo, `goods`, e.detail.value);
|
|
|
+ }
|
|
|
that.clearPage();
|
|
|
that.search();
|
|
|
},
|