|
|
@@ -48,15 +48,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
- showAllShop(){
|
|
|
- uni.showLoading()
|
|
|
- getPtGhsShop({pageSize:100}).then(res=>{
|
|
|
- uni.hideLoading()
|
|
|
- this.shopData = res.data
|
|
|
- })
|
|
|
- },
|
|
|
init(){
|
|
|
- this.showShop()
|
|
|
},
|
|
|
searchShop(){
|
|
|
if(!this.$util.isEmpty(this.name)){
|
|
|
@@ -64,7 +56,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
showShop(){
|
|
|
- getPtGhsShop({hasSale:0,pageSize:100,name:this.name}).then(res=>{
|
|
|
+ getPtGhsShop({hasSale:0,pageSize:10,name:this.name}).then(res=>{
|
|
|
this.shopData = res.data
|
|
|
})
|
|
|
},
|