|
|
@@ -370,24 +370,24 @@ export default {
|
|
|
// this.$store.commit('updateHrefHistory', list)
|
|
|
|
|
|
|
|
|
- this.$http.get({
|
|
|
- url: '/storeInfo/page',
|
|
|
- data: {
|
|
|
- currentPage: 1,
|
|
|
- pageNumber: 20,
|
|
|
- serviceType: this.serviceType[this.nowIndex].id,
|
|
|
- hotFlag: 1,
|
|
|
- useFlag: 'Y'
|
|
|
- }
|
|
|
- }).then(res => {
|
|
|
- if (res.success) {
|
|
|
- this.hotList = res.data.pp
|
|
|
- }
|
|
|
- }).catch(e => {
|
|
|
- console.log(e)
|
|
|
- })
|
|
|
+ // this.$http.get({
|
|
|
+ // url: '/storeInfo/page',
|
|
|
+ // data: {
|
|
|
+ // currentPage: 1,
|
|
|
+ // pageNumber: 20,
|
|
|
+ // serviceType: this.serviceType[this.nowIndex].id,
|
|
|
+ // hotFlag: 1,
|
|
|
+ // useFlag: 'Y'
|
|
|
+ // }
|
|
|
+ // }).then(res => {
|
|
|
+ // if (res.success) {
|
|
|
+ // this.hotList = res.data.pp
|
|
|
+ // }
|
|
|
+ // }).catch(e => {
|
|
|
+ // console.log(e)
|
|
|
+ // })
|
|
|
this.flag = true
|
|
|
- this.currentPage = 0
|
|
|
+ this.currentPage = 1
|
|
|
this.getInfo()
|
|
|
},
|
|
|
getInfo() {
|
|
|
@@ -397,7 +397,7 @@ export default {
|
|
|
else {
|
|
|
this.flag = false
|
|
|
}
|
|
|
- if (this.currentPage == 0) {
|
|
|
+ if (this.currentPage == 1) {
|
|
|
this.goodsList = []
|
|
|
}
|
|
|
var data = {
|